Fix RPC breakage when longjumping from signal handler
[glibc.git] / ChangeLog
blob33ea5ab374bd20b4ddfc127920abcb17d0df6aef
1 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4         of interrupted RPC instead of restoring it.
6 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8         * stdlib/strtod_nan.c: New file.
9         * stdlib/strtod_nan_double.h: Likewise.
10         * stdlib/strtod_nan_float.h: Likewise.
11         * stdlib/strtod_nan_main.c: Likewise.
12         * stdlib/strtod_nan_narrow.h: Likewise.
13         * stdlib/strtod_nan_wide.h: Likewise.
14         * stdlib/strtof_nan.c: Likewise.
15         * stdlib/strtold_nan.c: Likewise.
16         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19         * wcsmbs/wcstod_nan.c: Likewise.
20         * wcsmbs/wcstof_nan.c: Likewise.
21         * wcsmbs/wcstold_nan.c: Likewise.
22         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23         strtold_nan.
24         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25         wcstof_nan.
26         * include/stdlib.h (__strtof_nan): Declare and use
27         libc_hidden_proto.
28         (__strtod_nan): Likewise.
29         (__strtold_nan): Likewise.
30         (__wcstof_nan): Likewise.
31         (__wcstod_nan): Likewise.
32         (__wcstold_nan): Likewise.
33         * include/wchar.h (____wcstoull_l_internal): Declare.
34         * stdlib/strtod_l.c: Do not include <ieee754.h>.
35         (____strtoull_l_internal): Remove declaration.
36         (STRTOF_NAN): Define macro.
37         (SET_MANTISSA): Remove macro.
38         (STRTOULL): Likewise.
39         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
40         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
41         (STRTOF_NAN): Define macro.
42         (SET_MANTISSA): Remove macro.
43         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
44         (SET_MANTISSA): Remove macro.
45         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
46         macro.
47         (SET_MANTISSA): Remove macro.
48         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
49         macro.
50         (SET_MANTISSA): Remove macro.
51         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
52         (SET_MANTISSA): Remove macro.
53         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
54         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
55         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
57         [BZ #19266]
58         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
59         upper case and lower case letters inside NAN(), not using TOLOWER.
60         * stdlib/tst-strtod-nan-locale-main.c: New file.
61         * stdlib/tst-strtod-nan-locale.c: Likewise.
62         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
63         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
64         Depend on $(gen-locales).
65         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
66         * wcsmbs/tst-wcstod-nan-locale.c: New file.
67         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
68         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
69         Depend on $(gen-locales).
70         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
72 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
74         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
76         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
77         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
78         __finitel, __isinfl, and __isnanl.
79         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
80         Likewise.
81         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
83         __finitel.
84         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
85         Likewise.
86         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
88 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
90         * malloc/memusage.c (me): Remove redundant getenv call.
92 2015-10-24  Florian Weimer  <fweimer@redhat.com>
94         [BZ #19143]
95         [BZ #19164]
96         * nptl/check-cpuset.h: Remove.
97         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
98         Remove CPU set size check.
99         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
100         Likewise.
101         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
102         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
103         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
104         (__pthread_setaffinity_new): Remove CPU set size check.
105         * sysdeps/unix/sysv/linux/sched_setaffinity.c
106         (__kernel_cpumask_size): Remove.
107         (__sched_setaffinity_new): Remove CPU set size check.
108         * manual/threads.texi (Default Thread Attributes): Remove stale
109         reference to check_cpuset_attr, determine_cpumask_size in comment.
110         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
111         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
112         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
113         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
114         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
115         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
116         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
117         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
118         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
119         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
120         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
121         skeleton test file.
122         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
123         tst-affinity-pid.
125 2015-11-24  Florian Weimer  <fweimer@redhat.com>
127         * scripts/update-abilist.sh: New file.
128         * Makefile (+subdir_targets): Add subdir_update-all-abi.
129         * Makerules (update-all-abi-%, update-all-abi)
130         (subdir_update-all-abi): New targets.
131         * elf/Makefile (update-all-abi): New target.
133 2015-11-24  Florian Weimer  <fweimer@redhat.com>
135         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
136         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
137         (__libc_lock_define_initialized): Use it.
138         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
139         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
140         * malloc/malloc.c (main_arena): Likewise.
141         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
142         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
144 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
146         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
147         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
148         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
149         (PTRACE_O_MASK): Update value.
150         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
151         New value in enum __ptrace_setoptions.
152         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
153         (PTRACE_O_MASK): Update value.
154         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
155         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
156         (PTRACE_O_MASK): Update value.
157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
158         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
159         (PTRACE_O_MASK): Update value.
160         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
161         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
162         (PTRACE_O_MASK): Update value.
163         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
164         New value in enum __ptrace_setoptions.
165         (PTRACE_O_MASK): Update value.
166         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
167         New value in enum __ptrace_setoptions.
168         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
169         (PTRACE_O_MASK): Update value.
171         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
172         New macro.
173         (PACKET_AUXDATA): Likewise.
174         (PACKET_ORIGDEV): Likewise.
175         (PACKET_VERSION): Likewise.
176         (PACKET_HDRLEN): Likewise.
177         (PACKET_RESERVE): Likewise.
178         (PACKET_TX_RING): Likewise.
179         (PACKET_LOSS): Likewise.
180         (PACKET_VNET_HDR): Likewise.
181         (PACKET_TX_TIMESTAMP): Likewise.
182         (PACKET_TIMESTAMP): Likewise.
183         (PACKET_FANOUT): Likewise.
184         (PACKET_TX_HAS_OFF): Likewise.
185         (PACKET_QDISC_BYPASS): Likewise.
186         (PACKET_ROLLOVER_STATS): Likewise.
187         (PACKET_FANOUT_DATA): Likewise.
188         (PACKET_MR_UNICAST): Likewise.
190         [BZ #19242]
191         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
192         (TOUPPER): Likewise.
193         * stdlib/tst-strtol-locale-main.c: New file.
194         * stdlib/tst-strtol-locale.c: Likewise.
195         * stdlib/Makefile (tests): Add tst-strtol-locale.
196         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
197         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
198         Depend on $(gen-locales).
199         * wcsmbs/tst-wcstol-locale.c: New file.
200         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
201         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
202         tr_TR.ISO-8859-9.
203         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
204         Depend on $(gen-locales).
206 2015-11-20  Roland McGrath  <roland@hack.frob.com>
208         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
209         __glibc_likely instead of __builtin_expect.  After falling back to
210         dyncode_create in a non-ET_DYN case, use the allocate_code_data
211         system interface to register the code pages as occupied.
213 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
215         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
216         [!ARM_MATH_PRIVATE_H].
217         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
218         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
219         [!HPPA_MATH_PRIVATE_H].
220         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
221         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
222         to [!I386_MATH_PRIVATE_H].
223         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
224         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
225         Change guard to [!M68K_MATH_PRIVATE_H].
226         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
227         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
228         guard to [!MICROBLAZE_MATH_PRIVATE_H].
229         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
230         macro.
231         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
232         [!MIPS_MATH_PRIVATE_H].
233         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
234         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
235         [!NIO2_MATH_PRIVATE_H].
236         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
237         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
238         [!TILE_MATH_PRIVATE_H].
239         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
241         [BZ #15421]
242         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
243         initialize with 0 and define as weak alias of __signgam.
244         * include/math.h [!_ISOMAC] (__signgam): Declare.
245         * math/Makefile (libm-calls): Add w_lgamma_compat.
246         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
247         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
248         test-signgam-ullong-init.
249         (tests-static): Add test-signgam-uchar-static,
250         test-signgam-uchar-init-static, test-signgam-uint-static,
251         test-signgam-uint-init-static, test-signgam-ullong-static and
252         test-signgam-ullong-init-static.
253         (CFLAGS-test-signgam-uchar.c): New variable.
254         (CFLAGS-test-signgam-uchar-init.c): Likewise.
255         (CFLAGS-test-signgam-uchar-static.c): Likewise.
256         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
257         (CFLAGS-test-signgam-uint.c): Likewise.
258         (CFLAGS-test-signgam-uint-init.c): Likewise.
259         (CFLAGS-test-signgam-uint-static.c): Likewise.
260         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
261         (CFLAGS-test-signgam-ullong.c): Likewise.
262         (CFLAGS-test-signgam-ullong-init.c): Likewise.
263         (CFLAGS-test-signgam-ullong-static.c): Likewise.
264         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
265         * math/Versions (libm): Add GLIBC_2.23.
266         * math/lgamma-compat.h: New file.
267         * math/test-signgam-main.c: Likewise.
268         * math/test-signgam-uchar-init-static.c: Likewise.
269         * math/test-signgam-uchar-init.c: Likewise.
270         * math/test-signgam-uchar-static.c: Likewise.
271         * math/test-signgam-uchar.c: Likewise.
272         * math/test-signgam-uint-init-static.c: Likewise.
273         * math/test-signgam-uint-init.c: Likewise.
274         * math/test-signgam-uint-static.c: Likewise.
275         * math/test-signgam-uint.c: Likewise.
276         * math/test-signgam-ullong-init-static.c: Likewise.
277         * math/test-signgam-ullong-init.c: Likewise.
278         * math/test-signgam-ullong-static.c: Likewise.
279         * math/test-signgam-ullong.c: Likewise.
280         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
281         wrapper of w_lgamma_main.c.
282         * math/w_lgamma_compat.c: New file.
283         * math/w_lgamma_compatf.c: Likewise.
284         * math/w_lgamma_compatl.c: Likewise.
285         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
286         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
287         defining compatibility symbols.
288         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
289         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
290         wrapper of w_lgammaf_main.c.
291         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
292         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
293         defining compatibility symbols.
294         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
295         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
296         wrapper of w_lgammal_main.c.
297         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
298         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
299         defining compatibility symbols.
300         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
301         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
302         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
303         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
304         <lgamma-compat.h>.
305         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
306         (__ieee754_gamma): Define as alias.
307         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
308         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
309         <lgamma-compat.h>.
310         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
311         (__ieee754_gammaf): Define as alias.
312         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
313         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
314         <lgamma-compat.h>.
315         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
316         (__ieee754_gammal): Define as alias.
317         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
318         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
319         <math/w_lgamma_compat.c>.
320         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
321         Define as alias of __lgamma_compat and use in defining lgammal.
322         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
323         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
324         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
325         (USE_AS_COMPAT): New macro.
326         (LGAMMA_OLD_VER): Undefine and redefine.
327         (lgammal): Do not define here.
328         (gammal): Only define here if [GAMMA_ALIAS].
329         * conform/linknamespace.pl (@whitelist): Remove signgam.
330         * sysdeps/nacl/libm.abilist: Update.
331         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
332         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
333         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
334         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
335         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
336         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
337         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
338         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
339         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
340         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
341         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
342         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
344         Likewise.
345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
346         Likewise.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
348         Likewise.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
350         Likewise.
351         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
352         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
353         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
354         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
355         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
357         Likewise.
358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
359         Likewise.
360         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
361         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
364 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
366         [BZ #16364]
367         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
368         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
370 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
372         * sysdeps/s390/fpu/bits/mathinline.h:
373         Use __asm__ [__volatile__] instead of asm [volatile].
374         * sysdeps/s390/abort-instr.h: Likewise.
375         * sysdeps/s390/atomic-machine.h: Likewise.
376         * sysdeps/s390/bits/string.h: Likewise.
377         * sysdeps/s390/dl-tls.h: Likewise.
378         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
379         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
380         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
381         * sysdeps/s390/fpu/fesetround.c: Likewise.
382         * sysdeps/s390/fpu/fpu_control.h: Likewise.
383         * sysdeps/s390/fpu/s_fma.c: Likewise.
384         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
385         * sysdeps/s390/memusage.h: Likewise.
386         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
387         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
388         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
389         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
390         * sysdeps/s390/nptl/tls.h: Likewise.
391         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
392         * sysdeps/s390/s390-32/backtrace.c: Likewise.
393         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
394         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
395         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
396         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
397         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
398         * sysdeps/s390/s390-64/backtrace.c: Likewise.
399         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
400         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
401         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
402         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
403         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
404         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
405         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
406         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
407         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
408         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
409         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
411         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
413         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
415 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
416             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
418         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
419         Add lwarx hint, and use macro for acquire instruction.
420         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
421         Likewise.
422         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
423         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
424         update to use new atomic macros.
426 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
428         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
429         (__lll_trylock_elision): Fix setting of adapt_count.
430         * sysdeps/unix/sysv/linux/powerpc/htm.h
431         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
432         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
433         (_ABORT_SYSCALL): Renumber, and clarify definition.
434         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
436 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
438         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
439         after system headers to prevent MIN/MAX redefinition.  Define
440         HAVE_ALLOCA to preserve builtin alloca usage.
442 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
444         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
445         static and don't set or restore rounding.
446         (__cos)[IN_SINCOS]: Likewise.
447         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
448         (__sincos): Set and restore rounding mode.  Remove check for infinite
449         or NaN input.
451         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
453         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
454         as used.
456 2015-11-16  Florian Weimer  <fweimer@redhat.com>
458         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
460 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
462         * config.make.in (have-glob-dat-reloc): New.
463         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
464         target supports GLOB_DAT relocaton. AC_SUBST.
465         * configure: Regenerated.
466         * elf/Makefile (tests): Add tst-prelink.
467         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
468         (tst-prelink-ENV): New.
469         ($(objpfx)tst-prelink-conflict.out): Likewise.
470         ($(objpfx)tst-prelink-cmp.out): Likewise.
471         * sysdeps/x86/tst-prelink.c: Moved to ...
472         * elf/tst-prelink.c: Here.
473         * sysdeps/x86/tst-prelink.exp: Moved to ...
474         * elf/tst-prelink.exp: Here.
475         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
476         (tst-prelink-ENV): Removed.
477         ($(objpfx)tst-prelink-conflict.out): Likewise.
478         ($(objpfx)tst-prelink-cmp.out): Likewise.
479         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
481 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
483         [BZ #14551]
484         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
485         (__mpn_construct_long_double): If high part overflows to infinity,
486         set errno and recompute overflowed result of the correct sign.
487         * sysdeps/ieee754/ldbl-128ibm/Makefile
488         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
489         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
490         $(libm).
491         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
493 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
495         [BZ #15479]
496         [BZ #19238]
497         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
498         floating-point state after first operation on input.  Restore full
499         state rather than just rounding mode.
500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
501         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
502         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
504         [BZ #19235]
505         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
506         add 0.5 to integer arguments.
507         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
508         Likewise.
509         (.LC2): New object.
511 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
513         * scripts/pylintrc (reports): Set to no.
515 2015-11-10  Roland McGrath  <roland@hack.frob.com>
517         * elf/dl-load.c (open_verify): Take new argument FD.
518         Skip __open call if passed FD is not -1.
519         (_dl_map_object, open_path): Update callers.
520         * elf/dl-sysdep-open.h: New file.
521         * elf/dl-load.c: Include it.
522         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
523         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
524         * sysdeps/nacl/dl-sysdep-open.h: New file.
525         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
526         from libc to rtld.
528 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
530         [BZ #19228]
531         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
532         and restore full floating-point state.
533         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
534         Likewise.
535         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
536         Likewise.
537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
538         Likewise.
539         * math/test-nearbyint-except-2.c: New file.
540         * math/Makefile (tests): Add test-nearbyint-except-2.
542 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
544         [BZ #19178]
545         * sysdeps/x86/Makefile (tests): Add tst-prelink.
546         (tst-prelink-ENV): New.
547         ($(objpfx)tst-prelink-conflict.out): Likewise.
548         ($(objpfx)tst-prelink-cmp.out): Likewise.
549         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
550         * sysdeps/x86/tst-prelink.c: New file.
551         * sysdeps/x86/tst-prelink.exp: Likewise.
553 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
555         * math/auto-libm-test-in: Add another test of pow.
556         * math/auto-libm-test-out: Regenerated.
557         * math/libm-test.inc (pow_test_data): Add another test.
559 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
561         [BZ #19219]
562         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
563         weak_alias to nearbyintl.
565 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
567         * sysdeps/aarch64/bits/string.h: New file.
568         (_STRING_ARCH_unaligned): Define.
570 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
572         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
573         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
574         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
575         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
578 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
580         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
581         for original name of the DSO.  Add it to the name list of the DSO
582         if it is actually given.
583         (_dl_map_object): Keep track of whether an audit module rewrote
584         the file name.  If yes, pass the original name to
585         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
586         debugging is enabled, log the change of the file name.
587         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
588         _dl_map_object_from_fd.
589         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
590         * elf/tst-audit11.c: New file
591         * elf/tst-auditmod11.c: New file.
592         * elf/tst-audit11mod1.c: New file.
593         * elf/tst-audit11mod2.c: New file.
594         * elf/tst-audit11mod2.map: New file.
595         * elf/tst-audit12.c: New file
596         * elf/tst-auditmod12.c: New file.
597         * elf/tst-audit12mod1.c: New file.
598         * elf/tst-audit12mod2.c: New file.
599         * elf/tst-audit12mod2.map: New file.
600         * elf/tst-audit12mod3.c: New file.
602 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
604         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
605         Don't create weak aliases,
606         because versioned symbols are created later.
607         * sysdeps/s390/s390-32/setjmp.S
608         (setjmp, _setjmp): Remove weak and rename to an unique name
609         in SHARED case due to existing versioned symbols.
610         * sysdeps/s390/s390-64/setjmp.S: Likewise.
611         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
612         (getcontext): Create weak alias only in non SHARED case.
613         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
615 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
617         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
618         (__ASSUME_*_SYSCALL) Define new macros.
619         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
620         Remove socketcall syscalls.
621         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
622         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
623         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
624         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
625         * sysdeps/unix/sysv/linux/send.c (__libc_send):
626         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
628 2015-11-09  Florian Weimer  <fweimer@redhat.com>
630         [BZ #12926]
631         Terminate process on invalid netlink response.
632         * sysdeps/unix/sysv/linux/netlinkaccess.h
633         (__netlink_assert_response): Declare.
634         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
635         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
636         (sysdep_routines): Add netlink_assert_response.
637         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
638         __netlink_assert_response.
639         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
640         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
641         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
642         __netlink_assert_response.
644 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
646         [BZ #19178]
647         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
648         (RTYPE_CLASS_PLT): Likewise.
649         (RTYPE_CLASS_COPY): Likewise.
650         (RTYPE_CLASS_TLS): Likewise.
651         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
652         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
653         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
654         DL_DEBUG_PRELINK.
656 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
658         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
659         calls with argument -0.5.
660         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
662         * configure.ac (libc_cv_z_nodelete): Remove configure test.
663         (libc_cv_z_nodlopen): Likewise.
664         (libc_cv_z_initfirst): Likewise.
665         * configure: Regenerated.
667 2015-11-06  Florian Weimer  <fweimer@redhat.com>
669         Simplify abilist format to be line-based.
670         * scripts/abilist.awk: Collect descriptors in the descs variable.
671         (emit): Write descs variable and sort it
672         externally, with sort.
673         * sysdeps/**/*.abilist: Convert to new format.
675 2015-11-06  Mark Wielaard  <mjw@redhat.com>
677         [BZ #11460]
678         * io/Makefile (routines): Add fts64.
679         (tests): Add tst-fts and tst-fts-lfs.
680         (CFLAGS-fts64.c): New.
681         * io/Versions (GLIBC_2.23): New.
682         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
683         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
684         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
685         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
686         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
687         (FTSENT64): Likewise.
688         (fts64_children): Likewise.
689         (fts64_close): Likewise.
690         (fts64_open): Likewise.
691         (fts64_read): Likewise.
692         (fts64_set): Likewise.
693         * io/fts64.c: New file.
694         * io/tst-fts.c: New test.
695         * io/tst-fts-lfs.c: Likewise.
696         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
697         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
698         fts64_set.
699         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
706         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
707         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
708         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
709         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
711         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
713         Likewise.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
715         Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
718         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
719         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
720         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
721         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
722         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
725         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
726         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
727         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
728         * sysdeps/wordsize-64/fts.c: New file.
729         * sysdeps/wordsize-64/fts64.c: Likewise.
730         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
731         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
732         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
733         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
735 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
737         * math/libm-test.inc (NON_FINITE): New macro.
738         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
739         * math/gen-libm-test.pl (show_exceptions): Add argument
740         $non_finite.
741         (parse_args): Update call to show_exceptions.
742         * math/test-math-finite.h: New file.
743         * math/test-math-no-finite.h: Likewise.
744         * math/test-double-finite.c: Likewise.
745         * math/test-float-finite.c: Likewise.
746         * math/test-ldouble-finite.c: Likewise.
747         * math/test-double.c: Include "test-math-no-finite.h".
748         * math/test-float.c: Include "test-math-no-finite.h".
749         * math/test-ldouble.c: Include "test-math-no-finite.h".
750         * math/test-math-inline.h (TEST_FINITE): New macro.
751         * math/test-math-vector.h (TEST_FINITE): Likewise.
752         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
753         (libm-tests): Add test-float-finite and test-double-finite.
754         ($(objpfx)test-float-finite.o): New dependency on
755         $(objpfx)libm-test.stmp.
756         ($(objpfx)test-double-finite.o): Likewise.
757         ($(objpfx)test-ldouble-finite.o): Likewise.
758         (libm-test-no-inline-cflags): New variable.
759         (libm-test-finite-cflags): Likewise.
760         (CFLAGS-test-float-finite.c): Likewise.
761         (CFLAGS-test-double-finite.c): Likewise.
762         (CFLAGS-test-ldouble-finite.c): Likewise.
763         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
764         (CFLAGS-test-double.c): Likewise.
765         (CFLAGS-test-ldouble.c): Likewise.
767 2015-11-05  Roland McGrath  <roland@hack.frob.com>
769         * io/fcntl.c (__fcntl): Add ... to prototype.
770         * misc/ioctl.c (__ioctl): Likewise.
771         * misc/syscall.c (syscall): Likewise.
773 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
775         * scripts/list-fixed-bugs.py: New file.
777         [BZ #19213]
778         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
779         returned for argument 1.
780         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
781         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
782         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
783         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
784         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
785         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
787         [BZ #19211]
788         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
789         __USE_XOPEN], not if [!__USE_ISOC99].
790         (lgammaf): Likewise.
791         (lgammal): Likewise.
792         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
793         (gammaf): Likewise.
794         (gammal): Likewise.
795         * math/test-signgam-finite-c11.c: New file.
796         * math/test-signgam-finite-c99.c: Likewise.
797         * math/test-signgam-finite.c: Likewise.
798         * math/Makefile (tests): Add test-signgam-finite,
799         test-signgam-finite-c99 and test-signgam-finite-c11.
800         (CFLAGS-test-signgam-finite.c): New variable.
801         (CFLAGS-test-signgam-finite-c99.c): Likewise.
802         (CFLAGS-test-signgam-finite-c11.c): Likewise.
804         [BZ #19212]
805         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
806         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
807         500].
808         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
809         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
810         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
811         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
812         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
813         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
814         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
815         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
816         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
817         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
819         [BZ #19209]
820         * math/bits/math-finite.h (ldexp): Remove declaration.
821         (ldexpf): Likewise.
822         (ldexpl): Likewise.
824         [BZ #19205]
825         * math/bits/math-finite.h (acosf): Condition declaration on
826         [__USE_ISOC99].
827         (acosl): Likewise.
828         (acoshf): Likewise.
829         (acoshl): Likewise.
830         (asinf): Likewise.
831         (asinl): Likewise.
832         (atan2f): Likewise.
833         (atan2l): Likewise.
834         (atanhf): Likewise.
835         (atanhl): Likewise.
836         (coshf): Likewise.
837         (coshl): Likewise.
838         (expf): Likewise.
839         (expl): Likewise.
840         (fmodf): Likewise.
841         (fmodl): Likewise.
842         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
843         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
844         (j0l): Likewise.
845         (y0f): Likewise.
846         (y0l): Likewise.
847         (j1f): Likewise.
848         (j1l): Likewise.
849         (y1f): Likewise.
850         (y1l): Likewise.
851         (jnf): Likewise.
852         (jnl): Likewise.
853         (ynf): Likewise.
854         (ynl): Likewise.
855         (lgammaf_r): Condition declaration on [__USE_ISOC99].
856         (lgammal_r): Likewise.
857         (__lgamma_r_finite): New declaration.
858         (__lgammaf_r_finite): Likewise.
859         (__lgammal_r_finite): Likewise.
860         (lgamma): Use __lgamma_r_finite.
861         (lgammaf): Condition definition on [__USE_ISOC99].  Use
862         __lgammaf_r_finite.
863         (lgammal): Condition definition on [__USE_ISOC99].  Use
864         __lgammal_r_finite.
865         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
866         __lgamma_r_finite.
867         (gammaf): Condition definition on [__USE_ISOC99].  Use
868         __lgammaf_r_finite.
869         (gammal): Condition definition on [__USE_ISOC99].  Use
870         __lgammal_r_finite.
871         (logf): Condition declaration on [__USE_ISOC99].
872         (logl): Likewise.
873         (log10f): Likewise.
874         (log10l): Likewise.
875         (ldexpf): Likewise.
876         (ldexpl): Likewise.
877         (powf): Likewise.
878         (powl): Likewise.
879         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
880         __USE_ISOC99].
881         (remainderf): Condition declaration on [__USE_ISOC99].
882         (remainderl): Likewise.
883         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
884         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
885         (scalbl): Likewise.
886         (sinhf): Condition declaration on [__USE_ISOC99].
887         (sinhl): Likewise.
888         (sqrtf): Likewise.
889         (sqrtl): Likewise.
891 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
893         * sysdeps/arm/atomic-machine.h
894         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
895         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
896         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
897         Remove conditional code.
898         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
899         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
900         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
901         Change conditional to [__ASSEMBLER__].
902         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
903         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
904         [!__ASSEMBLER__].
905         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
906         code.
907         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
908         conditional macro definitions.
909         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
910         (__arch_compare_and_exchange_val_16_acq): Likewise.
911         (__arch_compare_and_exchange_val_32_acq): Likewise.
912         (atomic_exchange_and_add): Likewise.
913         (atomic_add): Likewise.
914         (atomic_add_negative): Likewise.
915         (atomic_add_zero): Likewise.
916         (atomic_bit_set): Likewise.
917         (atomic_bit_test_set): Likewise.
918         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
919         code unconditional.
920         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
922         * math/test-math-errno.h: New file.
923         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
924         empty.
925         (TEST_ERRNO): New macro.
926         (TEST_EXCEPTIONS): Likewise.
927         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
928         (TEST_EXCEPTIONS): Likewise.
929         * math/test-math-vector.h (TEST_ERRNO): Likewise.
930         * math/test-double.c: Include "test-math-errno.h".
931         * math/test-float.c: Likewise.
932         * math/test-ldouble.c: Likewise.
933         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
934         code unconditional.
935         (test_exceptions): Only run code if TEST_EXCEPTIONS.
936         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
937         unconditional.
938         (test_errno): Only run code if TEST_ERRNO.
939         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
941 2015-11-04  Florian Weimer  <fweimer@redhat.com>
943         * nptl/tst-once5.cc: Remove attribution.
945 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
947         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
948         sqrt, tan, tanh, y0, y1 and yn.
949         * math/auto-libm-test-out: Regenerated.
950         * math/libm-test.inc (scalb_test_data): Add more tests.
951         (scalbn_test_data): Likewise.
952         (scalbln_test_data): Likewise.
953         (signbit_test_data): Likewise.
954         (sin_test_data): Likewise.
955         (sincos_test_data): Likewise.
956         (sinh_test_data): Likewise.
957         (sqrt_test_data): Likewise.
958         (tan_test_data): Likewise.
959         (tanh_test_data): Likewise.
960         (tgamma_test_data): Likewise.
961         (y0_test_data): Likewise.
962         (y1_test_data): Likewise.
963         (yn_test_data): Likewise.
964         (significand_test_data): Likewise.
965         * sysdeps/i386/fpu/libm-test-ulps: Update.
967 2015-11-03  David Kastrup  <dak@gnu.org>
969         [BZ #18604]
970         * assert/assert.h (assert): Don't macro-expand failed assertion
971         expression in error message.
972         * malloc/malloc.c (assert): Likewise.
974 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
976         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
977         test.
978         * configure: Regenerated.
980 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
982         * math/libm-test.inc (modf_test_data): Add more tests.
983         (nearbyint_test_data): Likewise.
984         (nextafter_test_data): Likewise.
985         (nexttoward_test_data): Likewise.
986         (pow_test_data): Likewise.
987         (remainder_test_data): Likewise.
988         (remquo_test_data): Likewise.
989         (rint_test_data): Likewise.
991         [BZ #19201]
992         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
993         Check for zero remainder in case of large exponents and ensure
994         correct sign of result in that case.
995         * math/libm-test.inc (remainder_test_data): Add more tests.
997         [BZ #6799]
998         * math/s_nextafter.c: Include <errno.h>.
999         (__nextafter): Set errno on overflow and underflow.
1000         * math/s_nexttowardf.c: Include <errno.h>.
1001         (__nexttowardf): Set errno on overflow and underflow.
1002         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1003         (__nextafterl): Set errno on overflow and underflow.
1004         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1005         (__nexttoward): Set errno on overflow and underflow.
1006         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1007         (__nexttowardf): Set errno on overflow and underflow.
1008         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1009         (__nextafterf): Set errno on overflow and underflow.
1010         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1011         (__nextafterl): Set errno on overflow and underflow.
1012         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1013         (__nexttoward): Set errno on overflow and underflow.
1014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1015         (__nexttowardf): Set errno on overflow and underflow.
1016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1017         (__nextafterl): Set errno on overflow and underflow.
1018         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1019         (__nexttoward): Set errno on overflow and underflow.
1020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1021         (__nexttowardf): Set errno on overflow and underflow.
1022         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1023         (__nexttoward): Set errno on overflow and underflow.
1024         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1025         (__nexttowardf): Set errno on overflow and underflow.
1026         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1027         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1028         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1029         (__nextafterl): Set errno on overflow and underflow.
1030         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1031         setting to be missing on overflow.  Add more tests.
1032         (nexttoward_test_data): Likewise.
1034         * configure.ac (libc_cv_initfini_array): Remove configure test.
1035         * configure: Regenerated.
1037 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1039         [BZ #19189]
1040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1041         non-finite argument handle arguments with negative sign.
1043         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1044         result from infinite argument.
1045         (j1_test_data): Likewise.
1046         (jn_test_data): Likewise.
1047         (y0_test_data): Likewise.
1048         (y1_test_data): Likewise.
1049         (yn_test_data): Likewise.
1051         [BZ #16171]
1052         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1053         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1054         * math/w_remainderf.c (dremf): Define as weak alias of
1055         __remainderf.
1056         * math/w_remainderl.c (dreml): Define as weak alias of
1057         __remainderl.
1058         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1059         __remainder.
1060         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1061         __remainderf.
1062         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1063         __remainderl.
1064         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1065         weak alias of remainderl.
1066         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1067         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1068         alias of __remainder.
1069         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1070         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1071         strong alias of __remainderl.
1072         (dreml): Use long_double_symbol.
1073         * math/Makefile (libm-calls): Remove w_drem.
1074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1075         (CFLAGS-nldbl-drem.c): Remove variable.
1076         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1077         * math/w_drem.c: Remove file.
1078         * math/w_dremf.c: Likewise.
1079         * math/w_dreml.c: Likewise.
1080         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1081         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1082         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1084         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1085         * sysdeps/i386/configure: Regenerated.
1086         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1087         * sysdeps/x86_64/configure: Regenerated.
1089         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1090         test.
1091         (libc_cv_visibility_attribute): Likewise.
1092         (libc_cv_protected_data): Test unconditionally.
1093         (libc_cv_broken_visibility_attribute): Remove configure test.
1094         (libc_cv_have_sdata_section): Test unconditionally.
1095         * configure: Regenerated.
1097         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1098         * include/scratch_buffer.h: Include <stddef.h> instead of
1099         <libc-internal.h>.
1100         (struct scratch_buffer): Use max_align_t instead of
1101         libc_max_align_t.
1103 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1105         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1106         instead of extend_alloca.  Change control flow to avoid a goto.
1107         Remove assert which is trivially always true.
1109 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1111         [BZ #16068]
1112         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1113         (FE_ALL_EXCEPT_X86): New macro.
1114         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1115         FE_ALL_EXCEPT.  Ensure precision control is included in
1116         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1117         handle "denormal operand exception" and clear FZ and DAZ bits.
1118         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1119         (FE_ALL_EXCEPT_X86): New macro.
1120         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1121         FE_ALL_EXCEPT.  Ensure precision control is included in
1122         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1123         handle "denormal operand exception" and clear FZ and DAZ bits.
1124         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1125         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1126         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1127         test-fenv-x87 and test-fenv-sse-2.
1128         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1130         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1131         * math/test-double.h (BUILD_COMPLEX): New macro.
1132         * math/test-float.h (BUILD_COMPLEX): Likewise.
1133         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1135         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1136         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1137         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1139         instead of DBL_DENORM_MIN in comment.
1140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1141         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1142         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1143         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1145         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1147 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1149         [BZ# 19048]
1150         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1151         attached_threads member.
1152         (main_arena): Initialize attached_threads.
1153         * malloc/arena.c (list_lock): Update comment.
1154         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1155         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1156         (deattach_arena): New function.
1157         (_int_new_arena): Initialize arena reference count and deattach
1158         replaced arena.
1159         (get_free_list, reused_arena): Update reference count and deattach
1160         replaced arena.
1161         (arena_thread_freeres): Update arena reference count and only put
1162         unreferenced arenas on the free list.
1164 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1166         [BZ #19181]
1167         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1168         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1169         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1170         * math/test-fenv-clear-main.c: New file.
1171         * math/test-fenv-clear.c: Likewise.
1172         * math/Makefile (tests): Add test-fenv-clear.
1173         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1174         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1175         test-fenv-clear-sse.
1176         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1178         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1179         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1180         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1182 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1184         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1185         static libc.
1187 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1189         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1190         test.
1191         * sysdeps/i386/configure: Regenerated.
1192         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1193         test.
1194         * sysdeps/x86_64/configure: Regenerated.
1195         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1197         memset-avx2 unconditionally instead of conditionally on
1198         [$(config-cflags-avx2) = yes].
1199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1200         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1201         unconditional.
1202         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1203         * sysdeps/x86_64/multiarch/memset_chk.S
1204         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1205         to [IS_IN (libc) && SHARED].
1207 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1209         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1210         configure test.
1211         * sysdeps/arm/configure: Regenerated.
1212         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1213         Define variable if not already defined.
1215         [BZ #17404]
1216         * sysdeps/mips/atomic-machine.h
1217         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1218         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1219         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1221         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1222         unconditional.
1223         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1224         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1225         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1226         unconditional.
1227         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1228         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1229         unconditional.
1230         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1231         * stdlib/setenv.c
1232         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1233         code unconditional.
1234         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1235         Remove conditional code.
1236         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1237         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1238         unconditional.
1239         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1240         code.
1241         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1242         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1243         unconditional.
1244         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1245         code.
1246         * sysdeps/ieee754/ldbl-128/k_tanl.c
1247         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1248         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1249         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1250         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1251         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1253         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1254         unconditional.
1255         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1256         code.
1257         * sysdeps/ieee754/ldbl-96/k_tanl.c
1258         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1259         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1261         * nptl/tst-initializers1-c11.c: New file.
1262         * nptl/tst-initializers1-gnu11.c: Likewise.
1263         * nptl/Makefile (tests): Add these new tests.
1264         (CFLAGS-tst-initializers1-c11.c): New variable.
1265         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1267         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1268         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1269         instead of -std=gnu99.
1270         * configure.ac (systemtap): Test with -std=gnu11 instead of
1271         -std=gnu99.
1272         * configure: Regenerated.
1273         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1274         in compilation command in comment.
1276         * sysdeps/nptl/configure.ac: Remove file.
1277         * sysdeps/nptl/configure: Remove generated file.
1278         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1279         * configure: Regenerated.
1280         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1281         * config.make.in (have-forced-unwind): Remove variable.
1282         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1283         unconditional.
1284         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1285         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1286         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1287         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1288         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1289         unconditional.
1291 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1293         [BZ #19174]
1294         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1295         .skip_lock_out_of_tbegin_retries.
1296         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1297         (__lll_lock_elision): Likewise, and respect a value of
1298         try_tbegin <= 0.
1300 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1302         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1303         statement.
1305 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1307         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1308         variable.
1309         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1310         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1312         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1313         of -std=c1x -D_ISOC11_SOURCE.
1315         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1316         * configure: Regenerated.
1317         * manual/install.texi (Tools for Compilation): Document
1318         requirement for GCC 4.7 or later.
1319         * INSTALL: Regenerated.
1321 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1323         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1324         on CNT to a conditional jump to 'puntdata'.
1326 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1328         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1329         (libc_cv_gcc_tls_model_attr): Likewise.
1330         * configure: Regenerated.
1332         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1333         * configure: Regenerated.
1334         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1336 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1338         * configure.ac (old_glibc_headers): Remove configure test.
1339         * configure: Regenerated.
1340         * config.make.in (old-glibc-headers): Remove variable.
1341         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1342         (install): Remove dependency on remove-old-headers.
1343         (headers2_0): Remove variable.
1344         (remove-old-headers): Remove rule.
1346         * configure.ac (libc_cv_dot_text): Remove configure test.
1347         (libc_cv_asm_set_directive): Use .text instead of
1348         ${libc_cv_dot_text} in configure test.
1349         * configure: Regenerated.
1351 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1353         [BZ #19168]
1354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1356 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1358         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1359         not support static linking.
1360         * configure: Regenerate.
1362 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1364         * math/libm-test.inc (check_float_internal): Do not special-case
1365         errors up to 0.5 ulp.
1367         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1368         log2.
1369         * math/auto-libm-test-out: Regenerated.
1370         * math/libm-test.inc (MAX_EXP): New macro.
1371         (ilogb_test_data): Add more tests.
1372         (isfinite_test_data): Likewise.
1373         (isgreater_test_data): Likewise.
1374         (isgreaterequal_test_data): Likewise.
1375         (isinf_test_data): Likewise.
1376         (isless_test_data): Likewise.
1377         (islessequal_test_data): Likewise.
1378         (islessgreater_test_data): Likewise.
1379         (isnan_test_data): Likewise.
1380         (isnormal_test_data): Likewise.
1381         (issignaling_test_data): Likewise.
1382         (isunordered_test_data): Likewise.
1383         (j0_test_data): Likewise.
1384         (j1_test_data): Likewise.
1385         (jn_test_data): Likewise.
1386         (lgamma_test_data): Likewise.
1387         (log_test_data): Likewise.
1388         (log10_test_data): Likewise.
1389         (log1p_test_data): Likewise.
1390         (log2_test_data): Likewise.
1391         (logb_test_data): Likewise.
1392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1394         [BZ #18611]
1395         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1396         avoid excess range and precision on underflow.
1397         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1398         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1399         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1400         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1401         underflow.
1402         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1403         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1404         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1405         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1406         * math/auto-libm-test-in: Do not allow missing errno setting for
1407         tests of j1 and jn.
1408         * math/auto-libm-test-out: Regenerated.
1410 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1412         [BZ #15491]
1413         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1414         floating-point environment instead of clearing all exceptions.
1415         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1416         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1417         merging in "invalid" exceptions from frndint.
1418         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1419         * math/test-nearbyint-except.c: New file.
1420         * math/Makefile (tests): Add test-nearbyint-except.
1422 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1424         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1426         * sysdeps/tile/libm-test-ulps: Regenerated.
1428 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1431         (__NR_sync_file_range2): Assume it is always defined.
1432         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1433         (__NR_sync_file_range): Assume it is always defined.
1435 2015-10-22  Andreas Schwab  <schwab@suse.de>
1437         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1438         INTERNAL_SYSCALL_ERRNO.
1439         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1440         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1441         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1442         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1443         Likewise.
1444         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1446 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1448         * io/tst-fcntl.c (fd): New static variable.
1449         (do_prepare): Open temporary file here....
1450         (do_test): ...not here.
1452         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1454 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1456         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1457         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1458         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1459         Moved before "#ifdef __ASSEMBLER__".
1461 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1463         [BZ #19156]
1464         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1465         arguments very close to 0.
1467 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1469         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1470         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1472 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1474         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1475         New.  Defined for GCC 5 and above when not compiling for
1476         profiling.
1477         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1479         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1480         Renamed to ...
1481         (CFLAGS-epoll_pwait.o): This.
1482         (CFLAGS-mmap.c): Renamed to ...
1483         (CFLAGS-mmap.o): This.
1484         (CFLAGS-mmap64.c): Renamed to ...
1485         (CFLAGS-mmap64.o): This.
1486         (CFLAGS-epoll_pwait.os): New.
1487         (CFLAGS-mmap.os): Likewise.
1488         (CFLAGS-mmap64.os): Likewise.
1489         (CFLAGS-semtimedop.os): Likewise.
1490         (CFLAGS-semtimedop.c): Renamed to ...
1491         (CFLAGS-semtimedop.o): This.
1493 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1495         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1496         warning message.
1498 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1500         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1501         * Makefile ($(objpfx)c++-types-check.out): Filter out
1502         $(+gccwarn-c) instead of -Wstrict-prototypes.
1504         * io/fts.c (fts_open): Convert to prototype-style function
1505         definition.
1506         * malloc/mcheck.c (mcheck): Likewise.
1507         (mcheck_pedantic): Likewise.
1508         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1509         internal_function.
1510         (re_search_internal): Likewise.
1511         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1512         prototype-style function definition.
1513         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1514         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1515         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1516         (xdr_utmpptr): Likewise.
1517         (xdr_utmparr): Likewise.
1518         (xdr_utmpidle): Likewise.
1519         (xdr_utmpidleptr): Likewise.
1520         (xdr_utmpidlearr): Likewise.
1522         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1523         log, log10 and log2.
1524         * math/auto-libm-test-out: Regenerated.
1525         * math/libm-test.inc (fmod_test_data): Add more tests.
1526         (fpclassify_test_data): Likewise.
1527         (frexp_test_data): Likewise.
1528         (hypot_test_data): Likewise.
1529         (ilogb_test_data): Likewise.
1531 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1533         * debug/fortify_fail.c (__fortify_fail): Convert to
1534         prototype-style function definition.  Use internal_function.
1535         * libio/genops.c (save_for_backup): Convert to prototype-style
1536         function definition.
1537         * libio/wgenops.c (save_for_wbackup): Likewise.
1538         * login/grantpt.c (grantpt): Likewise.
1539         * login/ptsname.c (ptsname): Likewise.
1540         (__ptsname_r): Likewise.
1541         * login/unlockpt.c (unlockpt): Likewise.
1542         * mach/msgserver.c (__mach_msg_server): Likewise.
1543         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1544         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1545         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1546         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1547         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1548         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1549         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1550         Likewise.
1551         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1552         internal_function.
1553         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1554         prototype-style function definition.
1555         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1556         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1557         (__pthread_create_2_0): Likewise.
1558         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1559         * nptl/register-atfork.c (__register_atfork): Likewise.
1560         * posix/glob.c (glob): Likewise.
1561         * posix/regcomp.c (re_comp): Likewise.
1562         * posix/regexec.c (re_exec): Likewise.
1563         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1564         [!__STDC__]: Remove conditional code.
1565         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1566         [!__STDC__]: Remove conditional code.
1567         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1568         [!__STDC__]: Remove conditional code.
1569         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1570         [!__STDC__]: Remove conditional code.
1571         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1572         [!__STDC__]: Remove conditional code.
1573         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1574         [!__STDC__]: Remove conditional code.
1575         * stdlib/mul.c [__STDC__]: Make code unconditional.
1576         [!__STDC__]: Remove conditional code.
1577         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1578         [!__STDC__]: Remove conditional code.
1579         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1580         [!__STDC__]: Remove conditional code.
1581         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1582         function definition.
1583         (STRTOF): Likewise.
1584         * stdlib/strtod_l.c (__STRTOF): Likewise.
1585         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1586         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1587         (__strtol_l): Likewise.
1588         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1589         [!__STDC__]: Remove conditional code.
1590         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1591         definition.
1592         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1593         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1594         type.
1595         (__strcasecmp): Convert to prototype-style function definition.
1596         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1597         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1598         type.
1599         (__strncasecmp): Convert to prototype-style function definition.
1600         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1601         * sunrpc/xdr.c (xdr_union): Likewise.
1602         * sunrpc/xdr_array.c (xdr_array): Likewise.
1603         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1604         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1605         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1606         Likewise.
1607         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1608         Likewise.
1609         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1610         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1611         Likewise.
1612         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1613         (LOCALE_PARAM_PROTO): Likewise.
1614         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1615         argument type.
1616         (ut_argument_spec): Remove macro.
1617         (ut_argument_spec_iso): Rename to ut_argument_spec.
1618         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1619         prototype-style function definition.
1620         (memcpy_uppcase): Likewise.
1621         (__strftime_internal): Likewise.
1622         (my_strftime): Likewise.
1623         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1624         (LOCALE_PARAM_DECL): Likewise.
1625         [_LIBC] (LOCALE_PARAM): Include argument type.
1626         (__strptime_internal): Convert to prototype-style function
1627         definition.
1628         (strptime): Likewise.
1629         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1630         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1631         type.
1632         (__wcscasecmp): Convert to prototype-style function definition.
1633         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1634         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1635         type.
1636         (__wcsncasecmp): Convert to prototype-style function definition.
1638         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1639         function definition.
1640         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1641         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1642         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1643         * elf/dl-minimal.c (_itoa): Likewise.
1644         * hurd/hurdmalloc.c (malloc): Likewise.
1645         (free): Likewise.
1646         (realloc): Likewise.
1647         * inet/inet6_option.c (inet6_option_space): Likewise.
1648         (inet6_option_init): Likewise.
1649         (inet6_option_append): Likewise.
1650         (inet6_option_alloc): Likewise.
1651         (inet6_option_next): Likewise.
1652         (inet6_option_find): Likewise.
1653         * io/ftw.c (FTW_NAME): Likewise.
1654         (NFTW_NAME): Likewise.
1655         (NFTW_NEW_NAME): Likewise.
1656         (NFTW_OLD_NAME): Likewise.
1657         * libio/iofwide.c (_IO_fwide): Likewise.
1658         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1659         (_IO_str_init_static): Likewise.
1660         (_IO_str_init_readonly): Likewise.
1661         (_IO_str_overflow): Likewise.
1662         (_IO_str_underflow): Likewise.
1663         (_IO_str_count): Likewise.
1664         (_IO_str_seekoff): Likewise.
1665         (_IO_str_pbackfail): Likewise.
1666         (_IO_str_finish): Likewise.
1667         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1668         (_IO_wstr_overflow): Likewise.
1669         (_IO_wstr_underflow): Likewise.
1670         (_IO_wstr_count): Likewise.
1671         (_IO_wstr_seekoff): Likewise.
1672         (_IO_wstr_pbackfail): Likewise.
1673         (_IO_wstr_finish): Likewise.
1674         * locale/programs/localedef.c (normalize_codeset): Likewise.
1675         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1676         (add_locales_to_archive): Likewise.
1677         (delete_locales_from_archive): Likewise.
1678         * malloc/malloc.c (__libc_mallinfo): Likewise.
1679         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1680         * misc/tsearch.c (__tfind): Likewise.
1681         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1682         * nptl/pthread_attr_getdetachstate.c
1683         (__pthread_attr_getdetachstate): Likewise.
1684         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1685         Likewise.
1686         * nptl/pthread_attr_getinheritsched.c
1687         (__pthread_attr_getinheritsched): Likewise.
1688         * nptl/pthread_attr_getschedparam.c
1689         (__pthread_attr_getschedparam): Likewise.
1690         * nptl/pthread_attr_getschedpolicy.c
1691         (__pthread_attr_getschedpolicy): Likewise.
1692         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1693         Likewise.
1694         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1695         Likewise.
1696         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1697         Likewise.
1698         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1699         Likewise.
1700         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1701         (__pthread_attr_init_2_0): Likewise.
1702         * nptl/pthread_attr_setdetachstate.c
1703         (__pthread_attr_setdetachstate): Likewise.
1704         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1705         Likewise.
1706         * nptl/pthread_attr_setinheritsched.c
1707         (__pthread_attr_setinheritsched): Likewise.
1708         * nptl/pthread_attr_setschedparam.c
1709         (__pthread_attr_setschedparam): Likewise.
1710         * nptl/pthread_attr_setschedpolicy.c
1711         (__pthread_attr_setschedpolicy): Likewise.
1712         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1713         Likewise.
1714         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1715         Likewise.
1716         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1717         Likewise.
1718         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1719         Likewise.
1720         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1721         Likewise.
1722         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1723         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1724         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1725         use internal_function.
1726         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1727         prototype-style function definition.
1728         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1729         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1730         internal_function.
1731         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1732         Convert to prototype-style function definition.
1733         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1734         Likewise.
1735         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1736         Likewise.
1737         (__pthread_mutex_unlock): Likewise.
1738         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1739         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1740         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1741         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1742         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1743         * nss/makedb.c (process_input): Likewise.
1744         * posix/fnmatch.c (__strchrnul): Likewise.
1745         (__wcschrnul): Likewise.
1746         (fnmatch): Likewise.
1747         * posix/fnmatch_loop.c (FCT): Likewise.
1748         * posix/glob.c (globfree): Likewise.
1749         (__glob_pattern_type): Likewise.
1750         (__glob_pattern_p): Likewise.
1751         * posix/regcomp.c (re_compile_pattern): Likewise.
1752         (re_set_syntax): Likewise.
1753         (re_compile_fastmap): Likewise.
1754         (regcomp): Likewise.
1755         (regerror): Likewise.
1756         (regfree): Likewise.
1757         * posix/regexec.c (regexec): Likewise.
1758         (re_match): Likewise.
1759         (re_search): Likewise.
1760         (re_match_2): Likewise.
1761         (re_search_2): Likewise.
1762         (re_search_stub): Likewise.  Use internal_function
1763         (re_copy_regs): Likewise.
1764         (re_set_registers): Convert to prototype-style function
1765         definition.
1766         (prune_impossible_nodes): Likewise.  Use internal_function.
1767         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1768         prototype-style function definition.
1769         (inet_net_pton_ipv4): Likewise.
1770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1771         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1772         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1773         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1774         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1775         Make variadic.
1776         * time/strptime_l.c (localtime_r): Convert to prototype-style
1777         function definition.
1778         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1779         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1780         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1781         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1783         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1784         definition.
1785         (_ufc_doit_r): Likewise.
1786         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1787         (_ufc_output_conversion_r): Likewise.
1788         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1789         * inet/rcmd.c (rcmd_af): Likewise.
1790         (rcmd): Likewise.
1791         (ruserok_af): Likewise.
1792         (ruserok): Likewise.
1793         (ruserok2_sa): Likewise.
1794         (ruserok_sa): Likewise.
1795         (iruserok_af): Likewise.
1796         (iruserok): Likewise.
1797         (__ivaliduser): Likewise.
1798         (__validuser2_sa): Likewise.
1799         * inet/rexec.c (rexec_af): Likewise.
1800         (rexec): Likewise.
1801         * inet/ruserpass.c (ruserpass): Likewise.
1802         * locale/programs/xmalloc.c (xcalloc): Likewise.
1803         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1804         * math/w_drem.c (__drem): Likewise.
1805         * math/w_dremf.c (__dremf): Likewise.
1806         * math/w_dreml.c (__dreml): Likewise.
1807         * misc/daemon.c (daemon): Likewise.
1808         * resolv/res_debug.c (p_fqnname): Likewise.
1809         * stdlib/div.c (div): Likewise.
1810         * string/memcmp.c (memcmp_bytes): Likewise.
1811         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1812         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1814         * crypt/cert.c (main): Convert to prototype-style function
1815         definition.
1816         * io/pipe.c (__pipe): Likewise.
1817         * io/pipe2.c (__pipe2): Likewise.
1818         * misc/futimesat.c (futimesat): Likewise.
1819         * misc/utimes.c (__utimes): Likewise.
1820         * posix/execve.c (__execve): Likewise.
1821         * posix/execvp.c (execvp): Likewise.
1822         * posix/execvpe.c (__execvpe): Likewise.
1823         * posix/fexecve.c (fexecve): Likewise.
1824         * socket/socketpair.c (socketpair): Likewise.
1825         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1826         * stdlib/erand48.c (erand48): Likewise.
1827         * stdlib/erand48_r.c (__erand48_r): Likewise.
1828         * stdlib/jrand48.c (jrand48): Likewise.
1829         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1830         * stdlib/lcong48.c (lcong48): Likewise.
1831         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1832         * stdlib/nrand48.c (nrand48): Likewise.
1833         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1834         * stdlib/seed48.c (seed48): Likewise.
1835         * stdlib/seed48_r.c (__seed48_r): Likewise.
1836         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1837         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1838         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1840 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1842         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1843         * configure: Regenerated.
1844         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1845         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1846         unconditional.
1847         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1848         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1849         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1850         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1851         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1852         unconditional.
1853         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1855         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1856         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1858         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1859         function definition.
1860         * crypt/crypt_util.c (__encrypt_r): Likewise.
1861         * libio/genops.c (_IO_no_init): Likewise.
1862         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1863         (_IO_old_fopencookie): Likewise.
1864         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1865         * libio/iogetline.c (_IO_getline): Likewise.
1866         (_IO_getline_info): Likewise.
1867         * libio/iogetwline.c (_IO_getwline): Likewise.
1868         (_IO_getwline_info): Likewise.
1869         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1870         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1871         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1872         (find_entry): Likewise.
1873         (iterate_table): Likewise.
1874         (lookup): Likewise.
1875         * login/forkpty.c (forkpty): Likewise.
1876         * misc/hsearch_r.c (__hsearch_r): Likewise.
1877         * misc/select.c (__select): Likewise.
1878         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1879         Likewise.
1880         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1881         Likewise.
1882         * nptl/old_pthread_cond_timedwait.c
1883         (__pthread_cond_timedwait_2_0): Likewise.
1884         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1885         * nptl/pthread_barrierattr_getpshared.c
1886         (pthread_barrierattr_getpshared): Likewise.
1887         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1888         Likewise.
1889         * nptl/pthread_mutex_setprioceiling.c
1890         (pthread_mutex_setprioceiling): Likewise.
1891         * nptl/pthread_mutexattr_getprioceiling.c
1892         (pthread_mutexattr_getprioceiling): Likewise.
1893         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1894         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1895         Likewise.
1896         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1897         Likewise.
1898         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1899         Likewise.
1900         * socket/recvfrom.c (__recvfrom): Likewise.
1901         * socket/sendto.c (__sendto): Likewise.
1902         * socket/setsockopt.c (__setsockopt): Likewise.
1903         * stdio-common/_itoa.c (_itoa): Likewise.
1904         * stdio-common/_itowa.c (_itowa): Likewise.
1905         * stdio-common/reg-printf.c (__register_printf_specifier):
1906         Likewise.
1907         (__register_printf_function): Likewise.
1908         * stdio-common/tempname.c (__path_search): Likewise.
1909         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1910         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1911         * stdlib/random_r.c (__initstate_r): Likewise.
1912         * stdlib/setenv.c (__add_to_environ): Likewise.
1913         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1914         * streams/getpmsg.c (getpmsg): Likewise.
1915         * streams/putmsg.c (putmsg): Likewise.
1916         * streams/putpmsg.c (putpmsg): Likewise.
1917         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1918         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1919         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1920         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1921         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1922         * sunrpc/svc_udp.c (cache_get): Likewise.
1923         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1924         * sysdeps/mach/hurd/getcwd.c
1925         (__canonicalize_directory_name_internal): Likewise.
1926         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1927         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1928         * sysdeps/mach/hurd/select.c (__select): Likewise.
1929         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1930         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1931         * sysdeps/sparc/nptl/pthread_barrier_init.c
1932         (__pthread_barrier_init): Likewise.
1933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1934         (__pthread_cond_timedwait): Likewise.
1935         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1936         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1937         Likewise.
1938         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1939         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1940         Likewise.
1941         * sysvipc/semtimedop.c (semtimedop): Likewise.
1942         * time/setitimer.c (__setitimer): Likewise.
1943         * time/strftime_l.c (emacs_strftime): Likewise.
1945 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1947         * config.make.in (have-ssp): Delete.
1948         (stack-protector): New variable.
1949         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1950         cache test for -fstack-protector-strong.  Export stack_protector to
1951         the best ssp flag.
1952         * configure: Regenerated.
1953         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1954         * nscd/Makefile (CFLAGS-nscd): Likewise.
1955         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1957 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1959         [BZ #19122]
1960         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1961         attribute_hidden.
1963 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1965         [BZ #18743]
1966         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1967         code to...
1968         (ELIDE_LOCK): ...here.
1969         (__get_new_count): New function with part of the code from
1970         __elide_lock that updates the value of adapt_count after a
1971         transaction abort.
1972         (__elided_trylock): Moved this code to...
1973         (ELIDE_TRYLOCK): ...here.
1975 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1977         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1978         * configure: Regenerate.
1979         * INSTALL: Regenerate.
1980         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1981         and tweak grammar.
1983 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1985         * login/programs/pt_chown.c: Include signal.h
1986         (main): Clear any signal mask from the parent process.
1988 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1990         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1991         * configure: Regenerated.
1992         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1993         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1994         $(gnu89-inline-CFLAGS).
1996         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1997         test.
1998         (libc_cv_asm_weakext_directive): Likewise.
1999         * configure: Regenerated.
2000         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2001         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2002         * include/libc-symbols.h
2003         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2004         #error.
2005         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2006         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2008         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2009         prototype-style function definition.
2010         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2011         * sysdeps/i386/ffs.c (__ffs): Likewise.
2012         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2013         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2014         Likewise.
2015         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2016         Likewise.
2017         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2018         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2019         Likewise.
2020         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2021         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2022         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2023         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2024         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2025         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2026         * sysdeps/mach/hurd/access.c (__access): Likewise.
2027         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2028         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2029         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2030         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2031         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2032         (cthread_getspecific): Likewise.
2033         (cthread_setspecific): Likewise.
2034         (__libc_getspecific): Likewise.
2035         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2036         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2037         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2038         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2039         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2040         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2041         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2042         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2043         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2044         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2045         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2046         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2047         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2048         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2049         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2050         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2051         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2052         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2053         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2054         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2055         * sysdeps/mach/hurd/link.c (__link): Likewise.
2056         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2057         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2058         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2059         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2060         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2061         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2062         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2063         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2064         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2065         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2066         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2067         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2068         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2069         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2070         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2071         * sysdeps/mach/hurd/send.c (__send): Likewise.
2072         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2073         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2074         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2075         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2076         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2077         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2078         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2079         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2080         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2081         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2082         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2083         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2084         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2085         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2086         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2087         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2088         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2089         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2090         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2091         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2092         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2093         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2094         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2095         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2096         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2097         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2098         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2099         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2100         * sysdeps/posix/alarm.c (alarm): Likewise.
2101         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2102         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2103         * sysdeps/posix/dup.c (__dup): Likewise.
2104         * sysdeps/posix/dup2.c (__dup2): Likewise.
2105         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2106         (main): Likewise.
2107         * sysdeps/posix/flock.c (__flock): Likewise.
2108         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2109         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2110         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2111         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2112         * sysdeps/posix/isatty.c (__isatty): Likewise.
2113         * sysdeps/posix/killpg.c (killpg): Likewise.
2114         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2115         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2116         * sysdeps/posix/raise.c (raise): Likewise.
2117         * sysdeps/posix/remove.c (remove): Likewise.
2118         * sysdeps/posix/rename.c (rename): Likewise.
2119         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2120         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2121         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2122         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2123         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2124         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2125         * sysdeps/posix/sigset.c (sigset): Likewise.
2126         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2127         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2128         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2129         * sysdeps/posix/time.c (time): Likewise.
2130         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2131         (ttyname): Likewise.
2132         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2133         * sysdeps/posix/utime.c (utime): Likewise.
2134         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2135         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2136         Likewise.
2137         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2138         (pthread_spin_trylock): Likewise.
2139         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2140         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2141         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2142         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2143         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2144         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2145         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2146         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2147         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2148         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2149         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2150         * sysdeps/s390/ffs.c (__ffs): Likewise.
2151         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2152         Likewise.
2153         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2154         Likewise.
2155         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2156         Likewise.
2157         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2158         (pthread_barrier_destroy): Likewise.
2159         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2160         (__pthread_barrier_wait): Likewise.
2161         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2162         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2163         (__pthread_barrier_wait): Likewise.
2164         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2165         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2166         (memcmp_not_common_alignment): Likewise.
2167         (MEMCMP): Likewise.
2168         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2169         (_wordcopy_fwd_dest_aligned): Likewise.
2170         (_wordcopy_bwd_aligned): Likewise.
2171         (_wordcopy_bwd_dest_aligned): Likewise.
2172         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2173         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2174         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2175         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2176         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2177         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2178         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2179         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2180         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2181         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2182         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2183         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2184         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2185         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2186         * sysdeps/unix/stime.c (stime): Likewise.
2187         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2188         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2189         Likewise.  Use internal_function.
2190         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2191         Convert to prototype-style function definition.
2192         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2193         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2194         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2195         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2196         Likewise.  Use internal_function.
2197         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2198         prototype-style function definition
2199         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2200         Likewise.
2201         (__getlogin_r): Likewise.
2202         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2204         (__pthread_cond_broadcast): Likewise.
2205         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2206         (__pthread_cond_destroy): Likewise.
2207         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2208         (__pthread_cond_init): Likewise.
2209         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2210         (__pthread_cond_signal): Likewise.
2211         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2212         (__pthread_cond_wait): Likewise.
2213         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2214         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2215         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2218         Likewise.
2219         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2222         Likewise.
2223         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2225         (__ftruncate64): Likewise.
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2227         (truncate64): Likewise.
2228         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2229         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2230         (pthread_getcpuclockid): Likewise.
2231         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2232         Likewise.
2233         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2234         Likewise.
2235         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2236         Likewise.
2237         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2238         Likewise.
2239         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2240         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2241         (__libc_sigaction): Likewise.
2242         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2243         Likewise.
2244         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2245         (__sigprocmask): Likewise.
2246         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2247         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2248         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2249         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2250         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2251         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2252         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2253         Likewise.
2254         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2255         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2256         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2257         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2258         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2259         Likewise.
2260         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2261         (__sigprocmask): Likewise.
2262         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2263         (cfgetispeed): Likewise.
2264         (cfsetospeed): Likewise.
2265         (cfsetispeed): Likewise.
2266         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2267         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2268         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2269         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2270         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2271         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2272         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2273         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2274         Likewise.
2275         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2276         Likewise.
2277         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2280         Likewise.
2281         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2283 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2285         sunrpc: Rewrite with explicit TLS access using __thread.
2286         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2287         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2288         directly.
2289         (__rpc_thread_variables): Access thread_rpc_vars directly.
2290         Eliminate redundant assignment of the tvp variable.
2292 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2294         malloc: Rewrite with explicit TLS access using __thread.
2295         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2296         (tsd_setspecific, tsd_getspecific): Remove.
2297         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2298         (tsd_setspecific, tsd_getspecific): Likewise.
2299         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2300         (tsd_setspecific, tsd_getspecific): Likewise.
2301         * malloc/arena.c (thread_arena): New TLS variable.
2302         (arena_key): Remove variable.
2303         (arena_get): Use thread_arena.
2304         (arena_lookup): Remove macro.
2305         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2306         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2307         (_int_new_arena, get_free_list, reused_arena)
2308         (arena_thread_freeres): Use thread_arena.
2309         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2310         tsd_getspecific, tsd_setspecific from safety annotations.
2311         (Allocating Cleared Space): Remove arena_lookup from safety
2312         annotations.
2314 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2316         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2317         struct scratch_buffer instead of extend_alloca.
2319 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2321         * sysdeps/unix/sysv/linux/kernel-features.h
2322         (__ASSUME_SOCK_CLOEXEC): Remove.
2323         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2324         (__have_paccept): Remove unused macro.
2325         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2326         * misc/syslog.c (openlog_internal): Remove fallback code for
2327         !__ASSUME_SOCK_CLOEXEC.
2328         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2329         missing SOCK_CLOEXEC.
2330         * nscd/connections.c (have_sock_cloexec): Remove definition.
2331         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2332         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2333         !__ASSUME_SOCK_CLOEXEC.
2334         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2335         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2336         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2337         definition.
2338         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2339         code for !__ASSUME_SOCK_CLOEXEC.
2341 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2343         [BZ #18982]
2344         * manual/stdio.texi (Variable Arguments Output): Add portability
2345         note, explaining that vfprintf clobbers the va_list pointer.
2347 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2349         * math/libm-test.inc (fabs_test_data): Add more tests.
2350         (fdim_test_data): Likewise.
2351         (fma_test_data): Likewise.
2352         (fmax_test_data): Likewise.
2353         (fmin_test_data): Likewise.
2354         (fmod_test_data): Likewise.
2356 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2358         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2359         data.
2361 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2363         * math/libm-test.inc (ceil_test_data): Add more tests and more
2364         expectations for "inexact".
2365         (floor_test_data): Add more tests.
2366         (round_test_data): Likewise.
2367         (trunc_test_data): Likewise.
2369         * crypt/cert.c (good_bye): Convert to prototype-style function
2370         definition.
2371         (get8): Likewise.
2372         (put8): Likewise.
2373         * crypt/crypt-entry.c (crypt): Likewise.
2374         (__fcrypt): Likewise.
2375         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2376         (_ufc_set_bits): Likewise.
2377         (_ufc_clearmem): Likewise.
2378         (__init_des_r): Likewise.
2379         (shuffle_sb): Likewise.
2380         (shuffle_sb): Likewise.
2381         (_ufc_setup_salt_r): Likewise.
2382         (_ufc_mk_keytab_r): Likewise.
2383         (_ufc_dofinalperm_r): Likewise.
2384         (encrypt): Likewise.
2385         (__setkey_r): Likewise.
2386         (setkey): Likewise.
2387         * crypt/md5.c (md5_init_ctx): Likewise.
2388         (md5_read_ctx): Likewise.
2389         (md5_finish_ctx): Likewise.
2390         (md5_stream): Likewise.
2391         (md5_buffer): Likewise.
2392         (md5_process_bytes): Likewise.
2393         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2394         (__sha256_finish_ctx): Likewise.
2395         (__sha256_process_bytes): Likewise.
2396         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2397         (__sha512_finish_ctx): Likewise.
2398         (__sha512_process_bytes): Likewise.
2399         * ctype/isctype.c (__isctype): Likewise.
2400         * debug/backtrace.c (__backtrace): Likewise.
2401         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2402         * debug/fgets_chk.c (__fgets_chk): Likewise.
2403         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2404         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2405         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2406         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2407         * debug/memset_chk.c (__memset_chk): Likewise.
2408         * debug/strcat_chk.c (__strcat_chk): Likewise.
2409         * debug/strncat_chk.c (__strncat_chk): Likewise.
2410         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2411         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2412         * dirent/dirfd.c (dirfd): Likewise.
2413         * dirent/getdents.c (__getdirentries): Likewise.
2414         * dirent/getdents64.c (getdirentries64): Likewise.
2415         * dirent/rewinddir.c (__rewinddir): Likewise.
2416         * dirent/seekdir.c (seekdir): Likewise.
2417         * dirent/telldir.c (telldir): Likewise.
2418         * elf/sln.c (makesymlinks): Likewise.
2419         (makesymlink): Likewise.
2420         * gmon/gmon.c (__moncontrol): Likewise.
2421         (__monstartup): Likewise.
2422         (write_hist): Likewise.
2423         (write_call_graph): Likewise.
2424         (write_bb_counts): Likewise.
2425         * grp/setgroups.c (setgroups): Likewise.
2426         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2427         * inet/inet_net.c (inet_network): Likewise.
2428         * inet/inet_netof.c (inet_netof): Likewise.
2429         * inet/rcmd.c (rresvport_af): Likewise.
2430         (rresvport): Likewise.
2431         * io/access.c (__access): Likewise.
2432         * io/chdir.c (__chdir): Likewise.
2433         * io/chmod.c (__chmod): Likewise.
2434         * io/chown.c (__chown): Likewise.
2435         * io/close.c (__close): Likewise.
2436         * io/creat.c (creat): Likewise.
2437         * io/creat64.c (creat64): Likewise.
2438         * io/dup.c (__dup): Likewise.
2439         * io/dup2.c (__dup2): Likewise.
2440         * io/dup3.c (__dup3): Likewise.
2441         * io/euidaccess.c (__euidaccess): Likewise.
2442         * io/faccessat.c (faccessat): Likewise.
2443         * io/fchmod.c (__fchmod): Likewise.
2444         * io/fchmodat.c (fchmodat): Likewise.
2445         * io/fchown.c (__fchown): Likewise.
2446         * io/fchownat.c (fchownat): Likewise.
2447         * io/fcntl.c (__fcntl): Likewise.
2448         * io/flock.c (__flock): Likewise.
2449         * io/fts.c (fts_load): Likewise.
2450         (fts_close): Likewise.
2451         (fts_read): Likewise.
2452         (fts_set): Likewise.
2453         (fts_children): Likewise.
2454         (fts_build): Likewise.
2455         (fts_stat): Likewise.
2456         (fts_sort): Likewise.
2457         (fts_alloc): Likewise.
2458         (fts_lfree): Likewise.
2459         (fts_palloc): Likewise.
2460         (fts_padjust): Likewise.
2461         (fts_maxarglen): Likewise.
2462         (fts_safe_changedir): Likewise.
2463         * io/getwd.c (getwd): Likewise.
2464         * io/isatty.c (__isatty): Likewise.
2465         * io/lchown.c (__lchown): Likewise.
2466         * io/link.c (__link): Likewise.
2467         * io/linkat.c (linkat): Likewise.
2468         * io/lseek.c (__libc_lseek): Likewise.
2469         * io/mkdir.c (__mkdir): Likewise.
2470         * io/mkdirat.c (mkdirat): Likewise.
2471         * io/mkfifo.c (mkfifo): Likewise.
2472         * io/mkfifoat.c (mkfifoat): Likewise.
2473         * io/open.c (__libc_open): Likewise.
2474         * io/open64.c (__libc_open64): Likewise.
2475         * io/readlink.c (__readlink): Likewise.
2476         * io/readlinkat.c (readlinkat): Likewise.
2477         * io/rmdir.c (__rmdir): Likewise.
2478         * io/symlink.c (__symlink): Likewise.
2479         * io/symlinkat.c (symlinkat): Likewise.
2480         * io/ttyname.c (ttyname): Likewise.
2481         * io/ttyname_r.c (__ttyname_r): Likewise.
2482         * io/umask.c (__umask): Likewise.
2483         * io/unlink.c (__unlink): Likewise.
2484         * io/unlinkat.c (unlinkat): Likewise.
2485         * io/utime.c (utime): Likewise.
2486         * libio/clearerr.c (clearerr): Likewise.
2487         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2488         * libio/feof.c (_IO_feof): Likewise.
2489         * libio/feof_u.c (feof_unlocked): Likewise.
2490         * libio/ferror.c (_IO_ferror): Likewise.
2491         * libio/ferror_u.c (ferror_unlocked): Likewise.
2492         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2493         * libio/fileno.c (__fileno): Likewise.
2494         * libio/fputc.c (fputc): Likewise.
2495         * libio/fputc_u.c (fputc_unlocked): Likewise.
2496         * libio/fputwc.c (fputwc): Likewise.
2497         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2498         * libio/freopen.c (freopen): Likewise.
2499         * libio/freopen64.c (freopen64): Likewise.
2500         * libio/fseek.c (fseek): Likewise.
2501         * libio/fseeko.c (fseeko): Likewise.
2502         * libio/fseeko64.c (fseeko64): Likewise.
2503         * libio/ftello.c (__ftello): Likewise.
2504         * libio/ftello64.c (ftello64): Likewise.
2505         * libio/fwide.c (fwide): Likewise.
2506         * libio/genops.c (_IO_un_link): Likewise.
2507         (_IO_link_in): Likewise.
2508         (_IO_least_marker): Likewise.
2509         (_IO_switch_to_main_get_area): Likewise.
2510         (_IO_switch_to_backup_area): Likewise.
2511         (_IO_switch_to_get_mode): Likewise.
2512         (_IO_free_backup_area): Likewise.
2513         (_IO_switch_to_put_mode): Likewise.
2514         (__overflow): Likewise.
2515         (__underflow): Likewise.
2516         (__uflow): Likewise.
2517         (_IO_setb): Likewise.
2518         (_IO_doallocbuf): Likewise.
2519         (_IO_default_underflow): Likewise.
2520         (_IO_default_uflow): Likewise.
2521         (_IO_default_xsputn): Likewise.
2522         (_IO_sgetn): Likewise.
2523         (_IO_default_xsgetn): Likewise.
2524         (_IO_sync): Likewise.
2525         (_IO_default_setbuf): Likewise.
2526         (_IO_default_seekpos): Likewise.
2527         (_IO_default_doallocate): Likewise.
2528         (_IO_init): Likewise.
2529         (_IO_old_init): Likewise.
2530         (_IO_default_sync): Likewise.
2531         (_IO_default_finish): Likewise.
2532         (_IO_default_seekoff): Likewise.
2533         (_IO_sputbackc): Likewise.
2534         (_IO_sungetc): Likewise.
2535         (_IO_set_column): Likewise.
2536         (_IO_set_column): Likewise.
2537         (_IO_adjust_column): Likewise.
2538         (_IO_get_column): Likewise.
2539         (_IO_init_marker): Likewise.
2540         (_IO_remove_marker): Likewise.
2541         (_IO_marker_difference): Likewise.
2542         (_IO_marker_delta): Likewise.
2543         (_IO_seekmark): Likewise.
2544         (_IO_unsave_markers): Likewise.
2545         (_IO_nobackup_pbackfail): Likewise.
2546         (_IO_default_pbackfail): Likewise.
2547         (_IO_default_seek): Likewise.
2548         (_IO_default_stat): Likewise.
2549         (_IO_default_read): Likewise.
2550         (_IO_default_write): Likewise.
2551         (_IO_default_showmanyc): Likewise.
2552         (_IO_default_imbue): Likewise.
2553         (_IO_iter_next): Likewise.
2554         (_IO_iter_file): Likewise.
2555         * libio/getc.c (_IO_getc): Likewise.
2556         * libio/getwc.c (_IO_getwc): Likewise.
2557         * libio/iofclose.c (_IO_new_fclose): Likewise.
2558         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2559         * libio/iofflush.c (_IO_fflush): Likewise.
2560         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2561         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2562         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2563         * libio/iofgets.c (_IO_fgets): Likewise.
2564         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2565         * libio/iofgetws.c (fgetws): Likewise.
2566         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2567         * libio/iofopen64.c (_IO_fopen64): Likewise.
2568         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2569         (_IO_cookie_write): Likewise.
2570         (_IO_cookie_seek): Likewise.
2571         (_IO_cookie_close): Likewise.
2572         (_IO_cookie_seekoff): Likewise.
2573         (_IO_old_cookie_seek): Likewise.
2574         * libio/iofputs.c (_IO_fputs): Likewise.
2575         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2576         * libio/iofputws.c (fputws): Likewise.
2577         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2578         * libio/iofread.c (_IO_fread): Likewise.
2579         * libio/iofread_u.c (__fread_unlocked): Likewise.
2580         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2581         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2582         * libio/ioftell.c (_IO_ftell): Likewise.
2583         * libio/iofwrite.c (_IO_fwrite): Likewise.
2584         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2585         * libio/iogets.c (_IO_gets): Likewise.
2586         * libio/iopadn.c (_IO_padn): Likewise.
2587         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2588         (_IO_new_popen): Likewise.
2589         (_IO_new_proc_close): Likewise.
2590         * libio/ioputs.c (_IO_puts): Likewise.
2591         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2592         (_IO_seekoff): Likewise.
2593         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2594         (_IO_seekpos): Likewise.
2595         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2596         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2597         * libio/ioungetc.c (_IO_ungetc): Likewise.
2598         * libio/ioungetwc.c (ungetwc): Likewise.
2599         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2600         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2601         * libio/iowpadn.c (_IO_wpadn): Likewise.
2602         * libio/libc_fatal.c (__libc_fatal): Likewise.
2603         * libio/memstream.c (__open_memstream): Likewise.
2604         (_IO_mem_sync): Likewise.
2605         (_IO_mem_finish): Likewise.
2606         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2607         (_IO_old_file_close_it): Likewise.
2608         (_IO_old_file_finish): Likewise.
2609         (_IO_old_file_fopen): Likewise.
2610         (_IO_old_file_attach): Likewise.
2611         (_IO_old_file_setbuf): Likewise.
2612         (_IO_old_do_write): Likewise.
2613         (old_do_write): Likewise.
2614         (_IO_old_file_underflow): Likewise.
2615         (_IO_old_file_overflow): Likewise.
2616         (_IO_old_file_sync): Likewise.
2617         (_IO_old_file_seekoff): Likewise.
2618         (_IO_old_file_write): Likewise.
2619         (_IO_old_file_xsputn): Likewise.
2620         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2621         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2622         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2623         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2624         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2625         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2626         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2627         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2628         (_IO_old_popen): Likewise.
2629         (_IO_old_proc_close): Likewise.
2630         * libio/oldpclose.c (__old_pclose): Likewise.
2631         * libio/pclose.c (__new_pclose): Likewise.
2632         * libio/peekc.c (_IO_peekc_locked): Likewise.
2633         * libio/putc.c (_IO_putc): Likewise.
2634         * libio/putc_u.c (putc_unlocked): Likewise.
2635         * libio/putchar.c (putchar): Likewise.
2636         * libio/putchar_u.c (putchar_unlocked): Likewise.
2637         * libio/putwc.c (putwc): Likewise.
2638         * libio/putwc_u.c (putwc_unlocked): Likewise.
2639         * libio/putwchar.c (putwchar): Likewise.
2640         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2641         * libio/rewind.c (rewind): Likewise.
2642         * libio/setbuf.c (setbuf): Likewise.
2643         * libio/setlinebuf.c (setlinebuf): Likewise.
2644         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2645         * libio/vscanf.c (_IO_vscanf): Likewise.
2646         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2647         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2648         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2649         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2650         (_IO_switch_to_main_wget_area): Likewise.
2651         (_IO_switch_to_wbackup_area): Likewise.
2652         (_IO_wsetb): Likewise.
2653         (_IO_wdefault_pbackfail): Likewise.
2654         (_IO_wdefault_finish): Likewise.
2655         (_IO_wdefault_uflow): Likewise.
2656         (__woverflow): Likewise.
2657         (__wuflow): Likewise.
2658         (__wunderflow): Likewise.
2659         (_IO_wdefault_xsputn): Likewise.
2660         (_IO_wdefault_xsgetn): Likewise.
2661         (_IO_wdoallocbuf): Likewise.
2662         (_IO_wdefault_doallocate): Likewise.
2663         (_IO_switch_to_wget_mode): Likewise.
2664         (_IO_free_wbackup_area): Likewise.
2665         (_IO_switch_to_wput_mode): Likewise.
2666         (_IO_sputbackwc): Likewise.
2667         (_IO_sungetwc): Likewise.
2668         (_IO_adjust_wcolumn): Likewise.
2669         (_IO_init_wmarker): Likewise.
2670         (_IO_wmarker_delta): Likewise.
2671         (_IO_seekwmark): Likewise.
2672         (_IO_unsave_wmarkers): Likewise.
2673         * libio/wmemstream.c (open_wmemstream): Likewise.
2674         (_IO_wmem_sync): Likewise.
2675         (_IO_wmem_finish): Likewise.
2676         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2677         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2678         * locale/programs/simple-hash.c (init_hash): Likewise.
2679         (delete_hash): Likewise.
2680         (insert_entry): Likewise.
2681         (set_entry): Likewise.
2682         (next_prime): Likewise.
2683         (is_prime): Likewise.
2684         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2685         (xmalloc): Likewise.
2686         (xrealloc): Likewise.
2687         * locale/programs/xstrdup.c (xstrdup): Likewise.
2688         * localedata/collate-test.c (xstrcoll): Likewise.
2689         * localedata/xfrm-test.c (xstrcmp): Likewise.
2690         * login/getlogin_r.c (__getlogin_r): Likewise.
2691         * login/getpt.c (__posix_openpt): Likewise.
2692         * login/login_tty.c (login_tty): Likewise.
2693         * login/setlogin.c (setlogin): Likewise.
2694         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2695         (mach_msg_destroy_port): Likewise.
2696         (mach_msg_destroy_memory): Likewise.
2697         * malloc/mcheck.c (flood): Likewise.
2698         * misc/acct.c (acct): Likewise.
2699         * misc/brk.c (__brk): Likewise.
2700         * misc/chflags.c (chflags): Likewise.
2701         * misc/chroot.c (chroot): Likewise.
2702         * misc/fchflags.c (fchflags): Likewise.
2703         * misc/fstab.c (getfsspec): Likewise.
2704         (getfsfile): Likewise.
2705         * misc/fsync.c (fsync): Likewise.
2706         * misc/ftruncate.c (__ftruncate): Likewise.
2707         * misc/ftruncate64.c (__ftruncate64): Likewise.
2708         * misc/getdomain.c (getdomainname): Likewise.
2709         (getdomainname): Likewise.
2710         * misc/gethostname.c (__gethostname): Likewise.
2711         * misc/getpass.c (getpass): Likewise.
2712         * misc/getttyent.c (skip): Likewise.
2713         (value): Likewise.
2714         * misc/gtty.c (gtty): Likewise.
2715         * misc/hsearch.c (hsearch): Likewise.
2716         (hcreate): Likewise.
2717         * misc/hsearch_r.c (__hcreate_r): Likewise.
2718         (__hdestroy_r): Likewise.
2719         * misc/ioctl.c (__ioctl): Likewise.
2720         * misc/mkdtemp.c (mkdtemp): Likewise.
2721         * misc/mkostemp.c (mkostemp): Likewise.
2722         * misc/mkostemp64.c (mkostemp64): Likewise.
2723         * misc/mkostemps.c (mkostemps): Likewise.
2724         * misc/mkostemps64.c (mkostemps64): Likewise.
2725         * misc/mkstemp.c (mkstemp): Likewise.
2726         * misc/mkstemp64.c (mkstemp64): Likewise.
2727         * misc/mkstemps.c (mkstemps): Likewise.
2728         * misc/mkstemps64.c (mkstemps64): Likewise.
2729         * misc/mktemp.c (__mktemp): Likewise.
2730         * misc/preadv.c (preadv): Likewise.
2731         * misc/preadv64.c (preadv64): Likewise.
2732         * misc/pwritev.c (pwritev): Likewise.
2733         * misc/pwritev64.c (pwritev64): Likewise.
2734         * misc/readv.c (__readv): Likewise.
2735         * misc/revoke.c (revoke): Likewise.
2736         * misc/setdomain.c (setdomainname): Likewise.
2737         * misc/setegid.c (setegid): Likewise.
2738         * misc/seteuid.c (seteuid): Likewise.
2739         * misc/sethostid.c (sethostid): Likewise.
2740         * misc/sethostname.c (sethostname): Likewise.
2741         * misc/setregid.c (__setregid): Likewise.
2742         * misc/setreuid.c (__setreuid): Likewise.
2743         * misc/sstk.c (sstk): Likewise.
2744         * misc/stty.c (stty): Likewise.
2745         * misc/syscall.c (syscall): Likewise.
2746         * misc/syslog.c (setlogmask): Likewise.
2747         * misc/truncate.c (__truncate): Likewise.
2748         * misc/truncate64.c (truncate64): Likewise.
2749         * misc/ualarm.c (ualarm): Likewise.
2750         * misc/usleep.c (usleep): Likewise.
2751         * misc/ustat.c (ustat): Likewise.
2752         * misc/writev.c (__writev): Likewise.
2753         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2754         * nptl/old_pthread_cond_broadcast.c
2755         (__pthread_cond_broadcast_2_0): Likewise.
2756         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2757         Likewise.
2758         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2759         Likewise.
2760         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2761         Likewise.
2762         * nptl/pt-raise.c (raise): Likewise.
2763         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2764         Likewise.
2765         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2766         * nptl/pthread_barrierattr_destroy.c
2767         (pthread_barrierattr_destroy): Likewise.
2768         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2769         Likewise.
2770         * nptl/pthread_barrierattr_setpshared.c
2771         (pthread_barrierattr_setpshared): Likewise.
2772         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2773         Likewise.
2774         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2775         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2776         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2777         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2778         Likewise.
2779         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2780         Likewise.
2781         * nptl/pthread_condattr_getpshared.c
2782         (pthread_condattr_getpshared): Likewise.
2783         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2784         Likewise.
2785         * nptl/pthread_condattr_setpshared.c
2786         (pthread_condattr_setpshared): Likewise.
2787         * nptl/pthread_detach.c (pthread_detach): Likewise.
2788         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2789         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2790         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2791         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2792         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2793         Likewise.
2794         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2795         Likewise.
2796         * nptl/pthread_mutex_getprioceiling.c
2797         (pthread_mutex_getprioceiling): Likewise.
2798         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2799         Likewise.
2800         * nptl/pthread_mutexattr_getprotocol.c
2801         (pthread_mutexattr_getprotocol): Likewise.
2802         * nptl/pthread_mutexattr_getpshared.c
2803         (pthread_mutexattr_getpshared): Likewise.
2804         * nptl/pthread_mutexattr_getrobust.c
2805         (pthread_mutexattr_getrobust): Likewise.
2806         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2807         Likewise.
2808         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2809         Likewise.
2810         * nptl/pthread_mutexattr_setprioceiling.c
2811         (pthread_mutexattr_setprioceiling): Likewise.
2812         * nptl/pthread_mutexattr_setprotocol.c
2813         (pthread_mutexattr_setprotocol): Likewise.
2814         * nptl/pthread_mutexattr_setpshared.c
2815         (pthread_mutexattr_setpshared): Likewise.
2816         * nptl/pthread_mutexattr_setrobust.c
2817         (pthread_mutexattr_setrobust): Likewise.
2818         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2819         Likewise.
2820         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2821         Likewise.
2822         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2823         Likewise.
2824         * nptl/pthread_rwlockattr_getkind_np.c
2825         (pthread_rwlockattr_getkind_np): Likewise.
2826         * nptl/pthread_rwlockattr_getpshared.c
2827         (pthread_rwlockattr_getpshared): Likewise.
2828         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2829         Likewise.
2830         * nptl/pthread_rwlockattr_setkind_np.c
2831         (pthread_rwlockattr_setkind_np): Likewise.
2832         * nptl/pthread_rwlockattr_setpshared.c
2833         (pthread_rwlockattr_setpshared): Likewise.
2834         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2835         Likewise.
2836         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2837         Likewise.
2838         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2839         Likewise.
2840         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2841         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2842         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2843         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2844         * nptl/sem_close.c (sem_close): Likewise.
2845         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2846         * nptl/sem_init.c (__old_sem_init): Likewise.
2847         * nptl/sigaction.c (__sigaction): Likewise.
2848         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2849         * posix/_exit.c (_exit): Likewise.
2850         * posix/alarm.c (alarm): Likewise.
2851         * posix/confstr.c (confstr): Likewise.
2852         * posix/fpathconf.c (__fpathconf): Likewise.
2853         * posix/getgroups.c (__getgroups): Likewise.
2854         * posix/getpgid.c (__getpgid): Likewise.
2855         * posix/group_member.c (__group_member): Likewise.
2856         * posix/pathconf.c (__pathconf): Likewise.
2857         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2858         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2859         * posix/setgid.c (__setgid): Likewise.
2860         * posix/setpgid.c (__setpgid): Likewise.
2861         * posix/setuid.c (__setuid): Likewise.
2862         * posix/sleep.c (__sleep): Likewise.
2863         * posix/sysconf.c (__sysconf): Likewise.
2864         * posix/times.c (__times): Likewise.
2865         * posix/uname.c (__uname): Likewise.
2866         * posix/waitid.c (__waitid): Likewise.
2867         * pwd/getpw.c (__getpw): Likewise.
2868         * resolv/base64.c (b64_pton): Likewise.
2869         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2870         * resolv/gethnamaddr.c (Dprintf): Likewise.
2871         (gethostbyname): Likewise.
2872         (gethostbyname2): Likewise.
2873         (gethostbyaddr): Likewise.
2874         (_sethtent): Likewise.
2875         (_gethtbyname): Likewise.
2876         (_gethtbyname2): Likewise.
2877         (_gethtbyaddr): Likewise.
2878         (map_v4v6_address): Likewise.
2879         (map_v4v6_hostent): Likewise.
2880         (addrsort): Likewise.
2881         (ht_sethostent): Likewise.
2882         (ht_gethostbyname): Likewise.
2883         (ht_gethostbyaddr): Likewise.
2884         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2885         (inet_net_ntop_ipv4): Likewise.
2886         * resolv/inet_neta.c (inet_neta): Likewise.
2887         * resolv/inet_ntop.c (inet_ntop): Likewise.
2888         (inet_ntop4): Likewise.
2889         (inet_ntop6): Likewise.
2890         * resolv/inet_pton.c (__inet_pton): Likewise.
2891         (inet_pton4): Likewise.
2892         (inet_pton6): Likewise.
2893         * resolv/res_debug.c (loc_aton): Likewise.
2894         (loc_ntoa): Likewise.
2895         * resource/getpriority.c (__getpriority): Likewise.
2896         * resource/getrusage.c (__getrusage): Likewise.
2897         * resource/nice.c (nice): Likewise.
2898         * resource/setpriority.c (__setpriority): Likewise.
2899         * resource/setrlimit64.c (setrlimit64): Likewise.
2900         * resource/vlimit.c (vlimit): Likewise.
2901         * resource/vtimes.c (vtimes): Likewise.
2902         * rt/aio_error.c (aio_error): Likewise.
2903         * rt/aio_return.c (aio_return): Likewise.
2904         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2905         * signal/kill.c (__kill): Likewise.
2906         * signal/killpg.c (killpg): Likewise.
2907         * signal/raise.c (raise): Likewise.
2908         * signal/sigaction.c (__sigaction): Likewise.
2909         * signal/sigaddset.c (sigaddset): Likewise.
2910         * signal/sigaltstack.c (sigaltstack): Likewise.
2911         * signal/sigandset.c (sigandset): Likewise.
2912         * signal/sigblock.c (__sigblock): Likewise.
2913         * signal/sigdelset.c (sigdelset): Likewise.
2914         * signal/sigempty.c (sigemptyset): Likewise.
2915         * signal/sigfillset.c (sigfillset): Likewise.
2916         * signal/sighold.c (sighold): Likewise.
2917         * signal/sigignore.c (sigignore): Likewise.
2918         * signal/sigintr.c (siginterrupt): Likewise.
2919         * signal/sigisempty.c (sigisemptyset): Likewise.
2920         * signal/sigismem.c (sigismember): Likewise.
2921         * signal/signal.c (signal): Likewise.
2922         * signal/sigorset.c (sigorset): Likewise.
2923         * signal/sigpause.c (__sigpause): Likewise.
2924         * signal/sigpending.c (sigpending): Likewise.
2925         * signal/sigprocmask.c (__sigprocmask): Likewise.
2926         * signal/sigrelse.c (sigrelse): Likewise.
2927         * signal/sigreturn.c (__sigreturn): Likewise.
2928         * signal/sigset.c (sigset): Likewise.
2929         * signal/sigsetmask.c (__sigsetmask): Likewise.
2930         * signal/sigstack.c (sigstack): Likewise.
2931         * signal/sigsuspend.c (__sigsuspend): Likewise.
2932         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2933         * signal/sysv_signal.c (__sysv_signal): Likewise.
2934         * socket/accept.c (accept): Likewise.
2935         * socket/accept4.c (__libc_accept4): Likewise.
2936         * socket/bind.c (__bind): Likewise.
2937         * socket/connect.c (__connect): Likewise.
2938         * socket/getpeername.c (getpeername): Likewise.
2939         * socket/getsockname.c (__getsockname): Likewise.
2940         * socket/getsockopt.c (getsockopt): Likewise.
2941         * socket/listen.c (__listen): Likewise.
2942         * socket/recv.c (__recv): Likewise.
2943         * socket/recvmsg.c (__recvmsg): Likewise.
2944         * socket/send.c (__send): Likewise.
2945         * socket/sendmsg.c (__sendmsg): Likewise.
2946         * socket/shutdown.c (shutdown): Likewise.
2947         * socket/sockatmark.c (sockatmark): Likewise.
2948         * socket/socket.c (__socket): Likewise.
2949         * stdio-common/ctermid.c (ctermid): Likewise.
2950         * stdio-common/cuserid.c (cuserid): Likewise.
2951         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2952         * stdio-common/remove.c (remove): Likewise.
2953         * stdio-common/rename.c (rename): Likewise.
2954         * stdio-common/renameat.c (renameat): Likewise.
2955         * stdio-common/tempname.c (__gen_tempname): Likewise.
2956         * stdio-common/xbug.c (InitBuffer): Likewise.
2957         (AppendToBuffer): Likewise.
2958         (ReadFile): Likewise.
2959         * stdlib/a64l.c (a64l): Likewise.
2960         * stdlib/drand48_r.c (drand48_r): Likewise.
2961         * stdlib/getcontext.c (getcontext): Likewise.
2962         * stdlib/getenv.c (getenv): Likewise.
2963         * stdlib/l64a.c (l64a): Likewise.
2964         * stdlib/llabs.c (llabs): Likewise.
2965         * stdlib/lldiv.c (lldiv): Likewise.
2966         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2967         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2968         * stdlib/putenv.c (putenv): Likewise.
2969         * stdlib/random.c (__srandom): Likewise.
2970         (__initstate): Likewise.
2971         (__setstate): Likewise.
2972         * stdlib/random_r.c (__srandom_r): Likewise.
2973         (__setstate_r): Likewise.
2974         (__random_r): Likewise.
2975         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2976         * stdlib/setcontext.c (setcontext): Likewise.
2977         * stdlib/setenv.c (setenv): Likewise.
2978         (unsetenv): Likewise.
2979         * stdlib/srand48.c (srand48): Likewise.
2980         * stdlib/srand48_r.c (__srand48_r): Likewise.
2981         * stdlib/swapcontext.c (swapcontext): Likewise.
2982         * stdlib/system.c (__libc_system): Likewise.
2983         * stdlib/tst-strtod.c (expand): Likewise.
2984         * stdlib/tst-strtol.c (expand): Likewise.
2985         * stdlib/tst-strtoll.c (expand): Likewise.
2986         * streams/fattach.c (fattach): Likewise.
2987         * streams/fdetach.c (fdetach): Likewise.
2988         * streams/getmsg.c (getmsg): Likewise.
2989         * streams/isastream.c (isastream): Likewise.
2990         * string/ffs.c (__ffs): Likewise.
2991         * string/ffsll.c (ffsll): Likewise.
2992         * string/memcmp.c (memcmp_common_alignment): Likewise.
2993         (memcmp_not_common_alignment): Likewise.
2994         (MEMCMP): Likewise.
2995         * string/memcpy.c (memcpy): Likewise.
2996         * string/memmove.c (MEMMOVE): Likewise.
2997         * string/memset.c (memset): Likewise.
2998         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2999         * string/strchrnul.c (STRCHRNUL): Likewise.
3000         * string/strerror.c (strerror): Likewise.
3001         * string/strndup.c (__strndup): Likewise.
3002         * string/strverscmp.c (__strverscmp): Likewise.
3003         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3004         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3005         (clnttcp_freeres): Likewise.
3006         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3007         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3008         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3009         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3010         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3011         (xdr_callhdr): Likewise.
3012         * sunrpc/rpcinfo.c (udpping): Likewise.
3013         (tcpping): Likewise.
3014         (pstatus): Likewise.
3015         (pmapdump): Likewise.
3016         (brdcst): Likewise.
3017         (deletereg): Likewise.
3018         (getprognum): Likewise.
3019         (getvers): Likewise.
3020         (get_inet_address): Likewise.
3021         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3022         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3023         (svcudp_stat): Likewise.
3024         (svcudp_recv): Likewise.
3025         (svcudp_reply): Likewise.
3026         (svcudp_getargs): Likewise.
3027         (svcudp_freeargs): Likewise.
3028         (svcudp_destroy): Likewise.
3029         * sunrpc/xdr.c (xdr_bytes): Likewise.
3030         (xdr_netobj): Likewise.
3031         (xdr_string): Likewise.
3032         (xdr_wrapstring): Likewise.
3033         * sunrpc/xdr_float.c (xdr_float): Likewise.
3034         (xdr_double): Likewise.
3035         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3036         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3037         * sysvipc/ftok.c (ftok): Likewise.
3038         * sysvipc/msgctl.c (msgctl): Likewise.
3039         * sysvipc/msgget.c (msgget): Likewise.
3040         * sysvipc/msgrcv.c (msgrcv): Likewise.
3041         * sysvipc/msgsnd.c (msgsnd): Likewise.
3042         * sysvipc/semget.c (semget): Likewise.
3043         * sysvipc/semop.c (semop): Likewise.
3044         * sysvipc/shmat.c (shmat): Likewise.
3045         * sysvipc/shmctl.c (shmctl): Likewise.
3046         * sysvipc/shmdt.c (shmdt): Likewise.
3047         * sysvipc/shmget.c (shmget): Likewise.
3048         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3049         * termios/speed.c (cfgetospeed): Likewise.
3050         (cfgetispeed): Likewise.
3051         (cfsetospeed): Likewise.
3052         (cfsetispeed): Likewise.
3053         * termios/tcflow.c (tcflow): Likewise.
3054         * termios/tcflush.c (tcflush): Likewise.
3055         * termios/tcgetattr.c (__tcgetattr): Likewise.
3056         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3057         * termios/tcgetsid.c (tcgetsid): Likewise.
3058         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3059         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3060         * time/adjtime.c (__adjtime): Likewise.
3061         * time/dysize.c (dysize): Likewise.
3062         * time/ftime.c (ftime): Likewise.
3063         * time/getitimer.c (__getitimer): Likewise.
3064         * time/gettimeofday.c (__gettimeofday): Likewise.
3065         * time/gmtime.c (__gmtime_r): Likewise.
3066         (gmtime): Likewise.
3067         * time/localtime.c (__localtime_r): Likewise.
3068         (localtime): Likewise.
3069         * time/offtime.c (__offtime): Likewise.
3070         * time/settimeofday.c (__settimeofday): Likewise.
3071         * time/stime.c (stime): Likewise.
3072         * time/strftime_l.c (tm_diff): Likewise.
3073         (iso_week_days): Likewise.
3074         * time/strptime.c (strptime): Likewise.
3075         * time/time.c (time): Likewise.
3076         * time/timespec_get.c (timespec_get): Likewise.
3077         * time/tzset.c (tzset_internal): Likewise.
3078         (compute_change): Likewise.
3079         (__tz_compute): Likewise.
3080         * wcsmbs/btowc.c (__btowc): Likewise.
3081         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3082         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3083         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3084         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3085         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3086         * wcsmbs/wcscat.c (__wcscat): Likewise.
3087         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3088         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3089         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3090         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3091         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3092         * wcsmbs/wcslen.c (__wcslen): Likewise.
3093         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3094         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3095         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3096         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3097         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3098         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3099         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3100         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3101         * wcsmbs/wcstok.c (wcstok): Likewise.
3102         * wcsmbs/wctob.c (wctob): Likewise.
3103         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3104         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3105         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3106         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3107         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3108         * wcsmbs/wmemset.c (__wmemset): Likewise.
3109         * wctype/wcfuncs.c (__towlower): Likewise.
3110         (__towupper): Likewise.
3112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3113         (lll_unlock_elision): Add adapt_count parameter.
3115 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3117         * sysdeps/nptl/configure.ac: Do not give errors based on the
3118         results of top-level configure tests.
3119         * sysdeps/nptl/configure: Regenerated.
3121         * configure.ac (libc_cv_Bgroup): Remove configure test.
3122         * configure: Regenerated.
3123         * config.make.in (have-Bgroup): Remove variable.
3125         * configure.ac (sizeof_long_double): Remove configure test.
3126         * configure: Regenerated.
3127         * config.make.in (sizeof-long-double): Remove variable.
3129         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3130         * configure: Regenerated.
3131         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3132         variable.
3133         (exceptions): Likewise.
3134         * sysdeps/arm/configure: Regenerated.
3135         * config.make.in (exceptions): Remove variable.
3136         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3137         $(exceptions).
3138         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3139         (CFLAGS-vdprintf_chk.c): Likewise.
3140         (CFLAGS-printf_chk.c): Likewise.
3141         (CFLAGS-fprintf_chk.c): Likewise.
3142         (CFLAGS-vprintf_chk.c): Likewise.
3143         (CFLAGS-vfprintf_chk.c): Likewise.
3144         (CFLAGS-gets_chk.c): Likewise.
3145         (CFLAGS-fgets_chk.c): Likewise.
3146         (CFLAGS-fgets_u_chk.c): Likewise.
3147         (CFLAGS-fread_chk.c): Likewise.
3148         (CFLAGS-fread_u_chk.c): Likewise.
3149         (CFLAGS-wprintf_chk.c): Likewise.
3150         (CFLAGS-fwprintf_chk.c): Likewise.
3151         (CFLAGS-vwprintf_chk.c): Likewise.
3152         (CFLAGS-vfwprintf_chk.c): Likewise.
3153         (CFLAGS-fgetws_chk.c): Likewise.
3154         (CFLAGS-fgetws_u_chk.c): Likewise.
3155         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3156         (CFLAGS-fputc.c): Likewise.
3157         (CFLAGS-fputwc.c): Likewise.
3158         (CFLAGS-freopen64.c): Likewise.
3159         (CFLAGS-freopen.c): Likewise.
3160         (CFLAGS-fseek.c): Likewise.
3161         (CFLAGS-fseeko64.c): Likewise.
3162         (CFLAGS-fseeko.c): Likewise.
3163         (CFLAGS-ftello64.c): Likewise.
3164         (CFLAGS-ftello.c): Likewise.
3165         (CFLAGS-fwide.c): Likewise.
3166         (CFLAGS-genops.c): Likewise.
3167         (CFLAGS-getc.c): Likewise.
3168         (CFLAGS-getchar.c): Likewise.
3169         (CFLAGS-getwc.c): Likewise.
3170         (CFLAGS-getwchar.c): Likewise.
3171         (CFLAGS-iofclose.c): Likewise.
3172         (CFLAGS-iofflush.c): Likewise.
3173         (CFLAGS-iofgetpos64.c): Likewise.
3174         (CFLAGS-iofgetpos.c): Likewise.
3175         (CFLAGS-iofgets.c): Likewise.
3176         (CFLAGS-iofgetws.c): Likewise.
3177         (CFLAGS-iofputs.c): Likewise.
3178         (CFLAGS-iofputws.c): Likewise.
3179         (CFLAGS-iofread.c): Likewise.
3180         (CFLAGS-iofsetpos64.c): Likewise.
3181         (CFLAGS-iofsetpos.c): Likewise.
3182         (CFLAGS-ioftell.c): Likewise.
3183         (CFLAGS-iofwrite.c): Likewise.
3184         (CFLAGS-iogetdelim.c): Likewise.
3185         (CFLAGS-iogetline.c): Likewise.
3186         (CFLAGS-iogets.c): Likewise.
3187         (CFLAGS-iogetwline.c): Likewise.
3188         (CFLAGS-ioputs.c): Likewise.
3189         (CFLAGS-ioseekoff.c): Likewise.
3190         (CFLAGS-ioseekpos.c): Likewise.
3191         (CFLAGS-iosetbuffer.c): Likewise.
3192         (CFLAGS-iosetvbuf.c): Likewise.
3193         (CFLAGS-ioungetc.c): Likewise.
3194         (CFLAGS-ioungetwc.c): Likewise.
3195         (CFLAGS-oldfileops.c): Likewise.
3196         (CFLAGS-oldiofclose.c): Likewise.
3197         (CFLAGS-oldiofgetpos64.c): Likewise.
3198         (CFLAGS-oldiofgetpos.c): Likewise.
3199         (CFLAGS-oldiofsetpos64.c): Likewise.
3200         (CFLAGS-oldiofsetpos.c): Likewise.
3201         (CFLAGS-peekc.c): Likewise.
3202         (CFLAGS-putc.c): Likewise.
3203         (CFLAGS-putchar.c): Likewise.
3204         (CFLAGS-putwc.c): Likewise.
3205         (CFLAGS-putwchar.c): Likewise.
3206         (CFLAGS-rewind.c): Likewise.
3207         (CFLAGS-wfileops.c): Likewise.
3208         (CFLAGS-wgenops.c): Likewise.
3209         (CFLAGS-oldiofopen.c): Likewise.
3210         (CFLAGS-iofopen.c): Likewise.
3211         (CFLAGS-iofopen64.c): Likewise.
3212         (CFLAGS-oldtmpfile.c): Likewise.
3213         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3214         (CFLAGS-fprintf.c): Likewise.
3215         (CFLAGS-printf.c): Likewise.
3216         (CFLAGS-vfwprintf.c): Likewise.
3217         (CFLAGS-vfscanf.c): Likewise.
3218         (CFLAGS-vfwscanf.c): Likewise.
3219         (CFLAGS-fscanf.c): Likewise.
3220         (CFLAGS-scanf.c): Likewise.
3221         (CFLAGS-isoc99_vfscanf.c): Likewise.
3222         (CFLAGS-isoc99_vscanf.c): Likewise.
3223         (CFLAGS-isoc99_fscanf.c): Likewise.
3224         (CFLAGS-isoc99_scanf.c): Likewise.
3225         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3226         (CFLAGS-isoc99_fwscanf.c): Likewise.
3227         (CFLAGS-isoc99_vwscanf.c): Likewise.
3228         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3230         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3231         after mkstemp64.
3232         * login/tst-utmp.c (do_prepare): Likewise.
3233         * rt/tst-aio.c (do_prepare): Likewise.
3234         * rt/tst-aio64.c (do_prepare): Likewise.
3236 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3238         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3239         (__lll_lock_elision): Remove adapt_count decrement...
3240         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3241         (__lll_trylock_elision): Likewise.
3242         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3243         (__lll_unlock_elision): ... to here. And utilize
3244         new adapt_count parameter.
3245         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3246         (__lll_unlock_elision): Update to include adapt_count
3247         parameter.
3248         (lll_unlock_elision): Pass pointer to adapt_count
3249         variable.
3251 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3253         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3254         Add elision adapt_count parameter to list of arguments.
3255         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3256         (lll_unlock_elision): Update with new parameter list
3257         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3258         (lll_unlock_elision): Likewise
3259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3260         (lll_unlock_elision): Likewise
3262 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3264         [BZ #19122]
3265         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3266         attribute_hidden.
3268         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3269         attribute_hidden.
3270         [IS_IN (rtld)] (__strdup): Likewise.
3271         [IS_IN (rtld)] (__strerror_r): Likewise.
3272         [IS_IN (rtld)] (__strsep_g): Likewise.
3273         [IS_IN (rtld)] (memchr): Likewise.
3274         [IS_IN (rtld)] (memcmp): Likewise.
3275         [IS_IN (rtld)] (memcpy): Likewise.
3276         [IS_IN (rtld)] (memmove): Likewise.
3277         [IS_IN (rtld)] (memset): Likewise.
3278         [IS_IN (rtld)] (rawmemchr): Likewise.
3279         [IS_IN (rtld)] (stpcpy): Likewise.
3280         [IS_IN (rtld)] (strchr): Likewise.
3281         [IS_IN (rtld)] (strcmp): Likewise.
3282         [IS_IN (rtld)] (strlen): Likewise.
3283         [IS_IN (rtld)] (strnlen): Likewise.
3284         [IS_IN (rtld)] (strsep): Likewise.
3286         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3287         attribute_hidden.
3288         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3290         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3291         attribute_hidden.
3292         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3294         * include/setjmp.h (__longjmp): Add attribute_hidden.
3295         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3297         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3298         Add attribute_hidden.
3300         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3301         [IS_IN (rtld)] (__open): Likewise.
3302         [IS_IN (rtld)] (__fcntl): Likewise.
3304         * include/dirent.h (__opendirat): Add attribute_hidden.
3305         (__getdents): Likewise.
3306         (__getdents64): Likewise.
3307         (__alloc_dir): Likewise.
3308         [IS_IN (rtld)] (__closedir): Likewise.
3309         [IS_IN (rtld)] (__fdopendir): Likewise.
3310         [IS_IN (rtld)] (__readdir): Likewise.
3311         [IS_IN (rtld)] (__readdir64): Likewise.
3312         [IS_IN (rtld)] (__rewinddir): Likewise.
3314         * include/dlfcn.h (_dl_catch_error): Moved to ...
3315         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3316         attribute_hidden.
3318         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3319         (_itoa_word): Likewise.
3321         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3322         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3323         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3324         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3325         (_dl_higher_prime_number): Likewise.
3326         (_dl_debug_printf_c): Likewise.
3327         (_dl_signal_cerror): Likewise.
3328         (_dl_receive_error): Likewise.
3329         (_dl_reloc_bad_type): Likewise.
3330         (_dl_resolve_conflicts): Likewise.
3331         (_dl_check_all_versions): Likewise.
3332         (_dl_check_map_versions): Likewise.
3333         (_dl_sort_fini): Likewise.
3334         (_dl_debug_initialize): Likewise.
3335         (_dl_init_paths): Likewise.
3336         (_dl_show_auxv): Likewise.
3337         (_dl_next_ld_env_entry): Likewise.
3338         (_dl_important_hwcaps): Likewise.
3339         (_dl_load_cache_lookup): Likewise.
3340         (_dl_update_slotinfo): Likewise.
3341         (_dl_show_scope): Likewise.
3343         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3344         attribute_hidden.
3345         (_wordcopy_fwd_dest_aligned): Likewise.
3346         (_wordcopy_bwd_aligned): Likewise.
3347         (_wordcopy_bwd_dest_aligned): Likewise.
3349         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3350         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3351         Likewise.
3352         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3353         Likewise.
3354         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3356 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3359         GCC 5 requirement.
3361 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3363         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3364         test.
3365         * sysdeps/i386/configure: Regenerated.
3366         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3367         code unconditional.
3369         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3370         test.
3371         (libc_cv_asm_popsection_directive): Likewise.
3372         * configure: Regenerated.
3373         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3374         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3375         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3376         (__make_section_unallocated): Make definition unconditional.
3377         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3378         Remove conditional definition.
3379         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3380         (__make_section_unallocated): Likewise.
3382         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3383         * configure: Regenerated.
3384         * config.make.in (static-libgcc): Remove variable.
3385         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3386         $(static-libgcc).
3387         (build-module-helper): Likewise.
3389         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3390         * configure: Regenerated.
3392 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3394         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3395         (struct char_buffer): New type.
3396         (char_buffer_start, char_buffer_size, char_buffer_error)
3397         (char_buffer_rewind, char_buffer_add): New functions.
3398         (ADDW): Remove macro, replaced by the char_buffer_add function.
3399         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3400         of extend_alloca.  Make control flow more explicit.
3402 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3404         [BZ #19137]
3405         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3406         Add -fomit-frame-pointer.
3407         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3409 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3411         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3412         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3414         only if !__GNUC_PREREQ (5,0).
3415         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3416         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3417         (INTERNAL_SYSCALL_NCS): Likewise.
3418         (LOADREGS_0): New macro for GCC 5.
3419         (ASMARGS_0): Likewise.
3420         (LOADREGS_1): Likewise.
3421         (ASMARGS_1): Likewise.
3422         (LOADREGS_2): Likewise.
3423         (ASMARGS_2): Likewise.
3424         (LOADREGS_3): Likewise.
3425         (ASMARGS_3): Likewise.
3426         (LOADREGS_4): Likewise.
3427         (ASMARGS_4): Likewise.
3428         (LOADREGS_5): Likewise.
3429         (ASMARGS_5): Likewise.
3430         (LOADREGS_6): Likewise.
3431         (ASMARGS_6): Likewise.
3433 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3435         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3436         -fomit-frame-pointer.
3437         (CFLAGS-mmap64.c): Likewise.
3438         (CFLAGS-semtimedop.c): Likewise.
3439         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3440         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3441         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3442         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3444 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3446         [BZ #18928]
3447         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3448         _dl_pointer_guard member.
3449         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3450         initializer.
3451         (security_init): Always set up pointer guard.
3452         (process_envvars): Do not process LD_POINTER_GUARD.
3454 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3456         [BZ #19134]
3457         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3458         (.LC2): Likewise.
3459         (.LC3): Likewise.
3460         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3462 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3464         [BZ #19129]
3465         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3466         r0 and r1.
3468 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3470         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3472 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3474         * include/stap-probe.h: Fix macro definition formatting.
3476 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3478         [BZ #19074]
3479         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3480         load and store num_ifs.
3482 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3484         [BZ #18822]
3485         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3486         (__sched_getaffinity_new): Add libc_hidden_proto and
3487         libc_hidden_def.
3489 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3491         [BZ #19007]
3492         * scripts/localplt.awk: Also allow GOT references.
3493         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3494         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3495         with "+ REL R_386_GLOB_DAT".
3496         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3497         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3499 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3501         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3502         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3503         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3504         Likewise.
3505         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3506         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3507         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3508         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3509         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3510         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3511         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3512         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3513         Likewise.
3514         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3516 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3518         [BZ #19125]
3519         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3520         <math_private.h> and <stdint.h>.
3521         (__llround): Avoid conversions to and from long long int, and
3522         subtractions, where those might raise spurious exceptions.
3523         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3524         <math_private.h> and <stdint.h>.
3525         (__llroundf): Avoid conversions to and from long long int, and
3526         subtractions, where those might raise spurious exceptions.
3528 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3530         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3531         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3532         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3533         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3534         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3535         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3536         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3537         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3538         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3539         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3540         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3541         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3542         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3543         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3544         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3545         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3546         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3547         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3548         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3549         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3550         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3551         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3552         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3553         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3554         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3555         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3556         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3557         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3558         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3559         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3560         (__xstat64_conv): Likewise.
3561         (__xstat32_conv): Likewise.
3563 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3565         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3566         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3567         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3568         <sysdeps/unix/sysv/linux/sysdep.h>.
3569         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3570         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3571         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3572         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3573         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3574         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3575         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3576         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3577         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3582         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3583         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3584         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3585         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3586         (sysdep-dl-routines): Add sysdep.
3587         [$(subdir) == nptl] (libpthread-routines): Likewise.
3588         [$(subdir) == rt] (librt-routines): Likewise.
3589         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3590         PIC when branching to SYSCALL_ERROR_LABEL.
3591         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3592         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3593         <sysdeps/unix/sysv/linux/sysdep.h>.
3594         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3595         (SYSCALL_ERROR_ERRNO): Removed.
3596         (SYSCALL_ERROR_HANDLER): Changed to empty.
3597         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3598         (__syscall_error): New prototype.
3599         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3600         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3602 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3604         [BZ #19124]
3605         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3606         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3607         _dl_runtime_resolve_avx.
3608         (_dl_runtime_profile_avx512): Make it a hidden alias of
3609         _dl_runtime_profile_avx.
3611 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3613         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3614         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3615         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3616         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3618         [BZ #16422]
3619         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3620         New configure test.
3621         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3622         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3623         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3624         <math_private.h> and <stdint.h>.
3625         (__llrint): Avoid conversions to long long int where those might
3626         raise spurious exceptions.
3627         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3628         <math_private.h> and <stdint.h>.
3629         (__llrintf): Avoid conversions to long long int where those might
3630         raise spurious exceptions.
3632 2015-10-12  Andreas Schwab  <schwab@suse.de>
3634         [BZ #18969]
3635         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3636         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3637         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3638         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3639         $(gen-locales).
3640         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3641         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3642         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3643         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3644         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3645         $(gen-locales).
3646         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3647         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3648         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3649         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3650         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3651         ($(objpfx)tst-ftell-active-handler.out)
3652         ($(objpfx)tst-ftell-append.out)
3653         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3654         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3655         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3656         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3657         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3658         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3659         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3660         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3661         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3662         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3663         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3664         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3665         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3666         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3667         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3668         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3669         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3670         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3671         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3672         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3673         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3674         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3675         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3676         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3677         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3678         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3679         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3680         $(gen-locales).
3681         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3682         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3683         $(gen-locales).
3684         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3685         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3686         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3687         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3688         $(gen-locales).
3689         * libio/tst_wprintf2.c (main): Use explicit locale.
3690         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3692 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3694         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3695         __msg_sig_post.
3696         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3698 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3700         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3701         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3703         * sysdeps/arm/libm-test-ulps: Regenerated.
3705         [BZ #15470]
3706         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3708         [BZ #16399]
3709         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3710         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3711         and <fix-fp-int-convert-overflow.h>.
3712         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3713         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3714         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3715         and <fix-fp-int-convert-overflow.h>.
3716         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3717         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3718         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3719         <fix-fp-int-convert-overflow.h>.
3720         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3721         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3722         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3723         <fix-fp-int-convert-overflow.h>.
3724         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3725         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3726         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3727         and <fix-fp-int-convert-overflow.h>.
3728         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3729         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3730         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3731         <limits.h> and <fix-fp-int-convert-overflow.h>.
3732         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3733         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3734         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3735         and <fix-fp-int-convert-overflow.h>.
3736         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3737         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3738         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3739         and <fix-fp-int-convert-overflow.h>.
3740         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3741         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3742         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3744 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3746         [BZ #18589]
3747         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3748         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3749         $(gen-locales).
3751 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3752             Phil Blundell <pb@pbcl.net>
3754         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3755         * nptl/tst-cancel26.c: New file.
3756         * nptl/tst-cancel27.c: Likewise.
3758 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3760         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3761         __ILP32__ isn't defined.
3762         (lrint): Likewise.
3763         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3764         (lrintf): Likewise.
3765         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3766         (lrintl): Likewise.
3767         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3768         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3769         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3771 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3776         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3777         file.
3778         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3779         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3781 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3783         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3784         configure test.
3785         * sysdeps/i386/configure: Regenerated.
3786         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3787         configure test.
3788         * sysdeps/x86_64/configure: Regenerated.
3789         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3790         Make code unconditional.
3792         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3793         test.
3794         * sysdeps/i386/configure: Regenerated.
3795         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3796         test.
3797         * sysdeps/x86_64/configure: Regenerated.
3798         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3799         Make code unconditional.
3800         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3801         Likewise.
3802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3803         Likewise.
3804         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3805         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3806         code unconditional.
3807         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3808         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3809         code unconditional.
3810         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3811         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3812         code unconditional.
3813         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3814         code unconditional.
3815         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3816         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3817         code unconditional.
3818         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3819         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3820         code unconditional.
3821         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3822         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3823         code unconditional.
3824         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3825         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3826         code unconditional.
3827         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3828         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3830         [BZ #19095]
3831         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3832         mantissa to long int before shifting left.
3834 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3836         [BZ #19094]
3837         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3838         <limits.h>.
3839         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3840         when result overflows but exception would not result from cast.
3841         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3842         <limits.h>.
3843         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3844         when result overflows but exception would not result from cast.
3845         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3846         <limits.h>.
3847         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3848         when result overflows but exception would not result from cast.
3849         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3850         <limits.h>.
3851         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3852         when result overflows but exception would not result from cast.
3853         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3854         <limits.h>.
3855         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3856         when result overflows but exception would not result from cast.
3857         * math/libm-test.inc (lrint_test_data): Add more tests.
3858         (llrint_test_data): Likewise.
3860 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3862         [BZ #18872]
3863         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3864         Move out from under [$(run-built-tests) = yes] conditional.
3865         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3866         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3868 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3870         [BZ #18589]
3871         * string/Makefile (tests): Add bug-strcoll2.
3872         (LOCALES): Add cs_CZ.UTF-8.
3873         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3875         [BZ #18589]
3876         * string/bug-strcoll2.c: New file.
3877         * locale/categories.def: Revert commit
3878         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3879         * locale/langinfo.h: Likewise.
3880         * locale/localeinfo.h: Likewise.
3881         * locale/C-collate.c: Likewise.
3882         * locale/programs/ld-collate.c (collate_output): Likewise.
3883         * string/strcoll_l.c (STRDIFF): Likewise.
3884         (STRCOLL): Likewise.
3885         * wcsmbs/wcscoll_l.c: Likewise.
3887 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3889         * math/libm-test.inc (lround_test_data): Do not expect the absence
3890         of "inexact" for some tests with non-integer arguments.
3891         (llround_test_data): Likewise.
3893         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3894         test.
3895         (libc_cv_cc_sse2avx): Likewise.
3896         * sysdeps/i386/configure: Regenerated.
3897         * sysdeps/i386/i686/multiarch/Makefile
3898         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3899         [$(subdir) = math].
3900         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3901         code unconditional.
3902         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3903         Likewise.
3904         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3905         Likewise.
3906         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3907         Likewise.
3908         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3909         test.
3910         (libc_cv_cc_sse2avx): Likewise.
3911         * sysdeps/x86_64/configure: Regenerated.
3912         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3913         unconditional.
3914         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3915         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3916         unconditional.
3917         (_dl_runtime_profile)
3918         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3919         conditional code.
3920         * sysdeps/x86_64/fpu/multiarch/Makefile
3921         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3923         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3924         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3925         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3926         * sysdeps/x86_64/fpu/multiarch/e_log.c
3927         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3928         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3929         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3930         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3931         Likewise.
3932         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3933         Likewise.
3934         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3935         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3936         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3937         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3938         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3939         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3940         (HAVE_SSE2AVX_SUPPORT): Likewise.
3942 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3944         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3945         instead of #pragma optimize.
3947 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3949         [BZ #17195]
3950         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3951         as is similarly done in systrim and _int_free already.
3953 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3955         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3957 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3959         [BZ #19088]
3960         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3961         <limits.h>.
3962         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3963         overflows but exception would not result from cast.
3964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3965         and <limits.h>.
3966         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3967         overflows but exception would not result from cast.
3968         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3969         <limits.h>.
3970         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3971         overflows but exception would not result from cast.
3972         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3973         <limits.h>.
3974         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3975         overflows but exception would not result from cast.
3976         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3977         <limits.h>.
3978         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3979         overflows but exception would not result from cast.
3980         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3981         <limits.h>.
3982         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3983         overflows but exception would not result from cast.
3984         * math/libm-test.inc (lround_test_data): Add more tests.
3985         (llround_test_data): Likewise.
3987 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3989         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3990         (CFLAGS-ialloc.c): Ditto.
3991         (CFLAGS-scheck.c): Ditto.
3993 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3995         [BZ #19086]
3996         * manual/filesys.texi (Storage Allocation): Fix argument order for
3997         posix_fallocate64.
3999 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4001         [BZ #19085]
4002         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4003         exponent below 48 inside case for non-overflowing exponent.
4004         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4006 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4008         * iconvdata/cp737.h (from_idx): Add const.
4009         * iconvdata/cp775.h (from_idx): Likewise.
4011 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4013         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4014         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4015         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4017         [BZ #19079]
4018         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4019         file, conditioned on [!_LP64].
4020         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4021         [!_LP64] (__lround): Do not define as function or alias.
4022         [!_LP64] (lround): Likewise.
4023         [!_LP64] (__lroundl): Likewise.
4024         [!_LP64] (lroundl): Likewise.
4025         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4026         macro.
4027         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4028         Likewise.
4030 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4032         * math/libm-test.inc (lrint_test_data): Add more tests.
4033         (llrint_test_data): Likewise.
4034         (lround_test_data): Likewise.
4035         (llround_test_data): Likewise.
4037         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4038         (llrint_test_data): Add tests used for lrint.
4040         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4041         test.
4042         * sysdeps/i386/configure: Regenerated.
4043         * sysdeps/i386/i686/multiarch/Makefile
4044         [$(config-cflags-sse4) = yes]: Make code unconditional.
4045         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4046         Likewise.
4047         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4048         Likewise.
4049         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4050         test.
4051         * sysdeps/x86_64/configure: Regenerated.
4052         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4053         Make code unconditional.
4054         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4055         Likewise.
4056         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4057         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4059         * scripts/rpm2dynsym.sh: Remove file.
4061 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4063         * configure.ac (libc_cv_cxx_thread_local): Define.
4064         * configure: Regenerate.
4065         * config.make.in (have-cxx-thread_local): Define.
4066         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4067         (LDLIBS-tst-thread_local1): Define.
4068         (tests): Add tst-thread_local1.
4069         [have-cxx-thread_local != yes] (tests-unsupported): Add
4070         tst-thread_local1.
4071         * nptl/tst-thread_local1.cc: New file.
4073 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4075         [BZ #19078]
4076         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4077         (u_thres): Likewise.
4078         (__expl): Determine whether to call __kernel_standard_l based on
4079         value of result, not argument.
4081         * math/libm-test.inc (scalb_test_data): Add more expectations for
4082         the "inexact" exception.
4084         [BZ #19077]
4085         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4086         0.0L for argument 1.0L.
4088         [BZ #19076]
4089         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4090         constant 0.0L when computing infinite result.
4092 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4094         [BZ #10432]
4095         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4096         malloc_usable_size.
4098 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4100         [BZ #19018]
4101         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4102         Mangle function pointer before storing it.
4103         (__call_tls_dtors): Demangle function pointer before calling it.
4105 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4107         [BZ #19012]
4108         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4109         Clean up on failure.
4111 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4113         [BZ #19071]
4114         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4115         long int variable to store possibly incremented high part of
4116         mantissa.
4117         * math/libm-test.inc (lround_test_data): Add tests used for
4118         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4119         for tests requiring 64-bit long.  Do not condition tests on
4120         [TEST_FLOAT] unnecessarily.
4121         (llround_test_data): Add tests used for lround.  Add another
4122         expectation for the "inexact" exception.  Do not condition tests
4123         on [TEST_FLOAT] unnecessarily.
4125         [BZ #887]
4126         [BZ #19049]
4127         [BZ #19050]
4128         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4129         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4130         <fix-int-fp-convert-zero.h>.
4131         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4132         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4133         <fix-int-fp-convert-zero.h>.
4134         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4135         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4136         <fix-int-fp-convert-zero.h>.
4137         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4138         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4139         <fix-int-fp-convert-zero.h>.
4140         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4141         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4142         <fix-int-fp-convert-zero.h>.
4143         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4144         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4145         <fix-int-fp-convert-zero.h>.
4146         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4147         * sysdeps/ieee754/flt-32/s_erff.c: Include
4148         <fix-int-fp-convert-zero.h>.
4149         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4150         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4151         <fix-int-fp-convert-zero.h>.
4152         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4153         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4154         <fix-int-fp-convert-zero.h>.
4155         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4157         <fix-int-fp-convert-zero.h>.
4158         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4159         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4160         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4161         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4162         file.
4163         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4165 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4167         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4169 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4171         [BZ #19059]
4172         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4173         overflowing computation.
4174         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4175         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4176         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4177         Likewise.
4178         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4179         Likewise.
4180         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4181         Likewise.
4182         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4183         Likewise.
4184         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4185         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4186         Likewise.
4187         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4188         Likewise.
4189         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4191         * nss/rewrite_field.c (__nss_rewrite_field): Use
4192         internal_function.
4193         * nss/valid_field.c (__nss_valid_field): Likewise.
4194         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4196 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4198         [BZ #18724]
4199         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4200         (__nss_invalid_field_characters, __nss_valid_field)
4201         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4202         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4203         tst-field.c: New file.
4204         * nss/Makefile (routines): Add valid_field, rewrite_field.
4205         (tests-static): Define unconditionally.
4206         (tests): Include tests-static.
4207         [build-static-nss] (tests-static): Use append.
4208         [build-static-nss] (tests): Remove modification.
4209         * nss/getent.c (print_group): Call putgrent.  Report error.
4210         (print_gshadow): Call putsgent.  Report error.
4211         (print_passwd): Call putpwent.  Report error.
4212         (print_shadow): Call putspent.  Report error.
4213         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4214         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4215         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4216         name, password, directory, shell fields for valid syntax.  Rewrite
4217         GECOS field to match syntax.
4218         * pwd/Makefile (tests): Add tst-putpwent.
4219         * pwd/tst-putpwent.c: New file.
4220         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4221         Check grName, grpasswd, gr_mem fields for valid syntax.
4222         Change loop variable i to size_t.
4223         * grp/Makefile (tests): Add tst-putgrent.
4224         * grp/tst-putgrent.c: New file.
4225         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4226         valid syntax.
4227         * shadow/Makefile (tests): Add tst-putspent.
4228         * shadow/tst-putspent.c: New file.
4229         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4230         sg_mem fields for valid syntax.
4231         * gshadow/Makefile (tests): Add tst-putsgent.
4232         * gshadow/tst-putsgent.c: New file.
4234 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4236         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4237         assembly instructions.
4239 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4241         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4242         prefix from operands.
4244 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4246         [BZ #16347]
4247         [BZ #19046]
4248         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4249         <libc-internal.h>.
4250         (MAXLGM): Do not use diagnostic control macros.
4251         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4252         threshold for ldbl-128ibm.
4253         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4254         instead of multiplying by log then subtracting.
4255         * math/auto-libm-test-in: Add more tests of lgamma.
4256         * math/auto-libm-test-out: Regenerated.
4258         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4259         (TYPE_HEX_DIG): Likewise.
4260         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4261         precisions when printing floating-point numbers.
4262         (check_float_internal): Likewise.
4264 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4266         [BZ #16620]
4267         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4268         of log (10) rounded downward to 48 bits.
4269         (log10_low): Use corresponding low part of log (10).
4271         [BZ #19032]
4272         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4273         compute result as (x - x) / (x - x) not as 0 / 0.
4274         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4275         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4277         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4278         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4279         and expm1.
4280         * math/auto-libm-test-out: Regenerated.
4281         * math/libm-test.inc (acos_test_data): Add more tests.
4282         (asin_test_data): Likewise.
4283         (asinh_test_data): Likewise.
4284         (atan_test_data): Likewise.
4285         (atanh_test_data): Likewise.
4286         (atan2_test_data): Likewise.
4287         (cbrt_test_data): Likewise.
4288         (ceil_test_data): Likewise.
4289         (copysign_test_data): Likewise.
4290         (cos_test_data): Likewise.
4291         (cosh_test_data): Likewise.
4292         (erf_test_data): Likewise.
4293         (erfc_test_data): Likewise.
4294         (exp_test_data): Likewise.
4295         (exp10_test_data): Likewise.
4296         (exp2_test_data): Likewise.
4297         (expm1_test_data): Likewise.
4298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4300 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4302         [BZ #19006]
4303         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4304         to ...
4305         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4306         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4307         to ...
4308         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4309         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4310         to ...
4311         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4312         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4313         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4314         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4315         to ...
4316         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4317         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4318         Moved to ...
4319         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4320         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4321         Moved to ...
4322         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4323         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4324         to ...
4325         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4326         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4327         Moved to ...
4328         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4329         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4330         to ...
4331         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4332         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4333         Removed.
4334         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4335         Likewise.
4336         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4339         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4340         Likewise.
4341         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4342         Likewise.
4343         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4344         Likewise.
4345         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4346         Likewise.
4347         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4348         Likewise.
4349         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4352         Likewise.
4353         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4358         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4359         Likewise.
4360         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4367         Likewise.
4368         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4369         Replace ../i486/pthread_cond_timedwait.S with
4370         ../pthread_cond_timedwait.S.
4372 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4374         * math/libm-test.inc (acos_test_data): Refine expectations for
4375         errno and "inexact" exceptions.
4376         (acosh_test_data): Likewise.
4377         (asin_test_data): Likewise.
4378         (asinh_test_data): Likewise.
4379         (atan_test_data): Likewise.
4380         (atanh_test_data): Likewise.
4381         (atan2_test_data): Likewise.
4382         (cbrt_test_data): Likewise.
4383         (ceil_test_data): Likewise.
4384         (copysign_test_data): Likewise.
4385         (cosh_test_data): Likewise.
4386         (erf_test_data): Likewise.
4387         (erfc_test_data): Likewise.
4388         (exp_test_data): Likewise.
4389         (exp10_test_data): Likewise.
4390         (exp2_test_data): Likewise.
4391         (expm1_test_data): Likewise.
4392         (fabs_test_data): Likewise.
4393         (floor_test_data): Likewise.
4394         (fma_test_data): Likewise.
4395         (fmax_test_data): Likewise.
4396         (fmin_test_data): Likewise.
4397         (fmod_test_data): Likewise.
4398         (fpclassify_test_data): Likewise.
4399         (frexp_test_data): Likewise.
4400         (hypot_test_data): Likewise.
4401         (ilogb_test_data): Likewise.
4402         (isgreater_test_data): Likewise.
4403         (isgreaterequal_test_data): Likewise.
4404         (isinf_test_data): Likewise.
4405         (isless_test_data): Likewise.
4406         (islessequal_test_data): Likewise.
4407         (islessgreater_test_data): Likewise.
4408         (isnan_test_data): Likewise.
4409         (isnormal_test_data): Likewise.
4410         (issignaling_test_data): Likewise.
4411         (isunordered_test_data): Likewise.
4412         (j0_test_data): Likewise.
4413         (j1_test_data): Likewise.
4414         (jn_test_data): Likewise.
4415         (lgamma_test_data): Likewise.
4416         (lrint_test_data): Likewise.
4417         (llrint_test_data): Likewise.
4418         (log_test_data): Likewise.
4419         (log10_test_data): Likewise.
4420         (log1p_test_data): Likewise.
4421         (log2_test_data): Likewise.
4422         (logb_test_data): Likewise.
4423         (lround_test_data): Likewise.
4424         (llround_test_data): Likewise.
4425         (modf_test_data): Likewise.
4426         (nearbyint_test_data): Likewise.
4427         (nextafter_test_data): Likewise.
4428         (nexttoward_test_data): Likewise.
4429         (pow_test_data): Likewise.
4430         (remainder_test_data): Likewise.
4431         (remquo_test_data): Likewise.
4432         (rint_test_data): Likewise.
4433         (round_test_data): Likewise.
4434         (signbit_test_data): Likewise.
4435         (sinh_test_data): Likewise.
4436         (sqrt_test_data): Likewise.
4437         (tanh_test_data): Likewise.
4438         (tgamma_test_data): Likewise.
4439         (trunc_test_data): Likewise.
4440         (y0_test_data): Likewise.
4441         (y1_test_data): Likewise.
4442         (yn_test_data): Likewise.
4443         (significand_test_data): Likewise.
4445 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4447         * manual/filesys.texi (Storage Allocation): Document that
4448         posix_fallocate emulation fails when fd is open with O_WRONLY.
4450 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4452         [BZ #19016]
4453         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4454         allow more cases with X^2 + Y^2 >= 0.5.
4455         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4456         normal element in sum instead of special-casing based on values of
4457         arguments.
4458         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4459         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4460         -1 as normal element in sum instead of special-casing based on
4461         values of arguments.
4462         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4463         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4464         (__x2y2m1): Update comment.
4465         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4466         as normal element in sum instead of special-casing based on values
4467         of arguments.
4468         * math/s_clog.c (__clog): Handle more cases using log1p without
4469         hypot.
4470         * math/s_clog10.c (__clog10): Likewise.
4471         * math/s_clog10f.c (__clog10f): Likewise.
4472         * math/s_clog10l.c (__clog10l): Likewise.
4473         * math/s_clogf.c (__clogf): Likewise.
4474         * math/s_clogl.c (__clogl): Likewise.
4475         * math/auto-libm-test-in: Add more tests of clog and clog10.
4476         * math/auto-libm-test-out: Regenerated.
4477         * sysdeps/i386/fpu/libm-test-ulps: Update.
4478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4480 2015-09-28  Martin Sebor  <msebor@redhat.com>
4482         [BZ #18969]
4483         * string/Makefile (LOCALES): Define.
4484         (gen-locales.mk): Include.
4485         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4486         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4487         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4488         on setlocale failure.
4490 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4492         [BZ #18985]
4493         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4494         (__strftime_internal): Likewise.
4495         * time/tst-strftime.c (do_bz18985): New test.
4496         (do_test): Call it.
4498 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4500         [BZ #18956]
4501         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4502         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4503         extracting high part.
4504         * math/auto-libm-test-in: Add another test of pow.
4505         * math/auto-libm-test-out: Regenerated.
4506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4508 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4510         [BZ #18825]
4511         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4512         New macro.
4513         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4514         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4515         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4516         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4517         DBL_NARROW_EVAL, reloading the PIC register as needed.
4518         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4519         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4520         FLT_NARROW_EVAL.  Use separate return path for case when first
4521         argument is NaN.
4522         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4523         DEFINE_LDBL_MIN.
4524         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4525         PIC register.
4526         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4527         math_check_force_underflow_nonneg.
4528         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4529         underflow for subnormal result.
4530         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4532         math_check_force_underflow_nonneg.
4533         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4534         math_check_force_underflow.
4535         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4536         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4537         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4538         DEFINE_LDBL_MIN.
4539         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4540         * math/auto-libm-test-in: Add more tests of pow.
4541         * math/auto-libm-test-out: Regenerated.
4543 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4545         * nss/bug17079.c (init_test_items): Add diagnostic for
4546         inconsistent entries.
4547         (test_buffer_size): Skip inconsistent entries.
4549 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #13304]
4552         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4553         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4554         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4556         [BZ #13304]
4557         * sysdeps/microblaze/s_fma.c: New file.
4558         * sysdeps/microblaze/s_fmaf.c: Likewise.
4559         * sysdeps/microblaze/sfp-machine.h: Likewise.
4561 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4563         [BZ #17250]
4564         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4565         member.
4567 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4569         [BZ #18803]
4570         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4571         (MO): New macro.
4572         (__ieee754_hypot) [PIC]: Load PIC register.
4573         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4574         DBL_NARROW_EVAL.
4575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4576         math_check_force_underflow_nonneg in case where result might be
4577         tiny.
4578         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4579         Likewise.
4580         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4581         Likewise.
4582         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4583         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4584         * math/auto-libm-test-in: Add more tests of hypot.
4585         * math/auto-libm-test-out: Regenerated.
4587 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4589         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4591 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4593         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4594         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4595         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4596         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4597         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4598         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4599         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4601         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4602         LOAD_PIC_REG.
4604         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4605         (FLT_CHECK_FORCE_UFLOW): Likewise.
4606         (DBL_CHECK_FORCE_UFLOW): Likewise.
4607         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4608         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4609         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4610         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4611         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4612         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4613         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4614         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4615         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4616         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4617         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4618         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4619         (flt_min): Replace with use of DEFINE_FLT_MIN.
4620         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4621         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4622         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4623         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4624         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4625         (flt_min): Replace with use of DEFINE_FLT_MIN.
4626         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4627         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4628         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4629         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4630         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4631         (flt_min): Replace with use of DEFINE_FLT_MIN.
4632         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4633         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4634         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4635         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4636         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4637         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4638         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4639         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4640         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4641         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4642         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4643         (flt_min): Replace with use of DEFINE_FLT_MIN.
4644         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4645         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4646         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4647         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4648         main computation.
4649         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4650         (flt_min): Replace with use of DEFINE_FLT_MIN.
4651         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4652         main computation.
4653         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4654         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4655         (MO): New macro.
4656         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4657         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4658         (flt_min): Replace with use of DEFINE_FLT_MIN.
4659         (MO): New macro.
4660         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4661         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4662         (__log1pl): Use MO.
4664         [BZ #19003]
4665         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4666         $(config-cflags-nofma).
4668 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4670         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4672 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4674         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4675         (TWO127): Likewise.
4677         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4678         (min_of_type): Likewise.
4679         (math_check_force_underflow): Likewise.
4680         (math_check_force_underflow_nonneg): Likewise.
4681         (math_check_force_underflow_complex): Likewise.
4682         * math/e_exp2l.c (__ieee754_exp2l): Use
4683         math_check_force_underflow_nonneg.
4684         * math/k_casinh.c (__kernel_casinh): Likewise.
4685         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4686         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4687         * math/s_catan.c (__catan): Use
4688         math_check_force_underflow_complex.
4689         * math/s_catanf.c (__catanf): Likewise.
4690         * math/s_catanh.c (__catanh): Likewise.
4691         * math/s_catanhf.c (__catanhf): Likewise.
4692         * math/s_catanhl.c (__catanhl): Likewise.
4693         * math/s_catanl.c (__catanl): Likewise.
4694         * math/s_ccosh.c (__ccosh): Likewise.
4695         * math/s_ccoshf.c (__ccoshf): Likewise.
4696         * math/s_ccoshl.c (__ccoshl): Likewise.
4697         * math/s_cexp.c (__cexp): Likewise.
4698         * math/s_cexpf.c (__cexpf): Likewise.
4699         * math/s_cexpl.c (__cexpl): Likewise.
4700         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4701         * math/s_clog10.c (__clog10): Likewise.
4702         * math/s_clog10f.c (__clog10f): Likewise.
4703         * math/s_clog10l.c (__clog10l): Likewise.
4704         * math/s_clogf.c (__clogf): Likewise.
4705         * math/s_clogl.c (__clogl): Likewise.
4706         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4707         * math/s_csinf.c (__csinf): Likewise.
4708         * math/s_csinh.c (__csinh): Likewise.
4709         * math/s_csinhf.c (__csinhf): Likewise.
4710         * math/s_csinhl.c (__csinhl): Likewise.
4711         * math/s_csinl.c (__csinl): Likewise.
4712         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4713         * math/s_csqrtf.c (__csqrtf): Likewise.
4714         * math/s_csqrtl.c (__csqrtl): Likewise.
4715         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4716         * math/s_ctanf.c (__ctanf): Likewise.
4717         * math/s_ctanh.c (__ctanh): Likewise.
4718         * math/s_ctanhf.c (__ctanhf): Likewise.
4719         * math/s_ctanhl.c (__ctanhl): Likewise.
4720         * math/s_ctanl.c (__ctanl): Likewise.
4721         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4722         instead of volatile.
4723         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4724         math_check_force_underflow.
4725         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4726         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4727         volatile when forcing underflow.
4728         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4729         math_check_force_underflow_nonneg.
4730         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4731         Likewise.
4732         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4733         math_check_force_underflow.
4734         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4735         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4736         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4737         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4738         math_check_force_underflow_nonneg.
4739         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4740         math_check_force_underflow.
4741         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4743         instead of volatile.
4744         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4745         math_check_force_underflow.
4746         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4747         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4748         math_check_force_underflow_nonneg.
4749         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4750         math_check_force_underflow.
4751         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4752         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4753         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4754         math_check_force_underflow_nonneg.
4755         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4756         Likewise.
4757         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4758         math_check_force_underflow.
4759         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4760         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4761         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4762         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4763         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4764         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4765         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4766         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4767         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4768         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4769         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4770         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4771         Likewise.
4772         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4773         math_check_force_underflow_nonneg.
4774         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4775         Likewise.
4776         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4777         math_check_force_underflow.
4778         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4779         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4780         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4781         Likewise.
4782         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4783         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4784         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4785         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4786         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4787         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4788         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4789         instead of volatile.
4790         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4791         math_check_force_underflow.
4792         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4794         math_check_force_underflow.
4795         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4796         Likewise.
4797         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4798         Use math_check_force_underflow_nonneg.
4799         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4800         math_check_force_underflow.
4801         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4802         Likewise.
4803         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4804         Likewise.
4805         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4806         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4807         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4808         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4810         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4811         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4812         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4813         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4814         math_check_force_underflow_nonneg.
4815         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4816         math_check_force_underflow.
4817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4818         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4819         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4820         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4821         math_check_force_underflow_nonneg.
4822         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4823         math_check_force_underflow.
4824         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4826         instead of volatile.
4827         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4828         math_check_force_underflow.
4830         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4831         * stdlib/strtod_l.c: Include <math_private.h>.
4832         (overflow_value): Use math_narrow_eval.
4833         (underflow_value): Likewise.
4834         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4835         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4836         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4837         (__ieee754_gamma_r): Likewise.
4838         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4839         Likewise.
4840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4841         Likewise.
4842         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4843         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4844         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4845         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4846         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4847         (__ieee754_gammaf_r): Likewise.
4848         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4849         Likewise.
4850         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4851         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4852         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4853         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4854         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4855         volatile.
4856         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4858         math_narrow_eval.
4859         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4860         Likewise.
4861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4862         Likewise.
4863         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4864         Likewise.
4865         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4866         volatile.
4867         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4868         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4869         math_narrow_eval.
4870         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4871         Likewise.
4872         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4873         Likewise.
4875 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4877         * nptl/Versions: Remove ignored symbols.
4879 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4881         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4882         * nss/Makefile (tests): Update.
4884 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4886         * nss/bug18287.c: New file.
4887         * nss/Makefile (tests): Add bug18287.
4889 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4891         * mach/Versions (__mach_host_self_): Add symbol.
4893 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4895         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4896         vm_page_size.
4898 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4900         Really fix sysdeps/i386/fpu/s_scalbn.S build
4902         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4903         (libc: GLIBC_2_22): Remove unused version set.
4905 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4907         * config.make.in (enable-timezone-tools): New variable.
4908         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4909         (enable_timezone_tools): Export to generated files.
4910         * configure: Regenerate.
4911         * INSTALL: Regenerate.
4912         * manual/install.texi (--disable-timezone-tools): Document new flag.
4913         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4914         ifeq ($(enable-timezone-tools),yes) check.
4916 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4918         * timezone/Makefile: Revert previous change.
4920         [BZ #18980]
4921         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4922         (DEFINE_DBL_MIN): Likewise.
4923         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4924         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4925         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4926         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4927         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4928         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4929         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4930         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4931         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4932         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4933         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4934         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4935         (flt_min): Replace with use of DEFINE_FLT_MIN.
4936         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4937         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4938         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4939         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4940         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4941         (flt_min): Replace with use of DEFINE_FLT_MIN.
4942         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4943         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4944         (flt_min): Replace with use of DEFINE_FLT_MIN.
4945         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4946         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4947         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4948         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4949         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4950         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4951         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4952         (__ieee754_pow): Use DBL_NARROW_EVAL.
4953         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4954         (__ieee754_powf): Use FLT_NARROW_EVAL.
4955         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4956         (__ieee754_expf_sse2): Convert double-precision result to single
4957         precision.
4958         * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4962         * timezone/Makefile: Ignore unused variable errors due to private.h
4963         (time_t_min) and (time_t_max).
4964         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4965         Likewise.
4967 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4969         [BZ #18981]
4970         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4971         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4972         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4973         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4974         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4975         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4976         (__scalbn): Use DBL_NARROW_EVAL.
4977         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4978         (__scalbnf): Use FLT_NARROW_EVAL.
4980 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4982         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4983         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4984         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4985         * stdio-common/printf_fp.c (___printf_fp):
4986         Use signbit to get the sign. Use isinf macro to allow inlining.
4987         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4988         * stdio-common/printf_size.c (__printf_size): Likewise.
4990 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4992         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4994 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4996         [BZ #18980]
4997         * sysdeps/generic/math_private.h: Include <float.h>.
4998         (math_narrow_eval): New macro.
4999         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5000         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5001         math_narrow_eval on overflowing return value.
5002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5003         Likewise.
5004         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5005         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5007         Likewise.
5008         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5010 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5012         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5013         * math/Makefile: Remove isinf_ns.c.
5014         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5015         * math/multc3.c (__multc3): Likewise.
5016         * math/s_casin.c (__casin): Likewise.
5017         * math/s_casinf.c (__casinf): Likewise.
5018         * math/s_casinl.c (__casinl): Likewise.
5019         * math/s_cproj.c (__cproj): Likewise.
5020         * math/s_cprojf.c (__cprojf): Likewise.
5021         * math/s_cprojl.c (__cprofl): Likewise.
5022         * math/s_ctan.c (__ctan): Likewise.
5023         * math/s_ctanf.c (__ctanf): Likewise.
5024         * math/s_ctanh.c (__ctanh): Likewise.
5025         * math/s_ctanhf.c (__ctanhf): Likewise.
5026         * math/s_ctanhl.c (__ctanhl): Likewise.
5027         * math/s_ctanl.c (__ctanl): Likewise.
5028         * math/w_fmod.c (__fmod): Likewise.
5029         * math/w_fmodf.c (__fmodf): Likewise.
5030         * math/w_fmodl.c (_fmodl): Likewise.
5031         * math/w_remainder.c (__remainder): Likewise.
5032         * math/w_remainderf.c (__remainderf): Likewise.
5033         * math/w_remainderl.c (__remainderl): Likewise.
5034         * math/w_scalb.c (__scalb): Likewise.
5035         * math/w_scalbf.c (__scalbf): Likewise.
5036         * math/w_scalbl.c (__scalbl): Likewise.
5037         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5038         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5039         with isinf.
5040         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5041         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5042         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5043         __isinf_nsf with isinf.
5044         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5045         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5046         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5047         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5048         with isinf.
5049         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5050         __isinf_nsl with isinf.
5051         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5052         with isinf.
5053         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5054         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5055         __isinf_nsl with isinf.
5056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5057         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5058         with isinf.
5060 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5062         * resolv/base64.c (rcsid): Remove unused static.
5063         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5064         static.  (tqpi1): Likewise.
5065         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5066         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5067         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5068         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5070         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5071         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5072         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5073         Likewise.
5075 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5077         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5078         <nptl/pthreadP.h>.
5079         (_longjmp_unwind): Use __libc_ptf_call.
5080         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5082 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5084         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5085         * sysdeps/arm/__longjmp.S: Likewise
5087 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5089         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5090         Use __builtin_signbit.
5091         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5092         Use __builtin_signbitf.
5093         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5094         Use __builtin_signbitl.
5095         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5096         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5098 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5100         [BZ #15367]
5101         [BZ #17441]
5103         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5104         * math/math.h (fpclassify): Use __builtin_fpclassify when
5105         available.  (signbit): Use __builtin_signbit(f/l).
5106         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5107         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5108         (isinf): Use __builtin_isinf_sign.
5110 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5112         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5113         * benchtests/bench-math-inlines.c: New benchmark.
5114         * benchtests/bench-util.h: New file.
5115         * benchtests/bench-util.c: New file.
5116         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5118 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5120         * elf/tst-dlmopen1.c: Define TEST_SO.
5121         (do_test): Use TEST_SO.
5123         * elf/dl-load.c: Include libc-internal.h.
5124         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5126 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5128         [BZ #17887]
5129         * time/strptime_l.c (__strptime_internal): Make %z accept
5130         [+-]HH:MM time zones.
5132 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5134         [BZ #17886]
5135         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5136         valid time zone.
5138 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5140         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5141         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5142         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5143         (__ASSUME_FDATASYNC): Delete.
5145 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5147         * conform/linknamespace.pl: Require weak undefined symbols to be
5148         in the standard namespace.
5149         (%strong_syms): Rename to %seen_syms.
5150         (%strong_seen): Rename to %seen_where.
5152 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5154         [BZ #18970]
5155         * misc/error.c (error): Replace pthread_setcancelstate with
5156         __pthread_setcancelstate.
5157         (error_at_line): Likewise.
5158         * posix/wordexp.c (parse_comm): Likewise.
5159         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5160         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5161         (__pthread_setcancelstate): This.
5162         (pthread_setcancelstate): Add an alias.
5163         * nptl/nptl-init.c (pthread_functions): Replace
5164         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5165         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5166         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5167         hidden_proto.
5168         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5169         it with hidden_def.
5170         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5171         (pthread_setcancelstate): Renamed to ...
5172         (__pthread_setcancelstate): This.
5173         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5174         __libc_ptf_call with __pthread_setcancelstate.
5176 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5177             Andreas Schwab  <schwab@suse.de>
5179         [BZ #17118]
5180         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5181         result when imaginary part of argument is infinite using sine and
5182         cosine.
5183         * math/s_ctanf.c (__ctanf): Likewise.
5184         * math/s_ctanl.c (__ctanl): Likewise.
5185         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5186         of result when real part of argument is infinite using sine and
5187         cosine.
5188         * math/s_ctanhf.c (__ctanhf): Likewise.
5189         * math/s_ctanhl.c (__ctanhl): Likewise.
5190         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5191         (ctanh_test_data): Add more tests of ctanh.
5193 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5195         [BZ #15384]
5196         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5197         bit-mask as in subtraction.
5198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5199         Likewise.
5200         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5201         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5204         [BZ #18951]
5205         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5206         underflow exception for small results.
5207         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5208         Likewise.
5209         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5210         Likewise.
5211         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5212         Likewise.
5213         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5214         Likewise.
5215         * math/auto-libm-test-in: Add more tests of tgamma.
5216         * math/auto-libm-test-out: Regenerated.
5218 2015-09-17  Andreas Schwab  <schwab@suse.de>
5220         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5222 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #18977]
5225         * math/bits/mathcalls.h
5226         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5227         not declare.
5228         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5229         Likewise.
5230         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5231         Likewise.
5232         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5233         Likewise.
5234         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5235         Likewise.
5236         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5237         Likewise.
5238         * conform/data/math.h-data
5239         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5240         function.
5241         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5242         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5243         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5244         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5245         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5246         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5247         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5248         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5249         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5250         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5251         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5253         [BZ #6803]
5254         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5255         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5256         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5257         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5258         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5259         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5260         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5261         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5262         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5263         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5264         Likewise.
5265         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5266         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5267         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5268         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5269         long_double_symbol calls.
5270         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5271         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5272         strong alias of __ldexpl.
5273         (scalbnl): Define using long_double_symbol.
5274         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5275         Remove alias.
5276         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5277         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5278         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5279         (scalbln_test_data): Add more errno expectations.
5281 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5283         Cache the host port like we cache the task port.  This way we do not
5284         need to call the kernel just to get the port.  Furthermore, we no
5285         longer increase the reference count on every invocation of
5286         `mach_host_self'.
5288         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5289         Protect declarations against the macro expansion.
5290         * mach/mach_init.c (__mach_host_self_): New variable.
5291         (mach_init): Initialize `__mach_host_self_'.
5292         * mach/mach_init.h (__mach_host_self_): New declaration.
5293         (__mach_host_self, mach_host_self): New macros.
5294         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5295         Release reference.
5297 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5299         [BZ #4404]
5300         * po/de.po: Update from Translation Project.
5302         [BZ #16415]
5303         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5304         (__expm1l): Remove code to handle positive infinity and overflow.
5305         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5306         variable.
5307         (__expm1l): Remove code to handle positive infinity and overflow.
5309 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5310             Paul Pluzhnikov  <ppluzhnikov@google.com>
5312         [BZ #18872]
5313         * stdio-common/Makefile (tst-printf-bz18872): New test.
5314         (tst-printf-bz18872-mem.out): Likewise.
5315         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5316         * stdio-common/vfprintf.c: Fix memory leaks.
5318 2015-09-16  Andreas Schwab  <schwab@suse.de>
5320         [BZ #17244]
5321         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5322         Remove extra va_start/va_end calls.
5324         [BZ #17243]
5325         * posix/execl.c (execl): Add missing va_end.
5326         * posix/execle.c (execle): Likewise.
5327         * posix/execlp.c (execlp): Likewise.
5329 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5331         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5332         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5334 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #18967]
5337         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5338         undefine around includes of <bits/mathcalls.h>.
5339         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5340         not declare function.
5341         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5342         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5343         (scalb): Likewise.
5344         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5345         not define macro.
5346         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5347         variable.
5348         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5349         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5350         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5352         [BZ #18857]
5353         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5354         return non-finite argument without doing ordered comparisons on
5355         it.
5357         [BZ #16296]
5358         * math/fenv.h (fegetround): Use __attribute_pure__.
5359         * include/fenv.h (__fegetround): Likewise.
5361         [BZ #18595]
5362         * math/s_ctan.c (__ctan): Force underflow exception for results
5363         whose real or imaginary part has small absolute value.
5364         * math/s_ctanf.c (__ctanf): Likewise.
5365         * math/s_ctanh.c (__ctanh): Likewise.
5366         * math/s_ctanhf.c (__ctanhf): Likewise.
5367         * math/s_ctanhl.c (__ctanhl): Likewise.
5368         * math/s_ctanl.c (__ctanl): Likewise.
5369         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5370         and ctanh.  Add more tests of ctan and ctanh.
5372         [BZ #15918]
5373         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5374         handling of cases where one argument is an infinity.
5376         [BZ #18875]
5377         [BZ #18966]
5378         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5379         (MO): New macro.
5380         (__ieee754_exp10): For small results, force underflow exception
5381         and remove excess range and precision from return value.
5382         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5383         (MO): New macro.
5384         (__ieee754_exp10f): For small results, force underflow exception
5385         and remove excess range and precision from return value.
5386         * math/auto-libm-test-in: Add more tests of exp10.
5387         * math/auto-libm-test-out: Regenerated.
5389 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5391         [BZ #18875]
5392         [BZ #18961]
5393         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5394         (MO): New macro.
5395         (__ieee754_exp): For small results, force underflow exception and
5396         remove excess range and precision from return value.
5397         (__exp_finite): Likewise.
5398         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5399         (MO): New macro.
5400         (__ieee754_expf): For small results, force underflow exception and
5401         remove excess range and precision from return value.
5402         (__expf_finite): Likewise.
5403         * math/auto-libm-test-in: Add more tests of exp.
5404         * math/auto-libm-test-out: Regenerated.
5406         [BZ #16521]
5407         [BZ #18875]
5408         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5409         small results.
5410         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5411         (MO): New macro.
5412         (__ieee754_exp2): For small results, force underflow exception and
5413         remove excess range and precision from return value.
5414         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5415         (MO): New macro.
5416         (__ieee754_exp2f): For small results, force underflow exception
5417         and remove excess range and precision from return value.
5418         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5419         (MO): New macro.
5420         (__ieee754_exp2l): Force underflow exception for small results.
5421         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5422         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5423         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5424         (MO): New macro.
5425         (__ieee754_exp2l): Force underflow exception for small results.
5426         * math/auto-libm-test-in: Add more tests or exp2.
5427         * math/auto-libm-test-out: Regenerated.
5429 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5431         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5433         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5434         /dev/null.
5436 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5438         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5439         io fs process)): Drop spurious backslash.
5441 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5444         Use sysinfo system call instead of parsing /proc/meminfo.
5445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5446         Likewise.
5448 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5450         [BZ #16985]
5451         * programs/localedef.c (main): Display argv[remaining] when
5452         output_path is NULL.
5454 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5456         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5457         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5458         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5459         tanh.
5460         * math/auto-libm-test-out: Regenerated.
5461         * sysdeps/i386/fpu/libm-test-ulps: Update.
5462         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5466 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5468         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5469         Use 'override' keyword to freeze the value here, preventing
5470         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5472 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5474         [BZ #14912]
5475         * sysdeps/aarch64/bits/atomic.h: Move to ...
5476         * sysdeps/aarch64/atomic-machine.h: ...here.
5477         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5478         _AARCH64_ATOMIC_MACHINE_H.
5479         * sysdeps/alpha/bits/atomic.h: Move to ...
5480         * sysdeps/alpha/atomic-machine.h: ...here.
5481         * sysdeps/arm/bits/atomic.h: Move to ...
5482         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5483         * bits/atomic.h: Move to ...
5484         * sysdeps/generic/atomic-machine.h: ...here.
5485         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5486         * sysdeps/i386/bits/atomic.h: Move to ...
5487         * sysdeps/i386/atomic-machine.h: ...here.
5488         * sysdeps/ia64/bits/atomic.h: Move to ...
5489         * sysdeps/ia64/atomic-machine.h: ...here.
5490         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5491         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5492         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5493         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5494         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5495         * sysdeps/microblaze/bits/atomic.h: Move to ...
5496         * sysdeps/microblaze/atomic-machine.h: ...here.
5497         * sysdeps/mips/bits/atomic.h: Move to ...
5498         * sysdeps/mips/atomic-machine.h: ...here.
5499         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5500         * sysdeps/powerpc/bits/atomic.h: Move to ...
5501         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5502         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5503         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5504         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5505         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5506         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5507         <atomic-machine.h> instead of <bits/atomic.h>.
5508         * sysdeps/s390/bits/atomic.h: Move to ...
5509         * sysdeps/s390/atomic-machine.h: ...here.
5510         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5511         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5512         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5513         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5514         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5515         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5516         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5517         * sysdeps/tile/bits/atomic.h: Move to ...
5518         * sysdeps/tile/atomic-machine.h: ...here.
5519         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5520         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5521         <sysdeps/tile/atomic-machine.h> instead of
5522         <sysdeps/tile/bits/atomic.h>.
5523         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5524         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5525         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5526         <sysdeps/tile/atomic-machine.h> instead of
5527         <sysdeps/tile/bits/atomic.h>.
5528         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5529         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5530         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5531         <sysdeps/arm/atomic-machine.h> instead of
5532         <sysdeps/arm/bits/atomic.h>.
5533         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5534         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5535         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5536         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5537         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5538         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5539         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5540         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5541         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5542         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5543         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5544         * sysdeps/x86_64/bits/atomic.h: Move to ...
5545         * sysdeps/x86_64/atomic-machine.h: ...here.
5546         * include/atomic.h: Include <atomic-machine.h> instead of
5547         <bits/atomic.h>.
5549         * sysdeps/mips/mips32/libm-test-ulps: Update.
5550         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5552         [BZ #18952]
5553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5554         not convert non-integer negative arguments to int to determine the
5555         value of signgam.
5556         * math/auto-libm-test-in: Add more tests of lgamma.
5557         * math/auto-libm-test-out: Regenerated.
5559         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5560         cosh, csqrt, erfc, expm1 and lgamma.
5561         * math/auto-libm-test-out: Regenerated.
5562         * sysdeps/i386/fpu/libm-test-ulps: Update.
5563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5565 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5567         [BZ #2542]
5568         [BZ #2543]
5569         [BZ #2558]
5570         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5571         __lgamma_neg for arguments from -28.0 to -2.0.
5572         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5573         __lgamma_negf for arguments from -15.0 to -2.0.
5574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5575         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5576         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5577         Call __lgamma_negl for arguments from -33.0 to -2.0.
5578         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5579         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5580         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5581         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5582         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5583         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5584         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5585         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5586         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5587         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5588         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5589         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5590         (__lgamma_neg): Likewise.
5591         (__lgamma_negl): Likewise.
5592         (__lgamma_product): Likewise.
5593         (__lgamma_productl): Likewise.
5594         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5595         * math/auto-libm-test-in: Add more tests of lgamma.
5596         * math/auto-libm-test-out: Regenerated.
5597         * sysdeps/i386/fpu/libm-test-ulps: Update.
5598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5600 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5602         [BZ #18675]
5603         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5605 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5607         [BZ #14912]
5608         * bits/libc-lock.h: Move to ...
5609         * sysdeps/generic/libc-lock.h: ...here.
5610         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5611         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5612         * sysdeps/mach/hurd/libc-lock.h: ...here.
5613         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5614         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5615         * sysdeps/mach/bits/libc-lock.h: Move to ...
5616         * sysdeps/mach/libc-lock.h: ...here.
5617         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5618         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5619         * sysdeps/nptl/libc-lock.h: ...here.
5620         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5621         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5622         * sysdeps/nptl/libc-lockP.h: ...here.
5623         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5624         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5625         <bits/libc-lock.h>.
5626         * dirent/scandir-tail.c: Likewise.
5627         * dlfcn/dlerror.c: Likewise.
5628         * elf/dl-close.c: Likewise.
5629         * elf/dl-iteratephdr.c: Likewise.
5630         * elf/dl-lookup.c: Likewise.
5631         * elf/dl-open.c: Likewise.
5632         * elf/dl-support.c: Likewise.
5633         * elf/dl-writev.h: Likewise.
5634         * elf/rtld.c: Likewise.
5635         * grp/fgetgrent.c: Likewise.
5636         * gshadow/fgetsgent.c: Likewise.
5637         * gshadow/sgetsgent.c: Likewise.
5638         * iconv/gconv_conf.c: Likewise.
5639         * iconv/gconv_db.c: Likewise.
5640         * iconv/gconv_dl.c: Likewise.
5641         * iconv/gconv_int.h: Likewise.
5642         * iconv/gconv_trans.c: Likewise.
5643         * include/link.h: Likewise.
5644         * inet/getnameinfo.c: Likewise.
5645         * inet/getnetgrent.c: Likewise.
5646         * inet/getnetgrent_r.c: Likewise.
5647         * intl/bindtextdom.c: Likewise.
5648         * intl/dcigettext.c: Likewise.
5649         * intl/finddomain.c: Likewise.
5650         * intl/gettextP.h: Likewise.
5651         * intl/loadmsgcat.c: Likewise.
5652         * intl/localealias.c: Likewise.
5653         * intl/textdomain.c: Likewise.
5654         * libidn/idn-stub.c: Likewise.
5655         * libio/libioP.h: Likewise.
5656         * locale/duplocale.c: Likewise.
5657         * locale/freelocale.c: Likewise.
5658         * locale/newlocale.c: Likewise.
5659         * locale/setlocale.c: Likewise.
5660         * login/getutent_r.c: Likewise.
5661         * login/getutid_r.c: Likewise.
5662         * login/getutline_r.c: Likewise.
5663         * login/utmp-private.h: Likewise.
5664         * login/utmpname.c: Likewise.
5665         * malloc/mtrace.c: Likewise.
5666         * misc/efgcvt.c: Likewise.
5667         * misc/error.c: Likewise.
5668         * misc/fstab.c: Likewise.
5669         * misc/getpass.c: Likewise.
5670         * misc/mntent.c: Likewise.
5671         * misc/syslog.c: Likewise.
5672         * nis/nis_call.c: Likewise.
5673         * nis/nis_callback.c: Likewise.
5674         * nis/nss-default.c: Likewise.
5675         * nis/nss_compat/compat-grp.c: Likewise.
5676         * nis/nss_compat/compat-initgroups.c: Likewise.
5677         * nis/nss_compat/compat-pwd.c: Likewise.
5678         * nis/nss_compat/compat-spwd.c: Likewise.
5679         * nis/nss_nis/nis-alias.c: Likewise.
5680         * nis/nss_nis/nis-ethers.c: Likewise.
5681         * nis/nss_nis/nis-grp.c: Likewise.
5682         * nis/nss_nis/nis-hosts.c: Likewise.
5683         * nis/nss_nis/nis-network.c: Likewise.
5684         * nis/nss_nis/nis-proto.c: Likewise.
5685         * nis/nss_nis/nis-pwd.c: Likewise.
5686         * nis/nss_nis/nis-rpc.c: Likewise.
5687         * nis/nss_nis/nis-service.c: Likewise.
5688         * nis/nss_nis/nis-spwd.c: Likewise.
5689         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5690         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5691         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5692         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5693         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5694         * nis/nss_nisplus/nisplus-network.c: Likewise.
5695         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5696         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5697         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5698         * nis/nss_nisplus/nisplus-service.c: Likewise.
5699         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5700         * nis/ypclnt.c: Likewise.
5701         * nptl/libc_pthread_init.c: Likewise.
5702         * nss/getXXbyYY.c: Likewise.
5703         * nss/getXXent.c: Likewise.
5704         * nss/getXXent_r.c: Likewise.
5705         * nss/nss_db/db-XXX.c: Likewise.
5706         * nss/nss_db/db-netgrp.c: Likewise.
5707         * nss/nss_db/nss_db.h: Likewise.
5708         * nss/nss_files/files-XXX.c: Likewise.
5709         * nss/nss_files/files-alias.c: Likewise.
5710         * nss/nsswitch.c: Likewise.
5711         * posix/regex_internal.h: Likewise.
5712         * posix/wordexp.c: Likewise.
5713         * pwd/fgetpwent.c: Likewise.
5714         * resolv/res_hconf.c: Likewise.
5715         * resolv/res_libc.c: Likewise.
5716         * shadow/fgetspent.c: Likewise.
5717         * shadow/lckpwdf.c: Likewise.
5718         * shadow/sgetspent.c: Likewise.
5719         * socket/opensock.c: Likewise.
5720         * stdio-common/reg-modifier.c: Likewise.
5721         * stdio-common/reg-printf.c: Likewise.
5722         * stdio-common/reg-type.c: Likewise.
5723         * stdio-common/vfprintf.c: Likewise.
5724         * stdio-common/vfscanf.c: Likewise.
5725         * stdlib/abort.c: Likewise.
5726         * stdlib/cxa_atexit.c: Likewise.
5727         * stdlib/fmtmsg.c: Likewise.
5728         * stdlib/random.c: Likewise.
5729         * stdlib/setenv.c: Likewise.
5730         * string/strsignal.c: Likewise.
5731         * sunrpc/auth_none.c: Likewise.
5732         * sunrpc/bindrsvprt.c: Likewise.
5733         * sunrpc/create_xid.c: Likewise.
5734         * sunrpc/key_call.c: Likewise.
5735         * sunrpc/rpc_thread.c: Likewise.
5736         * sysdeps/arm/backtrace.c: Likewise.
5737         * sysdeps/generic/ldsodefs.h: Likewise.
5738         * sysdeps/generic/stdio-lock.h: Likewise.
5739         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5740         * sysdeps/i386/backtrace.c: Likewise.
5741         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5742         * sysdeps/m68k/backtrace.c: Likewise.
5743         * sysdeps/mach/hurd/cthreads.c: Likewise.
5744         * sysdeps/mach/hurd/dirstream.h: Likewise.
5745         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5746         * sysdeps/nptl/malloc-machine.h: Likewise.
5747         * sysdeps/nptl/stdio-lock.h: Likewise.
5748         * sysdeps/posix/dirstream.h: Likewise.
5749         * sysdeps/posix/getaddrinfo.c: Likewise.
5750         * sysdeps/posix/system.c: Likewise.
5751         * sysdeps/pthread/aio_suspend.c: Likewise.
5752         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5753         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5754         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5755         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5756         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5757         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5758         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5759         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5760         * sysdeps/unix/sysv/linux/system.c: Likewise.
5761         * sysdeps/x86_64/backtrace.c: Likewise.
5762         * time/alt_digit.c: Likewise.
5763         * time/era.c: Likewise.
5764         * time/tzset.c: Likewise.
5765         * wcsmbs/wcsmbsload.c: Likewise.
5766         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5767         instead of <bits/libc-lock.h> in comment.
5769 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5771         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5772         Only use .set mips2 if the current ISA is below mips2.
5773         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5774         Likewise.
5775         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5776         mips32r2 if the current ISA is below mips32r2.
5777         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5778         (TLS_IE): Updated to use the TLD_RDHWR macro.
5779         (TLS_LE): Likewise.
5780         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5781         __ASSEMBLER__ condition.
5783 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5785         Fix parallel build of before-compile targets.
5787         * sysdeps/mach/Makefile ($(patsubst
5788         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5789         mach-before-compile target.
5790         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5791         io fs process)): Move rule to dedicated hurd-before-compile target.
5793 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5795         Fix rules generating headers in hurd/ and mach/ when initial make call
5796         has subdir= explicitly set.
5798         * sysdeps/mach/Makefile ($(patsubst
5799         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5800         calling $(MAKE).
5801         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5802         io fs process)): Force subdir to hurd when calling $(MAKE).
5803         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5804         subdir to mach when calling $(MAKE).
5806 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5808         Check sysheaders when looking for Mach and Hurd headers
5810         * sysdeps/mach/configure.ac: Add sysheaders check.
5811         * sysdeps/mach/configure: Regenerate.
5812         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5813         * sysdeps/mach/hurd/configure: Regenerate.
5815 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5817         [BZ #18921]
5818         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5819         Fix inverted sense of test of 'o_directory_works' value.
5820         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5821         Bernhard Voelker <mail@bernhard-voelker.de>.
5823 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5825         [BZ #14912]
5826         * bits/linkmap.h: Move to ...
5827         * sysdeps/generic/linkmap.h: ...here.
5828         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5829         * sysdeps/aarch64/linkmap.h: ...here.
5830         * sysdeps/arm/bits/linkmap.h: Move to ...
5831         * sysdeps/arm/linkmap.h: ...here.
5832         * sysdeps/hppa/bits/linkmap.h: Move to ...
5833         * sysdeps/hppa/linkmap.h: ...here.
5834         * sysdeps/ia64/bits/linkmap.h: Move to ...
5835         * sysdeps/ia64/linkmap.h: ...here.
5836         * sysdeps/mips/bits/linkmap.h: Move to ...
5837         * sysdeps/mips/linkmap.h: ...here.
5838         * sysdeps/s390/bits/linkmap.h: Move to ...
5839         * sysdeps/s390/linkmap.h: ...here.
5840         * sysdeps/sh/bits/linkmap.h: Move to ...
5841         * sysdeps/sh/linkmap.h: ...here.
5842         * sysdeps/x86/bits/linkmap.h: Move to ...
5843         * sysdeps/x86/linkmap.h: ...here.
5844         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5846 2015-09-04  Andreas Schwab  <schwab@suse.de>
5848         [BZ #18635]
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5850         (__makecontext): Terminate FDE before return label.
5851         (__novec_makecontext): Likewise.
5853 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5855         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5856         first member of struct sv in syscall macro.
5858 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5860         [BZ #14912]
5861         * bits/stdio-lock.h: Move to ...
5862         * sysdeps/generic/stdio-lock.h: ...here.
5863         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5864         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5865         * sysdeps/nptl/stdio-lock.h: ...here.
5866         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5867         * include/libio.h: Include <stdio-lock.h> instead of
5868         <bits/stdio-lock.h>.
5869         * sysdeps/nptl/fork.c: Likewise.
5870         * sysdeps/pthread/flockfile.c: Likewise.
5871         * sysdeps/pthread/ftrylockfile.c: Likewise.
5872         * sysdeps/pthread/funlockfile.c: Likewise.
5874         [BZ #14912]
5875         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5876         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5877         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5878         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5879         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5880         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5881         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5883 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5885         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5886         (test-xfail-tst-protected1b): New variable.
5888 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5890         [BZ #14912]
5891         * bits/libc-tsd.h: Move to ...
5892         * sysdeps/generic/libc-tsd.h: ...here.
5893         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5894         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5895         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5896         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5897         * include/ctype.h: Include <libc-tsd.h> instead of
5898         <bits/libc-tsd.h>.
5899         * include/rpc/rpc.h: Likewise.
5900         * locale/localeinfo.h: Likewise.
5901         * sunrpc/rpc_thread.c: Likewise.
5902         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5903         * sysdeps/nptl/malloc-machine.h: Likewise.
5905         * Makefile (headers): Remove bits/libc-lock.h.
5906         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5908         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5909         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5910         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5911         <bits/stdio-lock.h>.
5912         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5913         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5915 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5917         [BZ #18757]
5918         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5919         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5920         BZ #18757.
5922 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5924         * malloc/mtrace.pl: Filter out NULL entries.
5926 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5928         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5929         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5930         macro.
5932         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5933         (TCP_CC_INFO): Likewise.
5934         (TCP_SAVE_SYN): Likewise.
5935         (TCP_SAVED_SYN): Likewise.
5937 2015-08-31  Brett Neumeier <brett@neumeier.us>
5939         [BZ #18870]
5940         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5942 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5944         [BZ #18873]
5945         Fix broken overflow check in posix_fallocate
5946         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5947         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5948         Fix parenthesization typo.
5950 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5952         [BZ #18887]
5953         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5954         tst-mntent-blank-passno.
5955         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5956         * misc/tst-mntent-blank-corrupt.c: New test.
5957         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5958         * misc/tst-mntent.c (do_test): ... here.
5960 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5962         [BZ #4404]
5963         * po/de.po: Fix SIGALRM typo.
5965 2015-08-28  James Perkins  <james@loowit.net>
5967         * time/tst-strptime2.c (tests): Replace short list of test
5968         strings for strptime %z specifier with code which exhaustively
5969         tests every combination of sign and 0 to 5 digits. Tests for
5970         rejection of invalid strings.
5972 2015-08-28  James Perkins  <james@loowit.net>
5974         [BZ #16141]
5975         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5976         calculation, removing incorrect decimal time rounding, so that
5977         all minute values result in a valid seconds value.
5978         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5979         offset range limits to UTC-99:59 through UTC+99:59 to parse
5980         current and historical use cases.
5981         * time/tst-strptime2.c (tests): Modify and add tests for the
5982         strptime %z input field descriptor, specifically conversion of
5983         minutes to seconds and validating an offset range of -9959 to
5984         +9959.
5986 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5987             Dmitry V. Levin  <ldv@altlinux.org>
5989         [BZ #18877]
5990         * posix/Makefile (tests): Add tst-mmap-offset.
5991         * posix/tst-mmap.c: New file.
5992         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5993         offset calculation for negative values.
5995 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5997         * sysdeps/i386/init-arch.h: New file.
5998         * sysdeps/i386/i586/init-arch.h: Likewise.
5999         * sysdeps/i386/i686/init-arch.h: Likewise.
6000         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6001         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6002         * sysdeps/x86/cpu-features.h (bit_I586): New.
6003         (bit_I686): Likewise.
6004         (bit_CX8): Likewise.
6005         (bit_CMOV): Likewise.
6006         (index_CX8): Likewise.
6007         (index_CMOV): Likewise.
6008         (index_I586): Likewise.
6009         (index_I686): Likewise.
6010         (reg_CX8): Likewise.
6011         (reg_CMOV): Likewise.
6012         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6013         available at compile-time.
6014         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6015         available at compile-time.
6016         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6017         (USE_I686): Likewise.
6019 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6021         * sysdeps/i386/bcopy.S: New file.
6022         * sysdeps/i386/bzero.S: Likewise.
6023         * sysdeps/i386/memcpy.S: Likewise.
6024         * sysdeps/i386/memmove.S: Likewise.
6025         * sysdeps/i386/mempcpy.S: Likewise.
6026         * sysdeps/i386/memset.S: Likewise.
6027         * sysdeps/i386/bzero.c: Removed.
6028         * sysdeps/i386/memset.c: Likewise.
6029         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6030         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6031         * sysdeps/i386/i586/memset_chk.S: Likewise.
6032         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6033         * sysdeps/i386/memcpy_chk.S: Here.
6034         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6035         * sysdeps/i386/memmove_chk.S: Here.
6036         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6037         * sysdeps/i386/mempcpy_chk.S: Likewise.
6038         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6039         * sysdeps/i386/memset_chk.S: Likewise.
6041 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6043         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6044         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6045         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6046         * soft-fp/fmadf4.c: Ditto.
6047         * soft-fp/fmatf4.c: Ditto.
6049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6051         * sysdeps/i386/i586/Implies: Removed.
6052         * sysdeps/i386/i686/Implies: Likewise.
6054 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6056         * sysdeps/i386/i486/strlen.S: Moved to ...
6057         * sysdeps/i386/strlen.S: Here.
6059 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6061         * sysdeps/i386/i486/strcat.S: Moved to ...
6062         * sysdeps/i386/strcat.S: Here.
6064 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6066         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6067         * sysdeps/i386/pthread_spin_trylock.S: Here.
6068         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6069         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6073         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6074         * sysdeps/i386/string-inlines.c: Here.
6076 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6078         * sysdeps/i386/i486/htonl.S: Moved ...
6079         * sysdeps/i386/htonl.S: here.
6081 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6083         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6084         * sysdeps/i386/bits/atomic.h: Here.
6086 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6088         * sysdeps/i386/i486/Versions: Removed.
6090 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6092         [BZ #2898]
6093         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6094         Based on patch by Aurelien Jarno.
6096 2015-08-26  Stan Shebs  <stanshebs@google.com>
6098         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6099         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6101 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6103         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6104         * sysdeps/powerpc/dl-procinfo.c:
6105         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6106         feature so it shows when LD_SHOW_AUXV=1.
6108 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6110         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6111         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6112         definition.  ISA 2.07B no longer requires full sync.
6114 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6116         [BZ #18863]
6117         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6118         (si_call_addr): Define.
6119         (si_syscall): Define.
6120         (si_arch): Define.
6122 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6124         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6125         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6126         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6127         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6128         (__memset_zero_constant_len_parameter): New.
6129         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6130         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6131         (__memset_zero_constant_len_parameter): Don't define if
6132         __memset_chk or USE_AS_BZERO are defined.
6134         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6135         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6136         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6138         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6139         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6140         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6141         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6142         comments.
6143         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6144         -mno-mmx for $(all-rtld-routines).
6145         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6146         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6147         i386.
6149 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6151         * sysdeps/generic/unwind.h
6152         (_Unwind_Word): Use __mode__(__unwind_word__)
6153         instead of __mode__(__word__).
6154         (_Unwind_Sword): Likewise.
6156         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6157         (MAX_NEEDED_INPUT): New define.
6158         (MAX_NEEDED_OUTPUT): New define.
6160         * NEWS: New item for IBM z13 string optimizations.
6162         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6163         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6164         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6165         * sysdeps/s390/multiarch/Makefile
6166         (sysdep_routines): Add memrchr functions.
6167         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6168         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6170         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6171         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6172         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6173         * sysdeps/s390/multiarch/Makefile
6174         (sysdep_routines): Add wmemcmp functions.
6175         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6176         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6177         * benchtests/bench-wmemcmp.c: New File.
6178         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6180         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6181         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6182         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6183         * sysdeps/s390/multiarch/Makefile
6184         (sysdep_routines): Add wmemset functions.
6185         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6186         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6187         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6188         * string/test-memset.c: Add wmemset support.
6189         * wcsmbs/test-wmemset.c: New File.
6190         * wcsmbs/Makefile (strop-tests): Add wmemset.
6191         * benchtests/bench-memset.c: Add wmemset support.
6192         * benchtests/bench-wmemset.c: New File.
6193         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6195         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6196         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6197         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6198         * sysdeps/s390/multiarch/Makefile
6199         (sysdep_routines): Add memccpy functions.
6200         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6201         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6202         * string/memccpy.c: Use MEMCCPY if defined.
6204         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6205         * sysdeps/s390/multiarch/memchr.c: Likewise.
6206         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6207         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6208         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6209         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6210         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6211         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6212         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6213         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6214         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6215         and rawmemchr functions.
6216         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6217         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6218         and wmemchr.
6219         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6220         * string/test-memchr.c: Add wmemchr support.
6221         * wcsmbs/test-wmemchr.c: New File.
6222         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6223         * benchtests/bench-memchr.c: Add wmemchr support.
6224         * benchtests/bench-wmemchr.c: New File.
6225         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6227         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6228         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6229         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6230         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6231         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6232         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6233         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6234         wcscspn functions.
6235         * sysdeps/s390/multiarch/ifunc-impl-list.c
6236         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6237         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6238         * string/test-strcspn.c: Add wcscspn support.
6239         * wcsmbs/test-wcscspn.c: New File.
6240         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6241         * benchtests/bench-strcspn.c: Add wcscspn support.
6242         * benchtests/bench-wcscspn.c: New File.
6243         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6245         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6246         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6247         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6248         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6249         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6250         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6252         wcspbrk functions.
6253         * sysdeps/s390/multiarch/ifunc-impl-list.c
6254         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6255         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6256         * string/test-strpbrk.c: Add wcspbrk support.
6257         * wcsmbs/test-wcspbrk.c: New File.
6258         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6259         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6260         * benchtests/bench-wcspbrk.c: New File.
6261         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6263         * sysdeps/s390/multiarch/strspn-c.c: New File.
6264         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6265         * sysdeps/s390/multiarch/strspn.c: Likewise.
6266         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6267         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6268         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6269         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6271         wcsspn functions.
6272         * sysdeps/s390/multiarch/ifunc-impl-list.c
6273         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6274         * string/test-strspn.c: Add wcsspn support.
6275         * wcsmbs/test-wcsspn.c: New File.
6276         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6277         * benchtests/bench-strspn.c: Add wcsspn support.
6278         * benchtests/bench-wcsspn.c: New File.
6279         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6281         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6282         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6283         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6284         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6285         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6286         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6288         wcsrchr functions.
6289         * sysdeps/s390/multiarch/ifunc-impl-list.c
6290         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6291         * benchtests/bench-wcsrchr.c: New File.
6292         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6294         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6295         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6296         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6297         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6298         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6299         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6301         wcschrnul functions.
6302         * sysdeps/s390/multiarch/ifunc-impl-list.c
6303         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6304         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6305         * string/test-strchr.c: Add wcschrnul support.
6306         * wcsmbs/test-wcschrnul.c: New File.
6307         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6308         * benchtests/bench-strchr.c: Add wcschrnul support.
6309         * benchtests/bench-wcschrnul.c: New File.
6310         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6312         * sysdeps/s390/multiarch/strchr-c.c: New File.
6313         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6314         * sysdeps/s390/multiarch/strchr.c: Likewise.
6315         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6316         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6317         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6319         wcschr functions.
6320         * sysdeps/s390/multiarch/ifunc-impl-list.c
6321         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6322         * string/strchr.c (STRCHR): Define and use macro.
6323         * benchtests/bench-wcschr.c: New File.
6324         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6326         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6327         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6328         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6329         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6330         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6331         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6333         wcsncmp functions.
6334         * sysdeps/s390/multiarch/ifunc-impl-list.c
6335         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6336         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6337         * benchtests/bench-strncmp.c: Add wcsncmp support.
6338         * benchtests/bench-wcsncmp.c: New File.
6339         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6341         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6342         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6343         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6344         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6345         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6346         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6347         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6349         wcscmp functions.
6350         * sysdeps/s390/multiarch/ifunc-impl-list.c
6351         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6352         * string/strcmp.c (STRCMP): Define and use macro.
6353         * benchtests/bench-wcscmp.c: New File.
6354         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6355         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6356         instead of _HAVE_STRING_ARCH_memchr.
6358         * sysdeps/s390/multiarch/strncat-c.c: New File.
6359         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6360         * sysdeps/s390/multiarch/strncat.c: Likewise.
6361         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6362         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6363         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6364         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6365         wcsncat functions.
6366         * sysdeps/s390/multiarch/ifunc-impl-list.c
6367         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6368         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6369         * string/test-strncat.c: Add wcsncat support.
6370         * wcsmbs/test-wcsncat.c: New File.
6371         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6372         * benchtests/bench-strncat.c: Add wcsncat support.
6373         * benchtests/bench-wcsncat.c: New File.
6374         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6376         * sysdeps/s390/multiarch/strcat-c.c: New File.
6377         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6378         * sysdeps/s390/multiarch/strcat.c: Likewise.
6379         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6380         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6381         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6383         wcscat functions.
6384         * sysdeps/s390/multiarch/ifunc-impl-list.c
6385         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6386         * string/strcat.c (STRCAT): Define and use macro.
6387         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6388         * string/test-strcat.c: Add wcscat support.
6389         * wcsmbs/test-wcscat.c: New File.
6390         * wcsmbs/Makefile (strop-tests): Add wcscat.
6391         * benchtests/bench-strcat.c: Add wcscat support.
6392         * benchtests/bench-wcscat.c: New File.
6393         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6395         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6396         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6397         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6398         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6399         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6400         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6402         wcpncpy functions.
6403         * sysdeps/s390/multiarch/ifunc-impl-list.c
6404         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6405         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6406         * string/test-stpncpy.c: Add wcpncpy support.
6407         * wcsmbs/test-wcpncpy.c: New File.
6408         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6409         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6410         * benchtests/bench-wcpncpy.c: New File.
6411         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6413         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6414         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6415         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6416         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6417         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6418         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6419         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6421         wcsncpy functions.
6422         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6423         * sysdeps/s390/multiarch/ifunc-impl-list.c
6424         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6425         * string/test-strncpy.c: Add wcsncpy support.
6426         * wcsmbs/test-wcsncpy.c: New File.
6427         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6428         * benchtests/bench-strncpy.c: Add wcsncpy support.
6429         * benchtests/bench-wcsncpy.c: New File.
6430         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6432         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6433         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6434         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6435         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6436         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6437         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6439         wcpcpy functions.
6440         * string/stpcpy.c: Use STPCPY if defined.
6441         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6442         * sysdeps/s390/multiarch/ifunc-impl-list.c
6443         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6444         * string/test-stpcpy.c: Add wcpcpy support.
6445         * wcsmbs/test-wcpcpy.c: New File.
6446         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6447         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6448         * benchtests/bench-wcpcpy.c: New File.
6449         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6451         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6452         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6453         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6454         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6455         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6456         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6457         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6459         wcscpy functions.
6460         * sysdeps/s390/multiarch/ifunc-impl-list.c
6461         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6462         * benchtests/bench-wcscpy.c: New File.
6463         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6465         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6466         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6467         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6468         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6469         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6470         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6472         wcsnlen functions.
6473         * sysdeps/s390/multiarch/ifunc-impl-list.c
6474         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6475         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6476         * string/test-strnlen.c: Add wcsnlen support.
6477         * wcsmbs/test-wcsnlen.c: New File.
6478         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6479         * benchtests/bench-strnlen.c: Add wcsnlen support.
6480         * benchtests/bench-wcsnlen.c: New File.
6481         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6483         * sysdeps/s390/multiarch/Makefile: New File.
6484         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6485         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6486         * sysdeps/s390/multiarch/strlen.c: Likewise.
6487         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6488         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6489         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6490         * string/strlen.c (STRLEN): Define and use macro.
6491         * sysdeps/s390/multiarch/ifunc-impl-list.c
6492         (IFUNC_VX_IMPL): New macro function.
6493         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6494         * benchtests/Makefile (wcsmbs-bench): New variable.
6495         (string-bench-all): Added wcsmbs-bench.
6496         * benchtests/bench-wcslen.c: New File.
6498         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6499         s390_vx_libc_ifunc2): New macro function.
6501         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6502         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6503         assembler support.
6504         * sysdeps/s390/configure: Regenerated.
6506         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6507         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6509         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6510         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6511         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6513         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6514         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6515         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6516         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6517         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6518         (memcmp, bcmp): Use __memcmp_default as alias source.
6519         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6520         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6521         Rename to __memcmp_default.
6522         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6523         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6524         (memcpy): Use __memcpy_default as alias source.
6525         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6526         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6527         Rename to __memcpy_default.
6528         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6529         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6530         (memset): Use __memset_default as alias source.
6531         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6532         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6533         Rename to __memset_default.
6534         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6535         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6536         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6537         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6538         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6539         (memcmp, bcmp): Use __memcmp_default as alias source.
6540         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6541         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6542         Rename to __memcmp_default.
6543         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6544         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6545         (memcpy): Use __memcpy_default as alias source.
6546         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6547         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6548         Rename to __memcpy_default.
6549         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6550         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6551         (memset): Use __memset_default as alias source.
6552         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6553         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6554         Rename to __memset_default.
6555         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6556         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6558         [BZ #18610]
6559         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6560         __ieee_instruction_pointer to __unused.
6561         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6562         __ieee_instruction_pointer.
6563         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6564         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6565         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6566         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6567         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6568         Mark dxc-field as reserved.
6570 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6572         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6573         if the weak reference is not null.
6575 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6577         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6579         [BZ #11214]
6580         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6582 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6584         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6585         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6586         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6587         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6588         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6589         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6590         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6591         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6592         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6593         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6594         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6595         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6596         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6597         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6598         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6599         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6600         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6601         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6603 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6605         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6606         register other than r0 for tabort, it has special meaning.
6607         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6608         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6609         transaction before starting syscall.
6611 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6613         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6615 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6617         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6619         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6620         * sysdeps/x86_64/rtld-memset.S: Likewise.
6621         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6622         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6623         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6624         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6626         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6628 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6630         * debug/strcpy_chk.c: Improve performance.
6631         * debug/stpcpy_chk.c: Likewise.
6632         * sysdeps/x86_64/strcpy_chk.S: Remove.
6633         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6635         [BZ #18240]
6636         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6638 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6640         [BZ #15128]
6641         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6642         ifuncmain8.
6643         (modules-names): Add ifuncmod8.
6644         ($(objpfx)ifuncmain8): New rule.
6645         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6646         <cpuid.h>.
6647         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6648         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6649         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6650         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6651         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6652         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6653         * sysdeps/x86_64/ifuncmain8.c: New file.
6654         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6655         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6656         Removed.
6657         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6658         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6659         Change rtld_savespace_sse to __glibc_unused2.
6660         (RTLD_CHECK_FOREIGN_CALL): Removed.
6661         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6662         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6663         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6665 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6667         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6669 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6671         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6672         Unconditionally set __fpcr to avoid uninialized warning.
6673         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6675 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6677         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6678         is corrupt.
6680         * malloc/arena.c (arena_get2): Drop unused argument.
6681         (arena_lock): Adjust.
6682         (arena_get_retry): Likewise.
6684 2015-08-24  Andreas Schwab  <schwab@suse.de>
6686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6687         Don't define.
6688         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6689         (__ASSUME_IPC64): Don't undef.
6690         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6691         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6692         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6693         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6694         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6695         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6696         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6697         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6698         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6699         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6700         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6701         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6702         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6703         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6704         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6705         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6706         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6707         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6708         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6709         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6710         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6712 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6714         * manual/Makefile (install): Only build manual when perl is available.
6716 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6718         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6719         '#undef memcpy' by '#undef memchr'.
6721 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6723         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6724         memchr not point to the internal __GI_memchr implementation.
6726 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6728         * timezone/Makefile (CFLAGS-zdump.c): Remove
6729         -Wno-strict-prototypes.
6730         (CFLAGS-zic.c): Likewise.
6731         (CFLAGS-ialloc.c): Likewise.
6732         (CFLAGS-scheck.c): Likewise.
6734         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6735         -Wno-error=undef.
6737 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6739         * i386/i686/multiarch/strcasestr-c.c: Removed.
6740         * x86_64/multiarch/strcasestr.c: Likewise.
6741         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6742         Remove strcasestr.
6744 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6746         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6748         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6749         variables for high and low parts before possibly modifying them.
6751 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6753         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6754         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6755         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6756         of "multiarch/init-arch.h".
6757         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6758         * sysdeps/x86/init-arch.h: This.
6760 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6762         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6763         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6765 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6767         [BZ #17787]
6768         * manual/macros.texi: Add twoexp macro.
6769         * manual/filesys.texi: Fix exponents.
6770         * manual/llio.texi: Likewise.
6771         * manual/stdio.texi: Likewise.
6773 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6775         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6776         incorrect use.
6778 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #18370]
6781         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6782         whose real or imaginary part has small absolute value.
6783         * math/s_csqrtf.c (__csqrtf): Likewise.
6784         * math/s_csqrtl.c (__csqrtl): Likewise.
6785         * math/auto-libm-test-in: Add more tests of csqrt.
6786         * math/auto-libm-test-out: Regenerated.
6787         * sysdeps/i386/fpu/libm-test-ulps: Update.
6789 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6791         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6792         __ppc_set_ppr_very_low): New functions.
6793         * manual/platform.texi: Add documentation about
6794         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6796 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6798         * string/stpncpy.c (stpncpy): Improve performance using
6799         __strnlen/memcpy/memset.
6801 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6803         [BZ #18796]
6804         * scripts/test-installation.pl: Don't add -lmvec to build options if
6805         libmvec wasn't built.
6807 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6809         [BZ #14341]
6810         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6811         case when there is a gap between DT_REL and DT_JMPREL sections.
6812         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6813         (LDFLAGS-tst-split-dynreloc): New.
6814         (tst-split-dynreloc-ENV): Likewise.
6815         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6816         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6818 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6820         [BZ #18822]
6821         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6822         attribute_hidden.
6823         (__xstat64_conv): Likewise.
6824         (__xstat32_conv): Likewise.
6826 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6828         [BZ #18822]
6829         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6830         Don't load %ebx when calling __setcontext.  Call __setcontext
6831         with HIDDEN_JUMPTARGET.
6832         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6833         libc_hidden_def.
6835 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6837         * sysdeps/i386/i686/Makefile
6838         [$(subdir) == string] (sysdep_routines): Moved to ...
6839         * sysdeps/i386/Makefile: Here.
6840         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6841         * sysdeps/i386/cacheinfo.c: Here.
6842         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6843         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6844         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6845         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6847 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6849         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6850         __i586__ is defined.
6851         (HAS_I686): Defined to 1 if __i686__ is defined.
6853 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6855         * elf/Makefile [$(have-z-execstack) = yes]
6856         (CPPFLAGS-tst-execstack.c): New variable.
6858         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6859         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6860         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6861         UTMPX || _HAVE_UT_TV].
6862         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6863         UTMPX || _HAVE_UT_TV - 0].
6865 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6867         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6868         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6869         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6871 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6873         * sysdeps/powerpc/dl-procinfo.c:
6874         (_dl_powerpc_cap_flags): Added missing strings for some
6875         hwcap features.
6876         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6878 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6880         Port the 0x7efe...feff pattern to GCC 6.
6881         See Steve Ellcey's bug report in:
6882         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6883         * string/memrchr.c (MEMRCHR):
6884         * string/rawmemchr.c (RAWMEMCHR):
6885         * string/strchr.c (strchr):
6886         * string/strchrnul.c (STRCHRNUL):
6887         Rewrite code to avoid issues with signed shift overflow.
6889 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6891         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6892         whether cpuid is available only if HAS_CPUID is 0.
6893         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6894         (HAS_I586): Likewise.
6895         (HAS_I686): Likewise.
6897 2015-08-18  Zack Weinberg  <zackw@panix.com>
6899         * misc/Versions (libc): Add GLIBC_2.23.
6901 2015-08-18  Alan Modra  <amodra@gmail.com>
6903         [BZ #18421]
6904         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6905         .Lp__global.
6906         (_start): Load %dp via .Lp__global.
6907         [!SHARED]: Use .section .rodata.
6909 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6911         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6912         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6914 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6916         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6917         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6919 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6921         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6922         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6924 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6926         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6927         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6931         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6932         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6934 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6936         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6937         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6939 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6941         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6945         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6946         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6947         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6948         (__ASSUME_LWS_CAS): Delete.
6950 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6952         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6953         * sysdeps/hppa/configure: Regenerated.
6954         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6955         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6956         * sysdeps/hppa/nptl/tls.h: Likewise.
6958 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6960         [BZ #18823]
6961         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6962         for scaling up small arguments.
6963         * math/s_csqrtf.c (__csqrtf): Likewise.
6964         * math/s_csqrtl.c (__csqrtl): Likewise.
6965         * math/auto-libm-test-in: Add more tests of csqrt.
6966         * math/auto-libm-test-out: Regenerated.
6968 2015-08-17  Andreas Schwab  <schwab@suse.de>
6970         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6971         version set GLIBC_2.19.
6973 2015-08-16  Zack Weinberg  <zackw@panix.com>
6975         [BZ #18681]
6976         * misc/regexp.h: This interface is no longer supported.
6977         Remove all contents, leaving only an #error directive.
6978         * misc/regexp.c (loc1, loc2, locs, step, advance):
6979         Demote to compatibility symbols.
6981 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6983         [BZ #18084]
6984         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6985         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6986         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6987         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6988         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6989         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6990         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6991         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6992         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6994 2015-08-15  Zack Weinberg  <zackw@panix.com>
6996         [BZ #18795]
6997         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6998         buffer length is known to be too large, not if it's known to be
6999         small enough.
7000         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7001         overflow at runtime, involving a length parameter, twice: once
7002         with a compile-time constant length parameter, once without.
7004 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7006         [BZ #18824]
7007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7008         scaling x * y up instead of down.
7009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7010         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7011         * math/auto-libm-test-in: Add more tests of fma.
7012         * math/auto-libm-test-out: Regenerated.
7014 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7018 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7020         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7021         unnecessary movq.
7022         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7023         Likewise.
7025 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7027         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7028         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7029         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7030         and tgamma.
7031         * math/auto-libm-test-out: Regenerated.
7032         * sysdeps/i386/fpu/libm-test-ulps: Update.
7033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7035         [BZ #16520]
7036         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7037         (__tanh): Force underflow exception for arguments with small
7038         absolute value.
7039         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7040         (__tanhf): Force underflow exception for arguments with small
7041         absolute value.
7042         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7043         (__tanhl): Force underflow exception for arguments with small
7044         absolute value.
7045         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7046         (__tanhl): Force underflow exception for arguments with small
7047         absolute value.
7048         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7049         (__tanhl): Force underflow exception for arguments with small
7050         absolute value.
7051         * math/auto-libm-test-in: Add more tests of tanh.
7052         * math/auto-libm-test-out: Regenerated.
7053         * sysdeps/i386/fpu/libm-test-ulps: Update.
7055 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7057         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7058         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7060 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7062         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7063         <cpuid.h>.
7065 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7067         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7068         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7070 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7072         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7073         Remove $(objpfx)init-arch.o.
7074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7075         init-arch.
7076         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7077         (INIT_ARCH_EXT): Defined as empty.
7078         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7080         __init_cpu_features call.  Replace HAS_XXX with
7081         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7083         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7084         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7085         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7087         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7088         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7089         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7090         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7093         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7094         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7095         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7096         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7097         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7098         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7100         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7103         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7104         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7105         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7106         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7108         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7111         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7113         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7118 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7120         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7121         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7122         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7123         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7124         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7125         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7126         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7127         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7128         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7129         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7130         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7131         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7132         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7133         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7134         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7135         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7142         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7143         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7144         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7145         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7146         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7147         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7148         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7149         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7150         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7151         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7152         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7153         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7154         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7155         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7156         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7157         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7158         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7159         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7160         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7161         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7162         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7164 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7166         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7167         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7168         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7173         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7178         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7179         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7180         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7181         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7182         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7183         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7184         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7185         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7187         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7188         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7189         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7190         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7191         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7192         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7193         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7194         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7195         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7196         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7197         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7198         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7199         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7200         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7201         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7202         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7203         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7204         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7205         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7206         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7207         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7208         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7210 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7212         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7213         (dl_platform_init): Call init_cpu_features.
7214         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7215         * sysdeps/i386/i686/cacheinfo.c
7216         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7217         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7218         * sysdeps/i386/i686/multiarch/Versions: Removed.
7219         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7220         Removed.
7221         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7222         * sysdeps/unix/sysv/linux/x86/Makefile
7223         (libpthread-sysdep_routines): Remove init-arch.
7224         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7225         <sysdeps/x86_64/dl-procinfo.c> instead of
7226         sysdeps/generic/dl-procinfo.c>.
7227         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7228         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7229         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7230         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7231         [$(subdir) == elf] (tests-static): Add
7232         tst-get-cpu-features-static.
7233         * sysdeps/x86/Versions: New file.
7234         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7235         * sysdeps/x86/cpu-features.c: Likewise.
7236         * sysdeps/x86/cpu-features.h: Likewise.
7237         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7238         * sysdeps/x86/libc-start.c: Likewise.
7239         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7240         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7241         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7242         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7243         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7244         Assume USE_MULTIARCH is defined and don't check it.
7245         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7246         (is_amd): Likewise.
7247         (max_cpuid): Likewise.
7248         (intel_check_word): Likewise.
7249         (__cache_sysconf): Don't call __init_cpu_features.
7250         (__x86_preferred_memory_instruction): Removed.
7251         (init_cacheinfo): Don't call __init_cpu_features. Replace
7252         __cpu_features with GLRO(dl_x86_cpu_features).
7253         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7254         (dl_platform_init): Call init_cpu_features.
7255         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7256         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7257         * sysdeps/x86_64/multiarch/Versions: Removed.
7258         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7259         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7260         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7261         Removed.
7262         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7264 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7266         [BZ #18820]
7267         * libio/Makefile (test-fmemopen-mem): New test.
7268         * libio/test-fmemopen.c (do_bz18820): New test.
7269         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7270         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7272 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7274         [BZ #16734]
7275         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7276         (FREE_BUF): Delete.
7277         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7278         * libio/genops.c (_IO_setb): Use malloc and free directly.
7279         (_IO_default_doallocate, _IO_default_finish): Likewise.
7280         ( _IO_unbuffer_all): Likewise.
7281         ( libc_freeres_fn): Likewise.
7282         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7283         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7284         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7285         (_IO_wdefault_doallocate): Likewise.
7287 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7289         [BZ #18086]
7290         * sysdeps/posix/nice.c (nice): Restore old errno.
7291         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7293 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7297 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7299         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7300         __bcopy and add a weak_alias to bcopy.
7301         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7302         for static build.
7304         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7305         cleanup macro usage.
7306         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7307         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7309         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7310         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7311         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7312         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7313         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7314         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7315         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7316         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7317         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7319         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7320         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7322         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7323         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7324         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7326         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7327         libc_hidden_def.
7328         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7330         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7331         (sysdep_routines): Add strstr-ppc64.
7332         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7334 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7336         [BZ #18778]
7337         * elf/Makefile (tests): Add Add tst-nodelete2.
7338         (modules-names): Add tst-nodelete2mod.
7339         (tst-nodelete2mod.so-no-z-defs): New.
7340         ($(objpfx)tst-nodelete2): Likewise.
7341         ($(objpfx)tst-nodelete2.out): Likewise.
7342         (LDFLAGS-tst-nodelete2): Likewise.
7343         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7344         out of loop through all loaded libraries.
7345         * elf/tst-nodelete2.c: New file.
7346         * elf/tst-nodelete2mod.c: Likewise.
7347         * elf/tst-znodelete-zlib.cc: Delete.
7349 2015-08-11  Andreas Schwab  <schwab@suse.de>
7351         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7352         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7353         (__openat64_nocancel): Likewise.
7355 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7357         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7358         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7359         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7360         * math/auto-libm-test-out: Regenerated.
7361         * sysdeps/i386/fpu/libm-test-ulps: Update.
7362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7366         [BZ #18790]
7367         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7368         threshold for returning +/- 1.
7369         * math/auto-libm-test-in: Add more tests of tanh.
7370         * math/auto-libm-test-out: Regenerated.
7371         * sysdeps/i386/fpu/libm-test-ulps: Update.
7373 2015-08-10  Andreas Schwab  <schwab@suse.de>
7375         [BZ #18781]
7376         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7377         MORE_OFLAGS to oflag.
7378         * io/test-lfs.c (do_test): Test openat64.
7380 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7382         [BZ #18789]
7383         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7384         smaller threshold for returning the argument.
7385         * math/auto-libm-test-in: Add more tests of sinh.
7386         * math/auto-libm-test-out: Regenerated.
7387         * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7391         [BZ #18674]
7392         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7393         break.
7395 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7397         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7398         (generated): Don't add $(addprefix z.,$(tzfiles)).
7400 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7402         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7403         * scripts/sysd-rules.awk: Likewise.
7405 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7407         * iconvdata/tst-tables.sh: Change echo -n to printf.
7408         * nss/db-Makefile: Likewise.
7409         * posix/tst-getconf.sh: Likewise.
7410         * stdio-common/tst-unbputc.sh: Likewise.
7412 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7414         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7415         MADV_*_PAGES defines behind this feature check.
7417 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7419         [BZ #18480]
7420         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7421         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7422         Define.
7423         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7424         LOAD_REGS_5, LOAD_REGS_6): Update.
7425         (INTERNAL_SYSCALL): Update using new LOAD defines.
7426         (INTERNAL_SYSCALL_NCS): Likewise.
7427         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7429 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7431         [BZ #16734]
7432         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7434 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7436         [BZ #17905]
7437         * catgets/Makefile (tst-catgets-mem): New test.
7438         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7439         * catgets/open_catalog.c (__open_catalog): Likewise.
7440         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7442 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7444         [BZ #18787]
7445         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7446         clobber registers.
7447         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7448         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7449         Cast return to __typeof (oldval).
7451 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7453         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7454         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7455         and delete sys/syscall.h include.
7457 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7459         [BZ #16517]
7460         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7461         (tan): Force underflow exception for arguments with small absolute
7462         value.
7463         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7464         (__kernel_tanf): Force underflow exception for arguments with
7465         small absolute value.
7466         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7467         (__kernel_tanl): Force underflow exception for arguments with
7468         small absolute value.
7469         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7470         (__kernel_tanl): Force underflow exception for arguments with
7471         small absolute value.
7472         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7473         (__kernel_tanl): Force underflow exception for arguments with
7474         small absolute value.
7475         * math/auto-libm-test-in: Add more tests of tan.
7476         * math/auto-libm-test-out: Regenerated.
7478 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7480         Fix sysdeps/i386/fpu/s_scalbn.S build
7482         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7484 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7486         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7488 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7490         Fix gcrt0.o compilation
7492         When static-start-installed-name is different from
7493         start-installed-name, we must not use the shared objects.
7495         * csu/Makefile
7496         (extra-objs): Add gmon-start.o when building shared library and
7497         $(static-start-installed-name) is different from
7498         $(start-installed-name).
7499         $(objpfx)g$(static-start-installed-name): When building shared
7500         library and $(static-start-installed-name) is different from
7501         $(static-start-installed-name), revert to non-shared rule,
7502         i.e. using $(objpfx)% and gmon-start.o.
7504 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7506         [BZ #16519]
7507         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7508         (__ieee754_sinh): Force underflow exception for arguments with
7509         small absolute value.
7510         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7511         (__ieee754_sinhf): Force underflow exception for arguments with
7512         small absolute value.
7513         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7514         (__ieee754_sinhl): Force underflow exception for arguments with
7515         small absolute value.
7516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7517         (__ieee754_sinhl): Force underflow exception for arguments with
7518         small absolute value.
7519         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7520         (__ieee754_sinhl): Force underflow exception for arguments with
7521         small absolute value.
7522         * math/auto-libm-test-in: Add more tests of sinh.
7523         * math/auto-libm-test-out: Regenerated.
7524         * sysdeps/i386/fpu/libm-test-ulps: Update.
7526 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7528         * libio/oldfileops.c: Include unistd.h.
7530 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7532         * stdlib/isomac.c: Include ctype.h.
7534 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7536         * dirent/tst-seekdir.c (main): Converted to ...
7537         (do_test): ... this.
7538         (TEST_FUNCTION): New macro.
7539         Include test-skeleton.c.
7540         * elf/tst-dlmodcount.c (main): Converted to ...
7541         (do_test): ... this.
7542         (TEST_FUNCTION): New macro.
7543         Include test-skeleton.c.
7544         * elf/tst-order-main.c (main): Converted to ...
7545         (do_test): ... this.
7546         (TEST_FUNCTION): New macro.
7547         Include test-skeleton.c.
7548         * elf/tst-pie2.c (main): Converted to ...
7549         (do_test): ... this.
7550         (TEST_FUNCTION): New macro.
7551         Include test-skeleton.c.
7552         * inet/tst-ether_aton.c (main): Converted to ...
7553         (do_test): ... this.
7554         (TEST_FUNCTION): New macro.
7555         Include test-skeleton.c.
7556         * misc/tst-mntent.c (main): Converted to ...
7557         (do_test): ... this.
7558         (TEST_FUNCTION): New macro.
7559         Include test-skeleton.c.
7560         * misc/tst-tsearch.c (main): Converted to ...
7561         (do_test): ... this.
7562         (TEST_FUNCTION): New macro.
7563         Include test-skeleton.c.
7564         * posix/tst-regexloc.c (main): Converted to ...
7565         (do_test): ... this.
7566         (TEST_FUNCTION): New macro.
7567         Include test-skeleton.c.
7568         * resolv/tst-aton.c (main): Converted to ...
7569         (do_test): ... this.
7570         (TEST_FUNCTION): New macro.
7571         Include test-skeleton.c.
7572         * stdio-common/test-fwrite.c (main): Converted to ...
7573         (do_test): ... this.
7574         (TEST_FUNCTION): New macro.
7575         Include test-skeleton.c.
7576         * stdio-common/tst-ferror.c (main): Converted to ...
7577         (do_test): ... this.
7578         (TEST_FUNCTION): New macro.
7579         Include test-skeleton.c.
7580         * stdio-common/tst-printf.c (main): Converted to ...
7581         (do_test): ... this.
7582         (TEST_FUNCTION): New macro.
7583         Include test-skeleton.c.
7584         * stdio-common/tst-printfsz.c (main): Converted to ...
7585         (do_test): ... this.
7586         (TEST_FUNCTION): New macro.
7587         Include test-skeleton.c.
7588         * stdlib/tst-strtod.c (main): Converted to ...
7589         (do_test): ... this.
7590         (TEST_FUNCTION): New macro.
7591         Include test-skeleton.c.
7592         * string/tst-strlen.c (main): Converted to ...
7593         (do_test): ... this.
7594         (TEST_FUNCTION): New macro.
7595         Include test-skeleton.c.
7596         * string/tst-svc.c (main): Converted to ...
7597         (do_test): ... this.
7598         (TEST_FUNCTION): New macro.
7599         Include test-skeleton.c.
7600         * time/tst-strptime.c (main): Converted to ...
7601         (do_test): ... this.
7602         (TEST_FUNCTION): New macro.
7603         Include test-skeleton.c.
7604         * timezone/tst-timezone.c (main): Converted to ...
7605         (do_test): ... this.
7606         (TEST_FUNCTION): New macro.
7607         Include test-skeleton.c.
7609 2015-08-05  Zack Weinberg  <zackw@panix.com>
7611         * misc/regexp.h: Update comments.
7613 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7615         [BZ #18635]
7616         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7617         before return label.
7619 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7621         [BZ #18661]
7622         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7623         when calling __errno_location.
7624         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7625         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7627 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7629         [BZ #18661]
7630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7631         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7632         __gettimeofday.
7634 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7636         [BZ #18661]
7637         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7638         (__start_context): Don't use pop to restore %rdi so that stack
7639         is aligned to 16 bytes when calling __setcontext.
7641 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7643         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7644         only for libc.
7645         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7647 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7649         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7650         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7651         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7653 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7655         * string/memccpy.c (memccpy):
7656         Improve performance by using memchr/memcpy/__mempcpy.
7658 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7660         * string/strncpy.c (strncpy):
7661         Improve performance by using __strnlen/memcpy.
7663 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7665         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7666         Optimize to avoid an unnecessary FPCR read.
7668 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7670         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7671         Optimize to reduce FPCR/FPSR accesses.
7673 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7675         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7676         dead->data[category] != NULL.
7678 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7680         [BZ #18647]
7681         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7682         and |x| close to 1, use absolute value of x when computing log.
7683         * math/auto-libm-test-in: Add more tests of pow.
7684         * math/auto-libm-test-out: Regenerated.
7686 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7688         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7689         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7690         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7692 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7694         [BZ #18525]
7695         * locales/km_KH: Remove timezone definition.
7696         * locales/lo_LA: Likewise.
7697         * locales/my_MM: Likewise.
7698         * locales/nan_TW@latin: Likewise.
7699         * locales/th_TH: Likewise.
7700         * locales/uk_UA: Likewise.
7702 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7704         [BZ #18265]
7705         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7706         (wcsncat): Likewise.
7707         (wcscmp): Likewise.
7708         (wcsncmp): Likewise.
7710 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7712         * test-skeleton.c (usage): New function.
7713         (main): Call usage when opt is '?'.
7715 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7717         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7718         before first use.
7720 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7722         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7723         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7724         in there too.
7726 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7728         * version.h (RELEASE): Set to "development".
7729         (VERSION): Set to "2.22.90"
7731         * version.h (RELEASE): Set to "stable".
7732         (VERSION): Set to "2.22"
7733         * include/features.h (__GLIBC_MINOR__): Set to 22.
7735 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7737         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7738         Restructure macro to avoid "value computed is not used" warning.
7739         (atomic_compare_and_exchange_val_acq): Likewise.
7741 2015-08-04  Andreas Schwab  <schwab@suse.de>
7743         [BZ #18635]
7744         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7745         ret.
7746         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7748 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7750         * po/pl.po: Updated translation.
7751         * po/uk.po: Likewise.
7752         * po/fi.po: Likewise.
7753         * po/ko.po: Likewise.
7754         * po/ru.po: Likewise.
7755         * po/vi.po: Likewise.
7757 2015-07-31  Zack Weinberg  <zackw@panix.com>
7759         [BZ #18681]
7760         * regexp.h: Add unconditional #warning stating that this header
7761         will be removed soon.  Revise banner comment to match.
7762         (compile): Consistently use ERROR instead of RETURN to report
7763         errors (partial fix for bz#18681).
7764         * regexp.c: Don't include regexp.h. Remove some unnecessary
7765         declarations.
7767 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7769         * po/libc.pot: Regenerated.
7771 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7773         [BZ #18740]
7774         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7775         float-vlen4-arch-ext-cflags): Removed.
7776         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7777         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7779 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7781         [BZ #14113]
7782         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7783         aligned to __aligned__.
7784         (pthread_cond_t, pthread_rwlock_t): Likewise.
7786 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7788         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7790 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7792         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7793         (struct sigaction): Change sa_flags from a long to an int, and add
7794         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7796 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7798         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7799         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7800         sysdeps/generic/sysdep.h include.
7801         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7802         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7803         sysdeps/hppa/sysdep.h.
7804         (ENTRY, PSEUDO): Undefine before defining.
7806 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7808         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7809         from scratch to use INTERNAL_SYSCALL.
7811 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7813         [BZ #18078]
7814         * scripts/check-localplt.awk: Support alternate relocations.
7815         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7816         sections.
7817         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7818         malloc entries with + REL R_386_GLOB_DAT.
7819         * sysdeps/x86_64/localplt.data: New file.
7821 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7823         [BZ #18731]
7824         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7826         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7828 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7830         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7832 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7834         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7835         directly in terms of __sync_fetch_and_add and delete (int) cast.
7837 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7839         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7840         the -D_ASM_IA64_CURRENT_H flag.
7842 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7844         [BZ #18641]
7845         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7847 2015-07-27  Andreas Schwab  <schwab@suse.de>
7849         * conform/conformtest.pl (checknamespace): Filter out string
7850         literals while tokenizing.
7852 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7854         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7855         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7856         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7858 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7860         * nptl/tst-join7mod.c: Add #include <string.h>.
7862 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7864         * sysdeps/nios2/libm-test-ulps: Update.
7866 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7868         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7869         Fix order of arguments to the rt_sigprocmask syscall.
7870         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7871         Likewise.
7873 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7875         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7877 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7879         [BZ #18457]
7880         * nptl/Makefile (tests): New test case tst-join7.
7881         (modules-names): New test case module tst-join7mod.
7882         * nptl/tst-join7.c: New file.
7883         * nptl/tst-join7mod.c: New file.
7884         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7885         all translation units in libc.so, libpthread.so and rtld.
7887 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7891 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7895         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7900         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7901         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7905         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7906         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7908         implementation.
7910 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7912         [BZ #17711]
7913         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7914         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7915         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7916         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7917         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7918         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7920 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7923         instead of just saying load lock in the comments.
7925 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7927         * sysdeps/unix/Subdirs: Moved ...
7928         * sysdeps/posix/Subdirs: ... here.
7929         * login/pty.h (struct termios, struct winsize): Add forward decls.
7930         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7931         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7932         * sysdeps/arm/nacl/libc.abilist: Updated.
7933         * sysdeps/nacl/libutil.abilist: New file.
7935         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7936         (SIGWINCH): New macro.
7938         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7939         * sysdeps/arm/nacl/libc.abilist: Add it.
7941 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7943         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7945 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7947         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7948         Swap __glibc_reserved0 and sa_flags order.
7950 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7952         [BZ #18657]
7953         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7954         are pending TLS destructor calls.
7955         * include/link.h (struct link_map): Add concurrency note for
7956         L_TLS_DTOR_COUNT.
7957         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7958         Don't touch the link map flag.  Atomically increment
7959         l_tls_dtor_count.
7960         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7961         Avoid taking the load lock and don't touch the link map flag.
7962         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7963         * stdlib/Makefile (tests): Use it.
7964         * stdlib/tst-tls-atexit.c (do_test): dlopen
7965         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7966         to allow tst-tls-atexit-nodelete test case to use it.
7968 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7970         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7971         to bits/types.h.
7972         (msgqnum_t): New typedef.
7973         (msglen_t): Likewise.
7974         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7975         and msg_qbytes type to msglen_t.
7977 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7979         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7980         pad0 to __glibc_reserved0.
7981         (struct stat64): Likewise.
7983 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7985         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7986         Change sa_flags from a long to an int and add __glibc_reserved0 before
7987         it for padding.
7989 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7991         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7992         anonymous by deleting "siginfo" name.
7994 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7996         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7997         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7998         rather than __nacl_irt_filename.
7999         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8001         * NEWS: New item for arm-nacl port.
8002         * sysdeps/arm/nacl/libc.abilist: New file.
8003         * sysdeps/nacl/ld.abilist: New file.
8004         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8005         * sysdeps/nacl/libanl.abilist: New file.
8006         * sysdeps/nacl/libcrypt.abilist: New file.
8007         * sysdeps/nacl/libdl.abilist: New file.
8008         * sysdeps/nacl/libm.abilist: New file.
8009         * sysdeps/nacl/libpthread.abilist: New file.
8010         * sysdeps/nacl/libresolv.abilist: New file.
8011         * sysdeps/nacl/librt.abilist: New file.
8013 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8015         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8016         __startcontext to initialize the new context.
8017         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8018         up CFI directive to forbid further backtracing.
8020 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8022         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8023         reference.
8024         * charmaps/ANSI_X3.4-1968: Likewise.
8025         * charmaps/BS_4730: Likewise.
8026         * charmaps/BS_VIEWDATA: Likewise.
8027         * charmaps/CP1250: Likewise.
8028         * charmaps/CP1251: Likewise.
8029         * charmaps/CP1252: Likewise.
8030         * charmaps/CP1253: Likewise.
8031         * charmaps/CP1254: Likewise.
8032         * charmaps/CP1255: Likewise.
8033         * charmaps/CP1256: Likewise.
8034         * charmaps/CSN_369103: Likewise.
8035         * charmaps/EBCDIC-DK-NO: Likewise.
8036         * charmaps/GB_1988-80: Likewise.
8037         * charmaps/GREEK-CCITT: Likewise.
8038         * charmaps/GREEK7: Likewise.
8039         * charmaps/INIS-8: Likewise.
8040         * charmaps/ISIRI-3342: Likewise.
8041         * charmaps/ISO_2033-1983: Likewise.
8042         * charmaps/ISO_5427-EXT: Likewise.
8043         * locales/POSIX: Likewise.
8044         * locales/ar_SA: Likewise.
8045         * locales/be_BY: Likewise.
8046         * locales/be_BY@latin: Likewise.
8047         * locales/ca_ES: Likewise.
8048         * locales/cs_CZ: Likewise.
8049         * locales/da_DK: Likewise.
8050         * locales/de_BE: Likewise.
8051         * locales/de_CH: Likewise.
8052         * locales/de_LU: Likewise.
8053         * locales/en_AU: Likewise.
8054         * locales/en_BW: Likewise.
8055         * locales/en_CA: Likewise.
8056         * locales/en_DK: Likewise.
8057         * locales/en_GB: Likewise.
8058         * locales/en_IE: Likewise.
8059         * locales/en_NZ: Likewise.
8060         * locales/en_ZA: Likewise.
8061         * locales/en_ZW: Likewise.
8062         * locales/es_AR: Likewise.
8063         * locales/es_BO: Likewise.
8064         * locales/es_CL: Likewise.
8065         * locales/es_CO: Likewise.
8066         * locales/es_DO: Likewise.
8067         * locales/es_EC: Likewise.
8068         * locales/es_ES: Likewise.
8069         * locales/es_HN: Likewise.
8070         * locales/es_MX: Likewise.
8071         * locales/es_PA: Likewise.
8072         * locales/es_PE: Likewise.
8073         * locales/es_PY: Likewise.
8074         * locales/es_SV: Likewise.
8075         * locales/es_US: Likewise.
8076         * locales/es_UY: Likewise.
8077         * locales/es_VE: Likewise.
8078         * locales/et_EE: Likewise.
8079         * locales/fa_IR: Likewise.
8080         * locales/fo_FO: Likewise.
8081         * locales/fr_CA: Likewise.
8082         * locales/fr_CH: Likewise.
8083         * locales/gv_GB: Likewise.
8084         * locales/he_IL: Likewise.
8085         * locales/hr_HR: Likewise.
8086         * locales/id_ID: Likewise.
8087         * locales/is_IS: Likewise.
8088         * locales/it_CH: Likewise.
8089         * locales/iw_IL: Likewise.
8090         * locales/kl_GL: Likewise.
8091         * locales/ko_KR: Likewise.
8092         * locales/kw_GB: Likewise.
8093         * locales/lg_UG: Likewise.
8094         * locales/lt_LT: Likewise.
8095         * locales/lv_LV: Likewise.
8096         * locales/mi_NZ: Likewise.
8097         * locales/nhn_MX: Likewise.
8098         * locales/nl_BE: Likewise.
8099         * locales/pl_PL: Likewise.
8100         * locales/sk_SK: Likewise.
8101         * locales/sl_SI: Likewise.
8102         * locales/sv_FI: Likewise.
8103         * locales/tl_PH: Likewise.
8104         * locales/tr_TR: Likewise.
8105         * locales/vi_VN: Likewise.
8107 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8109         [BZ #17475]
8110         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8111         of tu_IN and bh_IN.
8113 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8115         [BZ #18694]
8116         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8117         bits/wordsize.h.
8118         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8120 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8122         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8123         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8124         (spawn_thread): New function.
8125         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8126         (do_test): ... here.  Use IS_LOADED to test for its
8127         availability.
8129 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8131         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8133 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8135         [BZ #18696]
8136         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8137         si_addr_bnd.
8138         (si_lower): New.
8139         (si_upper): Likewise.
8141 2015-07-16  David S. Miller  <davem@davemloft.net>
8143         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8145 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8147         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8148         buffer.
8149         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8150         fail output information.
8152 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8155         and strstr-ppc64..
8156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8157         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8158         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8159         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8160         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8162 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8164         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8165         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8166         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8167         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8169 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8171         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8172         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8173         rtld_hidden_proto.
8174         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8176 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8178         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8179         the test can fail.
8181         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8183         [BZ #18676]
8184         * elf/tst-nodelete-opened.c: New test case.
8185         * elf/tst-nodelete-opened-lib.c: New test case module.
8186         * elf/Makefile (tests, modules-names): Use them.
8187         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8188         early.
8190 2015-07-15  David S. Miller  <davem@davemloft.net>
8192         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8193         futex-intenal.h
8194         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8195         * sysdeps/sparc/sparc64/Makefile: Likewise.
8196         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8197         Remove space from macro define.
8198         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8200 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8202         [BZ #17475]
8203         * locale/iso-639.def: Update Bhili and Tulu language codes as
8204         per iso639-3.
8206 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8208         * elf/tst-leaks1.c (main): Converted to ...
8209         (do_test): ... this.
8210         (TEST_FUNCTION): New macro.
8211         Include test-skeleton.c.
8212         * localedata/tst-langinfo.c (main): Converted to ...
8213         (do_test): ... this.
8214         (TEST_FUNCTION): New macro.
8215         Include test-skeleton.c.
8216         * math/test-fpucw.c (main): Converted to ...
8217         (do_test): ... this.
8218         (TEST_FUNCTION): New macro.
8219         Include test-skeleton.c.
8220         * math/test-tgmath.c (main): Converted to ...
8221         (do_test): ... this.
8222         (TEST_FUNCTION): New macro.
8223         Include test-skeleton.c.
8224         * math/test-tgmath2.c (main): Converted to ...
8225         (do_test): ... this.
8226         (TEST_FUNCTION): New macro.
8227         Include test-skeleton.c.
8228         * setjmp/tst-setjmp.c (main): Converted to ...
8229         (do_test): ... this.
8230         (TEST_FUNCTION): New macro.
8231         Include test-skeleton.c.
8232         * stdio-common/tst-sscanf.c (main): Converted to ...
8233         (do_test): ... this.
8234         (TEST_FUNCTION): New macro.
8235         Include test-skeleton.c.
8236         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8237         (do_test): ... this.
8238         (TEST_FUNCTION): New macro.
8239         Include test-skeleton.c.
8241         * elf/tst-audit9.c (main): Converted to ...
8242         (do_test): ... this.
8243         (TEST_FUNCTION): New macro.
8244         Include test-skeleton.c.
8246 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8248         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8250 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8252         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8253         New variable.
8255 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8257         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8259 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8261         * sysdeps/generic/dl-fileid.h: New file.
8262         * sysdeps/posix/dl-fileid.h: New file.
8263         * sysdeps/nacl/dl-fileid.h: New file.
8264         * include/link.h: Include <dl-fileid.h>.
8265         (struct link_map): Replace l_dev and l_ino with l_file_id.
8266         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8267         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8268         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8270 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8272         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8274 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8276         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8277         Add iff $CXX is set.
8278         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8279         Likewise.
8280         (tst-nodelete-zmodiff): Likewise.
8281         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8283 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8287 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8289         * sysdeps/aarch64/fpu/math_private.h
8290         (define math_opt_barrier): Add AArch64 version.
8291         (math_force_eval): Likewise.
8293 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8295         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8297 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8299         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8300         %ld with %jd and cast to intmax_t.
8301         (do_test_length_zero): Likewise.
8303 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8305         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8307 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8309         * sysdeps/tile/libm-test-ulps: Regenerated.
8311         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8312         Comment out the whole function, not just its body.
8314 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8316         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8317         locks.
8319         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8321 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8323         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8324         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8326 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8328         * sysdeps/nptl/futex-internal.h: New file.
8329         * sysdeps/nacl/futex-internal.h: New file.
8330         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8331         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8332         error checking.
8333         (setxid_unmark_thread): Likewise.
8334         (__nptl_setxid): Likewise.
8335         (__wait_lookup_done): Likewise.
8336         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8337         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8338         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8339         * nptl/pthread_once.c (clear_once_control): Likewise.
8340         (__pthread_once_slow): Likewise.
8341         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8342         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8343         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8344         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8345         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8346         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8347         Likewise.
8348         (__pthread_rwlock_rdlock): Likewise.
8349         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8350         Likewise.
8351         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8352         Likewise.
8353         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8354         Likewise.
8355         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8356         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8357         Likewise.
8358         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8359         __ASSUME_PRIVATE_FUTEX check.
8360         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8361         Check that shared futexes are supported.
8362         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8363         wrappers with error checking.
8364         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8365         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8366         * nptl/pthread_barrierattr_setpshared.c
8367         (pthread_barrierattr_setpshared): Check that shared futexes are
8368         supported.
8369         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8370         Likewise.
8371         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8372         Likewise.
8373         * nptl/sem_init.c (futex_private_if_supported): Remove.
8374         (__new_sem_init): Adapt and check that shared futexes are supported.
8375         * nptl/sem_open.c (sem_open): Likewise.
8376         * nptl/sem_post.c (futex_wake): Remove.
8377         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8378         (do_futex_wait): Use futex wrappers with error checking.
8379         * nptl/sem_wait.c: Include lowlevellock.h.
8380         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8381         Use futex_supports_pshared.
8382         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8383         Use futex wrappers with error checking.
8384         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8385         Likewise.
8386         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8387         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8388         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8389         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8390         (futex_wake): Likewise.
8391         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8392         (do_futex_wait): Use futex wrappers with error checking.
8393         (__new_sem_wait_slow): Update EINTR handling.
8394         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8396 2015-07-09  Martin Sebor  <msebor@redhat.com>
8398         [BZ #18435]
8399         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8400         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8401         * nptl/Makefile (test-xfail-tst-once5): Define.
8403 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8405         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8406         * elf/dl-minimal.c: For readability, reorder some definitions and
8407         introduce more page breaks.  Include <stdio.h>.
8408         (__libc_fatal): New function.
8410         * include/unistd.h: Add rtld_hidden_proto for _exit.
8411         * posix/_exit.c: Add rtld_hidden_def.
8412         * sysdeps/mach/hurd/_exit.c: Likewise.
8413         * sysdeps/nacl/_exit.c: Likewise.
8414         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8415         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8417 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8420         bndmov encoding with zero displacement.
8422 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8423             H.J. Lu  <hongjiu.lu@intel.com>
8425         [BZ #18134]
8426         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8427         * sysdeps/i386/configure: Regenerated.
8428         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8429         (_dl_runtime_profile): Save and restore Intel MPX return bound
8430         registers when calling _dl_call_pltexit.  Add
8431         PRESERVE_BND_REGS_PREFIX before return.
8432         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8433         (LRV_BND1_OFFSET): Likewise.
8434         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8435         lrv_bnd1.
8436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8437         typo in bndmov encoding.
8438         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8439         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8440         branch instructions to preserve bounds.
8442 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8445         [GLIBC_2.22]: Add fmemopen.
8447 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8449         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8450         returns an error, also try to use host port from __mach_host_self for
8451         the __vm_wire call.
8452         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8454 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8456         [BZ #18400]
8457         [BZ #18648]
8458         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8459         Fix pr_uid and pr_gid members.
8460         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8461         definition to elf_greg_t.
8463 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8465         [BZ #18383]
8466         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8467         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8468         * sysdeps/arm/configure: Regenerated.
8469         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8470         (test-xfail-tst-tlsalign-static): Variable removed.
8472         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8473         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8474         rather than explicit 'ln -s'.
8476         * resolv/rpc/netdb.h: New file.
8477         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8479 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8481         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8482         length buffers.
8483         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8484         test-skeleton.c.
8486         [BZ #6544]
8487         [BZ #11216]
8488         [BZ #12836]
8489         [BZ #13151]
8490         [BZ #13152]
8491         [BZ #14292]
8492         * include/stdio.h (fmemopen): Remove hidden prototype.
8493         (__fmemopen): Add new hidden prototype.
8494         * libio/Makefile: Add oldfmemopen object.
8495         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8496         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8497         compliance.
8498         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8499         symbol compatibility.
8500         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8501         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8502         fmemopen.
8503         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8504         on append and read mode.
8505         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8506         fmemopen.
8507         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8508         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8509         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8510         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8513         [GLIBC_2.22]: Likewise.
8514         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8515         Likewise.
8516         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8517         Likewise.
8518         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8519         [GLIBC_2.22]: Likewise.
8520         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8521         [GLIBC_2.22]: Likewise.
8522         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8523         [GLIBC_2.22]: Likewise.
8524         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8525         [GLIBC_2.22]: Likewise.
8526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8527         [GLIBC_2.22]: Likewise.
8528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8529         [GLIBC_2.22]: Likewise.
8530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8531         [GLIBC_2.22]: Likewise.
8532         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8533         Likewise.
8534         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8535         Likewise.
8536         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8538         [GLIBC_2.22]: Likewise.
8539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8540         [GLIBC_2.22]: Likewise.
8541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8542         [GLIBC_2.22]: Likewise.
8543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8544         [GLIBC_2.22]: Likewise.
8545         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8546         Likewise.
8547         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8548         Likewise.
8549         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8550         Likewise.
8551         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8552         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8554 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8556         [BZ #18643]
8557         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8558         IPV6_PATHMTU, and IPV6_DONTFRAG.
8560 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8562         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8563         and _IO_UNBUFFERED.
8564         * libio/oldfileops.c: Likewise.
8565         * libio/wfileops.c: Likewise.
8567 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8569         * nscd/selinux.c: Delete selinux/flask.h include.
8571 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8573         [BZ #18641]
8574         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8575         (putpwent): Likewise.
8576         (getpwnam): Likewise.
8577         (getpwent_r): Likewise.
8578         (getpwuid_r): Likewise.
8579         (getpwnam_r): Likewise.
8580         (fgetpwent_r): Likewise.
8582 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8584         [BZ #18557]
8585         * inet/rcmd.c (__validuser2_sa): Check user first to
8586         short-circuit host check.
8588 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8589             Mikhail Ilin  <m.ilin@samsung.com>
8591         [BZ #17833]
8592         * elf/Makefile (tests): Add tst-nodelete.
8593         (modules-names): Add tst-nodelete-uniquemod.
8594         (tst-nodelete-uniquemod.so-no-z-defs): New.
8595         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8596         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8597         ($(objpfx)tst-nodelete): Likewise.
8598         ($(objpfx)tst-nodelete.out): Likewise.
8599         (LDFLAGS-tst-nodelete): Likewise.
8600         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8601         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8602         implement forced object deletion.
8603         (_dl_close): Pass false to _dl_close_worker.
8604         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8605         * elf/tst-nodelete.cc: New file.
8606         * elf/tst-nodeletelib.cc: Likewise.
8607         * elf/tst-znodeletelib.cc: Likewise.
8608         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8610 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8612         [BZ #18508]
8613         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8614         Depend on $(libdl).
8615         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8616         is not called infinitely times.
8617         (backtrace_helper): New function.
8618         (trace_arg): New struct.
8619         (st1): Enlarge stack size.
8620         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8621         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8622         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8623         Likewise.
8625 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8627         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8629 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8631         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8632         Include sys/types.h instead of bits/types.h.
8633         Remove inclusion of bits/wordsize.h.
8635 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8637         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8638         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8639         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8640         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8641         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8642         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8644 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8646         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8647         link-defines.sym.
8648         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8649         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8650         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8651         and LR_SIZE.
8652         * sysdeps/i386/link-defines.sym: New file.
8654 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8656         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8657         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8658         ($(objpfx)tst-audit3): New rule.
8659         ($(objpfx)tst-audit3.out): Likewise.
8660         * sysdeps/i386/tst-audit3.c: New file.
8661         * sysdeps/i386/tst-audit3.h: Likewise.
8662         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8663         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8665 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8667         [BZ #18633]
8668         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8669         pointer in C code.
8670         (__strcat_c): Likewise.
8671         (__strcat_g): Likewise.
8673 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8675         [BZ #18592]
8676         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8678 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8680         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8681         New function.  (__ieee754_sqrtf): New function.
8682         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8683         New function.
8684         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8685         New function.
8687 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8689         * sysdeps/ieee754/support.c: Remove unused file.
8691 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8693         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8694         registers instead of d ones so the layout is kernel abi compatible.
8695         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8696         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8697         Likewise.
8699 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8701         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8703 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #18619]
8706         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8707         and return argument in case of subnormal argument.
8709 2015-07-01  Martin Sebor  <msebor@redhat.com>
8711         [BZ #18435]
8712         * nptl/Makefile: Add tst-once5.cc.
8713         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8714         Remove macro redefinitions.
8715         * nptl/tst-once5.cc: New test.
8717 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8719         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8721         * sysdeps/arm/libm-test-ulps: Regenerated.
8723         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8724         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8726 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8728         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8729         lll_lock_wait_private and lll_futex_wake probes.
8731         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8732         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8733         Likewise.
8734         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8735         atomic_spin_nop.
8736         * sysdeps/x86_64/bits/atomic.h: Likewise.
8737         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8738         to atomic_spin_nop and move ...
8739         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8740         ... here and ...
8741         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8742         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8743         atomic_spin_nop instead of BUSY_WAIT_NOP.
8744         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8745         Likewise.
8746         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8747         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8748         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8749         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8750         instead of atomic_delay.
8752 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8754         [BZ #18613]
8755         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8756         X_ADJ not X when adjusting exponent.
8757         (__ieee754_gamma_r): Do intermediate computations in
8758         round-to-nearest then adjust overflowing and underflowing results
8759         as needed.
8760         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8761         of X_ADJ not X when adjusting exponent.
8762         (__ieee754_gammaf_r): Do intermediate computations in
8763         round-to-nearest then adjust overflowing and underflowing results
8764         as needed.
8765         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8766         log of X_ADJ not X when adjusting exponent.
8767         (__ieee754_gammal_r): Do intermediate computations in
8768         round-to-nearest then adjust overflowing and underflowing results
8769         as needed.  Use 1.0L not 1.0f as numerator of division.
8770         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8771         log of X_ADJ not X when adjusting exponent.
8772         (__ieee754_gammal_r): Do intermediate computations in
8773         round-to-nearest then adjust overflowing and underflowing results
8774         as needed.  Use 1.0L not 1.0f as numerator of division.
8775         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8776         of X_ADJ not X when adjusting exponent.
8777         (__ieee754_gammal_r): Do intermediate computations in
8778         round-to-nearest then adjust overflowing and underflowing results
8779         as needed.  Use 1.0L not 1.0f as numerator of division.
8780         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8781         to auto-libm-test-in.
8782         (tgamma_test): Use ALL_RM_TEST.
8783         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8784         tests of tgamma with spurious-overflow.
8785         * math/auto-libm-test-out: Regenerated.
8786         * math/gen-libm-have-vector-test.sh: Do not check for START.
8787         * sysdeps/i386/fpu/libm-test-ulps: Update.
8788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8790         [BZ #18612]
8791         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8792         arguments, just return 0.5 times the argument, with underflow
8793         forced as needed.
8794         * math/auto-libm-test-in: Add more tests of j1.
8795         * math/auto-libm-test-out: Regenerated.
8797         [BZ #16559]
8798         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8799         (__ieee754_j1): Force underflow exception for small results.
8800         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8801         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8802         (__ieee754_j1f): Force underflow exception for small results.
8803         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8804         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8805         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8807         (__ieee754_j1l): Force underflow exception for small results.
8808         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8809         * math/auto-libm-test-in: Add more tests of j1 and jn.
8810         * math/auto-libm-test-out: Regenerated.
8812         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8813         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8814         (PF_MPLS): Likewise.
8815         (AF_IB): Likewise.
8816         (AF_MPLS): Likewise.
8817         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8818         value and macro.
8819         (MS_RMT_MASK): Include MS_LAZYTIME.
8821 2015-06-26  Mel Gorman  <mgorman@suse.de>
8823         [BZ #18502]
8824         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8825         already minimal.
8827 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8829         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8830         (DT_MIPS_NUM): Update.
8831         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8832         DT_MIPS_RLD_MAP_REL.
8834 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8836         [BZ #16559]
8837         [BZ #18602]
8838         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8839         round-to-nearest internally then recompute results that
8840         underflowed to zero in the original rounding mode.
8841         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8842         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8844         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8845         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8846         * sysdeps/i386/fpu/libm-test-ulps: Update.
8847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8849 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8851         * NEWS: Fixed description of link with vector math library.
8853 2015-06-25  Andreas Schwab  <schwab@suse.de>
8855         [BZ #18549]
8856         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8857         * libio/test-fmemopen.c (do_test): Add test for it.
8859 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8861         [BZ #17841]
8862         * Makeconfig (no-pie-ldflag): New.
8863         (+link): Set to $(+link-pie) if default to PIE.
8864         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8865         * config.make.in (build-pie-default): New.
8866         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8867         is default.  AC_SUBST.
8868         * configure: Regenerated.
8869         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8871 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8873         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8874         to 'unsigned int'.
8876         * resolv/gai_misc.h (struct waitlist): Change type of field
8877         counterp to 'volatile unsigned int *'.
8878         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8879         FUTEXADDR and OLDVAL.
8880         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8881         Give local variable TOTAL type 'volatile unsigned int'.
8882         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8883         * resolv/gai_suspend.c (gai_suspend):
8884         Give local variable CNTR type 'unsigned int'.
8886         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8887         counterp to 'volatile unsigned int *'.
8888         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8889         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8890         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8891         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8892         Give local variable TOTAL type 'volatile unsigned int'.
8893         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8895 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8897         [BZ #18383]
8898         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8899         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8900         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8901         comment for i386/x86-64.
8902         (test-xfail-tst-tlsalign-extern-static): Removed.
8904 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8906         * math/test-double.h: New file.
8907         * math/test-float.h: Likewise.
8908         * math/test-ldouble.h: Likewise.
8909         * math/test-math-inline.h: Likewise.
8910         * math/test-math-no-inline.h: Likewise.
8911         * math/test-math-scalar.h: Likewise.
8912         * math/test-math-vector.h: Likewise.
8913         * math/test-vec-loop.h: Remove file.  Contents moved into
8914         test-math-vector.h.
8915         * math/libm-test.inc (MATHCONST): Do not document macro.
8916         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8917         and test-math-scalar.h.
8918         (FUNC): Remove macro.
8919         (FUNC_TEST): Likewise.
8920         (FLOAT): Likewise.
8921         (MATHCONST): Likewise.
8922         (PRINTF_EXPR): Likewise.
8923         (PRINTF_XEXPR): Likewise.
8924         (PRINTF_NEXPR): Likewise.
8925         (TEST_DOUBLE): Likewise.
8926         (TEST_MATHVEC): Likewise.
8927         (__NO_MATH_INLINES): Likewise.
8928         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8929         and test-math-scalar.h.
8930         (FUNC): Remove macro.
8931         (FUNC_TEST): Likewise.
8932         (FLOAT): Likewise.
8933         (MATHCONST): Likewise.
8934         (PRINTF_EXPR): Likewise.
8935         (PRINTF_XEXPR): Likewise.
8936         (PRINTF_NEXPR): Likewise.
8937         (TEST_FLOAT): Likewise.
8938         (TEST_MATHVEC): Likewise.
8939         (__NO_MATH_INLINES): Likewise.
8940         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8941         and test-math-scalar.h.
8942         (FUNC): Remove macro.
8943         (FUNC_TEST): Likewise.
8944         (FLOAT): Likewise.
8945         (MATHCONST): Likewise.
8946         (PRINTF_EXPR): Likewise.
8947         (PRINTF_XEXPR): Likewise.
8948         (PRINTF_NEXPR): Likewise.
8949         (TEST_DOUBLE): Likewise.
8950         (TEST_MATHVEC): Likewise.
8951         (TEST_INLINE): Likewise.
8952         (__NO_MATH_INLINES): Likewise.
8953         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8954         test-math-scalar.h.
8955         (FUNC): Remove macro.
8956         (FUNC_TEST): Likewise.
8957         (FLOAT): Likewise.
8958         (MATHCONST): Likewise.
8959         (PRINTF_EXPR): Likewise.
8960         (PRINTF_XEXPR): Likewise.
8961         (PRINTF_NEXPR): Likewise.
8962         (TEST_FLOAT): Likewise.
8963         (TEST_MATHVEC): Likewise.
8964         (TEST_INLINE): Likewise.
8965         (__NO_MATH_INLINES): Likewise.
8966         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8967         and test-math-scalar.h.
8968         (FUNC): Remove macro.
8969         (FUNC_TEST): Likewise.
8970         (FLOAT): Likewise.
8971         (MATHCONST): Likewise.
8972         (PRINTF_EXPR): Likewise.
8973         (PRINTF_XEXPR): Likewise.
8974         (PRINTF_NEXPR): Likewise.
8975         (TEST_LDOUBLE): Likewise.
8976         (TEST_MATHVEC): Likewise.
8977         (TEST_INLINE): Likewise.
8978         (__NO_MATH_INLINES): Likewise.
8979         * math/test-ldouble.c: Include test-ldouble.h,
8980         test-math-no-inline.h and test-math-scalar.h.
8981         (FUNC): Remove macro.
8982         (FUNC_TEST): Likewise.
8983         (FLOAT): Likewise.
8984         (MATHCONST): Likewise.
8985         (PRINTF_EXPR): Likewise.
8986         (PRINTF_XEXPR): Likewise.
8987         (PRINTF_NEXPR): Likewise.
8988         (TEST_LDOUBLE): Likewise.
8989         (TEST_MATHVEC): Likewise.
8990         (__NO_MATH_INLINES): Likewise.
8991         * math/test-double-vlen2.h: Include test-double.h,
8992         test-math-no-inline.h and test-math-vector.h.
8993         (FLOAT): Remove macro.
8994         (FUNC): Likewise.
8995         (MATHCONST): Likewise.
8996         (PRINTF_EXPR): Likewise.
8997         (PRINTF_XEXPR): Likewise.
8998         (PRINTF_NEXPR): Likewise.
8999         (TEST_DOUBLE): Likewise.
9000         (TEST_MATHVEC): Likewise.
9001         (__NO_MATH_INLINES): Likewise.
9002         (CNCT): Likewise.
9003         (CONCAT): Likewise.
9004         (WRAPPER_NAME): Likewise.
9005         (WRAPPER_DECL): Likewise.
9006         (WRAPPER_DECL_ff): Likewise.
9007         (WRAPPER_DECL_fFF): Likewise.
9008         (VECTOR_WRAPPER): Likewise.
9009         (VECTOR_WRAPPER_ff): Likewise.
9010         (VECTOR_WRAPPER_fFF): Likewise.
9011         (VEC_LEN): New macro.
9012         * math/test-double-vlen4.h: Include test-double.h,
9013         test-math-no-inline.h and test-math-vector.h.
9014         (FLOAT): Remove macro.
9015         (FUNC): Likewise.
9016         (MATHCONST): Likewise.
9017         (PRINTF_EXPR): Likewise.
9018         (PRINTF_XEXPR): Likewise.
9019         (PRINTF_NEXPR): Likewise.
9020         (TEST_DOUBLE): Likewise.
9021         (TEST_MATHVEC): Likewise.
9022         (__NO_MATH_INLINES): Likewise.
9023         (CNCT): Likewise.
9024         (CONCAT): Likewise.
9025         (WRAPPER_NAME): Likewise.
9026         (WRAPPER_DECL): Likewise.
9027         (WRAPPER_DECL_ff): Likewise.
9028         (WRAPPER_DECL_fFF): Likewise.
9029         (VECTOR_WRAPPER): Likewise.
9030         (VECTOR_WRAPPER_ff): Likewise.
9031         (VECTOR_WRAPPER_fFF): Likewise.
9032         (VEC_LEN): New macro.
9033         * math/test-double-vlen8.h: Include test-double.h,
9034         test-math-no-inline.h and test-math-vector.h.
9035         (FLOAT): Remove macro.
9036         (FUNC): Likewise.
9037         (MATHCONST): Likewise.
9038         (PRINTF_EXPR): Likewise.
9039         (PRINTF_XEXPR): Likewise.
9040         (PRINTF_NEXPR): Likewise.
9041         (TEST_DOUBLE): Likewise.
9042         (TEST_MATHVEC): Likewise.
9043         (__NO_MATH_INLINES): Likewise.
9044         (CNCT): Likewise.
9045         (CONCAT): Likewise.
9046         (WRAPPER_NAME): Likewise.
9047         (WRAPPER_DECL): Likewise.
9048         (WRAPPER_DECL_ff): Likewise.
9049         (WRAPPER_DECL_fFF): Likewise.
9050         (VECTOR_WRAPPER): Likewise.
9051         (VECTOR_WRAPPER_ff): Likewise.
9052         (VECTOR_WRAPPER_fFF): Likewise.
9053         (VEC_LEN): New macro.
9054         * math/test-float-vlen4.h: Include test-float.h,
9055         test-math-no-inline.h and test-math-vector.h.
9056         (FLOAT): Remove macro.
9057         (FUNC): Likewise.
9058         (MATHCONST): Likewise.
9059         (PRINTF_EXPR): Likewise.
9060         (PRINTF_XEXPR): Likewise.
9061         (PRINTF_NEXPR): Likewise.
9062         (TEST_FLOAT): Likewise.
9063         (TEST_MATHVEC): Likewise.
9064         (__NO_MATH_INLINES): Likewise.
9065         (CNCT): Likewise.
9066         (CONCAT): Likewise.
9067         (WRAPPER_NAME): Likewise.
9068         (WRAPPER_DECL): Likewise.
9069         (WRAPPER_DECL_ff): Likewise.
9070         (WRAPPER_DECL_fFF): Likewise.
9071         (VECTOR_WRAPPER): Likewise.
9072         (VECTOR_WRAPPER_ff): Likewise.
9073         (VECTOR_WRAPPER_fFF): Likewise.
9074         (VEC_LEN): New macro.
9075         * math/test-float-vlen8.h: Include test-float.h,
9076         test-math-no-inline.h and test-math-vector.h.
9077         (FLOAT): Remove macro.
9078         (FUNC): Likewise.
9079         (MATHCONST): Likewise.
9080         (PRINTF_EXPR): Likewise.
9081         (PRINTF_XEXPR): Likewise.
9082         (PRINTF_NEXPR): Likewise.
9083         (TEST_FLOAT): Likewise.
9084         (TEST_MATHVEC): Likewise.
9085         (__NO_MATH_INLINES): Likewise.
9086         (CNCT): Likewise.
9087         (CONCAT): Likewise.
9088         (WRAPPER_NAME): Likewise.
9089         (WRAPPER_DECL): Likewise.
9090         (WRAPPER_DECL_ff): Likewise.
9091         (WRAPPER_DECL_fFF): Likewise.
9092         (VECTOR_WRAPPER): Likewise.
9093         (VECTOR_WRAPPER_ff): Likewise.
9094         (VECTOR_WRAPPER_fFF): Likewise.
9095         (VEC_LEN): New macro.
9096         * math/test-float-vlen16.h: Include test-float.h,
9097         test-math-no-inline.h and test-math-vector.h.
9098         (FLOAT): Remove macro.
9099         (FUNC): Likewise.
9100         (MATHCONST): Likewise.
9101         (PRINTF_EXPR): Likewise.
9102         (PRINTF_XEXPR): Likewise.
9103         (PRINTF_NEXPR): Likewise.
9104         (TEST_FLOAT): Likewise.
9105         (TEST_MATHVEC): Likewise.
9106         (__NO_MATH_INLINES): Likewise.
9107         (CNCT): Likewise.
9108         (CONCAT): Likewise.
9109         (WRAPPER_NAME): Likewise.
9110         (WRAPPER_DECL): Likewise.
9111         (WRAPPER_DECL_ff): Likewise.
9112         (WRAPPER_DECL_fFF): Likewise.
9113         (VECTOR_WRAPPER): Likewise.
9114         (VECTOR_WRAPPER_ff): Likewise.
9115         (VECTOR_WRAPPER_fFF): Likewise.
9116         (VEC_LEN): New macro.
9117         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9118         test-vec-loop.h.
9119         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9120         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9121         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9122         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9123         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9124         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9125         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9127 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9129         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9130         (__getlogin_r): ... this.
9132 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9134         [BZ #18594]
9135         * math/s_ccosh.c (__ccosh): Compare with least normal value
9136         instead of comparing class with FP_SUBNORMAL.
9137         * math/s_ccoshf.c (__ccoshf): Likewise.
9138         * math/s_ccoshl.c (__ccoshl): Likewise.
9139         * math/s_cexp.c (__cexp): Likewise.
9140         * math/s_cexpf.c (__cexpf): Likewise.
9141         * math/s_cexpl.c (__cexpl): Likewise.
9142         * math/s_csin.c (__csin): Likewise.
9143         * math/s_csinf.c (__csinf): Likewise.
9144         * math/s_csinh.c (__csinh): Likewise.
9145         * math/s_csinhf.c (__csinhf): Likewise.
9146         * math/s_csinhl.c (__csinhl): Likewise.
9147         * math/s_csinl.c (__csinl): Likewise.
9148         * math/s_ctan.c (__ctan): Likewise.
9149         * math/s_ctanf.c (__ctanf): Likewise.
9150         * math/s_ctanh.c (__ctanh): Likewise.
9151         * math/s_ctanhf.c (__ctanhf): Likewise.
9152         * math/s_ctanhl.c (__ctanhl): Likewise.
9153         * math/s_ctanl.c (__ctanl): Likewise.
9154         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9155         csin, csinh, ctan and ctanh.
9156         * math/auto-libm-test-out: Regenerated.
9157         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9158         * sysdeps/i386/fpu/libm-test-ulps: Update.
9159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9163         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9164         return value is wrong, print the expected value too.
9166 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9168         [BZ #18585]
9169         * elf/readlib.c (is_gdb_python_file): New.
9170         (process_file): Don't issue errors on filenames with -gdb.py
9171         suffix.
9173 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9175         * math/auto-libm-test-in: Add more tests of csin and csinh.
9176         * math/auto-libm-test-out: Regenerated.
9177         * math/libm-test.inc (csin_test_data): Remove tests moved to
9178         auto-libm-test-in.
9179         (csinh_test_data): Likewise.
9181         [BZ #18593]
9182         * math/s_csin.c (__csin): Negate before rather than after possibly
9183         overflowing multiplication.
9184         * math/s_csinf.c (__csinf): Likewise.
9185         * math/s_csinh.c (__csinh): Likewise.
9186         * math/s_csinhf.c (__csinhf): Likewise.
9187         * math/s_csinhl.c (__csinhl): Likewise.
9188         * math/s_csinl.c (__csinl): Likewise.
9189         * math/auto-libm-test-in: Add some tests of csin and csinh.
9190         * math/auto-libm-test-out: Regenerated.
9191         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9192         (csinh_test_data): Likewise.
9193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9195         [BZ #18586]
9196         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9197         underflow exception for small results.
9199 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9202         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9203         variable and included header.
9204         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9209         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9210         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9211         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9212         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9213         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9214         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9215         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9216         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9217         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9218         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9219         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9221 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9223         [BZ #16526]
9224         [BZ #16538]
9225         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9226         (__sin): Force underflow exception for arguments with small
9227         absolute value.
9228         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9229         (__kernel_sinf): Force underflow exception for arguments with
9230         small absolute value.
9231         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9232         (__kernel_sincosl): Force underflow exception for arguments with
9233         small absolute value.
9234         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9235         (__kernel_sinl): Force underflow exception for arguments with
9236         small absolute value.
9237         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9238         (__kernel_sincosl): Force underflow exception for arguments with
9239         small absolute value.
9240         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9241         (__kernel_sinl): Force underflow exception for arguments with
9242         small absolute value.
9243         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9244         (__kernel_sinl): Force underflow exception for arguments with
9245         small absolute value.
9246         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9247         (__kernel_sinf): Force underflow exception for arguments with
9248         small absolute value.
9249         * math/auto-libm-test-in: Add more tests of sin and sincos.
9250         * math/auto-libm-test-out: Regenerated.
9252         [BZ #18245]
9253         [BZ #18583]
9254         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9255         (__kernel_standard_l): Use feholdexcept and fesetenv around
9256         conversion to double instead of special-casing overflow and
9257         underflow.
9258         * math/libm-test.inc (fmod_test_data): Add more tests.
9259         (remainder_test_data): Likewise.
9260         (sqrt_test_data): Likewise.
9262 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9264         [BZ #17403]
9265         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9266         atomic_read_barrier, atomic_write_barrier): Define.
9267         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9268         atomic_read_barrier, atomic_write_barrier): Define.
9270 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9272         * math/Makefile [$(PERL) != no]
9273         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9274         dependency on libm-test.stmp below the inclusion of Rules.
9276 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9280         and included header.
9281         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9282         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9284         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9285         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9289         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9290         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9291         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9292         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9293         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9294         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9295         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9296         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9297         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9298         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9299         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9301 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9303         [BZ #18371]
9304         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9305         intermediate but not final result might underflow.
9306         * math/s_csqrtf.c (__csqrtf): Likewise.
9307         * math/s_csqrtl.c (__csqrtl): Likewise.
9308         * math/auto-libm-test-in: Add more tests of csqrt.
9309         * math/auto-libm-test-out: Regenerated.
9310         * sysdeps/i386/fpu/libm-test-ulps: Update.
9312         [BZ #18219]
9313         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9314         threshold on absolute value of exponent for which scaling is used.
9315         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9316         * math/auto-libm-test-in: Add more tests of exp2.
9317         * math/auto-libm-test-out: Regenerated.
9319 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9321         [BZ #17977]
9322         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9323         when initializing interface list, based on the bug analysis
9324         and the patch proposed by Eric Newton.
9325         * resolv/tst-res_hconf_reorder.c: New test.
9326         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9327         tst-res_hconf_reorder.
9328         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9329         and $(shared-thread-library).
9330         (tst-res_hconf_reorder-ENV): New variable.
9332         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9333         in comment.
9335 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9337         [BZ #16353]
9338         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9339         (__expm1): Force underflow exception for arguments with small
9340         absolute value.
9341         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9342         (__expm1f): Force underflow exception for arguments with small
9343         absolute value.
9344         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9345         (__expm1): Force underflow exception for arguments with small
9346         absolute value.
9347         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9348         (__expm1f): Force underflow exception for arguments with small
9349         absolute value.
9350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9351         Check for small arguments before calling __expm1.
9352         * math/auto-libm-test-in: Do not mark underflow exceptions as
9353         possibly missing for bug 16353.
9354         * math/auto-libm-test-out: Regenerated.
9356 2015-06-22  Andreas Schwab  <schwab@suse.de>
9358         [BZ #18513]
9359         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9360         PTR queries.
9362 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9364         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9366         * string/strcoll_l.c: Remove unused struct element idxnow.
9368 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9370         [BZ #18569]
9371         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9372         underflow and return argument in case of subnormal argument.
9373         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9374         Likewise.
9375         * math/auto-libm-test-in: Add more tests of expm1.
9376         * math/auto-libm-test-out: Regenerated.
9378         [BZ #16361]
9379         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9380         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9381         tiny results.
9382         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9383         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9384         tiny results.
9385         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9386         mark underflow exceptions as possibly missing for bug 16361.
9387         * math/auto-libm-test-out: Regenerated.
9389 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9391         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9392         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9393         Remove variable.
9394         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9395         (test-xfail-XOPEN2K8/utmpx.h/conform).
9397         * conform/conformtest.pl ($xerrors): New variable.
9398         (note_error): New function.
9399         (compiletest): New argument $xfail.  Use not_error.
9400         (runtest): Likewise.
9401         (top level): Handle xfail- lines.  Update calls to compiletest and
9402         runtest.  Handle xfail- and optional- in headers listed with
9403         allow-header.
9404         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9405         (O_EXEC): Likewise.
9406         (O_SEARCH): Likewise.
9407         * conform/data/stropts.h-data (ioctl): Likewise.
9408         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9409         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9410         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9411         (msghdr.msg_controllen): Likewise.
9412         (cmsghdr.cmsg_len): Likewise.
9413         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9414         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9415         variable.
9416         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9417         (test-xfail-XPG4/stropts.h/conform): Likewise.
9418         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9419         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9420         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9421         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9422         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9423         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9424         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9425         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9426         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9427         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9428         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9429         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9430         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9431         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9432         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9433         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9434         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9435         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9436         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9438 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9440         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9441         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9442         definitions for proper unfolding of __MATHDECL_VEC.
9444 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9446         * benchtests/bench-strcoll.c:
9447         Include string.h.
9448         (main): Remove unused variable res.
9450 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9452         * timezone/Makefile (%/UTC %/Universal):
9453         Generate test-result files for UTC and Universal.
9455 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9457         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9459 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9461         [BZ #16350]
9462         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9463         for arguments with small absolute value.
9464         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9465         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9466         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9467         (__asinh): Force underflow exception for arguments with small
9468         absolute value.
9469         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9470         (__asinhf): Force underflow exception for arguments with small
9471         absolute value.
9472         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9473         (__asinhl): Force underflow exception for arguments with small
9474         absolute value.
9475         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9476         (__asinhl): Force underflow exception for arguments with small
9477         absolute value.
9478         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9479         (__asinhl): Force underflow exception for arguments with small
9480         absolute value.
9481         * math/auto-libm-test-in: Do not mark underflow exceptions as
9482         possibly missing for bug 16350.
9483         * math/auto-libm-test-out: Regenerated.
9485         * include/bits/ipc.h: Remove file.
9486         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9487         variable.
9488         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9489         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9490         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9491         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9492         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9493         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9494         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9495         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9496         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9498         * math/auto-libm-test-in: Remove spurious underflow allowance for
9499         tests of cexp.
9500         * math/auto-libm-test-out: Regenerated.
9502         [BZ #18558]
9503         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9504         unconditional definition.
9505         (MCAST_BLOCK_SOURCE): Likewise.
9506         (MCAST_UNBLOCK_SOURCE): Likewise.
9507         (MCAST_LEAVE_GROUP): Likewise.
9508         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9509         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9510         (MCAST_MSFILTER): Likewise.
9511         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9512         Remove variable.
9513         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9514         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9515         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9516         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9517         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9519 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9521         * NEWS: Mention addition of x86_64 vector sincosf.
9522         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9523         * math/test-float-vlen4.h: Likewise.
9524         * math/test-float-vlen8.h: Likewise.
9525         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9526         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9528         * sysdeps/x86_64/fpu/Versions: New versions added.
9529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9531         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9532         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9534         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9535         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9536         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9537         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9538         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9539         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9540         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9541         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9542         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9543         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9544         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9545         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9546         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9547         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9548         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9549         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9550         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9551         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9552         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9554         * NEWS: Mention addition of x86_64 vector sincos.
9555         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9556         * math/math.h (__MATHDECL_VEC): New macro.
9557         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9558         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9559         declaration under condition.
9560         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9561         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9562         TEST_VEC_LOOP change.
9563         * math/test-double-vlen4.h: Likewise.
9564         * math/test-double-vlen8.h: Likewise.
9565         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9566         * math/test-float-vlen4.h: Likewise.
9567         * math/test-float-vlen8.h: Likewise.
9568         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9569         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9570         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9571         * sysdeps/x86_64/fpu/Versions: New versions added.
9572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9573         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9574         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9577         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9578         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9579         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9580         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9581         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9582         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9583         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9584         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9585         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9586         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9587         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9588         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9589         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9591         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9592         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9593         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9594         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9595         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9597         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9598         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9599         redirections for powf.
9600         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9601         * sysdeps/x86_64/fpu/Versions: New versions added.
9602         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9603         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9604         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9605         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9607         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9608         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9609         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9610         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9611         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9612         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9613         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9614         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9615         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9616         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9617         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9618         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9619         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9620         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9621         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9622         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9623         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9624         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9625         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9626         * math/test-float-vlen16.h: Fixed 2 argument macro.
9627         * math/test-float-vlen4.h: Likewise.
9628         * math/test-float-vlen8.h: Likewise.
9629         * NEWS: Mention addition of x86_64 vector powf.
9631 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9633         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9634         and redefine.
9635         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9636         and redefine.
9637         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9638         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9641         [BZ #18553]
9642         * resource/getpriority.c (getpriority): Rename to __getpriority
9643         and define as weak alias of __getpriority.
9644         * resource/setpriority.c (setpriority): Rename to __setpriority
9645         and define as weak alias of __setpriority.
9646         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9647         __getpriority and define as weak alias of __getpriority.
9648         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9649         __setpriority and define as weak alias of __setpriority.
9650         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9651         strong name.
9652         (setpriority): Use __setpriority as strong name.
9653         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9654         __getpriority and define as weak alias of __getpriority.
9655         * include/sys/resource.h (__getpriority): Declare.  Use
9656         libc_hidden_proto.
9657         (__setpriority): Likewise.
9658         (getpriority): Don't use libc_hidden_proto.
9659         (setpriority): Likewise.
9660         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9661         getpriority.  Call __setpriority instead of setpriority.
9662         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9663         Remove variable.
9665         [BZ #18547]
9666         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9667         as weak alias of __getttynam.  Use prototype function definition.
9668         Call __setttyent, __getttyent and __endttyent instead of
9669         setttyent, getttyent and endttyent.
9670         (getttyent): Rename to __getttyent and define as weak alias of
9671         __getttyent.  Call __setttyent instead of setttyent.  Call
9672         __fgets_unlocked instead of fgets_unlocked.
9673         (setttyent): Rename to __setttyent and define as weak alias of
9674         __setttyent.
9675         (endttyent): Rename to __endttyent and define as weak alias of
9676         __endttyent.
9677         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9678         (__setttyent): Likewise.
9679         (__endttyent): Likewise.
9680         (getttyent): Don't use libc_hidden_proto.
9681         (setttyent): Likewise.
9682         (endttyent): Likewise.
9683         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9684         __endttyent instead of setttyent, getttyent and endttyent.
9685         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9686         Remove variable.
9688         [BZ #18546]
9689         * socket/recv.c (__recv): Use libc_hidden_def.
9690         * socket/socket.c (__socket): Likewise.
9691         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9692         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9693         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9694         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9695         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9696         libc_hidden_def.
9697         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9698         libc_hidden_weak.
9699         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9700         Use libc_hidden_proto.
9701         (__recv): Likewise.
9702         * socket/Versions (libc): Export __recv and __socket at version
9703         GLIBC_PRIVATE.
9704         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9705         instead of recv.
9706         (init_mq_netlink): Call __socket instead of socket.
9707         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9708         Remove variable.
9710         [BZ #18545]
9711         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9712         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9713         hidden_weak.
9714         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9715         define as alias of __mq_timedsend.  Use hidden_weak.
9716         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9717         __mq_timedsend as strong name.
9718         (mq_timedreceive): Use __mq_timedreceive as strong name.
9719         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9720         (__mq_timedreceive): Likewise.
9721         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9722         __mq_timedreceive instead of mq_timedreceive.
9723         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9724         instead of mq_timedsend.
9725         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9726         Remove variable.
9728         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9729         hidden_def and hidden_weak instead of libc_hidden_def and
9730         libc_hidden_weak.
9731         (top level): Refer to hidden_def in comment.
9732         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9733         macro.  Use it instead of libc_hidden_def.
9734         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9735         specify __GI_* name explicitly.
9736         (mq_timedreceive): Likewise.
9737         (mq_setattr): Likewise.
9739         [BZ #18544]
9740         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9741         __pthread_barrier_init and define as weak alias of
9742         __pthread_barrier_init.
9743         * sysdeps/sparc/nptl/pthread_barrier_init.c
9744         (pthread_barrier_init): Likewise.
9745         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9746         __pthread_barrier_wait and define as weak alias of
9747         __pthread_barrier_wait.
9748         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9749         (pthread_barrier_wait): Likewise.
9750         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9751         (pthread_barrier_wait): Likewise.
9752         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9753         (pthread_barrier_wait): Likewise.
9754         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9755         (pthread_barrier_wait): Likewise.
9756         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9757         __pthread_barrier_wait at version GLIBC_PRIVATE.
9758         * include/pthread.h (__pthread_barrier_init): Declare.
9759         (__pthread_barrier_wait): Likewise.
9760         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9761         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9762         (helper_thread): Likewise.
9763         (init_mq_netlink): Call __pthread_barrier_init instead of
9764         pthread_barrier_init.
9766         [BZ #18542]
9767         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9768         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9769         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9770         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9771         vswscanf.
9772         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9773         Remove variable.
9775         [BZ #18540]
9776         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9777         strong alias of _IO_fflush.  Use libc_hidden_def.
9778         * libio/iofflush_u.c (fflush_unlocked): Rename to
9779         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9780         Use libc_hidden_weak.
9781         * include/stdio.h (__fflush_unlocked): Declare.  Use
9782         libc_hidden_proto.
9783         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9784         fflush_unlocked.
9785         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9786         Remove variable.
9788         [BZ #18539]
9789         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9790         define as weak alias of __addseverity.
9791         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9792         Remove variable.
9793         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9794         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9795         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9797         [BZ #18536]
9798         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9799         (__tfind): Likewise.
9800         (__tdelete): Likewise.
9801         (__twalk): Likewise.
9802         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9803         __twalk to GLIBC_PRIVATE.
9804         * include/search.h (__tsearch): Use libc_hidden_proto.
9805         (__tfind): Likewise.
9806         (__tdelete): Likewise.
9807         (__twalk): Likewise.
9808         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9809         Call __tdelete instead of tdelete.
9810         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9811         tfind.  Call __tsearch instead of tsearch.
9812         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9813         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9814         Remove variable.
9815         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9817         [BZ #18534]
9818         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9819         (dprintf): Define as a weak alias of __dprintf, not a strong
9820         alias.
9821         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9822         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9823         dprintf.
9824         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9825         Remove variable.
9826         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9827         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9829         [BZ #18533]
9830         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9831         not a strong alias.
9832         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9833         Remove variable.
9835         [BZ #18532]
9836         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9837         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9838         (in6addr_loopback): Rename to __in6addr_loopback and define as
9839         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9840         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9841         libc_hidden_proto.
9842         (__in6addr_any): Likewise.
9843         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9844         in6addr_any.
9845         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9846         variable.
9847         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9849 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9851         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9852         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9853         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9854         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9855         redirections for pow.
9856         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9857         * sysdeps/x86_64/fpu/Versions: New versions added.
9858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9859         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9860         build of SSE, AVX2 and AVX512 IFUNC versions.
9861         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9864         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9865         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9866         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9867         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9868         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9869         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9870         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9871         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9872         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9873         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9874         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9875         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9876         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9878         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9879         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9880         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9881         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9882         * NEWS: Mention addition of x86_64 vector pow.
9884         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9885         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9886         redirections for expf.
9887         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9888         * sysdeps/x86_64/fpu/Versions: New versions added.
9889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9890         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9891         build of SSE, AVX2 and AVX512 IFUNC versions.
9892         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9895         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9896         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9897         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9898         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9899         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9900         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9901         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9902         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9903         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9904         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9905         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9906         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9907         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9908         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9909         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9910         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9911         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9912         * NEWS: Mention addition of x86_64 vector expf.
9914         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9915         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9916         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9917         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9918         redirections for exp.
9919         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9920         * sysdeps/x86_64/fpu/Versions: New versions added.
9921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9922         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9923         build of SSE, AVX2 and AVX512 IFUNC versions.
9924         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9925         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9926         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9927         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9928         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9929         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9930         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9931         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9932         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9933         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9934         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9935         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9936         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9937         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9939         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9940         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9941         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9943         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9944         * NEWS: Mention addition of x86_64 vector exp.
9946         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9947         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9948         redirections for logf.
9949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9950         * sysdeps/x86_64/fpu/Versions: New versions added.
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9952         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9953         build of SSE, AVX2 and AVX512 IFUNC versions.
9954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9955         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9957         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9958         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9959         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9960         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9961         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9962         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9963         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9964         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9965         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9966         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9967         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9968         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9969         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9970         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9971         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9972         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9973         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9974         * NEWS: Mention addition of x86_64 vector logf.
9976         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9977         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9978         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9979         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9980         redirections for log.
9981         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9982         * sysdeps/x86_64/fpu/Versions: New versions added.
9983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9985         build of SSE, AVX2 and AVX512 IFUNC versions.
9986         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9987         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9988         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9989         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9990         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9991         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9992         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9993         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9994         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9995         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9996         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9997         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9998         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9999         test.
10000         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10001         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10002         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10003         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10004         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10005         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10006         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10007         * NEWS: Mention addition of x86_64 vector log.
10009 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10011         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10012         cfi_adjust_cfa_offset argument.
10013         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10014         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10016         [BZ #18034]
10017         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10018         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10019         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10020         ordering using ldar.
10021         (_dl_tlsdesc_dynamic): Likewise.
10022         (_dl_tlsdesc_return_lazy): Likewise.
10023         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10024         relaxed atomics instead of volatile and synchronize with release store.
10025         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10026         volatile.
10027         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10029 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10031         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10032         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10033         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10034         * sysdeps/x86_64/fpu/Versions: New versions added.
10035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10036         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10037         build of SSE, AVX2 and AVX512 IFUNC versions.
10038         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10040         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10041         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10044         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10045         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10046         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10047         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10048         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10049         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10050         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10051         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10052         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10053         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10054         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10055         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10056         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10057         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10058         * NEWS: Mention addition of x86_64 vector sinf.
10060 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10062         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10063         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10064         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10065         Remove variable.
10066         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10067         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10069 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10071         [BZ #18530]
10072         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10073         strong alias of _IO_fputs.  Use libc_hidden_def.
10074         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10075         and define as weak alias of __fputs_unlocked.  Use
10076         libc_hidden_weak.
10077         * include/stdio.h (__fputs_unlocked): Declare.  Use
10078         libc_hidden_proto.
10079         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10080         fputs_unlocked.
10082         [BZ #18529]
10083         * resolv/netdb.h [__USE_POSIX]: Change condition to
10084         [__USE_XOPEN2K].
10085         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10086         not expect.
10087         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10088         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10089         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10090         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10091         [XPG4 || UNIX98] (AI_ALL): Likewise.
10092         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10093         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10094         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10095         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10096         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10097         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10098         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10099         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10100         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10101         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10102         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10103         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10104         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10105         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10106         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10107         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10108         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10109         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10110         [XPG4 || UNIX98] (gai_strerror): Likewise.
10111         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10112         [XPG4 || UNIX98] (getnameinfo): Likewise.
10114         [BZ #18528]
10115         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10116         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10117         __USE_XOPEN2K8].
10118         (getgrent): Likewise.
10119         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10120         expect.
10121         [XPG3 || POSIX2008] (endgrent): Likewise.
10122         [XPG3] (setgrent): Likewise.
10123         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10124         variable.
10125         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10127         [BZ #18527]
10128         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10129         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10130         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10131         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10132         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10133         * include/unistd.h (__getlogin_r): Declare.  Use
10134         libc_hidden_proto.
10135         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10136         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10137         variable.
10138         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10139         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10140         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10142 2015-06-12  Martin Sebor  <msebor@redhat.com>
10144         [BZ #18512]
10145         * Makerules (check-install-supported): New target.
10146         (install): Add check-install-supported as a dependency.
10147         * manual/install.texi (Installing the C Library): Document
10148         that overriding prefix and exec_prefix is not supported.
10149         Mention DESTDIR.
10150         * INSTALL: Regenerate from the above.
10152 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10154         [BZ #18519]
10155         * posix/Versions (libc): Export __libc_pread at version
10156         GLIBC_PRIVATE.
10157         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10158         instead of pread.
10159         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10160         variable.
10162         [BZ #18522]
10163         * misc/efgcvt_r.c
10164         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10165         (cvt_symbol): Use weak_alias instead of strong_alias.
10166         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10167         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10168         Remove variable.
10169         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10170         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10172         [BZ #18520]
10173         * inet/herrno.c (h_errno): Rename to __h_errno.
10174         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10175         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10176         to __h_errno instead of h_errno.
10177         * nptl/herrno.c (h_errno): Rename to __h_errno.
10178         (__h_errno_location): Refer to __h_errno not h_errno.
10179         * resolv/Versions (h_errno): Rename to __h_errno.
10180         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10181         Remove variable.
10182         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10184 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10186         * configure.ac: More strict check for AVX512 assembler support.
10187         * configure: Regenerated.
10189         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10190         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10191         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10192         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10193         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10194         * sysdeps/x86_64/fpu/Versions: New versions added.
10195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10196         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10197         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10200         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10201         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10202         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10204         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10205         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10206         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10207         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10208         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10209         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10210         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10211         test.
10212         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10213         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10214         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10215         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10216         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10217         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10218         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10219         * NEWS: Mention addition of x86_64 vector sin.
10221 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10223         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10224         comment.
10226 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10228         [BZ #18479]
10229         * nptl/pt-interp.c: New file.
10230         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10231         Add pt-interp.
10232         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10233         $(common-objpfx)runtime-linker.h.
10235 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10237         * Makeconfig (+interp): Remove unused variable.
10238         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10239         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10240         $(elf-objpfx)runtime-linker.h.
10241         ($(elf-objpfx)runtime-linker.h): Rename to
10242         $(common-objpfx)runtime-linker.h and move ...
10243         * Makerules [$(build-shared) = yes]: ... here.
10244         * elf/interp.c: Include <runtime-linker.h> instead of
10245         <elf/runtime-linker.h>.
10247 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10249         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10250         (__gettimeofday_syscall): Remove vsyscall fallback.
10251         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10252         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10253         Add syscall fallback function.
10254         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10255         if vDSO is not present.
10256         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10257         fallback function.
10258         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10259         present.
10260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10261         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10263 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10265         [BZ #18497]
10266         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10267         of wcscmp.
10268         (wcscmp): Define as weak alias of WCSCMP.
10269         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10270         wcscoll.
10271         (USE_HIDDEN_DEF): Define.
10272         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10273         __wcscoll.  Don't use libc_hidden_weak.
10274         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10275         wcscmp.
10276         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10277         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10278         __GI_wcscmp.
10279         (weak_alias): Undefine and redefine.
10280         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10281         __wcscmp and define as weak alias of __wcscmp.
10282         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10283         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10284         (__wcscoll): Likewise.
10285         (wcscmp): Don't use libc_hidden_proto.
10286         (wcscoll): Likewise.
10287         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10288         wcscoll.
10289         * posix/regexec.c (check_node_accept_bytes): Likewise.
10290         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10291         variable.
10292         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10293         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10295         [BZ #18507]
10296         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10297         __fstatvfs and define as weak alias of __fstatvfs.  Use
10298         libc_hidden_weak.
10299         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10300         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10301         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10302         Define as alias of __fstatvfs, not fstatvfs.
10303         (fstatvfs64): Likewise.
10304         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10305         Define as alias of __statvfs, not statvfs.
10306         (statvfs64): Likewise.
10307         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10308         Remove variable.
10310 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10313         (HAVE_GETCPU_VSYSCALL): Define.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10315         (HAVE_GETCPU_VSYSCALL): Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10317         * sysdeps/unix/sysv/linux/sched_getcpu.c
10318         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10319         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10320         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10321         prototype.
10322         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10323         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10324         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10326         Define.
10327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10329         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10330         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10332 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10334         * sysdeps/x86_64/fpu/Makefile: New file.
10335         * sysdeps/x86_64/fpu/Versions: New file.
10336         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10337         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10338         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10339         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10340         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10341         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10342         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10345         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10346         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10347         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10349         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10350         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10351         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10352         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10353         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10354         * sysdeps/x86_64/configure: Regenerated.
10355         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10356         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10357         * manual/install.texi (Configuring and compiling): Document
10358         --disable-mathvec.
10359         * INSTALL: Regenerated.
10360         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10362         * math/Makefile: Added rules for vector tests.
10363         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10364         declaration under condition.
10365         * math/test-double-vlen2.h: New file.
10366         * math/test-double-vlen4.h: New file.
10367         * math/test-double-vlen8.h: New file.
10368         * math/test-vec-loop.h: Added initialization macro.
10369         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10371         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10372         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10373         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10375         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10377         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10379         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10382         * sysdeps/x86_64/fpu/Versions: New versions added.
10383         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10385         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10386         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10387         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10390         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10391         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10392         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10393         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10394         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10395         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10396         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10397         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10398         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10399         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10400         * NEWS: Mention addition of x86_64 vector cosf.
10402         * math/Makefile: Added CFLAGS for new tests.
10403         * math/test-float-vlen16.h: New file.
10404         * math/test-float-vlen4.h: New file.
10405         * math/test-float-vlen8.h: New file.
10406         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10407         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10409         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10410         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10411         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10412         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10414         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10415         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10416         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10418 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10420         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10421         * locale/programs/ld-ctype.c: Likewise.
10423 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10425         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10426         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10427         bit_ZMM16_31_state): New macro.
10428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10429         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10431 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10433         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10435 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10437         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10439 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10441         [BZ #18498]
10442         * libio/memstream.c (open_memstream): Rename to __open_memstream
10443         and define as weak alias of __open_memstream.
10444         * include/stdio.h (__open_memstream): Declare.  Use
10445         libc_hidden_proto.
10446         (open_memstream): Don't use libc_hidden_proto.
10447         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10448         open_memstream.
10449         * posix/getopt.c (_getopt_internal_r): Likewise.
10450         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10451         variable.
10452         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10453         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10454         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10456         [BZ #18496]
10457         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10458         instead of wcrtomb.
10460         [BZ #18483]
10461         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10462         [__USE_XOPEN2K8].  Remove redundant #endif.
10463         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10464         Remove redundant #if.
10465         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10466         Remove variable.
10467         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10468         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10470         [BZ #18495]
10471         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10472         (__iswlower): Likewise.
10473         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10474         (__iswlower): Likewise.
10475         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10476         instead of towlower.
10477         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10478         instead of iswlower.  Call __towupper instead of towupper.
10479         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10480         instead of iswalnum.
10482 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10484         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10485         errors to stderr.
10487 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10489         [BZ #15661]
10490         [BZ #17322]
10491         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10492         Check for overflow properly.  Check for O_APPEND.  Ignore large
10493         file system block sizes.  Add comments about problems.
10494         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10495         * manual/filesys.texi (Storage Allocation): New node.
10497 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10499         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10500         cancellable syscalls.
10501         (SYS_ify): Add guard to no redefine it.
10502         (INLINE_SYSCALL): Likewise.
10503         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10504         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10505         SYSCALL_CANCEL instead.
10506         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10507         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10508         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10509         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10510         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10511         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10512         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10513         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10514         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10515         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10516         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10517         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10518         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10519         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10520         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10522         Likewise.
10523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10524         (__libc_pread64): Likewise.
10525         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10526         (__libc_preadv): Likewise.
10527         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10528         (__libc_readv64): Likewise.
10529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10530         (__libc_pwrite): Likewise.
10531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10532         (__libc_pwrite64): Likewise.
10533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10534         (__libc_pwritev): Likewise.
10535         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10536         (__libc_pwritev64): Likewise.
10537         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10538         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10539         (sync_file_range): Likewise.
10540         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10543         Likewise.
10544         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10545         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10546         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10547         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10548         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10549         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10550         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10551         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10553         Likewise.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10555         (__libc_read64): Likewise.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10557         Likewise.
10558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10559         Likewise.
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10561         Likewise.
10562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10563         Likewise.
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10565         (__libc_pread64): Likewise.
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10567         Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10569         (__libc_pwrite64): Likewise.
10570         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10571         (sync_file_range): Likewise.
10572         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10573         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10574         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10575         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10576         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10577         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10578         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10579         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10580         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10581         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10582         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10583         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10584         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10585         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10586         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10587         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10588         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10589         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10590         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10595         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10596         Likewise.
10597         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10598         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10599         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10600         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10601         Likewise.
10602         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10603         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10604         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10605         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10606         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10608 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10610         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10611         Include dl-vdso.
10612         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10613         Use VDSO routines for gettimeofday, clock_gettime if
10614         available.
10615         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10616         Declare VDSO symbols.
10617         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10618         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10619         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10620         * sysdeps/unix/sysv/linux/arm/Versions: Add
10621         __vdso_clock_gettime.
10623 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10625         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10626         be an inline implementation regardless of library is built within.
10627         (open_not_cancel_2): Likewise.
10628         (__read_nocancel): Likewise.
10629         (__write_nocancel): Likewise.
10630         (openat_not_cancel): Likewise.
10631         (openat_not_cancel_3): Likewise.
10632         (openat64_not_cancel): Likewise.
10633         (openat64_not_cancel_3): Likewise.
10634         (__close_nocancel): Likewise.
10635         (pause_not_cancel): Likewise.
10636         (nanosleep_not_cancel): Likewise.
10637         (sigsuspend_not_cancel): Likewise.
10639 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10641         [BZ #14958]
10642         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10643         wake-up.
10644         (__pthread_rwlock_rdlock_slow): Likewise.
10645         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10646         Likewise.
10647         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10648         Likewise.
10649         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10650         * nptl/tst-rwlock16.c: New file.
10651         * nptl/Makefile (tests): Add new test.
10653 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10655         [BZ #18324]
10656         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10657         missing wake-up of readers.
10658         * nptl/tst-rwlock15.c: New file.
10659         * nptl/Makefile (tests): Add new test.
10661 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10663         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10664         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10665         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10666         and __nacl_supply_interface_rtld.
10667         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10668         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10669         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10670         Add __nacl_supply_interface_rtld.
10671         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10673 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10675         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10676         isfinite.
10677         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10678         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10680 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10682         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10683         __signbit* with standard C99 macros.
10684         * math/e_exp10l.c: Likewise.
10685         * math/e_exp2l.c: Likewise.
10686         * math/e_scalb.c: Likewise.
10687         * math/e_scalbf.c: Likewise.
10688         * math/e_scalbl.c: Likewise.
10689         * math/s_ldexp.c: Likewise.
10690         * math/s_ldexpf.c: Likewise.
10691         * math/s_ldexpl.c: Likewise.
10692         * math/w_atan2.c: Likewise.
10693         * math/w_atan2f.c: Likewise.
10694         * math/w_atan2l.c: Likewise.
10695         * math/w_cosh.c: Likewise.
10696         * math/w_coshf.c: Likewise.
10697         * math/w_coshl.c: Likewise.
10698         * math/w_exp10.c: Likewise.
10699         * math/w_exp10f.c: Likewise.
10700         * math/w_exp10l.c: Likewise.
10701         * math/w_exp2.c: Likewise.
10702         * math/w_exp2f.c: Likewise.
10703         * math/w_exp2l.c: Likewise.
10704         * math/w_fmod.c: Likewise.
10705         * math/w_fmodf.c: Likewise.
10706         * math/w_fmodl.c: Likewise.
10707         * math/w_hypot.c: Likewise.
10708         * math/w_hypotf.c: Likewise.
10709         * math/w_hypotl.c: Likewise.
10710         * math/w_jnl.c: Likewise.
10711         * math/w_lgamma.c: Likewise.
10712         * math/w_lgamma_r.c: Likewise.
10713         * math/w_lgammaf.c: Likewise.
10714         * math/w_lgammaf_r.c: Likewise.
10715         * math/w_lgammal.c: Likewise.
10716         * math/w_lgammal_r.c: Likewise.
10717         * math/w_pow.c: Likewise.
10718         * math/w_powf.c: Likewise.
10719         * math/w_powl.c: Likewise.
10720         * math/w_remainder.c: Likewise.
10721         * math/w_remainderf.c: Likewise.
10722         * math/w_remainderl.c: Likewise.
10723         * math/w_scalb.c: Likewise.
10724         * math/w_scalbf.c: Likewise.
10725         * math/w_scalbl.c: Likewise.
10726         * math/w_scalbln.c: Likewise.
10727         * math/w_scalblnf.c: Likewise.
10728         * math/w_scalblnl.c: Likewise.
10729         * math/w_sinh.c: Likewise.
10730         * math/w_sinhf.c: Likewise.
10731         * math/w_sinhl.c: Likewise.
10732         * math/w_tgamma.c: Likewise.
10733         * math/w_tgammaf.c: Likewise.
10734         * math/w_tgammal.c: Likewise.
10735         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10736         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10738         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10739         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10741         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10742         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10743         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10744         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10745         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10746         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10747         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10748         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10749         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10750         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10752         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10759         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10761         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10762         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10763         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10765         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10766         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10767         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10768         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10769         * stdio-common/printf_fp.c: Likewise.
10770         * stdio-common/printf_fphex.c: Likewise.
10771         * stdio-common/printf_size.c: Likewise.
10773 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10775         [BZ #18470]
10776         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10777         strnlen.
10778         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10779         Remove variable.
10780         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10781         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10782         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10783         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10784         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10785         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10786         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10787         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10788         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10789         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10791         [BZ #18468]
10792         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10793         weak alias of __wmemchr.  Use libc_hidden_weak.
10794         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10795         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10796         instead of wmemchr.
10798 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10800         [BZ #18383]
10801         * elf/tst-tlsalign-extern.c: New file.
10802         * elf/tst-tlsalign-extern-static.c: New file.
10803         * elf/tst-tlsalign-vars.c: New file.
10804         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10805         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10806         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10807         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10808         (test-xfail-tst-tlsalign-extern-static): New variable.
10810 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10812         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10813         Use variable name _sc_err instead of err.
10814         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10815         instead of ret.
10816         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10817         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10818         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10819         (INLINE_SYSCALL): Likewise.
10821         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10822         * include/string.h (__strnlen): Use libc_hidden_proto.
10823         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10824         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10825         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10826         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10827         (libc_hidden_def): Undefine and redefine.
10828         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10829         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10830         __GI_strnlen.
10831         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10832         libc_hidden_def.
10833         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10835         [BZ #18469]
10836         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10837         weak alias of __towlower.  Use libc_hidden_weak.
10838         (towupper): Rename to __towupper and define as weak alias of
10839         __towupper.  Use libc_hidden_weak.
10840         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10841         (__towupper): Likewise.
10842         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10843         __towlower instead of towlower.
10845 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10847         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10848         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10850 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10852         * sysdeps/aarch64/libm-test-ulps: Update.
10854 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10856         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10857         Define.
10858         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10860         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10861         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10862         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10863         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10864         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10866 2015-06-01  Martin Sebor  <msebor@redhat.com>
10868         [BZ #18116]
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10870         (__setcontext): Use extended four-operand version of mtsf whenever
10871         possible.
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10873         (__novec_swapcontext): Likewise.
10875 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877         * benchtests/scripts/compare_bench.py: New file.
10878         * benchtests/scripts/import_bench.py (mean): New function.
10879         (split_list): Likewise.
10880         (do_for_all_timings): Likewise.
10881         (compress_timings): Likewise.
10883         * benchtests/scripts/import_bench.py: New file.
10884         * benchtests/scripts/validate_benchout.py: Import import_bench
10885         instead of jsonschema.
10886         (validate_bench): Remove function.
10887         (main): Use import_bench.
10889 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10891         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10892         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10894 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10898 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10900         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10901         set THREAD_SELF->tid to a magic value and futex-wake it.
10902         Pass its address to the thread_exit system call.
10903         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10904         bit is clear.
10905         * sysdeps/nacl/lowlevellock.h: New file.
10906         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10908         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10909         Add TIMEOUT to current time, don't subtract it.
10911 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10913         [BZ #2981]
10914         [BZ #18422]
10915         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10916         ($(objpfx)tst-audit2.out): Also depend on
10917         $(objpfx)tst-auditmod9b.so.
10918         * elf/tst-audit2.c: Include <dlfcn.h>.
10919         (calloc_called): New.
10920         (calloc): Allow to be called more than once.
10921         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10923 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10925         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10926         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10928 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10930         * stdlib/monetary.h: Fix comment.
10932 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10934         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10935         Avoid using variables in #defines that might cause shadowing.
10936         (INTERNAL_VSYSCALL_CALL): Likewise.
10938 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10940         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10942         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10943         * nptl/lll_timedlock_wait.c: ... to this new file.
10944         * nptl/Makefile (libpthread-routines): Add it.
10945         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10946         * nptl/lll_timedwait_tid.c: ... to this new file.
10947         * nptl/Makefile (libpthread-routines): Add it.
10948         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10949         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10950         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10951         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10952         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10953         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10954         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10955         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10956         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10957         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10959 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10961         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10962         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10963         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10965         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10967         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10969         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10970         * sysdeps/unix/sysv/linux/tile/sysdep.h
10971         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10972         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10973         using vDSO syscall macro.
10975 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10977         [BZ #17293]
10978         * uk_UA: Fix sorting order for Ukrainian locale
10980 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10982         * stdlib/monetary.h: Fix comment.
10984 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10986         [BZ #18234]
10987         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10988         st_mtim and st_ctim members.
10989         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10990         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10991         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10992         (struct stat64): Likewise.
10993         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10994         (struct stat64): Likewise.
10995         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10996         (struct stat64): Likewise.
10998 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11000         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11001         Define and include sysdep-vdso.h.
11002         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11003         Likewise.
11004         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11007         Define with VDSO_SYMBOL and use PTR_MANGLE.
11008         (__vdso_clock_gettime): Likewise.
11009         (__vdso_clock_getres): Likewise.
11010         (_libc_vdso_platform_setup): Likewise.
11011         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11012         Likewise.
11013         (_libc_vdso_platform_setup): Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11015         Likewise.
11016         (__vdso_clock_gettime): Likewise.
11017         (__vdso_clock_getres): Likewise.
11018         (__vdso_get_tbfreq): Likewise.
11019         (__vdso_getcpu): Likewise.
11020         (__vdso_time): Likewise.
11021         (__vdso_sigtramp_rt64): Likewise.
11022         (__vdso_signtramp32): Likewise.
11023         (__vdso_sigtramp_rt32): Likewise.
11024         (_libc_vdso_platform_setup): Likewise.
11025         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11026         Likewise.
11027         (__vdso_clock_gettime): Likewise.
11028         (__vdso_clock_getres): Likewise.
11029         (_libc_vdso_platform_setup): Likewise.
11030         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11031         Likewise.
11032         (__vdso_clock_gettime): Likewise.
11033         (_libc_vdso_platform_setup): Likewise.
11034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11035         Likewise.
11036         (__vdso_getcpu): Likewise.
11037         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11038         Use VDSO_SYMBOL macro to define.
11039         (__vdso_clock_gettime): Likewise.
11040         (__vdso_clock_getres): Likewise.
11041         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11042         Likewise.
11043         (__vdso_clock_gettime): Likewise.
11044         (__vdso_clock_getres): Likewise.
11045         (__vdso_get_tbfreq): Likewise.
11046         (__vdso_getcpu): Likewise.
11047         (__vdso_time): Likewise.
11048         (__vdso_sigtramp_rt64): Likewise.
11049         (__vdso_signtramp32): Likewise.
11050         (__vdso_sigtramp_rt32): Likewise.
11051         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11052         Likewise.
11053         (__vdso_clock_gettime): Likewise.
11054         (__vdso_clock_getres): Likewise.
11055         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11056         Likewise.
11057         (__vdso_clock_gettime): Likewise.
11058         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11061         macro.
11062         (INTERNAL_VSYSCALL): Likewise.
11063         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11064         Remove macro.
11065         (INTERNAL_VSYSCALL): Likewise.
11066         (INTERNAL_VSYSCALL_NCS): Likewise.
11067         (INTERNAL_VSYSCALL_CALL): New macro.
11068         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11070         Likewise.
11071         (INTERNAL_VSYSCALL): Likewise.
11072         (INTERNAL_VSYSCALL_NCS): Likewise.
11073         (INTERNAL_VSYSCALL_CALL): New macro.
11074         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11076         (INLINE_VSYSCALL): Remove macro.
11077         (INTERNAL_VSYSCALL): Remove macro.
11078         (INTERNAL_VSYSCALL_NCS): Remove macro.
11079         (INTERNAL_VSYSCALL_CALL): New macro.
11080         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11081         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11082         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11083         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11084         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11086         (INLINE_VSYSCALL): Remove macro.
11087         (INTERNAL_VSYSCALL): Likewise.
11088         (INTERNAL_VSYSCALL_NCS): Likewise.
11089         (INTERNAL_VSYSCALL_CALL): New macro.
11090         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11091         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11092         PTR_DEMANGLE on vDSO pointer.
11093         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11094         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11095         macro.
11096         (INTERNAL_SYSCALL): Likewise.
11097         (INTERNAL_VSYSCALL_NCS): Remove macro.
11098         (INTERNAL_VSYSCALL_CALL): New macro.
11099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11100         Remove macro.
11101         (INTERNAL_VSYSCALL): Likewise.
11102         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11103         sysdep-vdso.h instead of libc-vdso.h.
11104         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11105         definition.
11106         (INLINE_VSYSCALL): Likewise.
11107         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11108         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11109         definition.
11110         (INLINE_VSYSCALL): Likewise.
11111         (INTERNAL_VSYSCALL): Likewise.
11112         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11113         * sysdeps/unix/sysv/linux/timespec_get.c
11114         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11115         (timespec_get): Use ANSI prototype.
11116         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11117         and definition for Linux.
11119 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11121         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11122         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11124 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11126         [BZ #2981]
11127         [BZ #18410]
11128         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11129         for missing DT_PLTRELSZ.
11131 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11133         Remove obsolete aliases that broke 'locale -a'
11134         [BZ #18412]
11135         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11136         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11137         breaking some applications that use 'locale -a' output.
11138         Change the encoding of this file from Latin-1 to ASCII to avoid
11139         other potential problems with people grepping this file.
11141 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11143         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11144         -fasynchronous-unwind-tables.
11145         (CFLAGS-sendto.c): Likewise.
11146         (CFLAGS-sendmsg.c): Likewise.
11147         (CFLAGS-connect.c): Likewise.
11148         (CFLAGS-recvmsg.c): Likewise.
11149         (CFLAGS-recvfrom.c): Likewise.
11150         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11151         (SOCKETCALL): New macro: non-cancellable socketcall.
11152         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11153         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11154         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11155         * sysdeps/unix/sysv/linux/accept.c: New file.
11156         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11157         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11158         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11159         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11160         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11161         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11162         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11163         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11164         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11165         * sysdeps/unix/sysv/linux/send.c: Likewise.
11166         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11167         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11168         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11169         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11170         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11171         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11172         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11173         prototype.
11174         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11175         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11176         instead of __internal_xxx function.
11177         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11178         prototype.
11179         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11180         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11181         instead of __internal_xxx function.
11182         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11183         prototype.
11184         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11185         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11186         instead of __internal_xxx function.
11187         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11188         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11189         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11190         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11191         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11192         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11193         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11194         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11195         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11196         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11197         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11198         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11199         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11200         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11201         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11202         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11203         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11204         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11205         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11206         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11209         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11210         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11211         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11212         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11213         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11214         * sysdeps/unix/sysv/linux/send.S: Likewise.
11215         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11216         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11217         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11218         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11219         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11220         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11221         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11222         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11223         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11224         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11225         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11226         socketcall is implemented in GLIBC.
11228 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11230         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11231         (__fma): Ignore uninitialized warnings around packing.
11232         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11233         (__fmaf): Ignore uninitialized warnings around packing.
11234         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11235         (__fmal): Ignore uninitialized warnings around packing.
11237         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11238         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11240         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11242         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11243         switch statement into default case.
11244         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11246         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11247         a conditional in forcing "inexact".
11248         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11249         Likewise.
11251 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11253         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11254         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11255         for each INTERNAL_SYSCALL use.
11257 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11259         [BZ #438]
11260         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11261         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11262         variable.
11264         [BZ #18444]
11265         * string/basename.c (basename): Rename to __basename and define as
11266         weak alias of __basename.  Use libc_hidden_weak.
11267         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11268         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11269         __basename instead of basename.
11270         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11271         Remove variable.
11272         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11274 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11276         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11277         (_IO_JUMPS_FILE_plus): New.
11278         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11279         _IO_CAST_FIELD_ACCESS.
11280         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11281         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11282         * libio/freopen.c (freopen): Likewise.
11283         * libio/freopen64.c (freopen64): Likewise.
11284         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11285         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11286         * libio/iofwide.c (_IO_fwide): Likewise.
11287         * libio/memstream.c (open_memstream): Likewise.
11288         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11289         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11290         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11292 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11294         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11295         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11296         NADJ.
11297         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11298         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11299         NADJ.
11300         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11301         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11302         NADJ.
11304         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11305         (p == 4) case.
11307         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11308         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11309         Remove variable.
11310         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11311         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11312         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11314 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11316         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11317         Adjust jump table label generation macros.
11319 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11321         * stdio-common/vfprintf.c (vfprintf): Move local variables
11322         args_malloced, specs, specs_malloced, and the code after
11323         do_positional to the printf_positional function.
11324         (printf_positional): New function.
11326 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11328         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11329         function.
11330         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11331         STEP4_TABLE, process_arg): Move macro definitions
11332         out of the vfprintf function.  (Cosmetic change only.)
11334 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11336         * benchtests/Makefile (stdio-common-bench): Define.
11337         (benchset): Add stdio-common-bench.
11338         * sprintf-inputs: New file.
11339         * sprintf-source.c: New file.
11341 2015-05-21  Andreas Schwab  <schwab@suse.de>
11343         [BZ #13028]
11344         [BZ #17053]
11345         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11346         of struct __res_state.
11347         * resolv/res_send.c (__libc_res_nsend): Likewise.
11348         (get_nsaddr): New function.
11349         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11350         statp directly.
11352 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11354         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11355         -D_POSIX_C_SOURCE=199506L.
11357         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11359         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11360         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11361         Do not mention otherwise.
11362         [POSIX] (_XOPEN_VERSION): Do not expect.
11363         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11364         [POSIX] (_POSIX2_C_BIND): Likewise.
11365         [POSIX] (_POSIX2_VERSION): Likewise.
11366         [POSIX] (_XOPEN_XPG2): Likewise.
11367         [POSIX] (_XOPEN_XPG3): Likewise.
11368         [POSIX] (_XOPEN_XPG4): Likewise.
11369         [POSIX] (_XOPEN_UNIX): Likewise.
11370         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11371         [POSIX] (_POSIX_BARRIERS): Likewise.
11372         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11373         [POSIX] (_POSIX_CPUTIME): Likewise.
11374         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11375         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11376         [POSIX] (_POSIX_SHELL): Likewise.
11377         [POSIX] (_POSIX_SPAWN): Likewise.
11378         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11379         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11380         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11381         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11382         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11383         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11384         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11385         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11386         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11387         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11388         [POSIX] (_POSIX2_PBS): Likewise.
11389         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11390         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11391         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11392         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11393         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11394         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11395         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11396         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11397         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11398         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11399         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11400         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11401         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11402         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11403         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11404         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11405         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11406         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11407         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11408         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11409         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11410         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11411         [POSIX] (_SC_2_C_BIND): Likewise.
11412         [POSIX] (_SC_2_C_VERSION): Likewise.
11413         [POSIX] (_SC_2_PBS): Likewise.
11414         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11415         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11416         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11417         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11418         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11419         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11420         [POSIX] (_SC_BARRIERS): Likewise.
11421         [POSIX] (_SC_BASE): Likewise.
11422         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11423         [POSIX] (_SC_DEVICE_IO): Likewise.
11424         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11425         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11426         [POSIX] (_SC_FD_MGMT): Likewise.
11427         [POSIX] (_SC_FIFO): Likewise.
11428         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11429         [POSIX] (_SC_FILE_LOCKING): Likewise.
11430         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11431         [POSIX] (_SC_IOV_MAX): Likewise.
11432         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11433         [POSIX] (_SC_NETWORKING): Likewise.
11434         [POSIX] (_SC_PAGE_SIZE): Likewise.
11435         [POSIX] (_SC_PASS_MAX): Likewise.
11436         [POSIX] (_SC_PIPE): Likewise.
11437         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11438         [POSIX] (_SC_REGEXP): Likewise.
11439         [POSIX] (_SC_SHELL): Likewise.
11440         [POSIX] (_SC_SIGNALS): Likewise.
11441         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11442         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11443         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11444         [POSIX] (_SC_USER_GROUPS): Likewise.
11445         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11446         [POSIX] (_SC_STREAMS): Likewise.
11447         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11448         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11449         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11450         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11451         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11452         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11453         [POSIX] (_PC_FILESIZEBITS): Likewise.
11454         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11455         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11456         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11457         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11458         [POSIX] (uid_t): Likewise.
11459         [POSIX] (gid_t): Likewise.
11460         [POSIX] (off_t): Likewise.
11461         [POSIX] (pid_t): Likewise.
11462         [POSIX] (cuserid): Allow.
11463         (_SC_2_CHAR_TERM): Require constant.
11464         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11465         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11466         variable.
11468 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11470         * sysdeps/nacl/pthread-pids.h: New file.
11471         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11472         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11474         * nptl/pthread-pids.h: New file.
11475         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11476         * nptl/nptl-init.c: Include <pthread-pids.h>.
11477         (__pthread_initialize_minimal_internal):
11478         Call __pthread_initialize_pids instead of set_tid_address syscall.
11480         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11481         * sysdeps/posix/usleep.c: ... here.
11483 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11485         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11486         call_pselect6 object.
11487         [$(subdir) = io]: Remove call_sync_file_range object.
11488         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11489         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11490         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11491         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11493 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11495         * math/s_cproj.c: Add include "math_private.h".
11496         * math/s_cprojf.c: Likewise.
11497         * math/s_cprojl.c: Likewise.
11499 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11501         [BZ #18244]
11502         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11503         high mantissa bit when testing whether P is a NaN.
11504         * math/libm-test.inc (remainder_test_data): Add more tests.
11505         (remquo_test_data): Likewise.
11507         [BZ #18049]
11508         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11509         below -32, return the argument, with underflow if subnormal.
11510         * math/auto-libm-test-in: Add more tests of atanh.
11511         * math/auto-libm-test-out: Regenerated.
11513 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11515         [BZ #18434]
11516         * nptl/tst-sem15.c: New file.
11517         * nptl/Makefile (tests): Add it.
11518         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11519         s/<</>>/ to fix typo in EOVERFLOW check.
11520         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11522 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11524         * manual/strings.texi (envz_remove): Fix typo in safety
11525         annotations.
11527 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11528             Steve Ellcey  <sellcey@imgtec.com>
11530         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11531         in order to avoid strict alias warnings.
11532         (iruserok_af): Ditto for ra.
11534 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11536         [BZ #17581]
11537         * malloc/hooks.c
11538         (magicbyte): Convert to a function and avoid returning 0x01.
11539         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11540         (mem2chunk_check): Fix unsigned comparisons to zero.
11541         Hoist defs of sz and magic.
11543 2015-05-19  Richard Henderson  <rth@redhat.com>
11545         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11547         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11549 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11551         [BZ #16159]
11552         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11553         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11554         (reused_arena): Find a non-corrupt arena.
11555         (heap_trim): Pass arena to unlink.
11556         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11557         malloc_printerr.
11558         (top_check): Likewise.
11559         (free_check): Likewise.
11560         (realloc_check): Likewise.
11561         * malloc/malloc.c (malloc_printerr): Add arena argument.
11562         (unlink): Likewise.
11563         (munmap_chunk): Adjust.
11564         (ARENA_CORRUPTION_BIT): New macro.
11565         (arena_is_corrupt): Likewise.
11566         (set_arena_corrupt): Likewise.
11567         (sysmalloc): Use mmap if there are no usable arenas.
11568         (_int_malloc): Likewise.
11569         (__libc_malloc): Don't fail if arena_get returns NULL.
11570         (_mid_memalign): Likewise.
11571         (__libc_calloc): Likewise.
11572         (__libc_realloc): Adjust for additional argument to
11573         malloc_printerr.
11574         (_int_free): Likewise.
11575         (malloc_consolidate): Likewise.
11576         (_int_realloc): Likewise.
11577         (_int_memalign): Don't touch corrupt arenas.
11578         * malloc/tst-malloc-backtrace.c: New test case.
11580         * Makefile (summarize-tests): Fix return value on success.
11582         * manual/string.texi (Envz Functions): Add envz_remove.
11584 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11586         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11587         (invalid_name): New function, broken out of ...
11588         (__opendirat): ... here.  Call it.
11589         (need_isdir_precheck): New function, broken out of ...
11590         (__opendirat): ... here.  Call it.
11591         Use __fxstatat64, not __xstatat64.
11592         (opendir_oflags): New function, broken out of ...
11593         (__opendirat): ... here.  Call it.
11594         (opendir_tail): New function, broken out of ...
11595         (__opendirat): ... here.  Call it.
11596         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11597         opendir_tail, rather than punting to __opendirat.
11598         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11600 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11602         * .gitignore: Ignore generated *.pyc.
11604 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11606         * include/stdio.h: Define __need_wint_t.
11607         * test-skeleton.c: Avoid `for' loop initial declaration.
11608         * nptl/tst-initializers1.c: Use test-skeleton.c.
11610 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11612         [BZ #18418]
11613         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11615 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11617         [BZ #16352]
11618         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11619         (__ieee754_atanh): Force underflow exception for results with
11620         small absolute value.
11621         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11622         (__ieee754_atanhf): Force underflow exception for results with
11623         small absolute value.
11624         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11625         (__ieee754_atanh): Force underflow exception for results with
11626         small absolute value.
11627         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11628         (__ieee754_atanhf): Force underflow exception for results with
11629         small absolute value.
11630         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11631         (__ieee754_atanhl): Force underflow exception for results with
11632         small absolute value.
11633         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11634         (__ieee754_atanhl): Force underflow exception for results with
11635         small absolute value.
11636         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11637         (__ieee754_atanhl): Force underflow exception for results with
11638         small absolute value.
11639         * math/auto-libm-test-in: Do not allow missing underflow
11640         exceptions from atanh.
11641         * math/auto-libm-test-out: Regenerated.
11643         [BZ #18221]
11644         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11645         2**-28 as threshold for returning x or +/- 1/x.
11646         * math/auto-libm-test-in: Add more tests of tan.
11647         * math/auto-libm-test-out: Regenerated.
11649         [BZ #18220]
11650         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11651         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11652         * math/auto-libm-test-in: Add another test of lgamma.
11653         * math/auto-libm-test-out: Regenerated.
11655 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11657         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11658         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11659         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11660         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11661         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11662         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11663         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11666         (log1): Use fabs.  (my_log2): Use fabs.
11667         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11668         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11670         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11672         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11673         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11674         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11675         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11676         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11677         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11679 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #18217]
11682         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11683         as threshold for returning 1 - x.
11684         * math/auto-libm-test-in: Add more tests of erfc.
11685         * math/auto-libm-test-out: Regenerated.
11687 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11689         [BZ #18196]
11690         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11691         threshold for large arguments.
11692         * math/auto-libm-test-in: Add another test of atan.
11693         * math/auto-libm-test-out: Regenerated.
11695         [BZ #16339]
11696         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11697         (__log1p): Force underflow exception for results with small
11698         absolute value.
11699         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11700         (__log1pf): Force underflow exception for results with small
11701         absolute value.
11702         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11703         (__log1p): Force underflow exception for results with small
11704         absolute value.
11705         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11706         (__log1pf): Force underflow exception for results with small
11707         absolute value.
11708         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11709         (__log1pl): Force underflow exception for results with small
11710         absolute value.
11711         * math/auto-libm-test-in: Do not allow missing underflow
11712         exceptions from log1p.
11713         * math/auto-libm-test-out: Regenerated.
11715 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11716             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11718         [BZ #16704]
11719         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11721 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11723         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11724         (libmvec): New variable.
11725         * configure.ac: Added option for mathvec build.
11726         * configure: Regenerated.
11727         * mathvec/Depend: New file.
11728         * mathvec/Makefile: New file.
11729         * shlib-versions: Added libmvec.
11730         * math/Makefile: Added rule for libm.so installation.
11732         * bits/math-vector.h: New file.
11733         * bits/libm-simd-decl-stubs.h: New header.
11734         * math/Makefile (headers): Added new header
11735         libm-simd-decl-stubs.h.
11736         * math/math.h (__MATHCALL_VEC): New macro.
11738         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11739         for conditions in testing functions.
11740         * math/Makefile: Added call of libm-have-vector-test.sh.
11741         * math/libm-test.inc (HAVE_VECTOR): New macros.
11743         * math/libm-test.inc: START refactored.
11744         * math/test-double.c (TEST_MATHVEC): Add define.
11745         * math/test-float.c: Likewise.
11746         * math/test-idouble.c: Likewise.
11747         * math/test-ifloat.c: Likewise.
11748         * math/test-ildoubl.c: Likewise.
11749         * math/test-ldouble.c: Likewise.
11750         * sysdeps/generic/math-tests-arch.h
11751         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11752         architecture check.
11754         * math/test-double.c (FUNC_TEST): New macro.
11755         * math/test-float.c: Likewise.
11756         * math/test-idouble.c: Likewise.
11757         * math/test-ifloat.c: Likewise.
11758         * math/test-ildoubl.c: Likewise.
11759         * math/test-ldouble.c: Likewise.
11760         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11762 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11764         * sysdeps/nacl/fdopendir.c: New file.
11766         * dirent/scandir-tail.c: New file.
11767         * dirent/scandir64-tail.c: New file.
11768         * dirent/Makefile (routines): Add them.
11769         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11770         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11771         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11772         [!SCANDIR] (SCANDIR_TAIL): New macro.
11773         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11774         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11775         (SCANDIRAT): Macro removed.
11776         (SCANDIR_TAIL): New macro.
11777         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11778         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11779         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11780         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11781         (READDIR): Macro removed.
11782         (SCANDIR_TAIL): New macro.
11783         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11784         (SCANDIR_TAIL): New macro.
11786         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11787         * dirent/scandir-cancel.c: ... to this new file.
11788         * dirent/Makefile (routines): Add it.
11789         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11790         * sysdeps/unix/sysv/linux/i386/scandir64.c
11791         (SKIP_SCANDIR_CANCEL): Macro removed.
11792         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11794         * dirent/tst-scandir.c: New file.
11795         * dirent/tst-scandir64.c: New file.
11796         * dirent/Makefile (tests): Add them.
11798 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11800         [BZ #18409]
11801         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11803 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11805         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11806         list.
11808 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11810         * benchtests/bench-strcoll.c: New benchmark.
11811         * benchtests/Makefile: Generate locales and run benchmark.
11812         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11813         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11814         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11815         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11816         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11817         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11818         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11819         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11820         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11821         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11822         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11823         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11824         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11825         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11826         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11827         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11828         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11829         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11830         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11831         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11832         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11833         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11834         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11835         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11837 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11839         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11840         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11842 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11844         * posix/uname-values.h: New file.
11845         * posix/uname.c: Include that instead of <config-name.h>.
11846         * sysdeps/nacl/uname-values.h: New file.
11847         * sysdeps/arm/nacl/uname-values.h: New file.
11849 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11851         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11852         splitting into fields.
11854 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11856         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11857         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11858         * locale/localeinfo.h: Add enum collation_encoding_type.
11859         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11860         * programs/ld-collate.c (collate_output): Add encoding type info.
11861         * string/strcoll_l.c (STRDIFF): New function.
11862         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11863         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11865 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11867         [BZ #18397]
11868         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11869         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11870         <fpu_control.h> instead of <math/fpu_control.c>.
11871         * sysdeps/mips/mips32/fpu/Makefile: New file.
11873 2015-05-11  Andreas Schwab  <schwab@suse.de>
11875         [BZ #18007]
11876         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11877         nss_endgrent.
11878         (_nss_compat_endgrent): Call nss_endgrent.
11879         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11880         nss_endpwent.
11881         (_nss_compat_endpwent): Call nss_endpwent.
11882         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11883         needent, call nss_setspent only if non-zero.
11884         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11885         (internal_endspent): Don't call nss_endspent.
11886         (_nss_compat_endspent): Call nss_endspent.
11887         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11888         Remove.  All uses removed.
11889         (internal_setent): Remove parameter stayopen, add parameter
11890         stream.  Use it instead of global variable.
11891         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11892         (internal_endent, internal_getent): Add parameter stream.  Use it
11893         instead of global variable.
11894         (CONCAT(_nss_files_end,ENTNAME))
11895         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11896         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11897         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11898         uses removed.
11899         (internal_setent, internal_endent): Add parameter stream.  Use it
11900         instead of global variable.
11901         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11902         stream.
11903         (get_next_alias): Add parameter stream.
11904         (_nss_files_getaliasent_r): Pass global stream.
11905         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11906         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11907         (_nss_files_gethostbyname4_r): Pass local stream to
11908         internal_setent, internal_getent and internal_endent.  Remove
11909         locking.
11911 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11913         * tst-strfmon1.c (tests): Update expected currency symbol.
11915 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11917         * sysdeps/nacl/gethostname.c: New file.
11919 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11921         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11922         and sinh.
11923         * math/auto-libm-test-out: Regenerated.
11924         * sysdeps/i386/fpu/libm-test-ulps: Update.
11925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11927 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11929         [BZ #18125]
11930         * stdlib/tst-setcontext3.c: New file.
11931         * stdlib/tst-setcontext3.sh: New file.
11932         * stdlib/Makefile (tests): Add tst-setcontext3.
11933         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11934         to verify test program created output file.
11935         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11936         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11937         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11938         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11940 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11942         [BZ #18383]
11943         * elf/tst-tlsalign.c: New file.
11944         * elf/tst-tlsalign-static.c: New file.
11945         * elf/tst-tlsalign-lib.c: New file.
11946         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11947         (tests-static): Add tst-tlsalign-static.
11948         (modules-names): Add tst-tlsalign-lib.
11949         (test-xfail-tst-tlsalign): New variable.
11950         (test-xfail-tst-tlsalign-static): New variable.
11952         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11953         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11955 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11957         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11958         csqrt, erfc, sin and sincos.
11959         * math/auto-libm-test-out: Regenerated.
11960         * sysdeps/i386/fpu/libm-test-ulps: Update.
11961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11963 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11965         * sysdeps/aarch64/libm-test-ulps: Update.
11967 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11969         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11970         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11971         * math/auto-libm-test-out: Regenerated.
11972         * sysdeps/i386/fpu/libm-test-ulps: Update.
11973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11975 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11977         [BZ #18265]
11978         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11979         (wcsncpy): Likewise.
11981 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11983         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11984         Assume __ASSUME_FALLOCATE is always true.
11985         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11986         (__posix_fallocate64_l64): Likweise.
11987         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11988         (posix_fallocate): Likewise.
11989         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11990         (__posix_fallocate64_l64): Likewise.
11991         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11992         [!__ASSUME_FALLOCATE]: Add comment.
11994 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11996         * sysdeps/unix/sysv/linux/i386/Makefile
11997         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11998         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11999         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12000         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12001         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12002         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12003         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12005 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12007         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12008         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12009         tgamma.
12010         * math/auto-libm-test-out: Regenerated.
12011         * sysdeps/i386/fpu/libm-test-ulps: Update.
12012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12014 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12016         * math/auto-libm-test-in: Add more tests of tgamma.
12017         * math/auto-libm-test-out: Regenerated.
12018         * sysdeps/i386/fpu/libm-test-ulps: Update.
12019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12021         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12032         * math/auto-libm-test-out: Regenerated.
12033         * sysdeps/i386/fpu/libm-test-ulps: Update.
12034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036         * math/auto-libm-test-in: Add another test of pow.
12037         * math/auto-libm-test-out: Regenerated.
12038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12040         * math/auto-libm-test-in: Add more tests of lgamma.
12041         * math/auto-libm-test-out: Regenerated.
12042         * sysdeps/i386/fpu/libm-test-ulps: Update.
12043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12045         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12046         log1p.
12047         * math/auto-libm-test-out: Regenerated.
12048         * sysdeps/i386/fpu/libm-test-ulps: Update.
12049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12053         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12054         Elf64_Chdr structs and ELFCOMPRESS constants.
12056 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12058         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12059         expm1.
12060         * math/auto-libm-test-out: Regenerated.
12061         * sysdeps/i386/fpu/libm-test-ulps: Update.
12062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12064         * math/auto-libm-test-in: Add more tests of erf and erfc.
12065         * math/auto-libm-test-out: Regenerated.
12066         * sysdeps/i386/fpu/libm-test-ulps: Update.
12067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12071         * config.h.in (HAVE_AARCH64_BE): Add.
12073 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12075         * math/auto-libm-test-in: Add more tests of csqrt.
12076         * math/auto-libm-test-out: Regenerated.
12077         * sysdeps/i386/fpu/libm-test-ulps: Update.
12078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12081         * math/auto-libm-test-out: Regenerated.
12082         * sysdeps/i386/fpu/libm-test-ulps: Update.
12083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12085         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12087 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12089         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12090         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12092         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12093         (euidaccess, eaccess): Define as weak aliases.
12095         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12096         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12097         but __suseconds_t is often 'long int' so some sources assume that
12098         type is being used (e.g. they use %ld to print tv_usec).
12100 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12102         [BZ #18007]
12103         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12104         (CVE-2014-8121)
12105         * nss/tst-nss-getpwent.c: New file.
12106         * nss/Makefile (tests): Add new test.
12108 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12110         [BZ #18346]
12111         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12112         exponents less than 48 as cases where high part of mantissa needs
12113         examining to determine whether argument is integral.
12114         * math/libm-test.inc (round_test_data): Add more tests.
12116 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12118         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12120 2015-04-27  David S. Miller  <davem@davemloft.net>
12122         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12123         __tls_get_addr.
12124         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12126 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12128         [BZ#18333]
12129         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12131 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12133         [BZ#18333]
12134         * time/tzset.c (parse_tzname): Return error on memory allocation
12135         failure.
12136         * test-skeleton.c (struct temp_name_list): Change type of name
12137         member to non-const.
12138         (add_temp_file): Create a copy of the file name.
12139         (delete_temp_files): Deallocate memory.
12140         (create_temp_file): Add comment.
12142 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12144         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12145         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12147 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12149         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12150         * sysdeps/arm/configure: Regenerated.
12152 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12154         [BZ #17715]
12155         * time/tzfile.c (__tzfile_read): Check for large values of
12156         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12157         * time/tzset.c (__tzstring_len): New function, based on the old
12158         __tzstring function.
12159         (__tzstring): Call __tzstring_len.
12160         (parse_tzname): New helper function extracted from
12161         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12162         the input string.
12163         (parse_offset): New helper function extracted from
12164         __tzset_parse_tz.  Replace switch with fallthrough with
12165         initialization before sscanf.
12166         (parse_rule): Likewise.
12167         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12168         new-style function definition.
12169         * timezone/Makefile (tests): Add tst-tzset.
12170         (tst-tzset.out): Dependencies on time zone files.
12171         (tst-tzset-ENV): Set TZDIR.
12172         (testdata/XT%): Copy crafted time zone files.
12173         * timezone/README: Mention crafted time zone files.
12174         * timezone/testdata/XT1, timezone/testdata/XT2,
12175         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12176         files.
12177         * timezone/tst-tzset.c: New test.
12179 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12181         * Makeconfig (+gccwarn): Remove -Winline.
12183 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12185         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12187 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12189         * NEWS: Mention sysconf() cache information support for s390.
12190         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12192 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12194         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12195         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12196         (__nearbyint): Likewise.
12197         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12198         (copysignl): Likewise.
12200 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12202         [BZ #18287]
12203         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12204         based on padding.  (CVE-2015-1781)
12206 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12208         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12209         libc-vdso.h.
12210         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12211         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12212         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12213         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12214         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12215         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12216         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12218         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12219         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12220         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12221         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12222         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12223         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12224         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12225         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12226         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12228         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12229         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12230         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12231         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12232         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12234 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12236         * stdlib/setenv.c (__add_to_environ):
12237         Dump core quickly if setenv (..., NULL, ...) is called.
12238         This time, do it the right way, and pacify GCC with a pragma.
12240 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12242         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12243         IMAP->l_prev cannot be null, and #if out the code for the contrary
12244         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12245         believe that NS (&_dl_ns[NSID]) could point outside the array.
12247         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12248         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12249         before using NSID as an index.
12251 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12253         [BZ #17825]
12254         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12255         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12256         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12258 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12260         Add preliminary port to Google Native Client on ARM.
12261         * abi-tags (.*-.*-nacl.*): New entry.
12262         * sysdeps/arm/nacl: New directory.
12263         * sysdeps/nacl: New directory.
12265 2015-04-16  David S. Miller  <davem@davemloft.net>
12267         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12268         lowlevellock-futex.h
12270 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12272         * sysdeps/tile/configure.ac: New file.
12273         * sysdeps/tile/configure: Regenerated.
12275 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12277         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12278         conditionals for weak_alias and libc_hidden_weak.
12279         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12280         libc_hidden_weak and weak_alias.
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12282         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12283         and weak_alias for static one.
12285 2015-04-15  David S. Miller  <davem@davemloft.net>
12287         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12289 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12291         [BZ #18206]
12292         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12293           Use signed comparision instead of substraction to avoid
12294           overflow bug.
12295         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12296           Take the sign of ret.
12297         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12298           Do not expect precise return values. Only the sign matters.
12299         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12300         * wcsmbs/test-wcsncmp.c: New File.
12301         * string/test-strncmp.c: Add wcsncmp support.
12303 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12305         [BZ #6792]
12306         * math/w_log1p.c: New file.
12307         * math/w_log1pf.c: Likewise.
12308         * math/w_log1pl.c: Likewise.
12309         * math/Makefile (libm-calls): Add w_log1p.
12310         * math/s_log1pl.c (log1pl): Remove weak_alias.
12311         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12312         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12313         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12314         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12315         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12316         [NO_LONG_DOUBLE] (log1pl): Likewise.
12317         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12318         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12319         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12320         (log1p): Remove long_double_symbol.
12321         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12322         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12323         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12324         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12325         remove weak_alias for corresponding log1p function.
12326         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12327         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12328         * sysdeps/ia64/fpu/w_log1p.c: New file.
12329         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12330         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12331         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12333 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12335         [BZ #18247]
12336         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12337         decimal exponent by 1.
12338         * stdlib/tst-strtod-round-data: Add more tests.
12339         * stdlib/tst-strtod-round.c (tests): Regenerated.
12341 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12343         * math/auto-libm-test-in: Add more tests of clog and clog10.
12344         * math/auto-libm-test-out: Regenerated.
12345         * sysdeps/i386/fpu/libm-test-ulps: Update.
12346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12348 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12350         * Makeconfig (module-cppflags): Exclude all .v.i files.
12351         (skip-module-cppflags): Variable removed.
12353         * configure.ac (libc_config_ok): Initialize before reading
12354         preconfigure scripts, not after.
12355         * configure: Regenerated.
12357         * test-skeleton.c (TIMEOUT): Move #define to top level.
12358         (main): Grok environment variable TEST_DIRECT.  If set, print
12359         test expectation details into that file and then behave as if
12360         given --direct.
12362 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12364         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12365         warning on 32-bit.
12367 2015-04-08  David S. Miller  <davem@davemloft.net>
12369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12371 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12373         * math/auto-libm-test-in: Add more tests of atanh.
12374         * math/auto-libm-test-out: Regenerated.
12375         * sysdeps/i386/fpu/libm-test-ulps: Update.
12376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12378         * math/auto-libm-test-in: Add more tests of atan.
12379         * math/auto-libm-test-out: Regenerated.
12380         * sysdeps/i386/fpu/libm-test-ulps: Update.
12381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12385         * elf/pldd.c (main): Rewrite to use struct
12386         scratch_buffer instead of extend_alloca.
12387         * elf/pldd-xx.c (find_maps): Likewise.
12388         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12389         <alloca.h>.
12390         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12391         scratch_buffer instead of extend_alloca.
12392         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12393         grp/compat-initgroups.c.
12394         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12395         Rewrite to use struct scratch_buffer instead of extend_alloca.
12396         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12397         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12399 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12401         * math/auto-libm-test-in: Add more tests of cbrt.
12402         * math/auto-libm-test-out: Regenerated.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12405         * math/auto-libm-test-in: Add more tests of cabs.
12406         * math/auto-libm-test-out: Regenerated.
12407         * sysdeps/i386/fpu/libm-test-ulps: Update.
12408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410         [BZ #18210]
12411         [BZ #18211]
12412         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12413         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12414         computations.
12415         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12416         clog10.
12417         * math/auto-libm-test-out: Regenerated.
12418         * sysdeps/i386/fpu/libm-test-ulps: Update.
12419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12421         [BZ #18197]
12422         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12423         (atan): Set FE_TONEAREST mode for internal computations.
12424         * math/auto-libm-test-in: Add more tests of atan.
12425         * math/auto-libm-test-out: Regenerated.
12427 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12429         [BZ #17930]
12430         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12432 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12434         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12436 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12438         * include/scratch_buffer.h: New file.
12439         * malloc/scratch_buffer_grow.c: Likewise.
12440         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12441         * malloc/scratch_buffer_set_array_size.c: Likewise.
12442         * malloc/tst-scratch_buffer.c: Likewise.
12443         * malloc/Makefile (routines): Add scratch_buffer_grow.
12444         (tests): Add test case.
12445         * malloc/Versions (GLIBC_PRIVATE): Export
12446         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12447         __libc_scratch_buffer_set_array_size.
12449 2015-04-06  Richard Henderson  <rth@redhat.com>
12451         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12452         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12454         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12455         unsigned int before printing.
12457 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12459         [BZ #17596]
12460         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12461         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12463 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12465         * include/libc-internal.h (libc_max_align_t): Define.
12467 2015-04-02  Andreas Schwab  <schwab@suse.de>
12469         [BZ #16850]
12470         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12472 2015-04-02  Mel Gorman  <mgorman@suse.de>
12474         [BZ #17195]
12475         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12476         as well as the main arena.
12478 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12480         [BZ #18185]
12481         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12482         sharing L2 cache to 2 for Silvermont/Knights Landing.
12484 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12486         [BZ #17711]
12487         * config.make.in (have-protected-data): New.
12488         * configure.ac: Check linker support for protected data symbol.
12489         * configure: Regenerated.
12490         * elf/Makefile (modules-names): Add tst-protected1moda and
12491         tst-protected1modb if $(have-protected-data) is yes.
12492         (tests): Add tst-protected1a and tst-protected1b if
12493         $(have-protected-data) is yes.
12494         ($(objpfx)tst-protected1a): New.
12495         ($(objpfx)tst-protected1b): Likewise.
12496         (tst-protected1modb.so-no-z-defs): Likewise.
12497         * elf/tst-protected1a.c: New file.
12498         * elf/tst-protected1b.c: Likewise.
12499         * elf/tst-protected1mod.h: Likewise.
12500         * elf/tst-protected1moda.c: Likewise.
12501         * elf/tst-protected1modb.c: Likewise.
12503 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12505         [BZ #17711]
12506         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12507         indicates it is called from do_lookup_x on relocation against
12508         protected data, skip the data definion in the executable from
12509         copy reloc.
12510         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12511         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12512         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12513         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12514         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12515         otherwise to 0.
12516         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12517         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12518         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12519         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12520         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12521         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12523 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12525         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12526         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12528 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12530         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12531         THREAD_SETMEM_NC.
12532         * sysdeps/x86_64/nptl/tls.h: Ditto.
12534 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12536         * dlfcn/tststatic.c (main): Converted to ...
12537         (do_test): ... this.
12538         (TEST_FUNCTION): New macro.
12539         Include test-skeleton.c.
12541 2015-03-26  Alan Modra  <amodra@gmail.com>
12543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12544         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12545         zero for undefined weak.
12546         (elf_machine_plt_conflict): Similarly.
12548 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12550         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12551         atanh.
12552         * math/auto-libm-test-out: Regenerated.
12553         * sysdeps/i386/fpu/libm-test-ulps: Update.
12554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556         * math/auto-libm-test-in: Add another test of asin.
12557         * math/auto-libm-test-out: Regenerated.
12558         * sysdeps/i386/fpu/libm-test-ulps: Update.
12559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12561         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12562         Remove macro.
12563         (LLL_EBX_REG): Likewise.
12564         (LLL_ENTER_KERNEL): Likewise.
12566         * math/auto-libm-test-in: Add more tests of asin.
12567         * math/auto-libm-test-out: Regenerated.
12568         * sysdeps/i386/fpu/libm-test-ulps: Update.
12569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12571         [BZ #18138]
12572         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12573         libc_do_syscall_args): New structure.
12574         (INTERNAL_SYSCALL_MAIN_0): New macro.
12575         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12576         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12577         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12578         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12579         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12580         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12581         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12582         Replace conditional definitions by conditional definitions of ....
12583         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12584         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12585         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12586         (libpthread-sysdep_routines): Add libc-do-syscall.
12587         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12588         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12589         to __NR_futex not 240.
12591 2015-03-25  Alan Modra  <amodra@gmail.com>
12593         * NEWS: Advertise TLS optimization.
12594         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12595         (DT_PPC_NUM): Increment.
12596         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12597         (CHECK_STATIC_TLS): Use here.
12598         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12599         TLS descriptors.
12600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12601         * sysdeps/powerpc/dl-tls.c: New file.
12602         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12603         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12604         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12605         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12610 2015-03-25  Alan Modra  <amodra@gmail.com>
12612         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12613         for overlapping .opd entries" to "support...".
12614         * sysdeps/powerpc/powerpc64/configure: Regenerate
12616 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12618         * math/auto-libm-test-in: Add more tests of acos.
12619         * math/auto-libm-test-out: Regenerated.
12620         * sysdeps/i386/fpu/libm-test-ulps: Update.
12621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12623         * math/auto-libm-test-in: Add more tests of expm1.
12624         * math/auto-libm-test-out: Regenerated.
12625         * sysdeps/i386/fpu/libm-test-ulps: Update.
12626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12628 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12630         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12631         * math/auto-libm-test-out: Regenerated.
12632         * sysdeps/i386/fpu/libm-test-ulps: Update.
12633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12635         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638         * math/auto-libm-test-in: Add more tests of log2.
12639         * math/auto-libm-test-out: Regenerated.
12640         * sysdeps/i386/fpu/libm-test-ulps: Update.
12641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12643 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12645         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12646         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12647         _IO_IS_APPENDING bit in READ_WRITE instead.
12649 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12651         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12652         (__determine_cpumask_size): Replace extend_alloca with a
12653         variable-length array.  Do not treat res == 0 as an error.
12655 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12657         [BZ #18100]
12658         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12659         and integer overflow.
12660         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12661         (main): Add integer overflow tests.
12662         * manual/pattern.texi (Calling Wordexp): Document additional use
12663         for WRDE_SYNTAX.
12665 2015-03-23  Alan Modra  <amodra@gmail.com>
12667         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12668         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12669         and false branch of conditional.
12670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12671         Likewise.
12673 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12675         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12676         libc-modules.h
12677         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12678         unused declaration of _hurd_intr_rpc_msg_in_trap.
12679         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12680         defined instead of whether it is non-zero.
12681         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12682         input constraint instead of both input and output constraint.  Use ecx
12683         clobber instead of %ecx.
12684         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12685         mutex_unlock): Use a statement expression instead of an expression list.
12686         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12687         type to vm_size_t instead of vm_address_t.
12688         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12689         defined instead of whether it is non-zero.
12690         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12691         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12692         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12693         comparisons with mapaddr.
12694         * nscd/nscd-client.h: Include <time.h>.
12695         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12696         9th parameter to __vm_region instead of int.
12697         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12698         * scripts/check-local-headers.sh (exclude): Add device/,
12699         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12700         cthreads.h.
12702 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12704         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12705         to account for alignment padding.
12706         * sysdeps/arm/memmove.S: Likewise.
12708 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12710         * sysdeps/unix/sysv/linux/generic/README: New file.
12712 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12714         [BZ #18138]
12715         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12716         (futex_abstimed_wait)
12717         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12718         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12719         of lll_futex_timed_wait.
12721 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12723         [BZ #17542]
12724         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12726 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12728         [BZ #17090]
12729         [BZ #17620]
12730         [BZ #17621]
12731         [BZ #17628]
12732         * NEWS: Update.
12733         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12734         entries with Static TLS too.  Skip entries past the end of the
12735         allocated DTV, from Alan Modra.
12736         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12737         Static TLS DTV entry set up from...
12738         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12739         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12740         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12741         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12742         for Static TLS.
12743         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12744         that the slot we find is associated with the given map before
12745         using its generation count.
12746         * nptl_db/db_info.c: Include ldsodefs.h.
12747         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12748         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12749         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12750         (link_map::l_tls_offset): New struct field.
12751         (dtv_t::counter): Likewise.
12752         (rtld_global): New struct.
12753         (_rtld_global): New rtld variable.
12754         (dl_tls_dtv_slotinfo_list): New rtld global field.
12755         (dtv_slotinfo_list): New struct.
12756         (dtv_slotinfo): Likewise.
12757         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12758         (td_lookup): Rename to...
12759         (td_mod_lookup): ... this.  Use new mod parameter instead of
12760         LIBPTHREAD_SO.
12761         * nptl_db/td_thr_tlsbase.c: Include link.h.
12762         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12763         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12764         addresses even if the DTV is out of date or missing them.
12765         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12766         index zero-length arrays.
12767         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12768         (td_lookup): Make it a macro implemented in terms of...
12769         (td_mod_lookup): ... this declaration.
12770         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12771         (DB_MAIN_VARIABLE): Likewise.
12773 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12775         [BZ #18134]
12776         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12778 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12780         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12782 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12784         [BZ #18128]
12785         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12786         (atomic_add, atomic_increment_and_test)
12787         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12789 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12791         * stdlib/setenv.c (__add_to_environ):
12792         Dump core quickly if setenv (..., NULL, ...) is called.
12794 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12796         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12797         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12798         all the necessary asm magic in one place.
12799         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12800         using those.
12802 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12804         [BZ #14906]
12805         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12806         traced file mtime. Use consistent log message.
12807         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12808         (register_traced_file): Call install_watches. Always set mtime.
12809         (invalidate_cache): Iterate over all trace files. Call install_watches.
12810         (inotify_check_files): Don't inline. Handle watching parent
12811         directories and configuration file movement in and out.
12812         (handle_inotify_events): New function.
12813         (main_loop_poll): Call handle_inotify_events.
12814         (main_loop_epoll): Likewise.
12815         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12816         (struct traced_file): Use array of inotify fds. Add parent directory,
12817         and basename.
12818         (struct database_dyn): Remove unused file_mtime.
12819         (init_traced_file): New inline function.
12820         (define_traced_file): New macro.
12821         * nss/nss_db/db-init.c: Use define_traced_file.
12822         (_nss_db_init): Use init_traced_file.
12823         * nss/nss_files/files-init.c: Use define_traced_file.
12824         (_nss_files_init): Use init_traced_file.
12826 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12828         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12829         [_LIBC]: Do not include <stdlib.h>.
12830         [!_LIBC] (abort): Remove declaration.
12831         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12832         _FP_STATIC_ASSERT instead of conditionally calling abort.
12833         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12834         (_FP_EXTEND_CNAN): Likewise.
12835         (FP_TRUNC): Likewise.
12836         (__FP_CLZ): Likewise.
12837         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12839 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12841         * manual/string.texi (XPG basename): Fix prototype.
12843 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12845         [BZ #18080]
12846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12847         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12848         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12849         (__setcontext): Likewise.
12850         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12851         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12852         Call rt_sigprocmask syscall one time to set new signal mask
12853         and retrieve the current signal mask instead of two calls.
12854         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12855         (__swapcontext): Likewise.
12856         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12857         * stdlib/tst-setcontext2.c: New file.
12859 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12861         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12863 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12865         [BZ #18093]
12866         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12867         the wrong size.
12869 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12871         [BZ #18043]
12872         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12874 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12876         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12877         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12878         Remove define.
12879         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12880         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12881         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12882         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12883         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12884         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12885         define.
12886         * nptl_db/td_symbol_list.c (td_lookup): Remove
12887         HAVE_ASM_GLOBAL_DOT_NAME code.
12888         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12889         HAVE_ASM_GLOBAL_DOT_NAME check.
12890         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12891         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12892         (DOT_LABEL): Remove define.
12893         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12894         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12895         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12896         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12897         (__TLS_GET_ADDR): Likewise.
12898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12899         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12901 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12903         [BZ #18111]
12904         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12905         (_FPU_SETCW): Initialize cw from fpsr before storing.
12906         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12907         (fesetexceptflag): Rewrite using fpu_control.h.
12908         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12910 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12912         [BZ #18110]
12913         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12914         asms.
12915         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12917 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12919         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12920         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12921         abort.
12922         (_FP_FMA): Likewise.
12923         (_FP_DIV): Likewise.
12925 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12927         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12928         with 0 in that case.
12929         * Makefile (summarize-tests): New canned sequence, factored out of
12930         commands for targets tests and xtests.  Display summary lines that
12931         don't start with PASS: or XFAIL: rather than ones that do start with
12932         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12933         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12934         do start with ERROR: or FAIL:.
12935         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12936         (except for [$(build-shared) = yes]).
12937         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12938         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12939         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12940         * nptl/Makefile: Revert 2015-03-04 changes.
12941         [$(CXX) empty] (tests-unsupported): New variable.
12942         * debug/Makefile: Likewise.
12944         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12945         gnulib file.  Replace __attribute with __attribute__ throughout.
12947 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12949         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12951 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12953         [BZ #18104]
12954         * math/auto-libm-test-in: Add another test of pow.
12955         * math/auto-libm-test-out: Regenerated.
12957 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12959         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12960         $(config-cflags-nofma).
12962 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12964         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12965         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12966         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12967         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12968         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12969         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12970         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12971         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12972         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12973         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12974         Add comment on closing #endif.
12976 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12978         * posix/wordexp.c (CHAR_IN_SET): New macro.
12979         (parse_param): Use it.
12981 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12983         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12985 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12987         [BZ #18043]
12988         * posix/wordexp.c (parse_param): Fix buffer overflow.
12989         * posix/wordexp-test.c (test_case): Add test case.
12991 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12993         [BZ #18042]
12994         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12995         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12997 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12999         [BZ #18043]
13000         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13001         (do_bz18043): Delete.
13002         (at_page_end): New.
13003         (testit): Refactor to have words at the edge of unreadable page.
13005 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13007         [BZ #16734]
13008         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13009         Cleanup read-only streams as well.
13010         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13012 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13014         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13015         <bits/libc-lockP.h>
13017 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13019         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13020         on [__KERNEL__].
13021         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13022         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13023         * soft-fp/op-common.h (_FP_DECL): Likewise.
13025 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13027         * elf/ifuncdep2.c (global): Replace
13028         __attribute__((visibility("protected"))) with
13029         asm (".protected global").
13030         * elf/ifuncmod1.c (global): Likewise.
13031         * elf/ifuncmod5.c (global): Likewise.
13033 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13035         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13036         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13038 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13040         * manual/install.texi (Configuring and compiling):
13041         Document test-wrapper-env-only.
13042         * INSTALL: Regenerated.
13044 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13046         [BZ #18043]
13047         * posix/wordexp.c (parse_param): Fix buffer overflow.
13048         * posix/wordexp-test.c (do_bz18043): Add test case.
13050 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13052         * time/tst-strptime2.c (do_test): Ensure failing tests are
13053         reported correctly.
13054         * time/tst-strptime3.c (do_test): Likewise.
13056 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13058         Fix aio_error thread-safety.
13059         * sysdeps/pthread/aio_error.c: New file
13060         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13061         synchronization.
13063 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13065         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13066         (group_number, vfprintf): Use it.
13067         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13068         (JUMP, REF): Use it.
13069         (WORK_BUFFER_SIZE): New enum constant.
13070         (process_arg, vfprintf): Use it.
13072 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13074         * manual/errno.texi (Error Messages): Complete example function
13075         by adding missing #define.
13076         (program_invocation_name): Add statement indicating GNU
13077         extension and reference which header file declares the variable.
13078         (program_invocation_short_name): Likewise.
13080 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13082         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13083         compatibility note.
13085 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13087         * Makeconfig (test-wrapper-env-only): New variable.
13088         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13089         then use that with $(test-wrapper-env-only) rather than using
13090         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13092 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13094         [BZ #18082]
13095         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13096         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13097         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13098         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13099         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13100         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13101         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13102         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13103         Likewise.
13104         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13105         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13106         Likewise.
13107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13108         Likewise.
13109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13110         Likewise.
13111         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13112         Likewise.
13113         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13114         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13115         Likewise.
13116         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13117         Likewise.
13118         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13119         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13121 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13123         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13124         (ETH_ALEN): New macro.
13125         (struct ether_addr): Use it for length of ether_addr_octet.
13127         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13128         (setdb): Don't call __nss_configure_lookup for "rpc".
13129         (do_test): Don't call test_rpc.
13130         (output_rpcent, test_rpc): Functions moved ...
13131         * sunrpc/test-rpcent.c: ... to this new file.
13132         * sunrpc/Makefile (tests): Add it.
13134         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13135         __xpg_sigpause.
13136         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13137         * nptl/tst-signal6.c: Likewise.
13138         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13139         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13141         * configure.ac (libc_cv_cxx_link_ok): New check.
13142         Reset CXX to empty if it fails to link.
13143         * configure: Regenerated.
13144         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13145         bug-atexit3-lib only if $(CXX) is nonempty.
13146         * nptl/Makefile (tests): Likewise for tst-cancel24.
13147         (tests, tests-static): Likewise for tst-cancel24-static.
13148         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13149         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13150         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13151         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13153 2015-03-04  Andreas Schwab  <schwab@suse.de>
13155         [BZ #17631]
13156         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13157         for non-GCC compilers.
13158         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13159         Likewise.
13161 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13163         [BZ #17776]
13164         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13165         integer before bitwise and assembly operations.
13166         (feclearexcept): Likewise.
13167         * math/test-fenvinline.c: New file.
13168         * math/Makefile: Add test-fenvinline test.
13170 2015-03-03  Alan Modra  <amodra@gmail.com>
13172         [BZ #16512]
13173         * scripts/localplt.awk: Strip off symbol version.
13174         * NEWS: Mention bug fix.
13176 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13178         * sysdeps/pthread/timer_routines.c
13179         (timer_free_list, thread_free_list, thread_active_list): Make static.
13181 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13183         [BZ #17779]
13184         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13185         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13186         Undefine.
13187         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13188         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13189         Likewise.
13190         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13191         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13192         Likewise.
13194 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13196         [BZ #18036]
13197         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13198         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13200 2015-03-02  Andreas Schwab  <schwab@suse.de>
13202         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13203         variable name.
13205 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13207         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13208         Return error status.
13210 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13212         [BZ #15969]
13213         * locale/findlocale.c (_nl_find_locale): Introduce const
13214         version of loc_name and drop unsafe type casts.
13216 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13218         * dlfcn/tststatic2.c (main): Converted to ...
13219         (do_test): ... this.
13220         (TEST_FUNCTION): New macro.
13221         Include test-skeleton.c.
13223 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13225         [BZ #17711]
13226         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13227         (tests-pie): Add vismain.
13228         (CFLAGS-vismain.c): New.
13229         * elf/vismain.c: Add comments for PIE requirement.
13231 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13233         [BZ #18046]
13234         [BZ #18047]
13235         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13236         0x1p-56L as threshold for just returning the argument.
13237         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13238         0x1p-32L as threshold for just returning the argument.
13239         * math/auto-libm-test-in: Add more tests of atanh.
13240         * math/auto-libm-test-out: Regenerated.
13241         * sysdeps/i386/fpu/libm-test-ulps: Update.
13242         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13244 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13246         * string/bcopy.c (bcopy): Call memmove for performance.
13248 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13250         * string/bzero.c (__bzero): Call memset for performance.
13252 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13254         [BZ #18068]
13255         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13256         to 00100000.
13258 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13260         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13262 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13264         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13265         (__kernel_standard): Use CSTR macro when setting exc.name.
13266         * sysdeps/ieee754/Makefile [$(subdir) = math]
13267         (CFLAGS-k_standard.c): Remove variable.
13269         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13270         setting p and q from "else if" to "else".
13271         (qzero): Likewise.
13272         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13273         (qone): Likewise.
13274         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13275         (qzerof): Likewise.
13276         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13277         (qonef): Likewise.
13278         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13279         (qzero): Likewise.
13280         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13281         (qone): Likewise.
13283         [BZ #18038]
13284         [BZ #18039]
13285         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13286         return pi/2 for arguments below 0x1p-113L.
13287         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13288         return pi/2 for arguments below 0x1p-106L.
13289         * math/auto-libm-test-in: Add more tests of acos.
13290         * math/auto-libm-test-out: Regenerated.
13292         [BZ #16351]
13293         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13294         (MO): New macro.
13295         (__ieee754_asin): Force underflow exception for results with small
13296         absolute value.
13297         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13298         (MO): New macro.
13299         (__ieee754_asinf): Force underflow exception for results with
13300         small absolute value.
13301         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13302         (__ieee754_asin): Force underflow exception for results with small
13303         absolute value.
13304         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13305         (__ieee754_asinf): Force underflow exception for results with
13306         small absolute value.
13307         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13308         (__ieee754_asinl): Force underflow exception for results with
13309         small absolute value.
13310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13311         (__ieee754_asinl): Force underflow exception for results with
13312         small absolute value.
13313         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13314         (__ieee754_asinl): Force underflow exception for results with
13315         small absolute value.
13316         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13317         Include <math.h>.
13318         * math/auto-libm-test-in: Do not mark underflow exceptions as
13319         possibly missing for bug 16351.
13320         * math/auto-libm-test-out: Regenerated.
13322         [BZ #18030]
13323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13324         of power of 2 down when low part has opposite sign.
13325         * math/libm-test.inc (logb_test_data): Add more tests.
13327 2015-02-26  Andreas Schwab  <schwab@suse.de>
13329         [BZ #18032]
13330         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13331         over collating symbol inside a bracket expression.  Minor cleanup.
13332         * posix/tst-fnmatch3.c (do_test): Add test case.
13334 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #18029]
13337         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13338         Adjust exponent of power of 2 down when low part has opposite
13339         sign.
13340         * math/libm-test.inc (ilogb_test_data): Add more tests.
13342 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13344         [BZ #15969]
13345         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13346         the previous change.
13348         [BZ #15969]
13349         * locale/findlocale.c (_nl_find_locale): Retry archive search
13350         after alias expansion.
13352 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13354         * iconv/tst-iconv3.c (main): Converted to ...
13355         (do_test): ... this.
13356         (TEST_FUNCTION): New macro.
13357         Include test-skeleton.c.
13359         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13360         (convert): Make function static.
13361         (test_unalign): Likewise.  Add const to argument pointee types.
13362         (main): Replace with static function do_test.
13363         Print "Succeeded." only if RET is zero.
13364         (TEST_FUNCTION): New macro.
13365         Include test-skeleton.c.
13367         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13368         returns a null pointer.
13370 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13372         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13373         to __memcpy_ppc only for static builds.
13375 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #18020]
13378         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13379         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13380         * math/auto-libm-test-in: Add more tests of asinh.
13381         * math/auto-libm-test-out: Regenerated.
13382         * sysdeps/i386/fpu/libm-test-ulps: Update.
13383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13385 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13387         [BZ #15850]
13388         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13389         and ip6_mtuinfo definitions here.
13390         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13391         in this define too.  Update comment.
13393 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13395         * elf/sprof.c (load_shobj): Tweak error message to match others.
13397 2015-02-24  Kevin Easton  <kevin@guarana.org>
13399         [BZ #16145] (partial fix)
13400         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13401         to reduce lock contention.
13403 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13405         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13406         (struct timex): Update time comment.
13407         (ADJ_SETOFFSET): Define.
13409 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13411         [BZ #18019]
13412         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13413         2**56 not 2**28 as threshold for log (2x) formula.
13414         * math/auto-libm-test-in: Add more tests of acosh.
13415         * math/auto-libm-test-out: Regenerated.
13416         * sysdeps/i386/fpu/libm-test-ulps: Update.
13417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13421         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13422         parenthesis around the buf assignment.
13423         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13425 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13427         [BZ #16783]
13428         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13429         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13430         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13431         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13432         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13433         * math/libm-test.inc (scalb_test_data): Add more tests.
13435 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13437         [BZ #17916]
13438         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13439         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13441 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13443         [BZ #17523]
13444         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13445         * io/bits/fcntl2.h (open): Use it.
13446         (openat): Likewise.
13447         * io/open.c (__libc_open): Likewise.
13448         * io/open64.c (__libc_open64): Likewise.
13449         * io/open64_2.c (__open64_2): Likewise.
13450         * io/open_2.c (__open_2): Likewise.
13451         * io/openat.c (__openat): Likewise.
13452         * io/openat64.c (__openat64): Likewise.
13453         * io/openat64_2.c (__openat64_2): Likewise.
13454         * io/openat_2.c (__openat_2): Likewise.
13455         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13456         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13457         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13458         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13459         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13460         (__open_nocancel): Likewise.
13461         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13462         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13463         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13465 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13467         [BZ #14841]
13468         * resolv/gethnamaddr.c (getanswer): Skip logging if
13469         RES_USE_DNSSEC is set.
13470         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13472 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13474         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13476 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13478         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13479         201304L, for Unicode 7.
13481 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13483         [BZ #17836]
13484         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13485         shared library.  Add gmon-start.os otherwise.
13486         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13487         $(objpfx)gmon-start.os if builing shared library.
13488         ($(objpfx)g$(static-start-installed-name)): Likewise.
13490 2015-02-23  Andreas Schwab  <schwab@suse.de>
13492         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13494 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13496         [BZ #17269]
13497         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13498         (enlarge_userbuf): Likewise.
13500 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13502         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13503         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13504         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13505         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13507 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13509         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13510         expression inside statement expression.
13512 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13514         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13515         <sysdeps/nptl/lowlevellock.h> and remove macros and
13516         functions that are now defined there.
13517         (SYS_futex): Remove.
13518         (lll_compare_and_swap): Remove.
13519         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13521 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13523         [BZ #17999]
13524         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13525         instead of scandirat.
13526         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13527         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13528         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13529         __scandirat.
13530         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13531         (__scandirat): Declare.  Use libc_hidden_proto.
13532         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13533         Remove variable.
13534         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13536 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13538         [BZ #15319]
13539         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13540         (MO): New macro.
13541         (__ieee754_atan2): For results with small absolute value, force
13542         underflow exception and remove excess range and precision from
13543         return value.
13544         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13545         (MO): New macro.
13546         (__ieee754_atan2f): For results with small absolute value, force
13547         underflow exception and remove excess range and precision from
13548         return value.
13549         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13550         (MO): New macro.
13551         (__atan): For results with small absolute value, force underflow
13552         exception and remove excess range and precision from return value.
13553         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13554         (MO): New macro.
13555         (__atanf): For results with small absolute value, force underflow
13556         exception and remove excess range and precision from return value.
13557         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13558         <math.h>.
13559         (__ieee754_atan2): Force underflow exception for results with
13560         small absolute value.
13561         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13562         <math_private.h>.
13563         (atan): Force underflow exception for results with small absolute
13564         value.
13565         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13566         (__atanf): Force underflow exception for results with small
13567         absolute value.
13568         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13569         <math.h>.
13570         (__atanl): Force underflow exception for results with small
13571         absolute value.
13572         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13573         (__atanl): Force underflow exception for results with small
13574         absolute value.
13575         * sysdeps/x86/fpu/bits/mathinline.h
13576         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13577         (__ieee754_atan2): Only define inline for long double.
13578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13579         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13580         * math/auto-libm-test-in: Do not mark underflow exceptions as
13581         possibly missing for bug 15319.  Add more tests of atan2.
13582         * math/auto-libm-test-out: Regenerated.
13583         * math/libm-test.inc (casin_test_data): Do not mark underflow
13584         exceptions as possibly missing for bug 15319.
13585         (casinh_test_data): Likewise.
13586         * sysdeps/i386/fpu/libm-test-ulps: Update.
13588 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13590         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13591         * sysdeps/mips/bits/endian.h: Fix comments.
13593 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13595         [BZ #17996]
13596         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13597         (hdestroy_r): Likewise.
13598         (hsearch_r): Likewise.
13599         (__hcreate_r): Declare and use libc_hidden_proto.
13600         (__hdestroy_r): Likewise.
13601         (__hsearch_r): Likewise.
13602         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13603         (hcreate): Call __hcreate_r instead of hcreate_r.
13604         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13605         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13606         as weak alias of __hcreate_r.
13607         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13608         __hdestroy_r.
13609         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13610         __hsearch_r.
13611         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13612         Remove variable.
13613         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13614         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13615         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13616         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13618 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13621         arena_lock into a single arena_get.
13623 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13625         * dl-reloc.c: Inlucde libc-internal.h.
13626         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13627         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13628         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13629         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13630         (grow_heap): Likewise.
13631         * malloc/malloc.c: Include libc-internal.h.
13632         (do_check_malloc): Call powerof2.
13633         (sysmalloc): Use pagesize. Call ALIGN_UP.
13634         (systrim): Use pagesize.
13635         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13636         (__libc_valloc): Use pagesize.
13637         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13639 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13641         [BZ #17991]
13642         * include/sys/resource.h (__getrlimit64): Declare.  Use
13643         libc_hidden_proto.
13644         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13645         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13646         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13647         getrlimit64.
13648         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13649         __getrlimit64.
13650         [!getrlimit64] (getrlimit64): Define as weak alias of
13651         __getrlimit64.  Use libc_hidden_weak.
13652         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13653         using __getrlimit64 not __new_getrlimit64.
13654         (__GI_getrlimit64): Likewise.
13655         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13656         Likewise.
13657         (__GI_getrlimit64): Likewise.
13658         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13660         (getrlimit): Add __getrlimit64 alias.
13661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13662         Likewise.
13663         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13664         Remove variable.
13665         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13666         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13668 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13670         * libio/fileops.c: Add missing sys/mman.h
13671         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13673 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13675         * manual/math.texi (Errors in Math Functions): Clarify goals
13676         regarding inexact and underflow exceptions.
13678 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13680         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13681         * sysdeps/mips/memset.S: Ditto.
13683 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13685         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13687 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13689         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13690         (__v1longjmp): Remove versioned symbol.
13691         (__v1siglongjmp): Remove alias and versioned symbol.
13692         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13693         (__v2siglongjmp): Likewise.
13695 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13697         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13699 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13701         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13703 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13705         [BZ #17987]
13706         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13707         zero result does not depend on the sign resulting from
13708         subtraction.
13709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13710         Likewise.
13711         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13712         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13714         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13715         * math/libm-test.inc (remquo_test_data): Add more tests.
13717 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13719         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13720         Problem reported by J William Piggott.
13722 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #17978]
13725         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13726         products 4 * y and 2 * y where those would overflow.
13727         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13728         Likewise.
13729         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13730         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13731         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13732         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13733         * math/libm-test.inc (remquo_test_data): Add more tests.
13735         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13737         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13738         [defined _COMPILING_NEWLIB].
13739         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13740         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13742         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13743         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13745 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13747         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13748         acquired.
13750 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13752         [BZ #17792]
13753         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13754         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13755         HOST_STACK_END_ADDR): Likewise.
13757 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13759         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13760         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13761         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13763 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13765         * sysdeps/generic/c++-types.data: New file.
13766         * sysdeps/generic/ld.abilist: New file.
13767         * sysdeps/generic/libBrokenLocale.abilist: New file.
13768         * sysdeps/generic/libanl.abilist: New file.
13769         * sysdeps/generic/libc.abilist: New file.
13770         * sysdeps/generic/libcrypt.abilist: New file.
13771         * sysdeps/generic/libdl.abilist: New file.
13772         * sysdeps/generic/libm.abilist: New file.
13773         * sysdeps/generic/libpthread.abilist: New file.
13774         * sysdeps/generic/libresolv.abilist: New file.
13775         * sysdeps/generic/librt.abilist: New file.
13777 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13779         [BZ #17569]
13780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13781         Compute absolute value of x as modified by fmod, not original
13782         value of x.
13783         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13784         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13785         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13786         RUN_TEST_ffI_f1_mod8.
13787         (remquo_test_data): Add more tests.
13789 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13791         * sysdeps/init_array/pt-crti.S: New file.
13793 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13795         [BZ #17967]
13796         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13797         __builtin_fmaf instead of relying on contraction of a * b + c.
13799 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13801         [BZ #17969]
13802         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13803         node.
13805 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13807         [BZ #17964]
13808         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13809         __builtin_fma instead of relying on contraction of a * b + c.
13811 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13813         * Makeconfig (ASFLAGS): Add -Werror=undef.
13814         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13815         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13816         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13818         * Makeconfig (after-link): New variable.
13819         (+link-pie, +link-pie-tests): Use it.
13820         (+link-static, +link-static-tests): Likewise.
13821         (+link, +link-tests): Likewise.
13822         * Makerules (build-module, build-module-asneeded): Likewise.
13823         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13824         Likewise.
13825         * elf/Makefile ($(objpfx)ld.so): Likewise.
13827 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13829         [BZ #17965]
13830         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13831         both struct timeval and struct timespec.
13833 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13835         [BZ #16560]
13836         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13837         and redefine.
13838         (__ieee754_exp2l): Do not multiply small fractional parts by
13839         M_LN2l.
13840         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13841         small argument.
13842         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13843         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13844         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13845         * math/auto-libm-test-in: Add more tests of exp2.
13846         * math/auto-libm-test-out: Regenerated.
13848 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13850         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13851         unaligned path.
13853 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13855         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13856         little endian.
13858 2015-02-12  Andreas Schwab  <schwab@suse.de>
13860         [BZ #15790]
13861         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13862         Filter out elision flags from value returned in kind.
13863         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13864         * nptl/tst-pthread-mutexattr.c: New file.
13866 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13868         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13869         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13870         into gnu-gnu, and update comment to refer to abi-tags.
13872 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13874         [BZ #15467]
13875         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13876         (__sincos): Set errno to EDOM for infinite argument.
13877         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13878         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13879         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13880         (__sincosl): Set errno to EDOM for infinite argument.
13881         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13882         (__sincosl): Set errno to EDOM for infinite argument.
13883         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13884         (__sincosl): Set errno to EDOM for infinite argument.
13885         * math/libm-test.inc (sincos_test_data): Test errno setting.
13887 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13889         * string/strxfrm_l.c: Remove #define STRCMP.
13890         * string/strcoll_l.c: Remove #define STRLEN.
13891         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13892         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13894 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13896         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13897         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13898         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13899         * sysdeps/mips/mips64/Makefile: ... here.
13900         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13901         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13902         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13903         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13904         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13905         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13906         * sysdeps/mips/mips64/n64/Implies: Likewise.
13908 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13910         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13911         <sys/time.h>, <string.h>, and <errno.h>.
13912         (dest_offset, dest_address, value, zero): Remove unused variables.
13913         (ldouble): Remove typedef.
13914         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13915         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13916         1).  Fix code style.
13917         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13918         (check): Function removed.
13919         (CHECK): New macro.
13920         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13921         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13922         Don't call set_sigaction_FP and remove_sigaction_FP here.
13923         (ldouble_test): Just use 'long double' as macro argument, no need for
13924         the 'ldouble' typedef.
13925         (do_test): Set up SIGFPE handler at start, using plain signal rather
13926         than sigaction.  Fix code style.
13928 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13930         [BZ #17949]
13931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13932         jump label.
13934 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13936         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13937         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13939         * sysdeps/powerpc/configure.ac: Remove file.
13940         * sysdeps/powerpc/configure: Likewise.
13942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13943         [sysdep_routines]: Remove wordcopy-power6 object.
13944         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13945         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13947         (__memmove_ppc32): Likewise.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13949         file.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13951         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13952         Remove preprocessor.
13954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13955         [sysdep_routines]: Remove wide chars objects.
13956         [wcsmbs]: New rule for wide char objects.
13958         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13959         Remove wordcopy-power6 obejct.
13960         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13961         Use local call for wordcopy and memcpy symbols.
13962         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13964         implementation for loader.
13965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13968         Remove wordcopy-power7 object.
13969         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13971         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13972         (_wordcopy_fwd_dest_aligned): Likewise.
13973         (_wordcopy_bwd_aligned): Likewise.
13974         (_wordcopy_bwd_dest_aligned): Likewise.
13976         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13977         Rewrite to call __memmove_ppc instead of include default
13978         implementation.
13980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13981         Remove wide chars objects.
13982         [wcsmbs]: New rule for wide char objects.
13984 2015-02-09  Andreas Schwab  <schwab@suse.de>
13986         [BZ #17912]
13987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13988         in terms of __O_DIRECTORY.
13990 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13992         * time/getdate.c: Include <stdbool.h>.
13993         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13994         call PTR_MANGLE.
13995         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13996         PTR_DEMANGLE.
13998 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14000         Add ersatz _Static_assert on older C hosts
14001         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14002         pre-C11 C platform that is not known to support _Static_assert.
14004 2015-02-07  Richard Braun  <rbraun@sceen.net>
14006         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14007         sigstate.
14008         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14010 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14012         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14013         priority against unexistent AIO_PRIO_DELTA_MAX.
14014         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14015         instead of int.
14016         * misc/fchflags.c (fchflags): Likewise.
14017         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14018         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14019         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14020         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14021         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14022         Declare macros.
14023         [__USE_MISC] (chflags, fchflags): Declare functions.
14024         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14025         EINVAL when nfds is greater than FD_SETSIZE.
14026         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14027         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14028         45.
14029         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14030         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14031         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14032         MACH_RCV_TIMED_OUT.
14033         * hurd/hurd/signal.h (_hurd_self_sigstate,
14034         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14035         Explicit casts from void *.
14036         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14037         * abi-tags: Rename gnu-gnu os into gnu.
14039         [BZ #4719]
14040         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14041         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14042         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14043         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14044         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14045         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14047         [BZ #17944]
14048         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14049         duplicates ADDR->sun_path with sockaddr LEN limitation.
14050         * sysdeps/mach/hurd/connect.c: Include <string.h>
14051         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14052         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14053         * sysdeps/mach/hurd/sendto.c: Likewise.
14054         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14055         implementing it by hand.
14057 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14059         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14060         Use sfi_breg on ldr.
14061         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14062         Likewise.
14064         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14065         it's defined.
14066         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14067         Test SIGSETXID only if it's defined.
14069         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14071         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14072         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14074         * nptl/tst-align2.c: Moved ...
14075         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14076         * nptl/Makefile (tests): Remove tst-align2.
14077         * sysdeps/unix/sysv/linux/Makefile
14078         [$(subdir) = nptl] (tests): Add tst-align-clone.
14079         * nptl/tst-getpid1.c: Moved ...
14080         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14081         * nptl/tst-getpid2.c: Moved ...
14082         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14083         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14084         * sysdeps/unix/sysv/linux/Makefile
14085         [$(subdir) = nptl] (tests): ... here.
14086         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14087         * sysdeps/unix/sysv/linux/Makefile
14088         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14090         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14091         Drop trailing \n from perror argument.  Use return rather than exit.
14093         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14094         on [SA_SIGINFO].
14095         * nptl/tst-cancel21.c (do_test): Likewise.
14096         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14097         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14098         [!SA_SIGINFO]: Make it a stub test.
14100         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14101         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14103         * posix/tst-getlogin.c: Move to ...
14104         * login/tst-getlogin.c: ... here.
14105         * posix/Makefile (tests): Move tst-getlogin to ...
14106         * login/Makefile (tests): ... here.
14108         * libio/tst-atime.c (do_test): Move local variables SV and E
14109         inside [ST_NOATIME] conditional.
14111         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14113         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14115         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14116         (wait_code): New function replaces macro.
14117         Call nanosleep rather than syscall.
14119         * nptl/pt-system.c: Rewritten.  Put everything under
14120         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14121         Use IFUNC to redirect when possible.
14123         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14124         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14125         Use IFUNC to redirect when possible.
14127         * nptl/pt-fork.c: Rewritten.  Put everything under
14128         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14129         Use IFUNC to redirect when possible.
14130         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14132         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14133         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14134         unconditionally nowadays.  This included the only reference to
14135         __vdso_clock_gettime that appears outside libc proper.
14136         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14137         Remove version set (containing only __vdso_clock_gettime).
14138         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14139         Add attribute_hidden.
14140         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14141         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14142         libc_hidden_data_def.
14143         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14144         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14146         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14147         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14148         setrpcent, and getrpcport to ...
14149         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14150         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14151         getrpcbynumber_r, and getrpcent_r to ...
14152         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14153         * inet/getrpcbyname.c: Moved ...
14154         * sunrpc/getrpcbyname.c: ... here.
14155         * inet/getrpcbyname_r.c: Moved ...
14156         * sunrpc/getrpcbyname_r.c: ... here.
14157         * inet/getrpcbynumber.c: Moved ...
14158         * sunrpc/getrpcbynumber.c: ... here.
14159         * inet/getrpcbynumber_r.c: Moved ...
14160         * sunrpc/getrpcbynumber_r.c: ... here.
14161         * inet/getrpcent.c: Moved ...
14162         * sunrpc/getrpcent.c: ... here.
14163         * inet/getrpcent_r.c: Moved ...
14164         * sunrpc/getrpcent_r.c: ... here.
14165         * inet/Makefile (routines): Move those to ...
14166         * sunrpc/Makefile (routines): ... here.
14167         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14168         the $(subdirs) list.
14169         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14170         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14171         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14172         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14174         * elf/Makefile (routines): Include $(all-dl-routines), not just
14175         $(dl-routines).
14176         (rtld-routines): Likewise.  Use = rather than :=.
14177         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14178         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14179         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14180         * sysdeps/arm/Makefile: Likewise.
14181         * sysdeps/i386/Makefile: Likewise.
14182         * sysdeps/x86_64/Makefile: Likewise.
14183         * sysdeps/hppa/Makefile [$(subdir) = elf]
14184         (sysdep_routines, sysdep-rtld-routines): Don't add
14185         $(sysdep-dl-routines) to these.
14186         * sysdeps/ia64/Makefile: Likewise.
14187         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14188         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14189         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14190         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14191         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14192         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14193         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14194         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14195         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14196         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14197         these; sysdep-dl-routines alone is enough.
14199 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14201         [BZ #17932]
14202         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14203         where multiplication results in zero and third argument is finite
14204         and nonzero.
14205         * math/auto-libm-test-in: Add more tests of fma.
14206         * math/auto-libm-test-out: Regenerated.
14208         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14209         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14210         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14211         (_FP_CMP_EQ): Likewise.
14212         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14214         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14215         extra argument CHECK_NAN.  Redefine as wrapper around
14216         _FP_EXTEND_CNAN.
14218 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14220         * version.h (RELEASE): Set to "stable".
14221         (VERSION): Set to "2.21"
14222         * include/features.h (__GLIBC_MINOR__): Set to 21.
14224         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14226 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14227             Paul Eggert  <eggert@cs.ucla.edu>
14229         [BZ #16618]
14230         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14232         size in bytes. Store needed elements in wpmax. Use needed size
14233         in bytes for extend_alloca.
14235 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14237         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14238         binutls 2.25, and texinfo 5.2.
14239         * INSTALL: Regenerate.
14240         * sysdeps/nios2/configure: Regenerate.
14241         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14242         * manual/contrib.texi: Update.
14243         * po/be.po: Update.
14244         * po/bg.po: Update.
14245         * po/ca.po: Update.
14246         * po/cs.po: Update.
14247         * po/da.po: Update.
14248         * po/de.po: Update.
14249         * po/el.po: Update.
14250         * po/eo.po: Update.
14251         * po/es.po: Update.
14252         * po/fi.po: Update.
14253         * po/fr.po: Update.
14254         * po/gl.po: Update.
14255         * po/hr.po: Update.
14256         * po/hu.po: Update.
14257         * po/ia.po: Update.
14258         * po/id.po: Update.
14259         * po/it.po: Update.
14260         * po/ja.po: Update.
14261         * po/ko.po: Update.
14262         * po/lt.po: Update.
14263         * po/nb.po: Update.
14264         * po/nl.po: Update.
14265         * po/pl.po: Update.
14266         * po/pt_BR.po: Update.
14267         * po/ru.po: Update.
14268         * po/rw.po: Update.
14269         * po/sk.po: Update.
14270         * po/sl.po: Update.
14271         * po/sv.po: Update.
14272         * po/tr.po: Update.
14273         * po/uk.po: Update.
14274         * po/vi.po: Update.
14275         * po/zh_CN.po: Update.
14276         * po/zh_TW.po: Update.
14278         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14279         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14280         * sysdeps/hppa/dl-irel.h: Remove #warning.
14281         * sysdeps/hppa/entry.h: Provide prototype for
14282         __canonicalize_funcptr_for_compare and cast argument.
14283         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14284         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14285         * sysdeps/hppa/sotruss-lib.c: New file.
14286         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14287         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14288         (atomic_compare_and_exchange_bool_acq): Likewise.
14289         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14290         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14292         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14293         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14294         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14296 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14298         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14299         called function in non-PIC case.
14301 2015-01-31  David S. Miller  <davem@davemloft.net>
14303         * sysdeps/sparc/sparc32/bits/atomic.h
14304         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14305         unlock not after it.
14306         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14307         volatile register usage warnings from the compiler.
14309         * sysdeps/sparc/nptl/sem_init.c: Delete.
14310         * sysdeps/sparc/nptl/sem_post.c: Delete.
14311         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14312         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14313         * sysdeps/sparc/sparc32/sem_init.c: New file.
14314         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14315         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14316         padding explicitly initialized.
14317         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14318         padding for in-semaphore spinlock.
14319         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14320         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14321         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14322         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14323         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14324         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14325         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14326         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14327         version.
14328         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14329         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14331 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14333         [BZ #17801]
14334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14335         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14336         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14337         New.
14338         (index_AVX_Fast_Unaligned_Load): Likewise.
14339         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14340         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14341         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14342         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14343         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14344         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14345         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14346         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14347         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14349 2015-01-29  Andreas Schwab  <schwab@suse.de>
14351         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14353 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14355         [BZ #17892]
14356         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14358 2015-01-28  Martin Sebor  <msebor@redhat.com>
14360         * math/README.libm-test: Clarify. Add "How to read the test output."
14362 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14364         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14365         Define to 0.
14367 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14369         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14370         (__HAVE_64B_ATOMICS): Define to 0.
14372 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14374         [BZ #17885]
14375         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14376         value to set as new flag.
14378         [BZ #16576]
14379         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14380         and use _ARCH_PPCSQ instead.
14381         (__ieee754_sqrt): Likewise.
14382         (__ieee754_sqrtf): Likewise.
14383         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14384         _ARCH_PPCSQ is defined.
14385         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14386         fsqrt instruction.
14387         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14388         _ARCH_PPCSQ is defined.
14389         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14390         fsqrts instruction.
14391         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14393 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14395         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14396         bug (GCC BZ #64739).
14398 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14400         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14401         Mark _retval as used.
14402         (lll_futex_wake_unlock): Likewise.
14403         (lll_futex_timed_wait_requeue_pi): Likewise.
14405         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14406         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14407         register variables.
14409         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14410         libm_hidden_def.
14412         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14413         (__bswap_64): Mark as __always_inline.
14415 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14417         [BZ #15378]
14418         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14419         when none of the search directories exist.
14421 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14423         [BZ #17869]
14424         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14425         power8 in .machine directive.
14427         [BZ #17868]
14428         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14429         set dependency from opd value.
14431 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14434         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14435         architecture.
14437 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14439         [BZ #17870]
14440         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14441         with uint64_t.
14442         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14443         (uint64_t) 1.
14444         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14445         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14446         Replace 1UL with (uint64_t) 1.
14447         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14448         int with uint64_t.
14450 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14452         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14453         (if_freenameindex): Likewise.
14455         * resource/getrlimit64.c: Add missing libc_hidden_def.
14457 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14459         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14460         __label__.
14461         (_FP_FMA): Likewise.
14462         (_FP_TO_INT_ROUND): Likewise.
14463         (_FP_FROM_INT): Likewise.
14465 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14467         [BZ #16418]
14468         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14469         Make code racy and cancel safe.
14471 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14473         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14474         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14475         attribution.
14477         * pwd/tst-getpw.c: Rewrite.
14479         [BZ #17702]
14480         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14481         (modules-names): Add moddummy1 and moddummy2.
14482         ($(objpfx)tst-rec-dlopen): Define.
14483         * dlfcn/moddummy1.c: New file.
14484         * dlfcn/moddummy2.c: New file.
14485         * dlfcn/tst-rec-dlopen.c: New file.
14486         * elf/dl-cache.c (_dl_load_cache_lookup):
14487         Return char*. Copy result with alloca/strcpy/strdup.
14488         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14489         returns char*. Free cached. If not saving realname
14490         free cached.
14491         * elf/dl-open.c (dl_open_worker): Do not assert that
14492         _r_debug->r_state is RT_CONSISTENT.
14493         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14494         returns char*.
14496 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14497             Carlos O'Donell  <carlos@redhat.com>
14499         [BZ #12674]
14500         * nptl/sem_waitcommon.c: New file.
14501         * nptl/sem_wait.c: Include sem_waitcommon.c.
14502         (__sem_wait_cleanup, do_futex_wait): Remove.
14503         (__new_sem_wait): Adapt.
14504         (__new_sem_trywait): New function.
14505         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14506         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14507         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14508         (sem_timedwait): Adapt.
14509         * nptl/sem_post.c (__new_sem_post): Adapt.
14510         (futex_wake): New function.
14511         (__old_sem_post): Add release MO fence.
14512         * nptl/sem_open.c (sem_open): Adapt.
14513         * nptl/sem_init.c (__new_sem_init): Adapt.
14514         (futex_private_if_supported): New function.
14515         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14516         (__old_sem_getvalue): Add using previous code.
14517         * sysdeps/nptl/internaltypes.h: Adapt.
14518         * nptl/tst-sem13.c (do_test): Adapt.
14519         * nptl/tst-sem11.c (main): Adapt.
14520         * nptl/sem_trywait.c: Remove.
14521         * nptl/DESIGN-sem.txt: Remove.
14522         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14523         (gen-as-const-headers): Remove structsem.sym.
14524         * nptl/structsem.sym: Remove.
14525         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14526         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14527         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14528         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14529         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14530         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14531         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14532         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14533         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14534         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14535         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14536         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14537         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14538         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14539         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14540         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14541         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14542         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14543         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14544         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14545         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14546         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14548 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14550         * INSTALL: Regenerated.
14552         * po/libc.pot: Regenerated.
14554 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14555             Sandra Loosemore  <sandra@codesourcery.com>
14556             Andrew Jenner  <andrew@codesourcery.com>
14557             Joseph Myers  <joseph@codesourcery.com>
14558             Nathan Sidwell  <nathan@codesourcery.com>
14560         * NEWS: Mention new Nios II port.
14561         * sysdeps/nios2/Implies: New file.
14562         * sysdeps/nios2/Makefile: New file.
14563         * sysdeps/nios2/Subdirs: New file.
14564         * sysdeps/nios2/Versions: New file.
14565         * sysdeps/nios2/__longjmp.S: New file.
14566         * sysdeps/nios2/abort-instr.h: New file.
14567         * sysdeps/nios2/backtrace.c: New file.
14568         * sysdeps/nios2/bits/endian.h: New file.
14569         * sysdeps/nios2/bits/fenv.h: New file.
14570         * sysdeps/nios2/bits/link.h: New file.
14571         * sysdeps/nios2/bits/setjmp.h: New file.
14572         * sysdeps/nios2/bsd-_setjmp.S: New file.
14573         * sysdeps/nios2/bsd-setjmp.S: New file.
14574         * sysdeps/nios2/configure: New generated file.
14575         * sysdeps/nios2/configure.ac: New file.
14576         * sysdeps/nios2/crti.S: New file.
14577         * sysdeps/nios2/crtn.S: New file.
14578         * sysdeps/nios2/dl-init.c: New file.
14579         * sysdeps/nios2/dl-machine.h: New file.
14580         * sysdeps/nios2/dl-sysdep.h: New file.
14581         * sysdeps/nios2/dl-tls.h: New file.
14582         * sysdeps/nios2/dl-trampoline.S: New file.
14583         * sysdeps/nios2/gccframe.h: New file.
14584         * sysdeps/nios2/gmp-mparam.h: New file.
14585         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14586         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14587         * sysdeps/nios2/ldsodefs.h: New file.
14588         * sysdeps/nios2/libc-tls.c: New file.
14589         * sysdeps/nios2/libm-test-ulps: New file.
14590         * sysdeps/nios2/machine-gmon.h: New file.
14591         * sysdeps/nios2/math-tests.h: New file.
14592         * sysdeps/nios2/math_private.h: New file.
14593         * sysdeps/nios2/memusage.h: New file.
14594         * sysdeps/nios2/nptl/Makefile: New file.
14595         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14596         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14597         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14598         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14599         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14600         * sysdeps/nios2/nptl/tls.h: New file.
14601         * sysdeps/nios2/preconfigure: New file.
14602         * sysdeps/nios2/s_fma.c: New file.
14603         * sysdeps/nios2/s_fmaf.c: New file.
14604         * sysdeps/nios2/setjmp.S: New file.
14605         * sysdeps/nios2/sfp-machine.h: New file.
14606         * sysdeps/nios2/sotruss-lib.c: New file.
14607         * sysdeps/nios2/stackguard-macros.h: New file.
14608         * sysdeps/nios2/stackinfo.h: New file.
14609         * sysdeps/nios2/start.S: New file.
14610         * sysdeps/nios2/sysdep.h: New file.
14611         * sysdeps/nios2/tls-macros.h: New file.
14612         * sysdeps/nios2/tst-audit.h: New file.
14613         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14614         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14615         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14616         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14617         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14618         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14619         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14620         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14621         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14622         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14623         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14624         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14625         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14626         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14627         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14628         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14629         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14630         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14631         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14632         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14633         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14634         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14635         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14636         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14637         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14638         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14639         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14640         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14641         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14642         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14643         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14644         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14645         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14646         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14647         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14648         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14649         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14650         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14651         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14652         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14653         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14654         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14655         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14656         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14658 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14660         [BZ #17844]
14661         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14662         (getutent): Use weak_alias in non SHARED case
14663         and default_symbol_version in SHARED case.
14664         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14665         (getutent_r, pututline): Likewise.
14666         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14667         (getutid): Likewise.
14668         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14669         (getutid_r): Likewise.
14670         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14671         (getutline): Likewise.
14672         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14673         (getutline_r): Likewise.
14674         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14675         (updwtmp): Likewise.
14677 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14679         [BZ #17848]
14680         * sysdeps/s390/s390-32/memcmp.S
14681         (memcmp_g5): Rename to __memcmp_g5.
14682         * sysdeps/s390/s390-32/memcpy.S
14683         (memcpy_g5): Rename to __memcpy_g5.
14684         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14685         (memcpy_mvcle) Rename to __memcpy_mvcle.
14686         * sysdeps/s390/s390-32/memset.S
14687         (memset_g5): Rename to __memset_g5.
14688         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14689         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14690         and use prefixed functions.
14691         * sysdeps/s390/s390-32/multiarch/memcmp.S
14692         (memcmp_z196): Rename to __memcmp_z196.
14693         (memcmp_z10): Rename to __memcmp_z10.
14694         (memcmp): Set alias to __memcmp_g5.
14695         (bcmp): Set alias to __memcmp_g5.
14696         * sysdeps/s390/s390-32/multiarch/memcpy.S
14697         (memcpy_z196): Rename to __memcpy_z196.
14698         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14699         (memcpy_z10): Rename to __memcpy_z10.
14700         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14701         (memcpy): Set alias to __memcpy_g5.
14702         * sysdeps/s390/s390-32/multiarch/memset.S
14703         (memset_z196): Rename to __memset_z196.
14704         Jump to __memset_mvcle instead of memset_mvcle.
14705         (memset_z10): Rename to __memset_z10.
14706         Jump to __memset_mvcle instead of memset_mvcle.
14707         (memset_mvcle) Rename to __memset_mvcle.
14708         (memset): Set alias to __memset_g5.
14709         * sysdeps/s390/s390-64/memcmp.S
14710         (memcmp_z900): Rename to __memcmp_z900.
14711         * sysdeps/s390/s390-64/memcpy.S
14712         (memcpy_z900): Rename to __memcpy_z900.
14713         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14714         (memcpy_mvcle) Rename to __memcpy_mvcle.
14715         * sysdeps/s390/s390-64/memset.S
14716         (memset_z900): Rename to __memset_z900.
14717         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14718         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14719         and use prefixed functions.
14720         * sysdeps/s390/s390-64/multiarch/memcmp.S
14721         (memcmp_z196): Rename to __memcmp_z196.
14722         (memcmp_z10): Rename to __memcmp_z10.
14723         (memcmp): Set alias to __memcmp_z900.
14724         (bcmp): Set alias to __memcmp_z900.
14725         * sysdeps/s390/s390-64/multiarch/memcpy.S
14726         (memcpy_z196): Rename to __memcpy_z196.
14727         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14728         (memcpy_z10): Rename to __memcpy_z10.
14729         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14730         (memcpy): Set alias to __memcpy_z900.
14731         * sysdeps/s390/s390-64/multiarch/memset.S
14732         (memset_z196): Rename to __memset_z196.
14733         Jump to __memset_mvcle instead of memset_mvcle.
14734         (memset_z10): Rename to __memset_z10.
14735         Jump to __memset_mvcle instead of memset_mvcle.
14736         (memset_mvcle) Rename to __memset_mvcle.
14737         (memset): Set alias to __memset_z900.
14739 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14741         [BZ #17748]
14742         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14743         __fesetenv instead of fesetenv.
14745 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14748         macro.
14750 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14752         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14753         regression on LE.
14755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14756         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14757         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14758         strncmp-power8 object.
14759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14760         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14761         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14762         * NEWS: Update.
14764 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14765             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14767         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14768         trailing byte check.
14770 2015-01-13  David S. Miller  <davem@davemloft.net>
14772         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14774 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14776         * login/logout.c (logout): Use memset rather than bzero.
14777         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14778         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14779         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14780         (_gethtbyaddr): Likewise.
14781         * locale/programs/simple-hash.c (bcopy): Macro removed.
14783 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14786         Add strcmp-power8 object.
14787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14788         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14789         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14790         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14791         __strcmp_power8 implementation.
14792         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14793         * NEWS: Update.
14795         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14796         Add strncpy-power8 and stpncpy-power8 objects.
14797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14798         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14799         implementations.
14800         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14801         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14802         __stpncpy_power8 implementation.
14803         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14804         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14805         __strncpy_power8 implementation.
14806         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14807         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14808         * NEWS: Update.
14810         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14811         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14812         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14814         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14815         strncat-power8 object.
14816         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14817         __strcat_power8 implementation.
14818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14819         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14820         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14821         optimized strcat for power8.
14823         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14824         strcpy-power8 and stpcpy-power8 objects.
14825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14826         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14827         implementations.
14828         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14829         multiarch stpcpy implementation for POWER8.
14830         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14831         multiarch strcpy implementation for POWER8.
14832         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14833         __strcpy_power8 function.
14834         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14835         stpcpy for POWER8.
14836         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14837         strcpy for POWER8.
14838         * NEWS: Update.
14840 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14842         [BZ #16009]
14843         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14844         weights and rules. Use do_xfrm_cached if data fits in cache,
14845         do_xfrm otherwise.  Moved former main loop to...
14846         * (do_xfrm_cached): New function.
14847         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14848         find_idx, find_position and stack_push.
14849         * (find_idx): New function.
14850         * (find_position): Likewise.
14851         * localedata/sort-test.sh: Added test run for do_xfrm.
14852         * localedata/xfrm-test.c (main): Added command line option
14853         -nocache to run the test with strings that are too large for
14854         the STRXFRM cache.
14856 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14858         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14859         variable to lll_futex_wake call, not the value itself.
14861 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #17803]
14864         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14865         twom64.  Adjust value to 0x1p-64L.
14866         (__scalblnl): Only return standard underflowing result for K <=
14867         -64 not K <= -63; adjust exponent for underflowing result by 64
14868         not 63.
14869         * math/libm-test.inc (scalbn_test_data): Add more tests.
14870         (scalbln_test_data): Likewise.
14872         [BZ #17834]
14873         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14874         0x1p63L.
14875         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14876         not HX.
14877         * math/libm-test.inc (scalbn_test_data): Add more tests.
14878         (scalbln_test_data): Likewise.
14880 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14881             Stefani Seibold  <stefani@seibold.net>
14883         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14884         (sysdep_routines): Add dl-vdso here, ...
14885         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14886         (sysdep_routines): ... not here.
14887         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14888         fallback when vDSO is not presented.
14889         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14890         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14891         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14892         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14893         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14894         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14895         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14896         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14897         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14899         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14900         fallback configurable symbol when vDSO is not available.
14901         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14902         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14903         be able to redefine fallback symbol when vDSO is not available.
14904         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14905         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14907 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14909         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14910         (TLS_INIT_TP): Add tm_capable initialization.
14911         (TLS_DEFINE_INIT_TP): Likewise.
14912         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14913         TCB.
14914         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14915         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14916         calculation.
14917         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14918         transactoion is lock elision is built and TCB tm_capable is set.
14919         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14921         (INTERNAL_SYSCALL_NCS): Likewise.
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14923         (INTERNAL_SYSCALL_NCS): Likewise.
14924         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14926         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14927         for powerpc.
14928         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14929         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14930         and remove it for 32 bits case.
14931         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14933         initialization.
14934         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14935         Disable lock elision with rdlocks if elision is not available.
14937         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14938         (sysdep_routines): Add lock elision objects.
14939         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14940         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14941         [pthread_mutex_t] (__elision): Add field.
14942         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14943         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14944         elision definitions for powerpc.
14945         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14946         implementation of lock elision for powerpc.
14947         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14948         implementation of timed lock elision for powerpc.
14949         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14950         implementation of trylock with lock elision for powerpc.
14951         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14952         implementaion of unlock for lock elision for powerpc.
14953         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14954         automatic enable lock elision for mutexes.
14955         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14956         transaction execution definitions for powerpc.
14957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14958         definitions.
14959         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14960         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14961         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14962         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14963         * NEWS: Update.
14965 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14967         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14968         for #include of <shm-directory.h>.
14970 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14972         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14973         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14975 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14977         [BZ #17791]
14978         * NEWS: Mention bug fix.
14979         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14980         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14981         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14983 2015-01-09  Torvald Riegel <triegel@redhat.com>
14985         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14987 2015-01-09  Torvald Riegel <triegel@redhat.com>
14989         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14991 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14993         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14994         pointer and cast to uintptr_t.
14996 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14998         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14999         removed.
15000         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15002 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15004         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15005         of 0.
15007 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15009         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15010         <nptl/pthreadP.h> instead.
15011         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15013         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15014         already defined.
15015         [__SIGRTMIN] (init): Function removed.
15016         [__SIGRTMIN] (initialized): Variable removed.
15017         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15018         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15019         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15020         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15021         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15022         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15023         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15024         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15025         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15026         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15027         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15028         * sysdeps/nptl/allocrtsig.c: New file.
15029         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15030         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15031         * sysdeps/generic/testrtsig.h: File removed.
15033         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15034         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15036         * nptl/nptl-init.c (pthread_functions): Conditionalize
15037         .ptr__nptl_setxid initialization on [SIGSETXID].
15039         * sysdeps/nptl/sys/procfs.h: New file.
15040         * nptl_db/Makefile (headers): Add it.
15041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15043         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15044         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15045         * nptl/pthread_attr_setaffinity.c: Include it.
15046         * nptl/pthread_setattr_default_np.c: Likewise.
15047         * nptl/check-cpuset.h: New file.
15049 2015-01-08  Richard Henderson  <rth@redhat.com>
15051         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15052         (CFLAGS-tst-execstack-prog.c): Likewise.
15053         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15055 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15056             Sandra Loosemore  <sandra@codesourcery.com>
15057             Andrew Jenner  <andrew@codesourcery.com>
15058             Joseph Myers  <joseph@codesourcery.com>
15059             Nathan Sidwell  <nathan@codesourcery.com>
15061         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15062         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15063         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15064         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15065         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15066         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15067         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15068         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15069         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15070         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15071         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15072         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15073         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15074         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15075         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15076         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15077         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15079 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15081         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15082         timespec struct member in syscall macro.
15083         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15084         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15085         first timeval struct member in syscall macro.
15086         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15088 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #17748]
15091         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15092         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15093         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15094         __feupdateenv and define as weak alias of __feupdateenv.  Use
15095         libm_hidden_weak.
15096         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15097         libm_hidden_def.
15098         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15099         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15100         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15101         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15102         libm_hidden_def.
15103         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15104         __feupdateenv and define as weak alias of __feupdateenv.  Use
15105         libm_hidden_weak.
15106         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15107         libm_hidden_def.
15108         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15109         __feupdateenv and define as weak alias of __feupdateenv.  Use
15110         libm_hidden_weak.
15111         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15112         libm_hidden_def.
15113         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15114         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15115         (__feupdateenv): Likewise.
15116         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15117         __feupdateenv and define as weak alias of __feupdateenv.  Use
15118         libm_hidden_weak.
15119         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15120         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15121         libm_hidden_def.
15122         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15123         function.
15124         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15125         libm_hidden_def.
15126         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15127         __feupdateenv instead of feupdateenv.
15128         (default_libc_feupdateenv_test): Likewise.
15129         (libc_feresetround_ctx): Likewise.
15131 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15133         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15134         prototype.
15136 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15138         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15139         COLL_SYM in a couple of places to avoid uninitialized variable
15140         wanings on tilegx gcc 4.8.2.
15142 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15144         * sysdeps/aarch64/strcpy.S: New file.
15145         * sysdeps/aarch64/stpcpy.S: New file.
15146         * NEWS: Updated.
15148 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15150         * sysdeps/aarch64/strrchr.S: New file.
15151         * NEWS: Updated.
15153 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15155         [BZ #17658]
15156         * stdlib/setenv.c: Fix memory leak when setting large,
15157         duplicate string.
15159 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15161         [BZ #17273]
15162         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15163         and tabs from buffer before parsing fstab entry.
15164         * misc/tst-mntent.c (main): Add test for mount entry with
15165         trailing spaces and tabs.
15167 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15169         [BZ #17748]
15170         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15171         * math/fesetround.c (fesetround): Rename to __fesetround and
15172         define as weak alias of __fesetround.  Use libm_hidden_weak.
15173         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15174         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15175         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15176         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15177         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15178         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15179         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15180         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15181         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15182         __fesetround_inline.
15183         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15184         __fesetround_inline instead of __fesetround.
15185         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15186         __fesetround and define as weak alias of __fesetround.  Use
15187         libm_hidden_weak.  Call __fesetround_inline instead of
15188         __fesetround.
15189         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15190         __fesetround and define as weak alias of __fesetround.  Use
15191         libm_hidden_weak.
15192         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15193         Likewise.
15194         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15195         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15196         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15197         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15198         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15199         __fesetround and define as weak alias of __fesetround.  Use
15200         libm_hidden_weak.
15201         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15202         __fesetround instead of fesetround.
15203         (default_libc_feholdexcept_setround): Likewise.
15204         (libc_feholdsetround_ctx): Likewise.
15205         (libc_feholdsetround_noex_ctx): Likewise.
15207         [BZ #17748]
15208         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15209         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15210         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15211         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15212         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15213         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15214         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15215         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15216         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15217         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15218         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15219         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15220         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15221         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15222         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15223         libm_hidden_def.
15224         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15225         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15226         Likewise.
15227         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15228         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15229         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15230         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15231         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15232         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15233         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15234         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15235         __fesetenv instead of fesetenv.
15236         (libc_feresetround_noex_ctx): Likewise.
15237         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15238         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15239         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15240         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15241         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15242         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15244         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15245         (__feupdateenv): Likewise.
15246         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15247         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15248         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15249         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15251 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15253         [BZ #17806]
15254         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15255         addresses have been freed.
15257 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15259         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15260         and nservall.
15262 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15264         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15265         Clean up check_pf allocation pattern. addresses
15267 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15269         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15270         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15271         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15272         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15273         * nptl/pthread_join.c (pthread_join): Likewise.
15274         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15275         * sysdeps/posix/waitid.c (__waitid): Likewise.
15276         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15277         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15278         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15279         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15281         Likewise.
15282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15283         (__libc_pread64): Likewise.
15284         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15285         (__libc_pwrite): Likewise.
15286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15287         (__libc_pwrite64): Likewsie.
15288         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15289         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15290         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15291         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15292         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15293         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15294         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15296         Likewise.
15297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15298         (__libc_pread64): Likewise.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15300         Likewise.
15301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15302         (__libc_pwrite64): Likewise.
15303         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15304         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15305         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15306         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15307         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15308         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15309         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15310         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15311         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15312         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15313         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15314         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15315         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15316         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15317         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15318         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15319         Likewise.
15321 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15323         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15324         (CFLAGS-test-double.c): Likewise.
15325         (CFLAGS-test-ldouble.c): Likewise.
15326         (CPPFLAGS-test-ifloat.c): Likewise.
15327         (CPPFLAGS-test-idouble.c): Likewise.
15328         (CPPFLAGS-test-ildoubl.c): Likewise.
15329         (CFLAGS-test-test-fenv.c): Remove variable.
15330         (CFLAGS-test-misc.c): Likewise.
15332 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15334         [BZ #17797]
15335         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15336         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15337         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15338         CLOCKS_PER_SEC == 1000000.
15339         * time/clocktest.c (main): Replace %ld with %jd and cast to
15340         intmax_t.
15342 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15344         * sysdeps/generic/unwind-resume.h: New file.
15345         * sysdeps/gnu/unwind-resume.c: Include it.
15346         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15347         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15348         argument list.
15349         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15350         global rather than static.
15351         (_Unwind_Resume): Update user.
15352         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15353         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15354         rather than static.  Add __attribute__ ((cold)).
15355         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15356         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15357         * sysdeps/arm/arm-unwind-resume.S: New file.
15358         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15359         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15360         * sysdeps/arm/Makefile [$(subdir) = csu]
15361         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15362         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15363         Add rt-arm-unwind-resume.
15364         [$(subdir) = nptl]
15365         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15366         Add pt-arm-unwind-resume.
15367         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15368         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15370 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15372         [BZ #17748]
15373         * include/fenv.h (__feholdexcept): Declare.  Use
15374         libm_hidden_proto.
15375         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15376         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15377         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15378         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15379         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15380         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15381         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15382         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15383         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15384         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15385         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15386         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15387         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15388         (feholdexcept): Likewise.
15389         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15390         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15391         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15392         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15393         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15394         __feholdexcept instead of feholdexcept.
15395         (default_libc_feholdexcept_setround): Likewise.
15397 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15399         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15400         to avoid using stl/str to align destination.
15402 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15404         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15406 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15408         [BZ #17796]
15409         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15410         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15411         Define as weak alias not strong alias.
15413 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15415         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15416         bltzal with addiupc.
15417         (RTLD_START): Ditto.
15419 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15421         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15422         for __vdso_* functions in declarations.
15423         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15424         definitions.
15425         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15426         INTERNAL_VSYSCALL): Use struct return types to check for error.
15428         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15429         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15430         function with cast from llround().
15431         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15432         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15433         Define.
15435 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15437         [BZ #17793]
15438         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15439         Define as weak alias not strong alias.
15441         [BZ #17635]
15442         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15443         ...
15444         * ctype/ctype-extn.c: ... here.
15445         (__isblank_l): Move to ...
15446         * ctype/ctype-c99_l.c: ... here.  New file.
15447         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15448         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15449         Remove variable.
15450         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15451         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15452         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15453         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15454         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15456         [BZ #17777]
15457         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15458         (posix_fadvise64): Define as weak alias not strong alias.
15459         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15460         (posix_fallocate64): Likewise.
15461         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15462         Remove variable.
15463         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15464         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15465         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15466         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15467         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15469 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15471         [BZ #16191]
15472         * NEWS: Mention bug fix.
15473         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15474         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15475         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15476         (HOST_STACK_END_ADDR): Likewise.
15478 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15480         [BZ #17748]
15481         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15482         * math/fegetround.c (fegetround): Rename to __fegetround and
15483         define as weak alias of __fegetround.  Use libm_hidden_weak.
15484         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15485         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15486         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15487         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15488         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15489         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15490         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15491         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15492         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15493         Undefine after rather than before function definition; use
15494         parentheses around function name in definition.
15495         (__fegetround): Also undefine macro after function definition.
15496         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15497         __fegetround and define as weak alias of __fegetround.  Use
15498         libm_hidden_weak.  Do not undefine as macro.
15499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15500         Likewise.
15501         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15502         __fegetround and define as weak alias of __fegetround.  Use
15503         libm_hidden_weak.
15504         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15505         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15506         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15507         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15508         __fegetround and define as weak alias of __fegetround.  Use
15509         libm_hidden_weak.
15510         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15511         __fegetround instead of fegetround.
15513         [BZ #17782]
15514         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15515         Condition macro definition on [__USE_MISC].
15517         [BZ #17781]
15518         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15519         (struct sigaction): Change type of sa_flags field to int.
15521         [BZ #17780]
15522         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15523         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15524         __glibc_reserved0.
15526         * nptl/version.c (banner): Use single year in copyright notice.
15528         * NEWS: Update copyright dates.
15529         * catgets/gencat.c (print_version): Likewise.
15530         * csu/version.c (banner): Likewise.
15531         * debug/catchsegv.sh: Likewise.
15532         * debug/pcprofiledump.c (print_version): Likewise.
15533         * debug/xtrace.sh (do_version): Likewise.
15534         * elf/ldconfig.c (print_version): Likewise.
15535         * elf/ldd.bash.in: Likewise.
15536         * elf/pldd.c (print_version): Likewise.
15537         * elf/sotruss.sh: Likewise.
15538         * elf/sprof.c (print_version): Likewise.
15539         * iconv/iconv_prog.c (print_version): Likewise.
15540         * iconv/iconvconfig.c (print_version): Likewise.
15541         * locale/programs/locale.c (print_version): Likewise.
15542         * locale/programs/localedef.c (print_version): Likewise.
15543         * login/programs/pt_chown.c (print_version): Likewise.
15544         * malloc/memusage.sh (do_version): Likewise.
15545         * malloc/memusagestat.c (print_version): Likewise.
15546         * malloc/mtrace.pl: Likewise.
15547         * manual/libc.texinfo: Likewise.
15548         * nptl/version.c (banner): Likewise.
15549         * nscd/nscd.c (print_version): Likewise.
15550         * nss/getent.c (print_version): Likewise.
15551         * nss/makedb.c (print_version): Likewise.
15552         * posix/getconf.c (main): Likewise.
15553         * scripts/test-installation.pl: Likewise.
15554         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15556 2015-01-02  Will Newton  <will.newton@linaro.org>
15558         * sysdeps/arm/armv7/configure: Removed.
15559         * sysdeps/arm/armv7/configure.ac: Likewise.
15561 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15563         * All files with FSF copyright notices: Update copyright dates
15564         using scripts/update-copyrights.
15565         * intl/plural.c: Regenerated.
15566         * locale/programs/charmap-kw.h: Likewise.
15567         * locale/programs/locfile-kw.h: Likewise.
15569 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15571         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15573 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15575         [BZ #17748]
15576         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15577         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15578         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15579         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15580         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15581         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15582         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15583         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15584         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15585         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15586         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15587         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15588         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15589         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15590         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15591         libm_hidden_def.
15592         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15594         Likewise.
15595         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15596         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15598         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15599         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15600         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15601         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15602         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15603         __fegetenv instead of fegetenv.
15604         (libc_feholdsetround_noex_ctx): Likewise.
15606 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15608         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15609         (Elf_MIPS_ABIFlags_v0): New structure.
15610         (EF_MIPS_FP64): Define.
15611         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15612         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15613         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15614         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15615         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15616         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15617         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15618         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15619         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15620         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15621         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15622         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15623         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15624         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15625         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15626         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15627         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15628         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15629         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15630         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15631         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15632         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15633         field.
15634         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15635         EF_MIPS_FP64.
15636         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15637         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15638         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15639         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15640         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15641         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15642         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15643         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15644         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15645         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15646         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15647         record the current FP ABI extension.
15648         (mips-mode-switch): Define to show if kernel headers support mode
15649         switching.
15650         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15651         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15652         supported SYSV ABI version to 3.
15653         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15654         feature.
15656 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15659         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15660         path.
15661         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15663 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15665         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15666         __fegetround and redefine to call __fegetround.  Remove condition
15667         on [!__NO_MATH_INLINES].
15668         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15669         function.
15670         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15671         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15672         Remove macro.
15673         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15674         instead of <fenv_libc.h>.
15675         (__llrintl): Call fegetround instead of __fegetround.
15676         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15677         instead of <fenv_libc.h>.
15678         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15679         (__lrintl): Call fegetround instead of __fegetround.
15680         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15681         instead of <fenv_libc.h>.
15682         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15683         (__rintl): Call fegetround instead of __fegetround.
15685 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15687         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15688         arrays.
15690 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15692         [BZ #17775]
15693         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15694         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15695         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15697 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15699         * sysdeps/i386/tls-macros.h: Include <features.h>.
15700         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15701         (TLS_IE): Likewise.
15702         (TLS_LD): Likewise.
15703         (TLS_GD): Likewise.
15704         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15705         define for GCC >= 5.0.
15707 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15709         * math/test-fenv.c (test_single_exception, set_single_exc,
15710         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15711         feexcp_mask_test, feenable_test, fe_single_test): Add
15712         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15713         case where they are not used.
15714         * math/libm-test.inc: Likewise.
15715         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15716         unused in the absence of FP rounding/exception support.
15717         * stdio-common/tst-printf-round.c: Likewise.
15718         * stdlib/tst-strtod-round.c: Likewise.
15719         * stdlib/tst-strtod-underflow.c: Likewise.
15721 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15723         [BZ #17723]
15724         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15725         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15726         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15727         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15728         libm_hidden_weak.
15729         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15730         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15731         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15732         libm_hidden_def.
15733         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15734         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15735         libm_hidden_weak.
15736         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15737         Likewise.
15738         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15739         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15740         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15741         libm_hidden_weak.
15742         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15743         libm_hidden_def.
15744         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15745         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15746         (__feraiseexcept): Likewise.
15747         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15748         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15749         libm_hidden_weak.
15750         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15751         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15752         libm_hidden_def.
15753         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15754         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15755         Use libm_hidden_def.
15756         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15757         libm_hidden_def.
15758         (feraiseexcept): Define as weak not strong alias.  Use
15759         libm_hidden_weak.
15760         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15761         New inline function.  Factored out of ...
15762         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15763         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15764         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15765         feraiseexcept.
15766         * math/w_acos.c (__acos): Likewise.
15767         * math/w_asin.c (__asin): Likewise.
15768         * math/w_ilogb.c (__ilogb): Likewise.
15769         * math/w_j0.c (y0): Likewise.
15770         * math/w_j1.c (y1): Likewise.
15771         * math/w_jn.c (yn): Likewise.
15772         * math/w_log.c (__log): Likewise.
15773         * math/w_log10.c (__log10): Likewise.
15774         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15775         * sysdeps/aarch64/fpu/math_private.h
15776         (libc_feupdateenv_test_aarch64): Likewise.
15777         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15778         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15779         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15780         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15781         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15782         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15783         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15785         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15786         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15788 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15790         [BZ #17732]
15791         * io/test-utime.c (main): Replace %ld with %jd and cast to
15792         intmax_t.
15793         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15794         * nptl/tst-mutex5.c: Include <stdint.h>.
15795         (do_test): Replace %ld with %jd and cast to intmax_t.
15796         * posix/tst-regex.c (run_test): Likewise.
15797         (run_test_backwards): Likewise.
15798         * rt/tst-clock.c: Include <stdint.h>.
15799         (clock_test): Replace %ld with %jd and cast to intmax_t.
15800         * rt/tst-cpuclock1.c: Include <stdint.h>.
15801         (do_test): Replace %lu with %ju and cast to uintmax_t.
15802         * rt/tst-cpuclock2.c: Include <stdint.h>.
15803         (do_test): Replace %lu with %ju and cast to uintmax_t.
15804         * rt/tst-mqueue1.c: Include <stdint.h>.
15805         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15806         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15807         intmax_t.
15808         * rt/tst-mqueue4.c (do_test): Likewise.
15809         * rt/tst-timer4.c: Include <stdint.h>.
15810         (check_ts): Replace %ld with %jd and cast to intmax_t.
15811         (do_test): Likewise.
15812         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15813         and cast to intmax_t.
15814         * sysdeps/pthread/tst-timer.c (main): Likewise.
15815         * time/clocktest.c (main): Likewise.
15816         * time/tst-posixtz.c (do_test): Likewise.
15817         * timezone/tst-timezone.c (main): Likewise.
15819 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15820             H.J. Lu  <hongjiu.lu@intel.com>
15822         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15823         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15824         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15825         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15826         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15827         version if bit_Fast_Unaligned_Load is set.
15828         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15829         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15830         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15831         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15832         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15833         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15834         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15835         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15836         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15837         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15838         to 4.
15839         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15840         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15841         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15842         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15844 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15846         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15847         instead of #if to avoid a Wundef warning.
15848         * stdlib/tst-limits.c (do_test): Likewise.
15850         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15851         parallel other exception macros.
15852         (fegetenv): Convert from macro to extern inline so that it applies
15853         retroactively to inline functions already seen by the compiler.
15854         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15856         * posix/Makefile (before-compile): Use $(objpfx) for
15857         posix-conf-vars-def.h.
15859 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         * posix/getconf.c (main): Use size_t for type of I.
15862         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15863         NSPEC.
15865         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15866         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15867         * posix/posix-envs.def: Likewise.
15868         * sysdeps/posix/sysconf.c: Likewise.
15869         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15870         (specs): Remove array.
15871         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15872         array.
15874         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15875         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15876         (__sysconf): Use CONF_IS_* macros.
15878         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15879         ($(objpfx)posix-conf-vars-def.h): New target.
15880         * posix/posix-conf-vars.list: New file.
15881         * posix/posix-conf-vars.h: New file.
15882         * posix/confstr.c: Include posix-conf-vars.h.
15883         (confstr): Use CONF_IS_* macros.
15884         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15885         CONF_IS_* macros.
15886         * scripts/gen-posix-conf-vars.awk: New file.
15888 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15890         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15891         fegetround): Add no-op macros to avoid linknamespace issues.
15893         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15894         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15896         * sysdeps/unix/sysv/linux/tile/sysdep.h
15897         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15898         assembly-specific section to avoid a redefinition warning.
15900         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15901         long before casting to pointer to avoid a cast warning.
15903 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15905         * sysdeps/tile/tilegx/Implies: New file.
15907 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15909         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15911 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15913         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15915 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15918         not define.
15919         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15920         <kernel-features.h>.
15921         (__utimes) [__NR_utimes]: Make code unconditional.
15922         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15923         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15924         (__ASSUME_UTIMES): Do not undefine.
15925         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15926         (__ASSUME_UTIMES): Likewise.
15927         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15928         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15929         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15930         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15932 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15934         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15936 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15938         [BZ #17747]
15939         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15940         alias to weak alias for j0l, y0l.
15941         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15942         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15944         [BZ #17746]
15945         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15946         conversion.
15948 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15950         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15951         to zero if not already defined.
15953 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #17724]
15956         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15957         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15958         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15959         (char *) casts added.
15960         * sysdeps/ieee754/k_standardf.c: New file.
15961         * sysdeps/ieee754/k_standardl.c: Likewise.
15962         * math/Makefile (libm-support): Remove k_standard.
15963         (libm-calls): Add k_standard.
15965 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15967         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15968         Optimize to avoid an unnecessary FPCR read.
15970 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15972         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15973         Optimize to reduce FPCR/FPSR accesses.
15975 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15977         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15978         Call libc_fetestexcept_aarch64.
15980 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15982         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15983         Call libc_fesetround_aarch64.
15985 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15987         [BZ #17733]
15988         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15989         (__bind): Do not define as weak alias.
15990         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15991         define.
15992         (__getsockname): Do not define as weak alias.
15994 2014-12-22  Will Newton  <will.newton@linaro.org>
15996         * manual/install.texi: Document that we require bison 2.7
15997         or above.
15998         * INSTALL: Regenerate.
15999         * configure.ac: Use AC_CHECK_PROG_VER instead of
16000         AC_PATH_PROG when checking for bison and check for
16001         version 2.7 or above.
16002         * configure: Regenerate.
16004 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16006         [BZ #17745]
16007         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16008         * sysdeps/tile/ffsll.c (ffsll): To here.
16010         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16012 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16014         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16015         if not defined.
16016         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16017         definition.
16018         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16019         hidden ___tls_get_addr.
16020         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16021         hidden __tls_get_addr.
16022         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16023         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16024         Likewise.
16026 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16028         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16029         _dl_init call.
16031 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16033         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16034         from "call _dl_init@PLT".
16035         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16037 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16039         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16040         guarantees.
16042 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16044         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16046 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16048         [BZ #17744]
16049         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16050         strnlen.
16052 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16054         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16055         of multu on MIPSr6.
16056         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16057         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16058         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16059         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16060         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16062 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16064         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16065         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16066         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16067         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16068         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16069         mips32r6/mips64r6.
16070         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16072 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16074         * string/strncat.c (STRNCAT): Simplify implementation.
16076 2014-12-19  David S. Miller  <davem@davemloft.net>
16078         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16079         access the quad as both a long double and as a series of 4 words.
16081         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16082         link_map->l_info array access.
16084 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16086         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16088         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16089         * math/atest-exp2.c (TIMEOUT): Likewise.
16090         * math/atest-sincos.c (TIMEOUT): Likewise.
16092 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16094         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16095         -Wno-error with -fno-builtin-lround.
16097 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16099         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16100         Contains futex constants and functions moved over from ...
16101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16102         <lowlevellock-futex.h>.
16103         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16104         (lll_timedwait_tid): Add comments and parentheses around macro
16105         arguments.
16107 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16110         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16111         (__lll_private_flag): Remove.
16112         (lll_futex_wait): Likewise.
16113         (lll_futex_timed_wait): Likewise.
16114         (lll_futex_wake): Likewise.
16115         (lll_futex_requeue): Likewise.
16116         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16117         (__lll_timedwait_tid): Spell out argument names.
16118         (lll_timedwait_tid): Add comments and parentheses around macro
16119         arguments.
16120         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16121         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16123 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16125         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16126         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16127         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16128         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16129         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16130         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16131         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16132         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16133         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16134         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16136         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16137         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16139         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16140         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16141         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16142         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16143         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16145 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16147         * sysdeps/x86_64/x32/Makefile: New file.
16149 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16151         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16152         1L with (mp_limb_t) 1.
16154 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16156         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16157         * nptl/libc_pthread_init.c: ... here.
16158         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16159         * nptl/register-atfork.c: ... here.
16161         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16162         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16163         Use assert_perror to check its return value.
16164         (__gai_create_helper_thread): Likewise.
16166         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16168         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16170 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16172         [BZ #17725]
16173         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16174         __profil_counter.
16175         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16176         Likewise.
16177         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16178         Likewise.
16179         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16180         Likewise.
16181         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16182         (profil_counter): Likewise.
16183         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16184         (profil_counter): Likewise.
16185         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16186         Likewise.
16187         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16188         Likewise.
16189         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16190         (profil_counter): Likewise.
16191         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16192         Likewise.
16193         [!__profil_counter] (profil_counter): Define as weak alias of
16194         __profil_counter.
16195         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16196         (profil_counter): Rename to __profil_counter.
16197         [!__profil_counter] (profil_counter): Define as weak alias of
16198         __profil_counter.
16199         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16200         (profil_counter): Rename to __profil_counter.
16201         [!__profil_counter] (profil_counter): Define as weak alias of
16202         __profil_counter.
16203         * sysdeps/posix/profil.c: Update comment referring to
16204         profil_counter.
16205         (__profil): Use __profil_counter instead of profil_counter.
16206         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16207         __profil_counter.  Use __profil_counter_ushort and
16208         __profil_counter_uint in definitions.
16209         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16210         instead of profil_counter_uint and profil_counter_ushort.
16212         [BZ #17722]
16213         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16214         define as weak alias of __inet_makeaddr.
16215         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16216         as weak alias of __inet_addr.
16217         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16218         as weak alias of __inet_pton.  Use libc_hidden_weak.
16219         * include/arpa/inet.h (__inet_pton): Declare.  Use
16220         libc_hidden_proto.
16221         (inet_makeaddr): Don't use libc_hidden_proto.
16222         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16223         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16224         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16225         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16226         Remove variable.
16227         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16228         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16230 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16232         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16234 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16236         * stdio-common/bug-vfprintf-nargs.c (do_test):
16237         Cast value to intptr_t to avoid format warning
16238         for usage with PRIdPTR printing macro.
16240 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16242         * libio/tst-widetext.c (do_test):
16243         Use format type %td instead of %Zd for ptrdiff_t
16244         in order to avoid format warning.
16246 2014-12-17  Andreas Schwab  <schwab@suse.de>
16248         * nscd/mem.c (gc): Add size_t cast to match printf format.
16250 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16252         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16253         (init): Apply PTR_MANGLE to pointers before storing them.
16254         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16255         before using them.
16257 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16259         [BZ #17719]
16260         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16261         define as weak alias of __memrchr.
16262         (__memrchr): Do not define as strong alias of memrchr.
16263         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16264         Remove variable.
16265         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16266         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16267         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16269         [BZ #17717]
16270         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16271         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16272         (if_indextoname): Rename to __if_indextoname and define as weak
16273         alias of __if_indextoname.  Use libc_hidden_weak.
16274         (if_freenameindex): Rename to __if_freenameindex and define as
16275         weak alias of __if_freenameindex.
16276         (if_nameindex): Rename to __if_nameindex and define as weak alias
16277         of __if_nameindex.
16278         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16279         __if_nametoindex and define as weak alias of __if_nametoindex.
16280         Use libc_hidden_weak.
16281         (if_freenameindex): Rename to __if_freenameindex and define as
16282         weak alias of __if_freenameindex.
16283         (if_nameindex): Rename to __if_nameindex and define as weak alias
16284         of __if_nameindex.
16285         (if_indextoname): Rename to __if_indextoname and define as weak
16286         alias of __if_indextoname.  Use libc_hidden_weak.
16287         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16288         __if_nametoindex and define as weak alias of __if_nametoindex.
16289         Use libc_hidden_weak.
16290         (if_freenameindex): Rename to __if_freenameindex and define as
16291         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16292         (if_nameindex_netlink): Use __if_freenameindex instead of
16293         if_freenameindex.
16294         (if_nameindex): Rename to __if_nameindex and define as weak alias
16295         of __if_nameindex.  Use libc_hidden_weak.
16296         (if_indextoname): Rename to __if_indextoname and define as weak
16297         alias of __if_indextoname.  Use libc_hidden_weak.
16298         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16299         libc_hidden_proto.
16300         [!_ISOMAC] (__if_freenameindex): Likewise.
16301         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16302         if_nametoindex.
16303         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16304         variable.
16305         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16306         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16307         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16308         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16309         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16310         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16311         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16313         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16314         Remove variable.
16315         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16316         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16318 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16320         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16321         subscript above bounds'
16323         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16324         bounds.
16326 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16328         * libio/tst-fopenloc.c: Use test-skeleton.c.
16330         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16331         (entry): Rename to ITEM.
16332         (do_test, comp): Adjust.
16334         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16336 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16338         * string/tester.c: Include <libc-internal.h>.
16339         (test_memset): Ignore -Wmemset-transposed-args.
16341 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16343         * misc/tst-mntent2.c (do_test): Fix warning.
16345 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16347         * elf/tst-unique4lib.cc(a): Mark as used.
16349 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16351         [BZ #17630]
16352         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16353         names.
16355 2014-12-16  Allan McRae  <allan@archlinux.org>
16357         * stdio-common/Makefile (tests): Re-add bug26.
16359 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16361         [BZ #17657]
16362         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16363         static array.
16365 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16367         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16368         (__lll_lock_wait): Likewise.
16369         (__lll_timedlock_wait): Likewise.
16370         (__lll_timedwait_tid): Likewise.
16371         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16372         (__lll_robust_timedlock_wait): Likewise.
16373         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16374         (lll_cond_trylock): Likewise.
16375         (__lll_lock): Likewise.
16376         (__lll_robust_lock): Likewise.
16377         (__lll_cond_lock): Likewise.
16378         (lll_robust_cond_lock): Likewise.
16379         (__lll_timedlock): Likewise.
16380         (__lll_robust_timedlock): Likewise.
16381         (__lll_unlock): Likewise.
16382         (__lll_robust_unlock): Likewise.
16383         (lll_wait_tid): Likewise.
16384         (lll_timedwait_tid): Likewise.
16386 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16388         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16390 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16392         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16394 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16396         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16397         * stdio-common/tst-sprintf.c: Likewise.
16399 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16401         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16403 2014-12-15  Jeff Law  <law@redhat.com>
16405         [BZ #16617]
16406         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16407         on the heap.  (CVE-2012-3406)
16408         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16409         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16410         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16412 2014-12-15  Will Newton  <will.newton@linaro.org>
16414         * manual/install.texi: Bump required version of texinfo
16415         to 4.7 from 4.5.
16416         * INSTALL: Regenerated.
16417         * configure.ac: Check for makeinfo version 4.7 and above.
16418         * configure: Regenerated.
16420 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16422         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16423         PREFIX, string constant to insert between directory and name.
16424         * sysdeps/posix/shm_open.c: Update caller.
16425         * sysdeps/posix/shm_unlink.c: Likewise.
16426         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16427         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16428         (SEM_SHM_PREFIX): New macro.
16429         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16430         [$(have-thread-library) = no].
16431         * nptl/Makefile (libpthread-routines): Add shm-directory.
16432         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16433         * sysdeps/nptl/shm-directory.h: New file.
16434         * sysdeps/posix/shm-directory.c
16435         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16436         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16437         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16438         INTERNAL_SYSCALL.
16439         (__where_is_shmfs): Function removed.
16440         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16441         Variables removed.
16442         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16443         Use SHM_GET_NAME.
16444         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16446         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16447         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16448         unconditional for use inside libpthread.
16449         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16451 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16453         * nptl/pthread_getaffinity.c: New file.
16454         * nptl/pthread_setaffinity.c: New file.
16455         * nptl/pthread_getname.c: New file.
16456         * nptl/pthread_setname.c: New file.
16458         * nptl/pthread_create.c (START_THREAD_DEFN)
16459         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16461 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16462             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16464         * resolv/res_send.c (send_vc): Disable warning resplen may
16465         be used uninitialized.
16467 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16469         * nptl/tst-mutex6.c
16470         (ATTR_NULL): New define checks ATTR against NULL.
16471         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16472         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16474 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16476         [BZ #17581]
16477         * malloc/hooks.c
16478         (mem2mem_check): Revert my previous change.
16479         (malloc_check_get_size): Revert my previous change.
16480         (mem2chunk_check): Revert my previous change.
16482 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16484         * sysdeps/posix/shm-directory.c: New file.
16485         * sysdeps/posix/shm-directory.h: New file.
16486         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16487         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16488         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16489         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16490         Transmute EPERM to EACCES.
16491         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16492         from ...
16493         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16494         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16496 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16498         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16499         pointer and cast to uintptr_t.
16500         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16502         Add cast to avoid warning.
16503         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16505 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16507         * nptl/semaphore.h: Move to ...
16508         * sysdeps/pthread/semaphore.h: ... here.
16509         * Makefile (installed-headers): Change nptl/semaphore.h to
16510         sysdeps/pthread/semaphore.h.
16512 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16514         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16515         generated error format strings.
16517         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16518         -Wformat-extra-args warnings for scanf formats.
16519         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16520         test of zero-length format (duh).
16521         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16522         corner-case scanf format test.
16523         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16524         generated fprintf format string.
16525         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16526         corner-case sprintf format tests.
16527         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16528         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16529         -Wformat-extra-args warnings throughout.
16530         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16531         (CFLAGS-scanf4.c): Likewise.
16532         (CFLAGS-scanf7.c): Likewise.
16533         (CFLAGS-tst-sprintf.c): Likewise.
16534         (CFLAGS-tst-printf.c): Likewise.
16535         (CFLAGS-tst-printfsz.c): Likewise.
16537 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16539         * include/cpio.h: New file.
16540         * include/fmtmsg.h: Likewise.
16542         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16543         corresponding format argument to size_t.
16544         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16545         arguments.
16546         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16547         corresponding format argument to size_t.
16548         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16549         arguments.
16550         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16551         corresponding format argument to size_t.
16552         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16553         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16554         (CFLAGS-tst-mbswcs2.c): Likewise.
16555         (CFLAGS-tst-mbswcs3.c): Likewise.
16556         (CFLAGS-tst-mbswcs4.c): Likewise.
16557         (CFLAGS-tst-mbswcs5.c): Likewise.
16558         (CFLAGS-tst-trans.c): Likewise
16560 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16562         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16563         rather than assuming they won't contain any '%'s.
16565 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16567         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16568         inhibit_loop_to_libcall to avoid recursive calls.
16569         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16570         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16572 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16574         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16575         prototype.
16577 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16579         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16580         integer value instead of boolean.
16582 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16584         * malloc/malloc.c: Fix powerof2 check.
16586 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16588         * locale/programs/locfile.h (maybe_swap_uint32):
16589         Remove inline and add unused attribute.
16591 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16594         Truncating assembler expression to a .long expression.
16596 2014-12-11  Andreas Schwab  <schwab@suse.de>
16598         * elf/rtld.c (struct map_args): Constify str member.
16599         (do_preload): Constify fname argument.
16601 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16604         constants definition.
16606 2014-12-11  Andreas Schwab  <schwab@suse.de>
16608         [BZ #16657]
16609         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16610         FORCE_ELISION instead of DO_ELISION.
16611         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16612         Remove.
16613         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16614         Likewise.
16616         * iconvdata/gconv-modules: Remove duplicate entry.
16618 2014-12-11  Will Newton  <will.newton@linaro.org>
16620         Merge gettext 0.19.3 into intl/.
16622         This involves a number of cosmetic changes to comments
16623         and ANSI function definitions and prototypes throughout
16624         all the files. The gettext copyright header is used but
16625         with the date ranges taken from the glibc copy.
16627         * NEWS: Add gettext merge to 2.21.
16628         * intl/bindtextdom.c: Switch to gettext copyright.
16629         Use ANSI definitions and prototypes.
16630         Use gl_* locking primitives rather than __libc_* ones.
16631         Use __builtin_expect rather than __glibc_likely/unlikely.
16632         * intl/dcgettext.c: Switch to gettext copyright.
16633         Use ANSI definitions and prototypes.
16634         * intl/dcigettext.c: Switch to gettext copyright.
16635         Use ANSI definitions and prototypes.
16636         (INTDIV0_RAISES_SIGFPE): New define.
16637         Use gl_* locking primitives rather than __libc_* ones.
16638         Include eval-plural.h instead of plural-eval.c.
16639         Use __builtin_expect rather than __glibc_likely/unlikely.
16640         * intl/dcngettext.c: Switch to gettext copyright.
16641         Use ANSI definitions and prototypes.
16642         * intl/dgettext.c: Likewise.
16643         * intl/dngettext.c: Likewise.
16644         * intl/plural-eval.c: Renamed to...
16645         * intl/eval-plural.h: ...this.
16646         * intl/explodename.c: Switch to gettext copyright.
16647         Use ANSI definitions and prototypes.
16648         (_nl_explode_name): Use strchr instead of __rawmemchr.
16649         * intl/finddomain.c: Switch to gettext copyright.
16650         Use ANSI definitions and prototypes.
16651         Use gl_* locking primitives rather than __libc_* ones.
16652         (_nl_find_domain): Use malloc rather than alloca for
16653         allocation of temporary locale name.
16654         * intl/gettext.c: Switch to gettext copyright.
16655         Use ANSI definitions and prototypes.
16656         * intl/gettextP.h: Switch to gettext copyright.
16657         Use ANSI definitions and prototypes.
16658         Use gl_* locking primitives rather than __libc_* ones.
16659         * intl/gmo.h: Switch to gettext copyright.
16660         (struct sysdep_string): Move struct segment_pair outside of
16661         struct definition.
16662         * intl/hash-string.c: Use ANSI definitions and prototypes.
16663         * intl/hash-string.h: Switch to gettext copyright.
16664         Use ANSI definitions and prototypes.
16665         * intl/l10nflist.c: Switch to gettext copyright.
16666         Use ANSI definitions and prototypes.
16667         (_nl_normalize_codeset): Avoid integer overflow.
16668         * intl/loadinfo.h: Switch to gettext copyright.
16669         Use ANSI definitions and prototypes.
16670         (LIBINTL_DLL_EXPORTED): New define.
16671         (PATH_SEPARATOR): New define.
16672         * intl/loadmsgcat.c: Switch to gettext copyright.
16673         * intl/localealias.c: Switch to gettext copyright.
16674         Use ANSI definitions and prototypes.
16675         (_nl_expand_alias): Use PATH_SEPARATOR.
16676         * intl/ngettext.c: Switch to gettext copyright.
16677         Use ANSI definitions and prototypes.
16678         * intl/plural-exp.c: Likewise.
16679         * intl/plural-exp.h: Switch to gettext copyright.
16680         Use ANSI definitions and prototypes.
16681         (struct expression): Move definition of enum operator outside
16682         of struct definition.
16683         * intl/plural.c: Regenerate.
16684         * intl/plural.y: Switch to gettext copyright.
16685         Use ANSI definitions and prototypes.
16686         Port to bison 3.0.
16687         * intl/textdomain.c: Switch to gettext copyright.
16688         Use ANSI definitions and prototypes.
16689         Use gl_* locking primitives rather than __libc_* ones.
16691 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16693         * debug/warning-nop.c: Add used atrribute.
16695 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16697         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16699         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16700         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16701         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16703 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16704             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16706         [BZ #17634]
16707         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16708         Undefine after defining function.  Define as weak alias of
16709         __wcschr.  Use libc_hidden_weak.
16710         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16711         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16712         (libc_hidden_def): Also define __GI___wcschr alias.
16713         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16714         __wcschr and define as weak alias of __wcschr.
16715         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16716         __wcschr.
16717         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16718         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16719         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16720         libc_hidden_weak.  Do not use libc_hidden_def.
16721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16722         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16723         __GI___wcschr alias.
16724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16725         [IS_IN (libc)] (wcschr): Define as macro expanding to
16726         __redirect_wcschr.
16727         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16728         [IS_IN (libc)] (__wcschr_power6): Likewise.
16729         [IS_IN (libc)] (__wcschr_power7): Likewise.
16730         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16731         instead of wcschr.
16732         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16733         __libc_wcschr.
16734         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16735         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16736         __wcschr and define as weak alias of __wcschr.  Use
16737         libc_hidden_builtin_def.
16738         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16739         as weak alias of __wcschr.  Use libc_hidden_weak.
16740         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16741         wcschr.
16742         * time/era.c (_nl_init_era_entries): Likewise.
16743         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16744         variable.
16745         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16746         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16748 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16750         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16751         format for long int variable.
16753 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16755         [BZ #10672]
16756         * manual/search.texi: (Array Sort Function): Remove claim how to make
16757         qsort stable.
16759 2014-12-10  Andreas Schwab  <schwab@suse.de>
16761         [BZ #12847]
16762         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16763         user-controlled locks.
16765 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16767         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16768         register.
16770 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16772         * configure.ac (--disable-werror): New configure option.
16773         (enable_werror): New AC_SUBST.
16774         * configure: Regenerated.
16775         * config.make.in (enable-werror): New variable.
16776         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16777         -Wno-error=undef.
16778         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16779         * manual/install.texi (Configuring and compiling): Document
16780         --disable-werror.
16781         * INSTALL: Regenerated.
16782         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16783         (CFLAGS-tst-chk2.c): Likewise.
16784         (CFLAGS-tst-chk3.c): Likewise.
16785         (CFLAGS-tst-chk4.cc): Likewise.
16786         (CFLAGS-tst-chk5.cc): Likewise.
16787         (CFLAGS-tst-chk6.cc): Likewise.
16788         (CFLAGS-tst-lfschk1.c): Likewise.
16789         (CFLAGS-tst-lfschk2.c): Likewise.
16790         (CFLAGS-tst-lfschk3.c): Likewise.
16791         (CFLAGS-tst-lfschk4.cc): Likewise.
16792         (CFLAGS-tst-lfschk5.cc): Likewise.
16793         (CFLAGS-tst-lfschk6.cc): Likewise.
16795         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16796         (main): Disable -Wdeprecated-declarations around calls to
16797         register_printf_function.
16799         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16800         (do_test): Disable -Wdiv-by-zero around some calls to
16801         fwrite_unlocked and fread_unlocked.
16803         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16804         (DIAG_POP_NEEDS_COMMENT): Likewise.
16805         (_DIAG_STR1): Likewise.
16806         (_DIAG_STR): Likewise.
16807         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16808         * stdio-common/bug21.c: Include <libc-internal.h>.
16809         (do_test): Disable -Wformat around call to sscanf.
16810         * stdio-common/scanf14.c: Include <libc-internal.h>.
16811         (main): Disable -Wformat around some calls to scanf functions.
16813 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16815         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16817 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16819         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16820         stack variable alignment.
16822 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16824         [BZ #17682]
16825         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16826         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16827         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16828         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16829         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16830         __getrlimit instead of getrlimit.
16831         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16832         __gettimeofday instead of gettimeofday.
16833         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16834         Likewise.
16835         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16836         Likewise.
16837         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16838         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16839         Remove variable.
16840         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16841         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16843 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16845         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16846         for wide-character tests.
16848 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16850         * io/openat64.c: #include <libc-internal.h>
16851         (__openat64): Prototypify.  Use ignore_value on MODE.
16852         * io/openat.c: Likewise.
16853         * misc/reboot.c: #include <libc-internal.h>
16854         (reboot): Prototypify.  Use ignore_value on HOWTO.
16855         * misc/ptrace.c: #include <libc-internal.h>
16856         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16858 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16860         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16861         XPG4, UNIX98 and XOPEN2K.
16862         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16863         Remove variable.
16864         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16866 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16868         * libio/fileops.c: Use ISO C style for function definitions.
16869         * libio/iofopen.c: Likewise.
16870         * libio/wfileops.c: Likewise.
16872         [BZ #17653]
16873         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16874         offset on EOF.
16875         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16876         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16877         (fgets_func): Function pointer to fgets and fgetws.
16878         (do_ftell_test): Add test to verify ftell value after read
16879         EOF.
16880         (do_test): Set fgets_func.
16882         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16883         O_TRUNC flag for w and w+ modes.
16884         (do_rewind_test): Likewise.
16885         (do_ftell_test): Likewise.
16886         (do_write_test): Likewise.
16888         [BZ #17647]
16889         * libio/fileops.c (do_ftell): Seek only when there are
16890         unflushed writes.
16891         * libio/wfileops.c (do_ftell_wide): Likewise.
16892         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16893         test case.
16894         (do_one_test): Call it.
16896 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16898         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16899         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16900         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16901         Remove variable.
16902         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16903         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16904         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16906 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16908         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16909         Remove variable.
16910         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16912         [BZ #17668]
16913         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16914         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16915         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16916         __freeifaddrs.  Use libc_hidden_weak.
16917         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16918         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16919         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16920         __freeifaddrs.  Use libc_hidden_weak.
16921         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16922         __getifaddrs and define as weak alias of __getifaddrs.  Use
16923         libc_hidden_weak.
16924         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16925         __freeifaddrs.  Use libc_hidden_weak.
16926         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16927         Remove variable.
16928         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16929         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16931 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16933         [BZ #17601]
16934         * sysdeps/mips/start.S (__start): Use indirect jump to call
16935         __libc_start_main.
16937 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16939         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16941         * nptl/tst-mutex1.c: Include <stdbool.h>.
16942         [!ATTR] (ATTR_NULL): New macro.
16943         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16944         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16945         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16947         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16948         to char *.
16950         [BZ #17665]
16951         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16952         Change conditional to [__USE_MISC].
16954         [BZ #17664]
16955         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16956         fgets_unlocked.
16957         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16958         __fgets_unlocked.
16959         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16960         fgets_unlocked.
16961         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16962         Remove variable.
16963         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16964         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16965         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16966         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16967         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16968         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16969         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16970         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16971         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16973         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16975 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16978         Remove strpbrk objects.
16979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16980         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16982         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16983         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16984         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16987         Remove strcspn objects.
16988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16989         (__libc_ifunc_impl_list): Remove strcspn implementation.
16990         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16991         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16992         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16993         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16996         Remove strspn objetcs.
16997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16998         (__libc_ifunc_impl_list): Remove strspn implementation.
16999         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17000         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17001         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17002         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17004 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17006         [BZ #17581]
17007         * malloc/hooks.c
17008         (mem2mem_check): Add a terminator to the chain of checking blocks.
17009         (malloc_check_get_size): Use it here.
17010         (mem2chunk_check): Ditto.
17012 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17014         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17015         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17017 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17019         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17021         * nptl/nptl-init.c: Include libc-internal.h.
17022         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17024         * elf/ldconfig.c (search_dir): Expand comment.
17026 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17028         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17029         variable.
17030         (linknamespace-symlist-stdlibs-tests): Likewise.
17031         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17032         instead of $(objpfx)symlist-stdlibs.
17033         (linknamespace-libs-isoc): New variable.
17034         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17035         (linknamespace-libs-ISO): New variable.
17036         (linknamespace-libs-ISO99): Likewise.
17037         (linknamespace-libs-ISO11): Likewise.
17038         (linknamespace-libs-XPG3): Likewise.
17039         (linknamespace-libs-XPG4): Likewise.
17040         (linknamespace-libs-POSIX): Likewise.
17041         (linknamespace-libs-UNIX98): Likewise.
17042         (linknamespace-libs-XOPEN2K): Likewise.
17043         (linknamespace-libs-POSIX2008): Likewise.
17044         (linknamespace-libs-XOPEN2K8): Likewise.
17045         ($(objpfx)symlist-stdlibs): Replace by
17046         $(linknamespace-symlist-stdlibs-tests).  Use
17047         $(linknamespace-libs-$*) as set of libraries.
17048         ($(linknamespace-header-tests)): Update dependencies.  Use
17049         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17050         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17051         * conform/linknamespace.pl: Remove comment about considering
17052         definitions of symbols from irrelevant libraries.
17054 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17056         [BZ #13862]
17057         * elf/dl-tls.c: Include <atomic.h>.
17058         (oom): Remove #ifdef SHARED/#endif.
17059         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17060         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17061         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17062         big enough.
17063         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17064         * nptl/Makefile (tests): Add tst-stack4.
17065         (modules-names): Add tst-stack4mod.
17066         ($(objpfx)tst-stack4): New.
17067         (tst-stack4mod.sos): Likewise.
17068         ($(objpfx)tst-stack4.out): Likewise.
17069         ($(tst-stack4mod.sos)): Likewise.
17070         (clean): Likewise.
17071         * nptl/tst-stack4.c: New file.
17072         * nptl/tst-stack4mod.c: Likewise.
17074 2014-11-27  J. Brown  <jb999@gmx.de>
17076         * sysdeps/x86/bits/string.h: Add recent CPUs.
17078 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17080         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17081         sigblock.
17083         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17084         feof.
17086         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17087         variable.
17089 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17091         * nscd/connections.c: Include libc-internal.h because of macro
17092         usage ignore_value.
17094 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17096         * string/bits/string3.h (__warn_memset_zero_len): Don't
17097         declare for gcc newer than 5.0.
17098         (memset): Don't test for zero-length __LEN for gcc newer than
17099         5.0.
17101 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17103         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17104         size_t for %zu format.
17106         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17107         difference, not %ju.
17109 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17111         * include/libc-internal.h (ignore_value): New macro.
17112         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17113         with ignore_value.
17115         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17116         definition.
17118         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17119         pthread_cleanup_push to void *.
17121         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17122         Undefine.
17124         [BZ #16619]
17125         [BZ #16740]
17126         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17127         instead of 1L << 52.
17129         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17130         * libio/bug-rewind2.c (do_test): Likewise.
17132         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17133         * debug/test-strcpy_chk-ifunc.c: Likewise.
17134         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17135         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17136         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17137         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17138         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17139         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17140         * Rules [$(multi-arch) = no] (tests): Do not filter out
17141         $(tests-ifunc).
17142         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17143         * debug/Makefile (tests-ifunc): Remove variable.
17144         (tests): Do not add $(tests-ifunc).
17145         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17146         (tests): Do not add $(tests-ifunc).
17147         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17148         [TEST_IFUNC]: Remove conditionals.
17149         * string/test-string.h (TEST_IFUNC): Remove macro.
17150         [TEST_IFUNC]: Remove conditionals.
17152         * string/test-strchr.c [!WIDE] (L): New macro.
17153         [WIDE] (L): Likewise.
17154         (check1): Use CHAR instead of char.  Use L on string and character
17155         constants.
17157 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17159         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17160         tests.
17161         * sysdeps/powerpc/bits/atomic.h
17162         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17163         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17164         (atomic_exchange_and_add_acq): Likewise.
17165         (atomic_exchange_and_add_rel): Likewise.
17166         * sysdeps/powerpc/powerpc32/bits/atomic.h
17167         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17168         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17169         * sysdeps/powerpc/powerpc64/bits/atomic.h
17170         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17171         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17173 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17175         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17176         Change synchronization of __sched_fifo_min_prio and
17177         __sched_fifo_max_prio.
17178         * nptl/pthread_mutexattr_getprioceiling.c
17179         (pthread_mutexattr_getprioceiling): Likewise.
17180         * nptl/pthread_mutexattr_setprioceiling.c
17181         (pthread_mutexattr_setprioceiling): Likewise.
17182         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17183         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17184         Likewise.
17186 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17188         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17189         void.
17191 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17193         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17194         third argument const.
17196 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17198         fnmatch: work around GCC compiler warning bug with uninit var
17199         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17200         This works around a bug with x86-64 GCC 4.9.2 and earlier
17201         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17202         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17203         used uninitialized in this function [-Wmaybe-uninitialized]".
17205 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17207         * posix/bug-regex31.c (main): Return RES not 0.
17209 2014-11-25  Anton Blanchard <anton@samba.org>
17211         * sysdeps/powerpc/bits/atomic.h
17212         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17214 2014-11-24  Sterling Augustine  <saugustine@google.com>
17216         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17218 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17220         [BZ #17608]
17221         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17223 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17225         [BZ #17633]
17226         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17227         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17228         variable.
17229         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17230         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17232 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17234         * string/strncpy.c (strncpy): Improve performance by using memset.
17236 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17238         * string/strcpy.c (strcpy):
17239         Improve performance by using strlen and memcpy.
17241 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17243         * string/strcoll_l.c (get_next_seq): __always_inline.
17244         * string/strcoll_l.c (do_compare): __always_inline.
17246 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17248         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17249         defined.
17250         * include/mqueue.h: Likewise.
17251         * include/stdlib.h: Likewise.
17253         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17254         (get_null_defines): Adjust.
17255         * sunrpc/Makefile: Adjust comment.
17256         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17257         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17258         (CFLAGS-interp.c): Likewise.
17259         (CFLAGS-ldconfig.c): Likewise.
17260         (CPPFLAGS-.os): Likewise.
17261         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17262         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17263         * extra-modules.mk (extra-modules.mk): Likewise.
17264         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17265         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17266         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17267         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17268         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17269         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17270         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17271         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17272         * iconvdata/Makefile (CPPFLAGS): Likewise.
17273         (cpp-srcs-left): Add libof for all iconvdata routines.
17274         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17275         * include/assert.h: Likewise.
17276         * include/ctype.h: Likewise.
17277         * include/errno.h: Likewise.
17278         * include/libc-symbols.h: Likewise.
17279         * include/math.h: Likewise.
17280         * include/netdb.h: Likewise.
17281         * include/resolv.h: Likewise.
17282         * include/stdio.h: Likewise.
17283         * include/stdlib.h: Likewise.
17284         * include/string.h: Likewise.
17285         * include/sys/stat.h: Likewise.
17286         * include/wctype.h: Likewise.
17287         * intl/l10nflist.c: Likewise.
17288         * libidn/idn-stub.c: Likewise.
17289         * libio/libioP.h: Likewise.
17290         * nptl/libc_multiple_threads.c: Likewise.
17291         * nptl/pthreadP.h: Likewise.
17292         * posix/regex_internal.h: Likewise.
17293         * resolv/res_hconf.c: Likewise.
17294         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17295         * sysdeps/arm/memmove.S: Likewise.
17296         * sysdeps/arm/sysdep.h: Likewise.
17297         * sysdeps/generic/_itoa.h: Likewise.
17298         * sysdeps/generic/symbol-hacks.h: Likewise.
17299         * sysdeps/gnu/errlist.awk: Likewise.
17300         * sysdeps/gnu/errlist.c: Likewise.
17301         * sysdeps/i386/i586/memcpy.S: Likewise.
17302         * sysdeps/i386/i586/memset.S: Likewise.
17303         * sysdeps/i386/i686/memcpy.S: Likewise.
17304         * sysdeps/i386/i686/memmove.S: Likewise.
17305         * sysdeps/i386/i686/mempcpy.S: Likewise.
17306         * sysdeps/i386/i686/memset.S: Likewise.
17307         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17308         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17309         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17310         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17311         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17313         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17314         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17315         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17316         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17317         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17318         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17319         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17320         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17321         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17322         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17323         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17324         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17325         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17328         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17329         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17330         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17331         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17332         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17333         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17334         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17340         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17341         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17342         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17343         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17344         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17345         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17346         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17347         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17348         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17349         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17350         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17351         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17352         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17353         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17354         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17355         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17356         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17357         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17358         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17359         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17360         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17361         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17362         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17363         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17364         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17365         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17366         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17367         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17368         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17369         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17370         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17371         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17372         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17373         * sysdeps/posix/closedir.c: Likewise.
17374         * sysdeps/posix/opendir.c: Likewise.
17375         * sysdeps/posix/readdir.c: Likewise.
17376         * sysdeps/posix/rewinddir.c: Likewise.
17377         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17378         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17379         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17380         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17381         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17382         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17384         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17385         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17386         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17387         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17388         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17389         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17390         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17391         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17392         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17393         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17394         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17397         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17398         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17399         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17400         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17405         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17408         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17410         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17412         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17413         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17414         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17415         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17416         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17417         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17418         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17419         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17420         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17421         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17422         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17423         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17424         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17425         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17426         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17427         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17428         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17429         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17430         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17431         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17434         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17435         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17437         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17438         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17439         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17440         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17441         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17442         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17443         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17444         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17445         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17446         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17447         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17448         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17449         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17450         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17451         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17452         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17453         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17454         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17455         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17456         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17457         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17459         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17461         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17462         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17463         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17464         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17465         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17466         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17467         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17468         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17469         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17470         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17472         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17473         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17475         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17476         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17478         * sysdeps/unix/alpha/sysdep.S: Likewise.
17479         * sysdeps/unix/alpha/sysdep.h: Likewise.
17480         * sysdeps/unix/make-syscalls.sh: Likewise.
17481         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17483         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17484         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17485         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17486         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17487         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17488         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17489         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17490         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17491         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17492         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17493         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17494         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17495         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17496         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17497         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17498         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17499         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17500         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17501         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17502         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17503         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17504         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17505         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17506         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17507         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17510         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17511         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17515         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17519         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17520         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17521         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17522         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17523         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17524         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17525         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17526         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17528         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17530         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17531         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17532         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17533         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17534         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17535         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17536         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17537         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17539         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17540         * sysdeps/x86_64/memcpy.S: Likewise.
17541         * sysdeps/x86_64/memmove.c: Likewise.
17542         * sysdeps/x86_64/memset.S: Likewise.
17543         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17544         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17545         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17546         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17547         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17550         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17551         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17552         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17553         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17554         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17555         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17556         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17557         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17558         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17559         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17560         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17561         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17562         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17563         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17564         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17565         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17566         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17567         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17568         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17569         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17570         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17571         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17572         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17573         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17574         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17575         * sysdeps/x86_64/strcmp.S: Likewise.
17577         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17579         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17580         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17581         * elf/rtld-Rules: Likewise.
17582         * elf/setup-vdso.h: Likewise.
17583         * include/assert.h: Likewise.
17584         * include/bits/stdlib-float.h: Likewise.
17585         * include/errno.h: Likewise.
17586         * include/sys/stat.h: Likewise.
17587         * include/unistd.h: Likewise.
17588         * sysdeps/aarch64/setjmp.S: Likewise.
17589         * sysdeps/alpha/setjmp.S: Likewise.
17590         * sysdeps/arm/__longjmp.S: Likewise.
17591         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17592         * sysdeps/arm/setjmp.S: Likewise.
17593         * sysdeps/arm/sysdep.h: Likewise.
17594         * sysdeps/generic/_itoa.h: Likewise.
17595         * sysdeps/generic/dl-sysdep.h: Likewise.
17596         * sysdeps/generic/ldsodefs.h: Likewise.
17597         * sysdeps/i386/dl-tls.h: Likewise.
17598         * sysdeps/i386/setjmp.S: Likewise.
17599         * sysdeps/m68k/setjmp.c: Likewise.
17600         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17601         * sysdeps/mach/hurd/opendir.c: Likewise.
17602         * sysdeps/posix/getcwd.c: Likewise.
17603         * sysdeps/posix/opendir.c: Likewise.
17604         * sysdeps/posix/profil.c: Likewise.
17605         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17606         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17607         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17608         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17609         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17610         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17611         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17612         * sysdeps/s390/dl-tls.h: Likewise.
17613         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17614         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17615         * sysdeps/sh/sh3/setjmp.S: Likewise.
17616         * sysdeps/sh/sh4/setjmp.S: Likewise.
17617         * sysdeps/unix/alpha/sysdep.h: Likewise.
17618         * sysdeps/unix/arm/sysdep.S: Likewise.
17619         * sysdeps/unix/i386/sysdep.S: Likewise.
17620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17621         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17622         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17623         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17625         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17626         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17628         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17629         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17630         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17631         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17632         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17635         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17636         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17638         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17639         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17640         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17643         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17644         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17645         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17647         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17648         * sysdeps/x86_64/setjmp.S: Likewise.
17650         * include/math.h: Use IS_IN instead of IS_IN_libm.
17651         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17663         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17668         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17671         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17672         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17673         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17674         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17675         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17676         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17678         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17679         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17680         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17681         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17682         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17683         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17685         Likewise.
17686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17687         Likewise.
17688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17689         Likewise.
17690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17691         Likewise.
17692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17693         Likewise.
17694         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17695         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17696         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17697         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17698         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17699         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17705         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17706         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17707         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17708         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17709         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17711         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17713         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17714         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17715         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17716         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17718         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17720         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17722         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17723         * nptl/pthreadP.h: Likewise.
17724         * nptl_db/structs.def: Likewise.
17725         * sysdeps/arm/sysdep.h: Likewise.
17726         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17727         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17728         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17729         * sysdeps/unix/alpha/sysdep.h: Likewise.
17730         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17732         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17733         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17734         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17735         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17736         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17737         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17738         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17739         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17740         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17741         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17742         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17743         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17748         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17749         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17750         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17751         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17752         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17753         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17754         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17755         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17757         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17758         * nptl/pthreadP.h: Likewise.
17759         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17760         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17761         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17762         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17763         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17764         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17765         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17766         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17767         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17768         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17769         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17770         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17772         Likewise.
17773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17774         Likewise.
17775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17777         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17778         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17780         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17781         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17782         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17784         * dlfcn/dladdr.c: Use IS_IN.
17785         * dlfcn/dladdr1.c: Likewise.
17786         * dlfcn/dlclose.c: Likewise.
17787         * dlfcn/dlerror.c: Likewise.
17788         * dlfcn/dlinfo.c: Likewise.
17789         * dlfcn/dlmopen.c: Likewise.
17790         * dlfcn/dlopen.c: Likewise.
17791         * dlfcn/dlsym.c: Likewise.
17792         * dlfcn/dlvsym.c: Likewise.
17794         * include/ifaddrs.h: Use IS_IN.
17795         * inet/check_pf.c: Likewise.
17796         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17797         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17799         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17800         IS_IN_ldconfig.
17801         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17802         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17804         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17805         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17806         IS_IN (libc).
17808         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17810         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17811         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17812         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17813         * include/libc-symbols.h (IS_IN_LIB): New macro.
17814         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17815         * include/netdb.h: Likewise.
17816         * include/stap-probe.h: Remove all uses of IN_LIB.
17818         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17819         instead of IN_MODULE.
17820         * include/libc-symbols.h (IN_MODULE): Define using
17821         MODULE_NAME.
17822         (PASTE_NAME, PASTE_NAME1): New macros.
17823         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17824         of IN_LIB.
17825         (STAP_PROBE_ASM): Likewise.
17827 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17829         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17830         __mach_init in dlopened libc.
17832 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17834         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17835         * sysdeps/arm/preconfigure: Regenerate.
17837 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17839         * nptl/pthread_create.c (__pthread_create_2_1): Set
17840         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17841         when copying values from IATTR into PD.
17843 2014-11-21  Will Newton  <will.newton@linaro.org>
17844             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17846         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17847         Refactor inline-asm.  Also add comment.
17849         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17850         ElfW macro instead of hardcoded Elf64 types.
17851         (la_aarch64_gnu_pltenter): Likewise.
17852         * sysdeps/aarch64/dl-machine.h
17853         (elf_machine_runtime_setup): Use ElfW(Addr).
17855         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17856         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17857         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17858         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17859         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17860         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17861         (R_AARCH64_TLS_DTPMOD): This.
17862         (R_AARCH64_TLS_DTPREL64): Rename to ...
17863         (R_AARCH64_TLS_DTPREL): This.
17864         (R_AARCH64_TLS_TPREL64): Rename to ...
17865         (R_AARCH64_TLS_TPREL): This.
17866         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17867         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17868         R_AARCH64_TLS_TPREL64.
17869         (elf_machine_rela): Likewise.
17871 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17873         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17874         by setting it to 0.  64b atomics are not supported currently.
17876 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17878         [BZ #16469]
17879         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17880         search domain names.
17882 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17884         [BZ #16469]
17885         * NEWS: Update.
17886         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17887         trailing dot.
17888         * posix/tst-getaddrinfo5.c: New.
17889         * posix/Makefile (tests): Add it.
17891 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17893         [BZ #14498]
17894         * NEWS: Fixed.
17895         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17896         after parsing line but before break_if_match.
17897         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17898         if there is a protocol mismatch.
17900 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17902         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17903         because the potential race is on the user-supplied stream.
17905 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17907         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17908         string literal if not passed a buffer.
17909         * manual/job.texi (ctermid): Update reasoning, note deviation
17910         from posix, suggest mtasurace when not passed a buffer, for
17911         future non-preliminary safety notes.
17913 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17915         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17916         of not passing it a buffer.
17917         Reported by Peng Haitao.
17919 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17921         * manual/Makefile ($(objpfx)stamp-summary): Require
17922         check-safety.sh to pass.
17923         * manual/check-safety.sh: Wish for verification that every
17924         @deftypefn and @deftypefun is followed by a @safety remark.
17926 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17928         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17930         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17931         PTHREAD_CANCEL_ASYNCHRONOUS.
17932         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17933         send SIGCANCEL.
17935         * nptl/default-sched.h: New file.
17936         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17937         * nptl/pthread_create.c: Include it.
17938         (__pthread_create_2_1): Use collect_default_sched instead of making
17939         Linux syscalls here directly.
17941 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17943         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17944         __pthread_once): Use C11 atomics.
17946 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17948         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17950 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17952         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17953         atomic_thread_fence_acquire, atomic_thread_fence_release,
17954         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17955         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17956         atomic_compare_exchange_weak_relaxed,
17957         atomic_compare_exchange_weak_acquire,
17958         atomic_compare_exchange_weak_release,
17959         atomic_exchange_acquire, atomic_exchange_release,
17960         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17961         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17962         atomic_fetch_and_acquire,
17963         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17965 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17967         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17968         USE_ATOMIC_COMPILER_BUILTINS): Define.
17969         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17971         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17973         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17975         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17977         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17979         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17981         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17983         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17985         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17987         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17989         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17991         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17993         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17995         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17997         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17999         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18001         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18003         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18004         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18005         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18007         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18010 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18012         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18013         the sched_priority value here.  It was already checked when the user
18014         called pthread_attr_setschedparam.
18016         * nptl/tst-bad-schedattr.c: New file.
18017         * nptl/Makefile (tests): Add it.
18019 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18020             Florian Weimer  <fweimer@redhat.com>
18021             Joseph Myers  <joseph@codesourcery.com>
18022             Adam Conrad  <adconrad@0c3.net>
18023             Andreas Schwab  <schwab@suse.de>
18024             Brooks  <bmoses@google.com>
18026         [BZ #17625]
18027         * wordexp-test.c (__dso_handle): Add prototype.
18028         (__register_atfork): Likewise.
18029         (__app_register_atfork): New function.
18030         (registered_forks): New global.
18031         (register_fork): New function.
18032         (test_case): Add 3 new tests for WRDE_CMDSUB.
18033         (main): Call __app_register_atfork.
18034         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18035         fork count is non-zero fail the test.
18036         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18037         is set.
18038         (parse_dollars): Remove check for WRDE_NOCMD.
18039         (parse_dquote): Likewise.
18041 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18043         * Makeconfig (built-modules): List non-library modules to be
18044         built.
18045         (module-cppflags): Include libc-modules.h for
18046         everything except shlib-versions.v.i.
18047         (CPPFLAGS): Use it.
18048         (before-compile): Add libc-modules.h.
18049         ($(common-objpfx)libc-modules.h,
18050         $(common-objpfx)libc-modules.stmp): New targets.
18051         (common-generated): Add libc-modules.h and libc-modules.stmp.
18052         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18053         * include/libc-symbols.h: Don't include libc-modules.h.
18054         * include/libc-modules.h: Remove file.
18055         * scripts/gen-libc-modules.awk: New script to generate
18056         libc-modules.h.
18057         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18058         Depend on libc-modules.stmp.
18060         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18062         * Makeconfig (in-module): Get value of libof set for the
18063         translation unit.
18064         (CPPFLAGS): Use $(in-module).
18065         * Makerules: Don't suffix routine names for nonlib.
18066         * include/libc-modules.h: New file.
18067         * include/libc-symbols.h: Include libc-modules.h
18068         (IS_IN): New macro to replace IS_IN_* macros.
18069         * elf/Makefile: Set libof-* for each routine.
18070         * elf/rtld-Rules: Likewise.
18071         * extra-modules.mk: Likewise.
18072         * iconv/Makefile: Likewise.
18073         * iconvdata/Makefile: Likewise.
18074         * locale/Makefile: Likewise.
18075         * malloc/Makefile: Likewise.
18076         * nss/Makefile: Likewise.
18077         * sysdeps/gnu/Makefile: Likewise.
18078         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18079         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18080         * sysdeps/s390/s390-64/Makefile: Likewise.
18081         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18082         CPPFLAGS for nscd instead of nonlib.
18084 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18086         * nptl/createthread.c: New file.
18088         * nptl/createthread.c: Moved ...
18089         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18091         * nptl/createthread.c: Add proper top-line comment.
18092         (do_clone): Folded into ...
18093         (create_thread): ... here.  Take new arguments STOPPED_START and
18094         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18095         increment __nptl_threads, do event-reporting logic, do
18096         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18097         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18098         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18099         just send SIGCANCEL.
18100         * nptl/pthread_create.c: Forward-declare create_thread before
18101         including createthread.c.
18102         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18103         declaration, and new macro START_THREAD_SELF to replace argument.
18104         Remove return statement.
18105         (report_thread_creation): New function.
18106         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18107         synchronization logic, and __nptl_nthreads increment here, around
18108         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18109         PD->parent_cancelhandling here, before create_thread.  When
18110         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18111         __deallocate_stack, and ENOMEM translation here.
18113 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18115         [BZ #17616]
18116         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18117         (mptwo): Rename to __mptwo.
18118         (__inv): Use __mptwo instead of mptwo.
18119         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18120         (mptwo): Rename to __mptwo.
18121         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18122         of mpone and __mptwo instead of mptwo.
18123         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18124         instead of mpone.
18125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18126         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18127         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18128         of mpone and __mptwo instead of mptwo.
18129         (__mpranred): Use __mpone instead of mpone.
18130         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18131         variable.
18132         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18133         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18134         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18135         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18136         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18137         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18138         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18139         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18140         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18141         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18142         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18143         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18144         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18145         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18146         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18147         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18148         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18149         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18150         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18152 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18154         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18155         replace BSD Handler xref with BSD Signal Handling.
18157 2014-11-17  Richard Henderson  <rth@redhat.com>
18159         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18160         (_FP_PACK_RAW_2): Remove.
18161         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18162         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18163         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18164         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18165         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18166         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18167         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18168         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18169         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18170         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18171         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18172         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18173         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18174         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18175         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18176         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18178 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18180         * signal/signal.h [__USE_MISC]
18181         (struct sigvec): Remove type.
18182         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18183         (sigvec): Remove declaration.
18184         * sysdeps/posix/sigvec.c: Moved ...
18185         * signal/sigvec.c: ... here, replacing old file.
18186         (struct sigvec): New type, copied from old signal.h definition.
18187         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18188         (__sigvec): Convert definition to prototype.
18189         (sigvec): Replace weak_alias with compat_symbol.
18190         * signal/Versions (libc: GLIBC_2.21): New version set.
18191         * include/signal.h: Remove __sigvec declaration.
18192         * sysdeps/unix/bsd/sigvec.c: Remove file.
18193         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18194         * manual/signal.texi (BSD Handler): Remove subsection.
18195         Move siginterrupt up to ...
18196         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18197         (Blocking in BSD): Fold subsection into its parent.
18198         * NEWS: Mention sigvec removal.
18200 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18202         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18203         (DLA_FMS): Make definition conditional only on [__FMA4__].
18204         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18205         definition.
18207         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18208         Make definition conditional only on [PROF].
18209         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18210         definition.
18211         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18212         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18214         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18215         !__GNUC__].
18216         * include/signal.h (__sigpause): Move declaration above call to
18217         libc_hidden_proto.
18218         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18219         variable.
18220         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18221         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18223 2014-11-14  David S. Miller  <davem@davemloft.net>
18225         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18226         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18228 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18230         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18231         * configure: Regenerated.
18232         * manual/install.texi (Tools for Compilation): Document a
18233         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18234         compiler verified to work.
18235         * INSTALL: Regenerated.
18237         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18238         redeclare with asm name.
18239         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18240         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18241         including <string.h>.
18242         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18243         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18244         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18245         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18246         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18248         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18250 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18252         * stdlib/strtol.c (__strtol): Use prototype definition.
18254         [BZ #17594]
18255         * stdlib/strtol.c (SYM__): New macro.
18256         (SYM__1): Likewise.
18257         (__strtol): Likewise.
18258         (strtol): Rename to __strtol and define as weak alias of
18259         __strtol.  Use libc_hidden_weak.
18261 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18263         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18264         Use numbered labels in inline assembly.
18266 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18268         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18269         Add setjmp LIBC_PROBE.
18270         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18271         Likewise.
18272         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18273         Add longjmp, longjmp_target LIBC_PROBE.
18274         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18275         Likewise.
18277 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18279         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18280         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18281         to get rid of unused variable warning.
18283 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18285         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18286         Check for unwind_backtrace ==  NULL only in SHARED case.
18287         (__backchain_backtrace): Compile only in SHARED case.
18288         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18289         Likewise.
18290         (__backchain_backtrace): Declare as static.
18292 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18294         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18295         (__libc_multiple_threads_ptr): Variable moved ...
18296         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18298 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18300         * conform/GlibcConform.pm: New file.
18301         * conform/conformtest.pl: Use GlibcConform module.
18302         * conform/linknamespace.pl: New file.
18303         * conform/list-header-symbols.pl: Likewise.
18304         * conform/Makefile (linknamespace-symlists-base): New variable.
18305         (linknamespace-symlists-tests): Likewise.
18306         (linknamespace-header-base): Likewise.
18307         (linknamespace-header-tests): Likewise.
18308         (tests-special): Add new tests.
18309         ($(linknamespace-symlists-tests)): New rule.
18310         (linknamespace-libs): New variable.
18311         ($(objpfx)symlist-stdlibs): New rule.
18312         ($(linknamespace-header-tests)): Likewise.
18313         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18314         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18315         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18316         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18317         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18318         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18319         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18320         (test-xfail-ISO/math.h/linknamespace): Likewise.
18321         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18322         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18323         (test-xfail-ISO/time.h/linknamespace): Likewise.
18324         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18325         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18326         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18327         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18328         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18329         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18330         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18331         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18332         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18333         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18334         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18335         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18336         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18337         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18338         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18339         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18340         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18341         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18342         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18343         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18344         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18345         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18346         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18347         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18348         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18349         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18350         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18351         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18352         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18353         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18354         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18355         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18356         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18357         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18358         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18359         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18360         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18361         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18362         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18363         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18364         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18365         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18366         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18367         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18368         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18369         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18370         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18371         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18372         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18373         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18374         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18375         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18376         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18377         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18378         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18379         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18380         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18381         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18382         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18383         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18384         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18385         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18386         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18387         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18388         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18389         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18390         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18391         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18392         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18393         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18394         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18395         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18396         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18397         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18398         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18399         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18400         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18401         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18402         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18403         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18404         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18405         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18406         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18407         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18408         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18409         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18410         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18411         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18412         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18413         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18414         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18415         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18416         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18417         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18418         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18419         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18420         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18421         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18422         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18423         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18424         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18425         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18426         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18427         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18428         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18429         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18430         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18431         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18432         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18433         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18434         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18435         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18436         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18437         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18438         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18439         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18440         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18441         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18442         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18443         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18444         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18445         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18446         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18447         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18448         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18449         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18450         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18451         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18452         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18453         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18454         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18455         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18456         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18457         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18458         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18459         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18460         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18461         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18462         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18463         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18464         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18465         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18466         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18467         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18468         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18469         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18470         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18471         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18472         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18473         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18475         [BZ #17589]
18476         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18477         of fgets_unlocked.
18479         [BZ #17585]
18480         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18481         (memmem): Rename to __memmem and define as weak alias of
18482         __memmem.  Use libc_hidden_weak.
18483         (__memmem): Use libc_hidden_def.
18484         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18485         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18486         memmem.
18488         [BZ #17582]
18489         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18490         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18491         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18492         and define as weak alias of __fgets_unlocked.  Use
18493         libc_hidden_weak.
18494         (__fgets_unlocked): Use libc_hidden_def.
18495         * include/stdio.h (__fgets_unlocked): Declare.  Use
18496         libc_hidden_proto.
18497         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18498         __fgets_unlocked instead of fgets_unlocked.
18499         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18500         (GET_NPROCS_CONF_PARSER): Likewise.
18501         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18502         (GET_NPROCS_CONF_PARSER): Likewise.
18504         [BZ #17574]
18505         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18506         weak alias of __wmemset.  Use libc_hidden_weak.
18507         (__wmemset): Use libc_hidden_def.
18508         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18509         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18510         of wmemset.
18512         [BZ #17573]
18513         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18514         with asm name __mempcpy.
18515         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18517         [BZ #17572]
18518         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18519         and define as weak alias of __rawmemchr.
18520         (__rawmemchr): Do not define as strong alias of rawmemchr.
18522         [BZ #17571]
18523         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18524         alias of __qsort_r.
18525         (qsort): Call __qsort_r instead of qsort_r.
18526         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18527         (__qsort_r): Declare.  Call libc_hidden_proto.
18528         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18529         instead of qsort_r.
18530         * nscd/gai.c (__qsort_r): Define to qsort_r.
18531         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18532         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18533         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18535         [BZ #17570]
18536         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18537         define as weak alias of __malloc_info.
18539         [BZ #17584]
18540         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18541         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18542         (__rewinddir): Use libc_hidden_def.
18543         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18544         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18545         (__rewinddir): Use libc_hidden_def.
18546         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18547         weak alias of __rewinddir.  Don't use libc_hidden_def.
18548         (__rewinddir): Use libc_hidden_def.
18549         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18550         (__rewinddir): Use libc_hidden_proto.
18551         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18552         rewinddir.
18553         (__getcwd): Use __rewinddir instead of rewinddir.
18555         [BZ #17583]
18556         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18557         alias of __fileno.  Use libc_hidden_weak.
18558         (__fileno): Use libc_hidden_def.
18559         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18560         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18561         alias of __ftello.
18562         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18563         __ftello.
18564         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18565         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18566         libc_hidden_def.
18567         (fread_unlocked): Don't use libc_hidden_ver.
18568         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18569         and define as weak alias of __fread_unlocked.  Don't use
18570         libc_hidden_def.
18571         (__fread_unlocked): Use libc_hidden_def.
18572         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18573         (ftello): Don't use libc_hidden_proto.
18574         (__ftello): Declare.  Use libc_hidden_proto.
18575         (fread_unlocked): Don't use libc_hidden_proto.
18576         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18577         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18578         and __ftello instead of fileno, fread_unlocked and ftello.
18580 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18582         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18583         GOT12.
18584         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18585         Likewise.
18586         (_dl_start_user): Likewise.
18587         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18589 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18590             Siddhesh Poyarekar  <siddhesh@redhat.com>
18592         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18593         Move argv and envp down instead of moving argc up.
18594         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18596 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18598         [BZ #17506]
18599         * test-skeleton.c (main): Return successful if one of
18600         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18601         * string/tst-strcoll-overflow.c: Define expected status.
18603 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18605         [BZ #17475]
18606         * locale/iso-639.def: Define Bhili and Tulu language codes.
18608 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18610         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18612 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18614         [BZ #17555]
18615         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18617 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18619         * configure.ac: Updated check of minimal required version to
18620         2.22.
18621         * manual/install.texi (Tools for Compilation): Updated version
18622         number.
18623         * configure: Regenerated.
18624         * INSTALL: Likewise.
18626 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18628         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18629         __tls_get_addr.
18631 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18633         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18634         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18635         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18636         libc_hidden_weak.
18637         (waitpid): Define as alias of __waitpid.
18638         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18639         __waitpid.
18640         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18641         libc_hidden_weak.
18642         (waitpid): Define as alias of __waitpid.
18643         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18644         __libc_waitpid alias.
18645         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18646         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18647         Likewise.
18648         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18649         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18650         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18651         alias.
18652         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18653         __waitpid.
18654         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18655         libc_hidden_weak.
18656         (waitpid): Define as alias of __waitpid.
18658 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18660         * manual/llio.texi: Add comment that write safety has been
18661         fixed in Linux.
18663         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18664         (localplt-build-dso): Add elf/ld.so.
18665         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18666         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18667         and free for ld.so.
18668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18669         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18671         Likewise.
18672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18673         Likewise.
18674         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18675         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18676         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18677         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18678         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18679         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18680         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18681         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18682         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18683         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18684         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18686 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18688         [BZ #14132]
18689         * include/libc-symbols.h (INTUSE): Remove macro.
18690         (INTDEF): Likewise.
18691         (INTVARDEF): Likewise.
18692         (_INTVARDEF): Likewise.
18693         (INTDEF2): Likewise.
18694         (INTVARDEF2): Likewise.
18695         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18696         rtld_hidden_def instead of INTVARDEF.
18697         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18698         (_dl_starting_up_internal): Remove declaration.
18699         (_dl_starting_up): Use rtld_hidden_proto.
18700         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18701         declaration.
18702         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18703         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18704         _dl_starting_up.
18705         * elf/dl-writev.h (_dl_writev): Likewise.
18706         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18707         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18708         _dl_starting_up_internal.
18710 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18712         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18713         test-skeleton.c.
18715 2014-11-05  Will Newton  <will.newton@linaro.org>
18717         * benchtests/Makefile: (bench-malloc): Add malloc thread
18718         scalability benchmark.
18719         * benchtests/bench-malloc-threads.c: New file.
18721 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18723         * sysdeps/aarch64/strchrnul.S: New file.
18725 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18727         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18728         definition.
18729         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18730         Likwise.
18731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18732         Likewise.
18733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18734         Likewise.
18735         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18736         Likewise.
18737         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18738         Likewise.
18740 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18742         * catgets/test-gencat.c: Use test-skeleton.c.
18743         * catgets/tst-catgets.c: Likewise.
18744         * csu/tst-empty.c: Likewise.
18745         * elf/tst-audit2.c: Likewise.
18746         * elf/tst-global1.c: Likewise.
18747         * elf/tst-pathopt.c: Likewise.
18748         * elf/tst-piemod1.c: Likewise.
18749         * elf/tst-tls10.c: Likewise.
18750         * elf/tst-tls11.c: Likewise.
18751         * elf/tst-tls12.c: Likewise.
18752         * gnulib/tst-gcc.c: Likewise.
18753         * iconvdata/tst-e2big.c: Likewise.
18754         * iconvdata/tst-loading.c: Likewise.
18755         * iconv/tst-iconv1.c: Likewise.
18756         * iconv/tst-iconv2.c: Likewise.
18757         * inet/test-inet6_opt.c: Likewise.
18758         * inet/tst-gethnm.c: Likewise.
18759         * inet/tst-network.c: Likewise.
18760         * inet/tst-ntoa.c: Likewise.
18761         * intl/tst-codeset.c: Likewise.
18762         * intl/tst-gettext2.c: Likewise.
18763         * intl/tst-gettext3.c: Likewise.
18764         * intl/tst-ngettext.c: Likewise.
18765         * intl/tst-translit.c: Likewise.
18766         * io/test-stat.c: Likewise.
18767         * libio/test-fmemopen.c: Likewise.
18768         * libio/tst-freopen.c: Likewise.
18769         * libio/tst-sscanf.c: Likewise.
18770         * libio/tst-ungetwc1.c: Likewise.
18771         * libio/tst-ungetwc2.c: Likewise.
18772         * libio/tst-widetext.c: Likewise.
18773         * localedata/tst-ctype.c: Likewise.
18774         * localedata/tst-digits.c: Likewise.
18775         * localedata/tst-leaks.c: Likewise.
18776         * localedata/tst-mbswcs1.c: Likewise.
18777         * localedata/tst-mbswcs2.c: Likewise.
18778         * localedata/tst-mbswcs3.c: Likewise.
18779         * localedata/tst-mbswcs4.c: Likewise.
18780         * localedata/tst-mbswcs5.c: Likewise.
18781         * localedata/tst-setlocale.c: Likewise.
18782         * localedata/tst-trans.c: Likewise.
18783         * localedata/tst-wctype.c: Likewise.
18784         * localedata/tst-xlocale1.c: Likewise.
18785         * login/tst-grantpt.c: Likewise.
18786         * malloc/tst-calloc.c: Likewise.
18787         * malloc/tst-malloc.c: Likewise.
18788         * malloc/tst-mallocstate.c: Likewise.
18789         * malloc/tst-mcheck.c: Likewise.
18790         * malloc/tst-mtrace.c: Likewise.
18791         * malloc/tst-obstack.c: Likewise.
18792         * math/atest-exp2.c: Likewise.
18793         * math/atest-exp.c: Likewise.
18794         * math/atest-sincos.c: Likewise.
18795         * math/test-matherr.c: Likewise.
18796         * math/test-misc.c: Likewise.
18797         * math/test-powl.c: Likewise.
18798         * math/tst-definitions.c: Likewise.
18799         * misc/tst-dirname.c: Likewise.
18800         * misc/tst-efgcvt.c: Likewise.
18801         * misc/tst-fdset.c: Likewise.
18802         * misc/tst-hsearch.c: Likewise.
18803         * misc/tst-mntent2.c: Likewise.
18804         * nptl/tst-sem7.c: Likewise.
18805         * nptl/tst-sem8.c: Likewise.
18806         * nptl/tst-sem9.c: Likewise.
18807         * nss/test-netdb.c: Likewise.
18808         * posix/tst-fnmatch.c: Likewise.
18809         * posix/tst-getlogin.c: Likewise.
18810         * posix/tst-gnuglob.c: Likewise.
18811         * posix/tst-mmap.c: Likewise.
18812         * pwd/tst-getpw.c: Likewise.
18813         * resolv/tst-inet_ntop.c: Likewise.
18814         * rt/tst-timer.c: Likewise.
18815         * stdio-common/test-fseek.c: Likewise.
18816         * stdio-common/test-popen.c: Likewise.
18817         * stdio-common/test-vfprintf.c: Likewise.
18818         * stdio-common/tst-cookie.c: Likewise.
18819         * stdio-common/tst-fileno.c: Likewise.
18820         * stdio-common/tst-gets.c: Likewise.
18821         * stdio-common/tst-obprintf.c: Likewise.
18822         * stdio-common/tst-perror.c: Likewise.
18823         * stdio-common/tst-sprintf2.c: Likewise.
18824         * stdio-common/tst-sprintf3.c: Likewise.
18825         * stdio-common/tst-sprintf.c: Likewise.
18826         * stdio-common/tst-swprintf.c: Likewise.
18827         * stdio-common/tst-tmpnam.c: Likewise.
18828         * stdio-common/tst-unbputc.c: Likewise.
18829         * stdio-common/tst-wc-printf.c: Likewise.
18830         * stdlib/tst-environ.c: Likewise.
18831         * stdlib/tst-fmtmsg.c: Likewise.
18832         * stdlib/tst-limits.c: Likewise.
18833         * stdlib/tst-rand48-2.c: Likewise.
18834         * stdlib/tst-rand48.c: Likewise.
18835         * stdlib/tst-random2.c: Likewise.
18836         * stdlib/tst-random.c: Likewise.
18837         * stdlib/tst-strtol.c: Likewise.
18838         * stdlib/tst-strtoll.c: Likewise.
18839         * stdlib/tst-tls-atexit.c: Likewise.
18840         * stdlib/tst-xpg-basename.c: Likewise.
18841         * string/test-ffs.c: Likewise.
18842         * string/tst-bswap.c: Likewise.
18843         * string/tst-inlcall.c: Likewise.
18844         * string/tst-strtok.c: Likewise.
18845         * string/tst-strxfrm.c: Likewise.
18846         * sysdeps/x86_64/tst-audit10.c: Likewise.
18847         * sysdeps/x86_64/tst-audit3.c: Likewise.
18848         * sysdeps/x86_64/tst-audit4.c: Likewise.
18849         * sysdeps/x86_64/tst-audit5.c: Likewise.
18850         * time/tst-ftime_l.c: Likewise.
18851         * time/tst-getdate.c: Likewise.
18852         * time/tst-mktime3.c: Likewise.
18853         * time/tst-mktime.c: Likewise.
18854         * time/tst-posixtz.c: Likewise.
18855         * time/tst-strptime2.c: Likewise.
18856         * time/tst-strptime3.c: Likewise.
18857         * wcsmbs/tst-btowc.c: Likewise.
18858         * wcsmbs/tst-mbrtowc.c: Likewise.
18859         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18860         * wcsmbs/tst-wchar-h.c: Likewise.
18861         * wcsmbs/tst-wcpncpy.c: Likewise.
18862         * wcsmbs/tst-wcrtomb.c: Likewise.
18863         * wcsmbs/tst-wcsnlen.c: Likewise.
18864         * wcsmbs/tst-wcstof.c: Likewise.
18866 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18868         [BZ #14132]
18869         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18870         INTDEF.
18871         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18872         declaration.
18873         (_dl_mcount): Use rtld_hidden_proto.
18874         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18875         _dl_mcount.
18876         * elf/rtld.c (_rtld_global_ro): Likewise.
18878         [BZ #14132]
18879         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18880         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18881         of _dl_init_internal.
18882         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18883         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18884         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18885         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18886         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18887         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18888         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18889         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18890         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18891         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18892         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18893         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18894         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18895         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18896         * sysdeps/tile/dl-start.S (_start): Likewise.
18897         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18898         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18900         [BZ #14132]
18901         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18902         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18903         (rtld_progname): Make macro definition unconditional.
18904         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18905         INTDEF.
18906         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18907         (dl_main): Likewise.
18908         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18909         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18910         instead of _dl_argv_internal.
18911         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18912         __GI__dl_argv instead of INTUSE(_dl_argv).
18913         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18914         __GI__dl_argv instead of _dl_argv_internal.
18916         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18917         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18918         macro.
18919         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18920         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18921         New macro.
18922         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18923         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18924         macro.
18925         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18926         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18928 2014-11-04  Andreas Schwab  <schwab@suse.de>
18930         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18932 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18934         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18935         mtvsrd instruction in binary form.
18937 2014-11-03  Andreas Schwab  <schwab@suse.de>
18939         [BZ #17522]
18940         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18941         for less than MB_LEN_MAX use a local buffer of that size.
18942         * libio/tst-fputws.c: New file.
18943         * libio/Makefile (tests): Add tst-fputws.
18945 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18947         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18948         the size of the fpu_fr.fpu_dregs[] array.
18950 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18952         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18953         (__nanosleep): Do not define as alias.
18954         (nanosleep): Define as alias of __nanosleep.
18955         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18956         __libc_nanosleep name.
18958 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18960         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18961         install.texi in comment.
18963 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18965         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18966         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18967         ... add here and use lwsync or sync ...
18968         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18969         ... and add here using lwsync.
18971 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18973         * elf/dl-machine-reject-phdr.h: New file.
18974         * elf/dl-load.c: #include that.
18975         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18976         if that returned true.
18978 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18980         [BZ #17496]
18981         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18982         gen-as-const-headers chunk.  Add a big scare comment after the last
18983         safe place to touch before-compile.
18985 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18987         * manual/install.texi (Tools for Compilation): Update autoconf
18988         version requirements.
18989         * INSTALL: Regenerated.
18991         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18992         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18993         (__libc_pselect): Likewise.
18995         [BZ #14138]
18996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19001 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19003         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19004         correct barrier instruction.
19005         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19006         Likewise.
19007         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19008         Likewise.
19010 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19012         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19013         after defining inlines.  Instead, just use parens to defeat macro
19014         expansion of __isctype in its declaration.
19016 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19018         * include/sys/uio.h (__libc_readv): Remove declaration.
19019         (__libc_writev): Likewise.
19020         * misc/readv.c (__libc_readv): Rename to __readv.
19021         (__readv): Do not define as alias.
19022         (readv): Define as alias of __readv.
19023         * misc/writev.c (__libc_writev): Rename to __writev.
19024         (__writev): Do not define as alias.
19025         (writev): Define as alias of __writev.
19026         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19027         (__readv): Do not define as alias.
19028         (readv): Define unconditionally as alias of __readv.
19029         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19030         (__writev): Do not define as alias.
19031         (writev): Define unconditionally as alias of __writev.
19032         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19033         name.
19034         (writev): Do not define __libc_writev name.
19036 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19038         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19039         (convert_charseq): New function, broken out of ...
19040         (use_from_charmap): ... here.  Call it.
19041         (use_to_charmap): Use convert_charseq and free instead of duplicating
19042         its code with a variable-length stack struct.
19044 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19046         * include/fcntl.h (__libc_creat): Remove declaration.
19047         * io/creat.c (__libc_creat): Rename to creat.
19048         (creat): Do not define as alias.
19049         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19050         of creat instead of __libc_creat.
19051         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19052         to creat.
19053         (creat): Do not define as alias.
19054         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19055         __libc_creat.
19056         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19057         __libc_creat name.
19058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19059         Likewise.
19061 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19063         * manual/llio.texi: Add comments discussing why write() may be
19064         considered MT-unsafe on Linux.
19066 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19068         * dl-load.c (local_strdup): Remove.
19069         (expand_dynamic_string_token): Use __strdup.
19070         (decompose_rpath): Likewise.
19071         (_dl_map_object): Likewise.
19073 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #14132]
19076         * sysdeps/generic/unwind-dw2-fde.c
19077         (__register_frame_info_bases_internal): Do not declare.
19078         (__register_frame_info_table_bases_internal): Likewise.
19079         (__deregister_frame_info_bases_internal): Likewise.
19080         (__register_frame_info_bases): Declare and use hidden_proto before
19081         definition.  Use hidden_def instead of INTDEF.
19082         (__register_frame_info_table_bases): Likewise.
19083         (__deregister_frame_info_bases): Likewise.
19084         (__register_frame_info): Do not use INTUSE.
19085         (__register_frame): Likewise.
19086         (__register_frame_info_table): Likewise.
19087         (__register_frame_table): Likewise.
19088         (__deregister_frame_info): Likewise.
19089         (__deregister_frame): Likewise.
19091 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19093         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19094         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19095         not undefine.
19096         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19097         Likewise.
19098         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19099         Likewise.
19101 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19103         [BZ #14138]
19104         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19105         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19106         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19107         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19108         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19109         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19110         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19111         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19112         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19113         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19114         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19115         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19116         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19117         syscall.
19118         (setfsuid): Likewise.
19119         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19120         (setfsuid): Likewise.
19121         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19122         (setfsuid): Likewise.
19123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19124         Likewise.
19125         (setfsuid): Likewise.
19126         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19127         (setfsuid): Likewise.
19128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19129         Likewise.
19130         (setfsuid): Likewise.
19132 2014-10-27  Andreas Schwab  <schwab@suse.de>
19134         [BZ #17501]
19135         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19136         check for Slow_SSE4_2 feature bit.
19137         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19138         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19139         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19140         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19142 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19144         * configure.ac: Validate compiler version with a empirical test of
19145         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19146         $CC -v output.
19147         * configure: Regenerated.
19149         * inet/htons.c (htons): Prototypify.
19150         * inet/htonl.c (htonl): Likewise.
19152 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19154         * string/strncat.c (strncat): Improve performance by using strlen.
19156 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19158         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19160 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19162         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19163         Call libc_fetestexcept_aarch64.
19165 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19167         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19168         Call libc_feholdexcept_aarch64.
19170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19172         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19173         Call get_rounding_mode.
19175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19177         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19178         Simplify logic.
19180 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19182         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19183         Simplify logic.
19185 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19187         [BZ #14138]
19188         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19189         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19190         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19191         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19192         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19193         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19194         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19195         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19196         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19197         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19198         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19199         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19200         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19201         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19202         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19203         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19204         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19205         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19206         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19207         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19208         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19209         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19210         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19211         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19212         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19213         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19214         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19215         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19216         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19217         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19218         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19219         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19220         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19221         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19222         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19223         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19224         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19225         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19226         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19227         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19228         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19229         syscall.
19230         (geteuid): Likewise.
19231         (getgid): Likewise.
19232         (getuid): Likewise.
19233         (getresgid): Likewise.
19234         (getresuid): Likewise.
19235         (getgroups): Likewise.
19236         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19237         (geteuid): Likewise.
19238         (getgid): Likewise.
19239         (getuid): Likewise.
19240         (getresgid): Likewise.
19241         (getresuid): Likewise.
19242         (getgroups): Likewise.
19243         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19244         (geteuid): Likewise.
19245         (getgid): Likewise.
19246         (getuid): Likewise.
19247         (getresgid): Likewise.
19248         (getresuid): Likewise.
19249         (getgroups): Likewise.
19250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19251         Likewise.
19252         (geteuid): Likewise.
19253         (getgid): Likewise.
19254         (getuid): Likewise.
19255         (getresgid): Likewise.
19256         (getresuid): Likewise.
19257         (getgroups): Likewise.
19258         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19259         (geteuid): Likewise.
19260         (getgid): Likewise.
19261         (getuid): Likewise.
19262         (getresgid): Likewise.
19263         (getresuid): Likewise.
19264         (getgroups): Likewise.
19265         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19266         Likewise.
19267         (geteuid): Likewise.
19268         (getgid): Likewise.
19269         (getuid): Likewise.
19270         (getgroups): Likewise.
19272         [BZ #14138]
19273         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19274         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19275         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19276         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19277         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19278         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19279         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19280         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19281         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19282         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19283         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19284         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19285         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19286         __chown.
19287         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19288         (lchown): Likewise.
19289         (fchown): Likewise.
19290         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19291         Likewise.
19292         (lchown): Likewise.
19293         (fchown): Likewise.
19294         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19295         (lchown): Likewise.
19296         (fchown): Likewise.
19297         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19298         Likewise.
19299         (lchown): Likewise.
19300         (fchown): Likewise.
19302 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19304         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19305         Simplify logic.
19307 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19309         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19310         Cleanup logic.
19312 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19314         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19315         Remove unused include.
19317 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19319         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19320         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19321         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19322         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19324 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19325             Helge Deller <deller@gmx.de>
19327         [BZ #17508]
19328         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19329         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19330         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19332 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19334         [BZ #14132]
19335         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19336         Remove macro definition.
19337         (__ashrdi3_v_glibc20): Likewise.
19338         (__lshrdi3_v_glibc20): Likewise.
19339         (__cmpdi2_v_glibc20): Likewise.
19340         (__ucmpdi2_v_glibc20): Likewise.
19341         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19342         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19343         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19344         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19345         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19346         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19348 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19350         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19351         old GNU extension [0] syntax.
19352         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19353         alloca rather than an array member with variable length.
19354         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19355         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19356         (parse_opt): ... here.  Likewise use alloca there.
19357         Validate the -i argument before checking for rootness.
19358         (send_shutdown): New function, broken out of ...
19359         (parse_opt): ... here.
19361 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19363         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19364         macro to get at the _rt_local_ro field.
19365         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19366         ([PIC] case) or _dl_hwcap ([!PIC] case).
19367         * sysdeps/arm/setjmp.S: Likewise.
19369         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19370         * sysdeps/arm/configure.ac: New check to define it.
19371         * sysdeps/arm/configure: Regenerated.
19372         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19373         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19374         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19375         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19376         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19377         Use move/movt pair instead of a load.
19378         (LDST_GLOBAL): Macro removed.
19379         (LDR_GLOBAL): New macro replaces it.
19380         (LDR_HIDDEN): New macro.
19381         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19382         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19384         * setjmp/tst-setjmp-static.c: New file.
19385         * setjmp/Makefile (tests): Add it.
19386         (tests-static): New variable.
19388 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19390         [BZ #17485]
19391         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19393 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19395         [BZ #14132]
19396         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19398 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19400         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19402 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19404         * io/fts.c (dirent_not_directory): New function.
19405         (fts_build): Call it.
19407 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19409         * nptl/version.c (__nptl_main): Use normal __write rather than
19410         INTERNAL_SYSCALL.
19411         (banner): Update copyright years.
19413         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19414         gettimeofday.
19415         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19416         * nptl/pthread_cond_timedwait.c: Likewise.
19417         * nptl/pthread_mutex_timedlock.c: Likewise.
19418         * nptl/sem_timedwait.c: Likewise.
19420         * sysdeps/nptl/bits/libc-lock.h
19421         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19422         (__libc_lock_init_recursive): Return void, not 0.
19423         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19424         (__libc_rwlock_init): Likewise.
19425         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19427 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19429         [BZ #15215]
19430         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19431         (__pthread_once_slow): ... here.
19432         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19433         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19435 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19437         [BZ #15215]
19438         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19439         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19440         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19441         * nptl/pthread_once.c (__pthread_once): Likewise.
19442         Update comments.
19444 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #14138]
19447         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19448         name.
19449         (writev): Use __libc_writev as strong name.
19450         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19451         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19453 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19455         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19457         * sysdeps/i386/nptl/tls.h
19458         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19459         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19460         New macros.
19461         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19462         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19463         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19464         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19465         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19466         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19468         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19469         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19470         on [__NR_futex].
19471         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19472         broken out of ...
19473         (__pthread_mutex_init): ... here.  Call it.
19474         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19475         Conditionalize PI cases on [__NR_futex].
19476         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19477         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19478         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19480         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19481         conditional on [SIGSETXID].
19482         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19483         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19484         is defined.  Likewise for SIGSETXID.
19485         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19486         Conditionalize definitions on [SIGSETXID].
19487         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19488         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19489         unblocking on [SIGCANCEL].
19491         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19492         [__NR_set_robust_list].
19494 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19496         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19497         (do_compare): Likewise.
19499 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19501         [BZ #15884]
19502         * string/strcoll_l.c: Don't include stdio.h.
19503         (coll_seq): Remove members idxarr and rulearr.
19504         (get_next_seq_cached): Remove function.
19505         (get_next_seq): Likewise.
19506         (get_next_seq_nocache): Rename to get_next_seq.
19507         (do_compare): Remove function.
19508         (do_compare_nocache): Rename to do_compare.
19509         (STRCOLL): Remove weight and rules cache.
19511 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19513         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19514         * sysdeps/arm/sfp-machine.h: ... to here.
19515         * sysdeps/arm/Implies: Remove arm/soft-fp.
19517 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19519         * conform/data/sys/utsname.h-data (*_t): Allow.
19520         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19521         [POSIX] (WEXITED): Do not expect constant.
19522         [POSIX] (WSTOPPED): Likewise.
19523         [POSIX] (WNOHANG): Likewise.
19524         [POSIX] (WNOWAIT): Likewise.
19525         [POSIX] (siginfo_t): Do not expect type or elements.
19526         [POSIX] (pid_t): Do not expect type.
19527         [POSIX] (signal.h): Do not allow header.
19528         [POSIX] (sys/resource.h): Likewise.
19529         [POSIX] (si_*): Do not allow pattern.
19530         [POSIX] (W*): Likewise.
19531         [POSIX] (P_*): Likewise.
19532         [POSIX] (BUS_*): Likewise.
19533         [POSIX] (CLD_*): Likewise.
19534         [POSIX] (FPE_*): Likewise.
19535         [POSIX] (ILL_*): Likewise.
19536         [POSIX] (POLL_*): Likewise.
19537         [POSIX] (SEGV_*): Likewise.
19538         [POSIX] (SI_*): Likewise.
19539         [POSIX] (TRAP_*): Likewise.
19540         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19541         variable.
19543 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19545         [BZ #12926]
19546         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19547         infinite loop when __recvmsg returns 0.
19549 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19551         * CANCEL-FCT-WAIVE: Remove file.
19552         * CANCEL-FILE-WAIVE: Likewise.
19554         [BZ #14132]
19555         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19556         instead of INTVARDEF.
19557         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19558         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19559         rtld_hidden_data_def instead of INTVARDEF.
19560         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19561         * elf/dl-deps.c (expand_dst): Likewise.
19562         * elf/dl-load.c (_dl_dst_count): Likewise.
19563         (_dl_dst_substitute): Likewise.
19564         (decompose_rpath): Likewise.
19565         (_dl_init_paths): Likewise.
19566         (open_path): Likewise.
19567         (_dl_map_object): Likewise.
19568         * elf/rtld.c (dl_main): Likewise.
19569         (process_dl_audit): Likewise.
19570         (process_envvars): Likewise.
19571         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19572         Remove declaration.
19573         (__libc_enable_secure): Use rtld_hidden_proto.
19575 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19577         * elf/dl-load.c
19578         (add_path): New function broken out of _dl_rtld_di_serinfo.
19579         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19581 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19583         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19584         parentheses around macro arguments.
19585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19590         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19596         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19597         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19598         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19599         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19600         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19601         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19604         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19614         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19615         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19616         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19617         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19618         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19619         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19620         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19621         Likewise.
19622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19629         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19632         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19633         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19634         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19638         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19640         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19641         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19643         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19644         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19645         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19646         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19647         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19648         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19649         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19650         (_FP_FRAC_SRS_1): Likewise.
19651         (_FP_FRAC_CLZ_1): Likewise.
19652         (_FP_MUL_MEAT_1_imm): Likewise.
19653         (_FP_MUL_MEAT_1_wide): Likewise.
19654         (_FP_MUL_MEAT_1_hard): Likewise.
19655         (_FP_SQRT_MEAT_1): Likewise.
19656         (_FP_FRAC_ASSEMBLE_1): Likewise.
19657         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19658         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19659         (__FP_CLZ_2): Likewise.
19660         (_FP_MUL_MEAT_2_wide): Likewise.
19661         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19662         (_FP_MUL_MEAT_2_gmp): Likewise.
19663         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19664         (_FP_SQRT_MEAT_2): Likewise.
19665         (_FP_FRAC_ASSEMBLE_2): Likewise.
19666         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19667         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19668         (_FP_FRAC_CLZ_4): Likewise.
19669         (_FP_MUL_MEAT_4_wide): Likewise.
19670         (_FP_MUL_MEAT_4_gmp): Likewise.
19671         (_FP_SQRT_MEAT_4): Likewise.
19672         (_FP_FRAC_ASSEMBLE_4): Likewise.
19673         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19674         * soft-fp/op-common.h (_FP_CMP): Likewise.
19675         (_FP_CMP_EQ): Likewise.
19676         (_FP_CMP_UNORD): Likewise.
19677         (_FP_TO_INT): Likewise.
19678         (_FP_FROM_INT): Likewise.
19679         [!__FP_CLZ] (__FP_CLZ): Likewise.
19680         (_FP_DIV_HELP_imm): Likewise.
19681         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19682         Likewise.
19683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19686         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19687         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19688         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19689         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19691         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19692         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19694         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19695         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19696         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19697         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19698         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19699         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19702         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19706         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19707         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19709         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19710         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19711         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19712         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19713         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19714         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19715         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19716         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19717         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19718         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19719         (FP_UNPACK_RAW_SP): Likewise.
19720         (FP_PACK_RAW_S): Likewise.
19721         (FP_PACK_RAW_SP): Likewise.
19722         (FP_UNPACK_S): Likewise.
19723         (FP_UNPACK_SP): Likewise.
19724         (FP_UNPACK_SEMIRAW_S): Likewise.
19725         (FP_UNPACK_SEMIRAW_SP): Likewise.
19726         (FP_PACK_S): Likewise.
19727         (FP_PACK_SP): Likewise.
19728         (FP_PACK_SEMIRAW_S): Likewise.
19729         (FP_PACK_SEMIRAW_SP): Likewise.
19730         (_FP_SQRT_MEAT_S): Likewise.
19731         (FP_CMP_S): Likewise.
19732         (FP_CMP_EQ_S): Likewise.
19733         (FP_CMP_UNORD_S): Likewise.
19734         (FP_TO_INT_S): Likewise.
19735         (FP_FROM_INT_S): Likewise.
19737         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19739         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19740         (FP_EX_INVALID_IMZ): Likewise.
19741         (FP_EX_INVALID_IMZ_FMA): Likewise.
19742         (FP_EX_INVALID_ISI): Likewise.
19743         (FP_EX_INVALID_ZDZ): Likewise.
19744         (FP_EX_INVALID_IDI): Likewise.
19745         (FP_EX_INVALID_SQRT): Likewise.
19746         (FP_EX_INVALID_CVI): Likewise.
19747         (FP_EX_INVALID_VC): Likewise.
19748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19749         "invalid" exceptions.
19750         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19751         (_FP_ADD_INTERNAL): Likewise.
19752         (_FP_MUL): Likewise.
19753         (_FP_FMA): Likewise.
19754         (_FP_DIV): Likewise.
19755         (_FP_CMP_CHECK_NAN): Likewise.
19756         (_FP_SQRT): Likewise.
19757         (_FP_TO_INT): Likewise.
19758         (FP_EXTEND): Likewise.
19760 2014-10-09  Allan McRae  <allan@archlinux.org>
19762         * po/fr.po: Update French translation from translation project.
19764 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19766         [BZ #14132]
19767         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19768         of INTDEF.
19769         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19770         (__cxa_atexit): Use libc_hidden_proto.
19771         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19773         [BZ #14132]
19774         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19775         declaration.
19776         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19777         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19778         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19779         [!_ISOMAC] (__iswctype_internal): Likewise.
19780         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19781         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19782         alias.
19783         (fcntl): Remove __fcntl_internal alias.
19784         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19785         __connect_internal alias.
19786         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19787         Likewise.
19789         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19790         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19791         FP_DENORM_ZERO.
19792         (_FP_CHECK_FLUSH_ZERO): New macro.
19793         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19794         (_FP_CMP): Likewise.
19795         (_FP_CMP_EQ): Likewise.
19796         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19797         FP_DENORM_ZERO.
19798         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19799         (FP_TRUNC): Likewise.
19801         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19802         treated as invalid conversion, not as normal exponent.
19804         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19805         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19806         (_FP_CMP_EQ): Likewise.
19807         (_FP_CMP_UNORD): Likewise.
19808         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19809         (FP_CMP_EQ_D): Likewise.
19810         (FP_CMP_UNORD_D): Likewise.
19811         * soft-fp/extended.h (FP_CMP_E): Likewise.
19812         (FP_CMP_EQ_E): Likewise.
19813         (FP_CMP_UNORD_E): Likewise.
19814         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19815         (FP_CMP_EQ_Q): Likewise.
19816         (FP_CMP_UNORD_Q): Likewise.
19817         * soft-fp/single.h (FP_CMP_S): Likewise.
19818         (FP_CMP_EQ_S): Likewise.
19819         (FP_CMP_UNORD_S): Likewise.
19820         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19821         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19822         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19823         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19824         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19825         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19826         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19827         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19828         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19829         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19830         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19831         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19832         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19833         to FP_CMP_Q.
19834         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19835         FP_CMP_Q.
19836         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19837         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19838         FP_CMP_EQ_Q.
19839         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19840         FP_CMP_Q.
19841         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19842         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19843         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19844         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19845         FP_CMP_EQ_Q.
19846         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19847         FP_CMP_Q.
19848         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19849         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19850         FP_CMP_EQ_Q.
19851         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19852         FP_CMP_Q.
19853         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19854         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19855         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19856         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19857         FP_CMP_EQ_Q.
19859         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19860         a subnormal result, set the underflow exception if trapping on
19861         underflow is enabled.
19862         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19863         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19864         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19865         redefine to 0.
19866         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19867         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19868         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19869         * soft-fp/extendxftf2.c (__extendxftf2): Use
19870         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19872         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19873         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19874         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19875         FP_HANDLE_EXCEPTIONS.
19876         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19877         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19878         FP_HANDLE_EXCEPTIONS.
19879         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19880         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19881         FP_HANDLE_EXCEPTIONS.
19882         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19883         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19884         FP_HANDLE_EXCEPTIONS.
19886 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19888         [BZ #14132]
19889         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19890         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19891         use INTUSE.
19892         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19893         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19894         Remove alias.
19895         (__adjtimex): Define using libc_hidden_ver.
19896         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19897         Remove declaration.
19898         (ntp_gettime): Call __adjtimex directly.
19899         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19900         Remove declaration.
19901         (ntp_gettimex): Call __adjtimex directly.
19902         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19903         __adjtimex_internal alias.
19905 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19907         [BZ #17460]
19908         * nscd/nscd.c (more_help): Rewrite list of tables collection
19909         using xstrdup and asprintf.
19911         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19913 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19914             Roland McGrath  <roland@hack.frob.com>
19916         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19917         (do_lookup_unique): ... local function 'enter' here; update callers.
19919 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19921         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19922         compat_symbol calls on [SHARED].
19923         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19924         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19925         Remove.
19926         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19927         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19928         (oldsetrlimit): Remove.
19929         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19931         (lchown): New syscall entry.
19932         (oldsetrlimit): Remove.
19933         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19934         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19935         (oldsetrlimit): Remove.
19936         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19938         [BZ #14138]
19939         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19940         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19941         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19942         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19943         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19944         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19945         (fchown): Likewise.
19946         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19947         (fchown): Likewise.
19948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19949         Likewise.
19951 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19953         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19954         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19955         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19956         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19957         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19958         Likewise.
19959         (__old_sem_post): Likewise.
19961 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19963         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19964         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19965         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19966         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19967         Use INLINE_VSYSCALL macro.
19968         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19969         __vdso_clock_gettime.
19970         * sysdeps/unix/sysv/linux/tile/init-first.c
19971         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19972         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19973         __vdso_clock_gettime.
19975         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19976         to set up frame more cleanly.
19978         * sysdeps/tile/memcmp.c: New file.
19980         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19982         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19983         * sysdeps/tile/tilegx/strcasestr.c: New file.
19984         * sysdeps/tile/tilegx/strnlen.c: New file.
19985         * sysdeps/tile/tilegx/strstr.c: New file.
19987         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19989 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19991         * nptl/tst-setuid3.c: Write errors to stdout.
19993 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19995         * elf/dl-deps.c
19996         (preload): New functions broken out of _dl_map_object_deps.
19997         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19999 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20001         [BZ #14138]
20002         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20003         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20005 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20007         * sysdeps/mips/strcmp.S: New.
20009 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #14138]
20012         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20013         (linkat): Likewise.
20014         (mkdirat): Likewise.
20015         (readlinkat): Likewise.
20016         (renameat): Likewise.
20017         (symlinkat): Likewise.
20018         (unlinkat): Likewise.
20019         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20020         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20021         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20022         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20023         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20024         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20025         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20027 2014-09-30  Will Newton  <will.newton@linaro.org>
20029         * math/math.h: Define long double math functions if
20030         _LIBC_TEST is defined.
20031         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20033         * localedata/Makefile: Move assignment to tests-special
20034         into an ifdef testing run-built-tests.
20035         * timezone/Makefile: Likewise.
20037 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20039         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20040         with $(BASH) not $(SHELL).
20042 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20043             Matthew LeGendre  <legendre1@llnl.gov>
20045         [BZ #17411]
20046         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20047         l_reloc_result.
20049 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20051         * stdio-common/printf_fp.c
20052         (hack_digit): New function, broken out of ...
20053         (__printf_fp): ... local function here.  Update call sites.
20054         hack_digit now takes an additional parameter that is a pointer
20055         to a struct of the referenced locals.  Those locals moved inside
20056         the struct and references updated.
20058 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20060         * aclocal.m4: Require autoconf 2.69.
20061         * configure: Regenerated.
20062         * sysdeps/aarch64/configure: Likewise.
20063         * sysdeps/alpha/configure: Likewise.
20064         * sysdeps/arm/armv7/configure: Likewise.
20065         * sysdeps/arm/configure: Likewise.
20066         * sysdeps/ia64/configure: Likewise.
20067         * sysdeps/mach/configure: Likewise.
20068         * sysdeps/mips/configure: Likewise.
20069         * sysdeps/s390/configure: Likewise.
20070         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20073         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20074         file.
20075         * sysdeps/ia64/configure.ac: Likewise.
20077 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20080         specify symbol version for ld.so.  Do not include entry for
20081         libpthread.
20082         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20083         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20086         [BZ #14171]
20087         * Makeconfig [$(build-shared) = yes]
20088         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20089         makefiles.
20090         [$(build-shared) = yes && $(soversions.mk-done) = t]
20091         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20092         [$(build-shared) = yes && $(soversions.mk-done) = t]
20093         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20094         to Makerules.
20095         [$(build-shared) = yes && $(soversions.mk-done) = t]
20096         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20097         here.
20098         [$(build-shared) = yes && $(soversions.mk-done) = t]
20099         (common-generated): Don't append gnu/lib-names.h and
20100         gnu/lib-names.stmp here.
20101         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20102         (lib-names-h-abi): New variable.
20103         [$(build-shared) = yes && $(soversions.mk-done) = t]
20104         (lib-names-stmp-abi): Likewise.
20105         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20106         abi-variants] (before-compile): Append
20107         $(common-objpfx)$(lib-names-h-abi).
20108         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20109         abi-variants] (common-generated): Append gnu/lib-names.h.
20110         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20111         abi-variants] (install-others-nosubdir): Depend on
20112         $(inst_includedir)/$(lib-names-h-abi).
20113         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20114         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20115         [$(build-shared) = yes && $(soversions.mk-done) = t]
20116         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20117         [$(build-shared) = yes && $(soversions.mk-done) = t]
20118         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20119         [$(build-shared) = yes && $(soversions.mk-done) = t]
20120         (common-generated): Append $(lib-names-h-abi) and
20121         $(lib-names-stmp-abi).
20122         * scripts/lib-names.awk: Do not handle multi being set.
20123         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20124         Remove variable.
20125         (abi-lp64_be-ld-soname): Likewise.
20126         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20127         Likewise.
20128         (abi-hard-ld-soname): Likewise.
20129         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20130         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20131         Remove variable.
20132         (abi-o32_hard-ld-soname): Likewise.
20133         (abi-o32_soft_2008-ld-soname): Likewise.
20134         (abi-o32_hard_2008-ld-soname): Likewise.
20135         (abi-n32_soft-ld-soname): Likewise.
20136         (abi-n32_hard-ld-soname): Likewise.
20137         (abi-n32_soft_2008-ld-soname): Likewise.
20138         (abi-n32_hard_2008-ld-soname): Likewise.
20139         (abi-n64_soft-ld-soname): Likewise.
20140         (abi-n64_hard-ld-soname): Likewise.
20141         (abi-n64_soft_2008-ld-soname): Likewise.
20142         (abi-n64_hard_2008-ld-soname): Likewise.
20143         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20144         Likewise.
20145         (abi-64-v2-ld-soname): Likewise.
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20147         ld.so entries.
20148         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20149         variable.
20150         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20151         entry.
20152         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20153         variable.
20154         (abi-64-ld-soname): Likewise.
20155         (abi-x32-ld-soname): Likewise.
20156         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20157         entry.
20158         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20160 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20162         [BZ #14138]
20163         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20164         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20165         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20166         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20167         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20168         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20169         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20170         syscall entry for GLIBC_2.2 symbol version.
20171         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20172         Likewise.
20173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20174         (setrlimit): Likewise.
20175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20176         Likewise.
20178 2014-09-23  Will Newton  <will.newton@linaro.org>
20180         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20181         _LINUX_ARM_SYSDEP_H include guard too.
20182         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20183         define.
20185 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20187         * sysdeps/unix/sysv/linux/eventfd.c:
20188         Make first argument unsigned.
20189         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20190         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20192 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20194         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20195         * socket/sys/socket.h: Likewise
20196         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20198 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20200         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20202 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20204         * time/tst-ftime.c: New test.
20205         * time/Makefile (tests): Add tst-ftime.
20207 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20209         * soft-fp/extended.h: Fix comment formatting.
20210         * soft-fp/op-1.h: Likewise.
20211         * soft-fp/op-2.h: Likewise.
20212         * soft-fp/op-4.h: Likewise.
20213         * soft-fp/op-8.h: Likewise.
20214         * soft-fp/op-common.h: Likewise.
20215         * soft-fp/soft-fp.h: Likewise.
20217         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20219 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20221         [BZ #6652]
20222         * Makeconfig (soversions-default-setname): Remove variable.
20223         ($(common-objpfx)soversions.i): Don't pass default_setname to
20224         soversions.awk.
20225         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20226         oldest_abi to abi-versions.awk.
20227         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20228         * config.make.in (oldest-abi): Remove variable.
20229         * configure.ac (--enable-oldest-abi): Remove configure option.
20230         * configure: Regenerated.
20231         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20232         text.
20233         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20234         * scripts/soversions.awk: Do not handle default_setname variable.
20235         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20236         variable.
20237         * sysdeps/mach/hurd/configure: Regenerated.
20238         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20239         variable.
20240         * sysdeps/unix/sysv/linux/configure: Regenerated.
20242 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20244         * elf/Makefile (CFLAGS-interp.c): Remove.
20245         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20246         path string.
20247         * elf/interp.c: Include generated runtime-linker.h
20249         * Makerules (lib%.so): Don't include $(+interp) in
20250         prerequisites.
20251         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20252         * dlfcn/eval.c: Remove file.
20254         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20255         macros.
20257         [BZ #17266]
20258         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20259         4.2 and newer.
20261         [BZ #17370]
20262         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20264 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20265             Jakub Jelinek  <jakub@redhat.com>
20267         [BZ #17266]
20268         * libio/stdio.h: Check definition of __fortify_function
20269         instead of __extern_always_inline to include bits/stdio2.h.
20270         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20271         check if __extern_always_inline is defined.
20272         [__USE_MISC || __USE_XOPEN]: Likewise.
20273         [__USE_ISOC99] Likewise.
20274         * misc/sys/cdefs.h (__fortify_function): Define only if
20275         __extern_always_inline is defined.
20276         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20277         __extern_always_inline and __extern_inline only for g++-4.3
20278         and newer or a compatible gcc.
20280 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20282         [BZ #17371]
20283         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20284         last change to handle zero prefix length.
20286 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20288         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20289         _SC_REGEX_VERSION.
20291         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20292         _POSIX_RAW_SOCKETS.
20294 2014-09-13  Allan McRae  <allan@archlinux.org>
20296         * po/ru.po: Update Russian translation from translation project.
20298 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20300         * locale/programs/locale.c (show_locale_vars): Inline local function
20301         into its sole call site.  Clean up some style nits.
20302         (print_item): New function, broken out of ...
20303         (show_info): ... local function here.  Clean up style nits.
20305         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20306         out of ...
20307         (set_class_defaults): ... local function set_default here.
20308         Define set_default as a macro locally to pass constant parameters.
20309         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20310         rather than a shared local.
20312         * stdlib/rpmatch.c (try): New function, broken out of ...
20313         (rpmatch): ... local function here.  Also, prototypify definition.
20315 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20317         * scripts/soversions.awk: Do not handle configuration names.
20318         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20319         vendor and os variables to soversions.awk.
20320         * configure.ac: Do not modify gnu-* host_os.
20321         * configure: Regenerated
20322         * shlib-versions: Remove first column with configuration names.
20323         * nptl/shlib-versions: Likewise.
20324         * nptl_db/shlib-versions: Likewise.
20325         * sysdeps/hppa/shlib-versions: Likewise.
20326         * sysdeps/m68k/shlib-versions: Likewise.
20327         * sysdeps/mach/hurd/shlib-versions: Likewise.
20328         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20329         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20330         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20331         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20332         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20333         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20334         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20335         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20337         Likewise.
20338         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20339         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20340         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20341         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20342         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20343         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20344         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20345         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20348         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20350         Regenerated.
20351         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20353         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20355         * shlib-versions: Remove OS-specific entries.  Moved to files in
20356         sysdeps.
20357         * sysdeps/mach/hurd/shlib-versions: New file.
20358         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20360         * nptl/shlib-versions: Remove architecture-specific entries.
20361         Moved to files in sysdeps.
20362         * shlib-versions: Likewise.
20363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20364         file.
20365         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20366         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20367         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20368         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20370         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20371         (UDP_NO_CHECK6_RX): Likewise.
20373 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20375         * sysdeps/posix/sysconf.c (__sysconf): Spell
20376         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20378 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20380         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20381         loading.
20382         * iconv/Versions (__gconv_transliterate): Export for use from
20383         gconv modules.
20384         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20385         (struct __gconv_trans_data, __gconv_trans_fct,
20386         __gconv_trans_context_fct, __gconv_trans_query_fct,
20387         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20388         definitions.
20389         (struct __gconv_step_data): Remove __trans member.
20390         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20391         longer hidden.  Remove unused trans_data argument.
20392         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20393         (__gconv_translit_find): Remove declaration.
20394         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20395         prototype.
20396         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20397         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20398         trans_data argument.  Add hidden definition.
20399         (__gconv_translit_find): Remove.
20400         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20401         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20402         * iconv/skeleton.c: Remove transliteration initialization.
20403         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20404         __gconv_step_data initialization.
20405         * libio/iofwide.c (__libio_translit_): Remove.
20406         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20407         * wcsmbs/btowc.c (__btowc): Likewise.
20408         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20409         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20410         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20411         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20412         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20413         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20414         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20415         * wcsmbs/wctob.c (wctob): Likewise.
20417 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         [BZ #16194]
20420         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20421         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20422         register usage.
20423         * sysdeps/x86/Makefile: Adjust.
20425 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20426             Roland McGrath  <roland@hack.frob.com>
20428         * locale/weight.h: Add include guard.
20429         (findidx): Make static rather than auto; take new parameters
20430         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20431         * locale/weightwc.h: Likewise.
20432         * posix/fnmatch_loop.c
20433         (FCT): Change type of EXTRA from int32_t to wint_t.
20434         Don't include either header inside the function.
20435         Call FINDIDX rather than findidx, and pass new arguments.
20436         #undef FINDIDX at the end of the file.
20437         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20438         FINDIDX before including fnmatch_loop.c for the non-wide version.
20439         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20440         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20441         for the wide version.
20442         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20443         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20444         Pass new arguments to findidx.
20445         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20446         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20447         Don't #include it inside the function.  Pass new arguments to findidx.
20448         * posix/regex_internal.h
20449         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20450         (re_string_elem_size_at): Don't #include it inside the function.
20451         Pass new arguments to findidx.
20452         * string/strcoll_l.c: #include WEIGHT_H at top level.
20453         (get_next_seq): Don't #include it inside the function.
20454         Pass new arguments to findidx.
20455         (get_next_seq_nocache): Likewise.
20456         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20457         (STRXFRM): Don't #include it inside the function.
20458         Pass new arguments to findidx.
20460 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20462         [BZ #17344]
20463         * malloc/malloc.c (unlink): Turn asserts into a call to
20464         malloc_printerr.
20466 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20468         [BZ #17370]
20469         * libio/wfileops (do_ftell_wide): Free OUT.
20471 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20473         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20475 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20477         [BZ #17363]
20478         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20479         group if the current group is empty.
20481 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20483         * benchtests/bench-memset.c (test_main): Add more test from size
20484         from 32 to 512 bytes.
20485         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20486         Add POWER8 memset object.
20487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20488         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20489         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20490         implementation.
20491         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20492         Likewise.
20493         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20494         multiarch POWER8 memset optimization.
20495         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20496         POWER8 memset optimization.
20498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20499         Remove bzero multiarch objects.
20500         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20501         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20502         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20503         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20504         Remove define.
20505         [__bzero]: Redefine to specific name.
20506         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20507         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20508         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20509         define.
20510         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20511         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20513 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20515         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20516         warnings into errors.
20518         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20519         __cxa_thread_atexit_impl prototype.
20521 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20523         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20524         Fix capitalization of error message.
20526 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20528         * sysdeps/mips/preconfigure: Modify ABI tests.
20530 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20532         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20534 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20535             Carlos O'Donell  <carlos@systemhalted.org>
20537         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20538         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20539         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20540         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20541         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20542         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20543         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20544         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20545         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20546         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20548         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20549         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20550         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20551         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20552         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20553         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20554         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20555         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20556         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20557         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20558         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20559         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20560         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20561         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20562         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20563         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20564         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20565         Deconditionalize the code that was previously under [RESET_PID].
20566         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20567         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20568         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20569         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20570         include sysdep.h.
20572 2014-09-08  Allan McRae  <allan@archlinux.org>
20574         * version.h (RELEASE): Set to "development".
20575         (VERSION): Set to "2.20.90"
20577 2014-09-07  Allan McRae  <allan@archlinux.org
20579         * version.h (RELEASE): Set to "stable".
20580         (VERSION): Set to "2.20"
20581         * include/features.h (__GLIBC_MINOR__): Set to 20.
20583         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20584         Liebler.
20586         * po/ko.po: Update Korean translation from translation project.
20588 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20590         [BZ #17354]
20591         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20592         macro for handling signed relocations.
20594 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20596         [BZ #17325]
20597         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20598         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20599         assert.
20600         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20601         * iconvdata/ibm935.c (BODY): Likewise.
20602         * iconvdata/ibm937.c (BODY): Likewise.
20603         * iconvdata/ibm939.c (BODY): Likewise.
20604         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20605         assert.
20606         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20607         script.
20608         * iconvdata/run-iconv-test.sh: New test loop for checking for
20609         decoder crashers.
20611 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20614         libm_hidden_ver.
20616 2014-09-01  Allan McRae  <allan@archlinux.org>
20618         * po/eo.po: Update Esperanto translation from translation project.
20620         * po/ca.po: Update Catalan translation from translation project.
20622 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20624         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20625         __proc_dostop call.
20627 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20629         [BZ #17319]
20630         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20631         to call set_thread_area instead of hand written asm.
20632         (__NR_set_thread_area): Removed define.
20633         (TLS_FLAG_WRITABLE): Likewise.
20634         (__ASSUME_SET_THREAD_AREA): Remove check.
20635         (TLS_EBX_ARG): Remove define.
20636         (TLS_LOAD_EBX): Likewise.
20638 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20640         Simplify atomicity of socket creation in bind.
20642         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20643         looking up the name after linking the file.
20645 2014-08-27  Allan McRae  <allan@archlinux.org>
20647         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20649 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20651         [BZ #17187]
20652         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20653         trans_compare, open_translit, __gconv_translit_find):
20654         Remove module loading code.
20656 2014-08-26  Allan McRae  <allan@archlinux.org>
20658         * po/vi.po: Update Vietnamese translation from translation project.
20660         * po/uk.po: Update Ukrainian translation from translation project.
20662         * po/fr.po: Update French translation from translation project.
20664         * po/ru.po: Update Russian translation from translation project.
20666         * po/pl.po: Update Polish translation from translation project.
20668         * po/cs.po: Update Czech translation from translation project.
20670         * po/de.po: Update German translation from translation project.
20672         * po/bg.po: Update Bulgarian translation from translation project.
20674         * po/sv.po: Update Sweedish translation from translation project.
20676         * po/nl.po: Update Dutch translation from translation project.
20678         * po/es.po: Update Spanish translation from translation project.
20680 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20682         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20684         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20685         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20686         (CPPFLAGS-iconvconfig): Likewise.
20687         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20689         * include/libc-symbols.h: Remove unnecessary check for
20690         NOT_IN_libc.
20691         * nptl/pthreadP.h: Likewise.
20692         * sysdeps/aarch64/setjmp.S: Likewise.
20693         * sysdeps/alpha/setjmp.S: Likewise.
20694         * sysdeps/arm/sysdep.h: Likewise.
20695         * sysdeps/i386/setjmp.S: Likewise.
20696         * sysdeps/m68k/setjmp.c: Likewise.
20697         * sysdeps/posix/getcwd.c: Likewise.
20698         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20699         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20700         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20701         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20702         * sysdeps/sh/sh3/setjmp.S: Likewise.
20703         * sysdeps/sh/sh4/setjmp.S: Likewise.
20704         * sysdeps/unix/alpha/sysdep.h: Likewise.
20705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20707         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20708         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20713         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20716         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20718         * sysdeps/x86_64/setjmp.S: Likewise.
20720 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20722         [BZ #17263]
20723         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20724         <stdint.h>.
20725         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20726         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20728 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20730         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20732         [BZ #17262]
20733         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20734         and __x86_64__ when disabling x87 inline functions.
20736 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20738         [BZ #17259]
20739         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20740         asm statement with __cpuid_count.
20742 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20744         * configure.ac: Change __ehdr_start code to dereference the struct.
20745         Run readelf on the output to look for relocations.
20746         * configure: Regenerated.
20748 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #17261]
20751         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20752         value to 0.
20753         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20755 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20757         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20759 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20761         [BZ #16892]
20762         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20763         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20765 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20767         * malloc/malloc.c: Fix typo in comment.
20769 2014-08-09  Allan McRae  <allan@archlinux.org>
20771         * Regenerate libc.po.
20773 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20775         * intl/tst-gettext2.sh: Check every lang file for creation.
20777 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20779         * sysdeps/aarch64/fpu/math_private.h
20780         (libc_feholdsetround_noex_aarch64_ctx): New function.
20782 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20784         * sysdeps/arm/armv6/strcpy.S (strcpy):
20785         Fix performance issue in misaligned cases.
20787 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20789         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20790         Move definition from termios.h.
20791         (struct termio): Likewise.
20792         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20793         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20794         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20795         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20796         Likewise.
20797         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20798         Move definition to ioctl-types.h
20799         (struct termio): Likewise.
20800         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20801         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20802         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20803         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20804         Likewise.
20806 2014-08-05  Richard Henderson  <rth@redhat.com>
20808         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20809         exceptions.
20810         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20811         Add fraiseexcpt.
20812         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20813         Use __feraiseexcept.
20814         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20815         Protect libm symbols with IS_IN_libm.
20817         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20819 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20821         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20823 2014-08-04  Will Newton  <will.newton@linaro.org>
20825         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20826         file.
20828 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20830         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20831         variants for each function.
20833 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20835         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20836         appended ...
20837         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20838         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20839         appended ...
20840         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20841         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20842         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20843         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20844         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20845         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20846         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20847         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20848         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20849         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20850         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20851         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20852         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20853         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20854         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20855         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20856         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20857         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20858         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20859         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20860         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20861         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20863         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20864         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20865         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20866         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20867         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20868         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20869         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20870         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20871         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20872         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20873         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20874         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20875         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20876         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20877         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20878         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20879         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20880         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20881         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20882         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20883         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20884         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20886         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20887         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20888         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20890         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20891         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20892         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20893         Update #include.
20894         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20895         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20897 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20899         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20900         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20901         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20902         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20903         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20904         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20906 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20908         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20909         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20910         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20911         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20915         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20916         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20917         (__libc_vfork): Define function under this name.
20918         (__vfork): Define as an alias.
20919         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20920         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20922 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20924         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20925         that was previously under [RESET_PID].
20926         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20928 2014-08-04  Andreas Schwab  <schwab@suse.de>
20930         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20932 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20934         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20935         (main): Likewise.
20937 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20939         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20941 2014-08-01  Richard Henderon  <rth@redhat.com>
20943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20944         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20945         typo in exact zero test.
20946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20950 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20952         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20953         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20954         * sysdeps/arm/sysdep.h: ... here.
20955         [!__ASSEMBLER__]: Include <stdint.h>.
20957 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20960         (HAVE_WCTYPE_H): Likewise.
20961         (HAVE_ISWCTYPE): Likewise.
20962         (ENABLE_NLS): Likewise.
20963         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20964         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20966         * posix/regex_internal.c: Check if DEBUG is defined and is
20967         set.
20969         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20970         (HAVE_MBSRTOWCS): Likewise.
20971         * posix/fnmatch.c: Include string.h unconditionally.
20973 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20975         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20976         reversal.
20978 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20980         * sysdeps/generic/safe-fatal.h: New file.
20981         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20982         * nptl/forward.c: Include it.
20983         (__pthread_unwind): Use __safe_fatal as default action, rather
20984         than a bogus use of INTERNAL_SYSCALL that could never work.
20986         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20987         * configure.ac (libc_cv_builtin_trap): New test.
20988         * configure: Regenerated.
20989         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20990         (ABORT_INSTRUCTION): Define using __builtin_trap.
20992         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20993         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20994         * sysdeps/nptl/nptl-signals.h: New file.
20995         * nptl/pthreadP.h: Include <nptl-signals.h>.
20997 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20999         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21000         (ONE_DIRECTION): Define.
21001         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21002         (ONE_DIRECTION): Define.
21003         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21004         (ONE_DIRECTION): Define.
21006 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21008         * sysdeps/s390/Makefile: Delete file.
21009         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21010         * sysdeps/s390/__longjmp.c: Delete file.
21011         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21012         Remove fields __flags and __reserved.
21013         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21014         and add versioning.
21015         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21016         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21017         * sysdeps/s390/rtld-setjmp.S: Likewise.
21018         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21019         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21020         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21021         * sysdeps/s390/s390-32/setjmp.S: ... here.
21022         Add versioning.
21023         (__sigsetjmp): Remove setting __flags field.
21024         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21025         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21026         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21027         * sysdeps/s390/s390-64/setjmp.S: ... here.
21028         Add versioning.
21029         (__sigsetjmp): Remove setting __flags field.
21030         * sysdeps/s390/setjmp.S: Delete file.
21031         * sysdeps/s390/sigjmp.c: Likewise.
21032         * sysdeps/s390/v1-longjmp.c: Likewise.
21033         * sysdeps/s390/v1-setjmp.h: Likewise.
21034         * sysdeps/s390/v1-sigjmp.c: Likewise.
21035         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21036         Remove v1-longjmp_chk.
21037         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21038         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21039         Include debug/longjmp_chk.c and add versioning.
21040         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21041         Include nptl/pt-longjmp.c and add versioning.
21042         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21043         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21044         Include __longjmp.c.
21045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21046         Move to ...
21047         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21048         (__getcontext): Remove setting __flags field.
21049         Add versioning.
21050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21051         Don't restore upper high grps.
21052         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21053         Likewise.
21054         (__swapcontext): Remove setting uc_flags field.
21055         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21056         Delete file.
21057         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21058         Include __longjmp.c.
21059         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21060         Move to ...
21061         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21062         (__getcontext): Remove setting __flags field.
21063         Add versioning.
21064         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21065         (__swapcontext): Remove setting uc_flags field.
21066         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21067         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21068         Remove fields uc_high_gprs and __reserved.
21069         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21070         New file with reverted content.
21071         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21072         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21073         Regenerated.
21074         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21075         Regenerated.
21077 2014-07-31  Andreas Schwab  <schwab@suse.de>
21079         * config.h.in (HAVE_IFUNC): Define to 0.
21080         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21081         definedness.
21083 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21086         memmove-avx-unaligned, memcpy-avx-unaligned and
21087         mempcpy-avx-unaligned.
21088         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21089         Add tests for AVX memcpy functions.
21090         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21091         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21092         memcpy_chk.
21093         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21094         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21095         memmove_chk.
21096         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21097         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21098         mempcpy_chk.
21099         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21100         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21101         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21103 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21105         [BZ #17213]
21106         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21107         powerpc64le.
21109 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21111         [BZ #16839]
21112         * manual/llio.texi: Add section about open file description locks.
21113         * manual/examples/ofdlocks.c: Example of open file description
21114         lock usage.
21115         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21116         F_OFD_SETLK, and F_OFD_SETLKW.
21118 2014-07-23  Allan McRae  <allan@archlinux.org>
21120         * po/es.po: Update Spanish translation from translation project.
21122 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21124         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21126 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21128         [BZ #17078]
21129         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21130         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21131         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21133 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21135         [BZ #17088]
21136         * math/fesetenv.c (__fesetenv)
21137         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21138         * math/feupdateenv.c (__feupdateenv)
21139         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21141         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21142         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21143         (__ASSUME_SOCKETCALL): Do not define.
21145         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21146         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21147         (__ASSUME_SOCKETCALL): Do not define.
21148         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21149         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21150         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21151         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21152         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21153         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21154         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21155         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21157         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21158         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21159         (__ASSUME_SOCKETCALL): Do not define.
21160         (__ASSUME_IPC64): Define unconditionally.
21161         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21162         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21163         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21164         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21165         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21167         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21168         Likewise.
21170         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21171         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21172         (__ASSUME_SOCKETCALL): Do not define.
21173         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21174         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21175         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21176         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21177         (__ASSUME_REQUEUE_PI): Define unconditionally.
21178         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21179         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21180         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21181         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21183         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21185         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21186         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21187         (__ASSUME_SOCKETCALL): Do not define.
21188         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21189         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21190         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21191         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21192         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21193         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21195         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21196         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21197         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21198         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21199         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21200         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21201         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21202         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21203         (__ASSUME_GETCPU_SYSCALL): Likewise.
21205         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21206         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21207         cases for individual architectures.
21208         * sysdeps/gnu/configure: Regenerated.
21209         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21210         LIBC_SLIBDIR_RTLDDIR.
21211         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21212         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21213         LIBC_SLIBDIR_RTLDDIR.
21214         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21216         LIBC_SLIBDIR_RTLDDIR.
21217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21218         Regenerated.
21219         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21220         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21221         file.
21222         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21223         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21224         file.
21225         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21226         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21227         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21228         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21230         * sysdeps/aarch64/shlib-versions: Move to ...
21231         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21232         * sysdeps/alpha/shlib-versions: Move to ...
21233         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21234         * sysdeps/arm/shlib-versions: Move to ...
21235         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21236         * sysdeps/hppa/shlib-versions: Move all contents except for
21237         libgcc_s entry to ...
21238         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21239         entry from ...
21240         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21241         * sysdeps/ia64/shlib-versions: Move to ...
21242         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21243         entry from ...
21244         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21245         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21246         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21247         * sysdeps/microblaze/shlib-versions: Move to ...
21248         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21249         * sysdeps/mips/shlib-versions: Move to ...
21250         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21251         entry from ...
21252         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21253         * sysdeps/tile/shlib-versions: Move to ...
21254         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21255         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21256         from ...
21257         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21258         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21259         entry from ...
21260         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21262 2014-07-17  Will Newton  <will.newton@linaro.org>
21264         * sysdeps/arm/bits/atomic.h
21265         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21266         (__arch_compare_and_exchange_bool_16_int): Likewise.
21267         (__arch_compare_and_exchange_bool_64_int): Likewise.
21269         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21270         into an #else block.
21272 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21274         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21275         just Linux configurations.  Test empirically that the compiler sets
21276         __ARM_EABI__, rather than using the tuple to decide.
21277         * sysdeps/arm/preconfigure: Regenerated.
21278         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21279         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21280         contents appended ...
21281         * sysdeps/arm/configure.ac: ... here.
21282         * sysdeps/arm/configure: Regenerated.
21284 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21286         * nptl/pthread_kill.c: New file.
21287         * nptl/pthread_sigmask.c: New file.
21288         * nptl/pthread_sigqueue.c: New file.
21290         * sysdeps/nptl/lowlevellock.h: New file.
21291         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21292         * sysdeps/nptl/lowlevellock-futex.h: New file.
21294         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21295         Remove dead declarations.
21297 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21299         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21300         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21301         config-cflags-avx2.
21302         * sysdeps/x86_64/configure.ac: Likewise.
21303         * sysdeps/i386/configure: Regenerated.
21304         * sysdeps/x86_64/configure: Likewise.
21305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21306         memset-avx2 only if config-cflags-avx2 is yes.
21307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21308         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21309         defined.
21310         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21311         only if HAVE_AVX2_SUPPORT is defined.
21312         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21314 2014-07-14  Alan Modra  <amodra@gmail.com>
21316         [BZ #17153]
21317         * elf/elf.h (DT_PPC64_NUM): Correct value.
21318         * NEWS: Add to fixed bug list.
21320 2014-07-13  Jim Meyering  <meyering@fb.com>
21322         [BZ 17150]
21323         regex: don't deref NULL upon heap allocation failure
21324         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21325         failure in one more place.
21326         To trigger the segfault, configure grep -with-included-regex,
21327         build it, and run these commands:
21328         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21330 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21332         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21334 2014-07-11  Richard Henderson  <rth@redhat.com>
21336         * sysdeps/aarch64/libm-test-ulps: Update.
21338 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21340         [BZ #17135]
21341         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21342         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21343         (__nptl_setxid): Initialize error member.  Call
21344         __nptl_setxid_error.
21345         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21346         * nptl/descr.h (struct xid_command): Add error member.
21347         * nptl/tst-setuid3.c: New file.
21348         * nptl/Makefile (tests): Add it.
21350 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21352         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21353         New define.
21354         (__lll_trylock): Use __lll_base_trylock.
21355         (__lll_cond_trylock): Likewise.
21357 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21359         * nptl/pthread_create.c (start_thread): Use atomic_or and
21360         lll_futex_wake directly rather than lll_robust_dead.
21361         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21362         (lll_robust_dead): Macro removed.
21363         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21364         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21365         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21366         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21368         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21369         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21370         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21371         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21373         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21374         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21375         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21379         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21380         Use atomic_compare_and_exchange_val_acq directly rather than
21381         lll_robust_trylock.
21382         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21383         (__lll_robust_trylock, lll_robust_trylock): Removed.
21384         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21385         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21386         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21387         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21388         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21389         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21390         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21391         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21392         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21393         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21394         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21395         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21396         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21399 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21401         * manual/locale.texi (Locale Names): New section documenting
21402         locale name syntax.  Adjust menu and node chaining accordingly.
21403         (Choosing Locale): Reference Locale Names, Locale Categories.
21404         Mention setting LC_ALL=C.  Reflect that name syntax is now
21405         documented.
21406         (Locale Categories): New section title.  Reference Locale Names.
21407         LC_ALL is an environment variable, but not a category.
21408         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21409         description, now in Locale Name.  Reference that section.  Locale
21410         name syntax is now documented.
21412 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21414         [BZ #17137]
21415         * locale/findlocale.c (name_present, valid_locale_name): New
21416         functions.
21417         (_nl_find_locale): Use the loc_name variable to store name
21418         candidates.  Call name_present and valid_locale_name to check and
21419         validate locale names.  Return an error if the locale is invalid.
21421 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21423         * locale/setlocale.c (setlocale): Use strdup for allocating
21424         composite name copy.
21426 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21428         Sync up with gnulib.
21429         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21430         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21431         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21432         and _GL_ARG_NONNULL.
21433         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21434         [!_LIBC]: Include code for Windows and Cygwin.
21435         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21436         Include prototype for int strerror_r.
21437         [!_LIBC] (is_open): New function.
21438         (flush_stdout): New function.
21439         (print_errno_message): Use it.
21440         (error): Likewise.
21441         (error_at_line): Likewise.
21442         (error_tail) Add function attribute macros.  Use
21443         __builtin_expect.
21445         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21447         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21449         * io/ftw.c: Include sys/param.h unconditionally.
21451         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21453         [BZ #17125]
21454         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21455         libc_freeres_ptr.
21456         (freecache): New function to free CACHE on exit.
21458         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21459         initialization.
21461 2014-07-09  David S. Miller  <davem@davemloft.net>
21463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21465         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21466         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21467         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21468         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21469         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21470         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21471         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21472         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21473         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21474         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21475         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21476         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21477         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21479 2014-07-09  Andreas Schwab  <schwab@suse.de>
21481         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21482         output.
21483         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21484         (do_test): Likewise.
21486         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21488 2014-07-09  Will Newton  <will.newton@linaro.org>
21490         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21491         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21492         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21493         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21494         * sysdeps/hppa/start.S (_start): Likewise.
21496 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21498         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21500         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21501         defined.
21503 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21505         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21506         after checking that it is non-NULL.
21508         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21510 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512         * sysdeps/powerpc/memmove.c: Remove file.
21513         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21514         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21515         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21516         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21517         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21518         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21519         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21520         string memmove instead of removed powerpc one.
21522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21523         [weak_alias]: Fix compiler warning due trailing data.
21524         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21525         [weak_alias]: Likewise.
21526         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21527         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21530         (__libc_ifunc_impl_list): Add memmove functions.
21532 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21535         Remove code.
21536         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21537         Likewise
21538         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21539         Likewise
21540         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21541         Likewise
21542         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21543         Likewise
21544         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21545         Likewise
21546         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21547         Likewise
21548         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21549         Likewise
21550         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21551         Likewise
21552         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21553         Likewise
21554         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21555         Likewise
21556         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21557         Likewise
21558         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21559         Likewise
21560         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21561         Likewise
21562         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21563         Likewise
21564         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21565         Likewise
21566         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21567         Likewise
21569 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21571         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21572         to avoid alignment traps in non-cacheable memory.
21573         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21576         multiarch objects.
21577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21578         file: multiarch power7 memmove.
21579         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21580         multiarch default memmove.
21581         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21582         multiarch memove for powerpc32/power4.
21584         * string/bcopy.c: Use full path to include memmove.c.
21585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21586         multiarch objects.
21587         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21588         bcopy for powerpc64.
21589         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21590         bcopy for powerpc64.
21591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21592         and memmove implementations.
21593         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21594         optimized multiarch memmove for POWER7/powerpc64.
21595         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21596         default multiarch memmove for powerpc64.
21597         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21598         multiarch for powerpc64.
21599         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21600         for POWER7/powerpc64.
21601         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21602         memmove for POWER7/powerpc64.
21604         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21605         glibc default one.
21607         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21608         __ELF_NATIVE_CLASS equal to 64.
21610 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21612         * sysdeps/nptl/lowlevellock.h: File removed.
21614         * NEWS: NPTL is no longer an add-on!
21615         * nptl/internaltypes.h: Moved ...
21616         * sysdeps/nptl/internaltypes.h: ... here.
21617         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21618         * sysdeps/nptl/fork.c: Likewise.
21619         * sysdeps/nptl/gai_misc.h: Likewise.
21620         * sysdeps/nptl/librt-cancellation.c: Likewise.
21621         * sysdeps/nptl/jmp-unwind.c: Likewise.
21622         * sysdeps/nptl/setxid.h: Likewise.
21623         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21624         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21625         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21626         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21627         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21628         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21629         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21630         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21631         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21632         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21633         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21634         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21635         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21636         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21637         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21638         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21639         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21640         * nptl/Makeconfig: Moved ...
21641         * sysdeps/nptl/Makeconfig: ... here.
21642         * nptl/configure: File removed.
21643         * nptl/ANNOUNCE: File removed.
21644         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21645         * sysdeps/unix/sysv/linux/configure: Regenerated.
21647         * nptl/Makefile (routines): Add libc_pthread_init,
21648         libc_multiple_threads, register-atfork and unregister-atfork.
21649         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21650         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21651         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21652         pthread-pi-defines.sym, structsem.sym.
21653         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21654         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21655         [$(subdir) = nptl] (tests): Add tst-setgetname.
21656         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21657         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21658         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21659         [!LIBC_SIGACTION]: Remove aliases.
21660         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21661         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21662         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21663         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21664         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21665         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21666         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21667         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21668         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21669         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21670         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21671         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21672         __libc_allocate_rtsig_private.
21673         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21674         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21675         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21676         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21677         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21678         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21679         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21680         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21681         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21682         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21683         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21684         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21685         * nptl/internaltypes.h: ... here.
21686         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21687         * sysdeps/nptl/jmp-unwind.c: ... here.
21688         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21689         * nptl/libc-lowlevellock.c: ... here.
21690         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21691         * nptl/libc_multiple_threads.c: ... here.
21692         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21693         * nptl/libc_pthread_init.c: ... here.
21694         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21695         * nptl/lowlevelbarrier.sym: ... here.
21696         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21697         * nptl/lowlevelcond.sym: ... here.
21698         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21699         * nptl/lowlevellock.c: ... here.
21700         * nptl/lowlevellock.h: Moved ...
21701         * sysdeps/nptl/lowlevellock.h: ... here.
21702         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21703         * nptl/lowlevelrobustlock.c: ... here.
21704         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21705         * nptl/lowlevelrobustlock.sym: ... here.
21706         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21707         * nptl/lowlevelrwlock.sym: ... here.
21708         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21709         * nptl/pt-fork.c: ... here.
21710         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21711         * nptl/pthread-pi-defines.sym: ... here.
21712         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21713         * nptl/pthread_attr_getaffinity.c: ... here.
21714         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21715         * nptl/pthread_attr_setaffinity.c: ... here.
21716         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21717         * nptl/pthread_mutex_cond_lock.c: ... here.
21718         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21719         Update #include.
21720         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21721         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21722         * nptl/pthread_once.c: ... here, replacing old file.
21723         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21724         * nptl/pthread_yield.c: ... here.
21725         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21726         * nptl/register-atfork.c: ... here.
21727         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21728         * nptl/sem_post.c: ... here.
21729         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21730         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21731         * nptl/sem_timedwait.c: ... here.
21732         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21733         * nptl/sem_trywait.c: ... here.
21734         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21735         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21736         * nptl/sem_wait.c: ... here.
21737         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21738         * nptl/structsem.sym: ... here.
21739         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21740         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21741         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21742         * nptl/unregister-atfork.c: ... here.
21743         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21744         * nptl/unwindbuf.sym: ... here.
21745         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21746         * sysdeps/nptl/fork.c: ... here.
21747         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21748         * sysdeps/nptl/fork.h: ... here.
21749         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21750         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21751         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21752         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21753         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21754         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21755         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21756         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21757         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21758         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21759         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21760         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21761         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21762         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21763         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21764         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21765         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21766         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21767         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21768         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21769         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21770         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21771         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21772         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21773         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21774         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21775         * sysdeps/unix/sysv/linux/raise.c: ... here.
21776         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21777         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21778         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21779         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21780         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21781         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21782         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21783         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21784         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21785         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21786         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21787         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21788         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21789         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21790         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21792 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21794         * sysdeps/generic/memcopy.h: Add comment for
21795         MEMCPY_OK_FOR_FWD_MEMMOVE.
21797 2014-07-04  Will Newton  <will.newton@linaro.org>
21799         * string/memchr.c: Merge from gnulib.
21800         [_LIBC]: Remove conditionals.
21801         (__ptr_t): Remove define.
21802         (LONG_MAX_32_BITS): Likewise.
21803         (LONG_MAX): Likewise.
21804         (MEMCHR): Use ANSI prototype and optimize algorithm.
21806         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21808 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21810         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21811         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21813         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21814         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21815         in a bare environment with no <stdlib.h> installed.
21816         * sysdeps/nptl/configure: Regenerated.
21818         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21820         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21821         AC_EGREP_CPP for kernel header checks, so they only succeed if
21822         including <linux/version.h> actually works right.
21823         * sysdeps/unix/sysv/linux/configure: Regenerated.
21825         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21826         value so it's not diagnosed as unused.
21828         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21829         thing) with "ifeq ($(subdir),rt)".
21831 2014-07-03  Richard Henderson  <rth@redhat.com>
21833         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21834         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21835         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21837         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21838         (math_force_eval): New.
21840         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21841         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21843         * sysdeps/alpha/fpu/s_round.c: Remove file.
21844         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21846         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21847         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21848         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21849         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21850         (_dl_start, print_statistics): Likewise.
21851         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21852         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21854         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21855         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21856         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21857         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21858         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21859         (HP_SMALL_TIMING_AVAIL): Define.
21860         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21862         (HP_SMALL_TIMING_AVAIL): Define.
21863         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21864         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21866         * sysdeps/aarch64/hp-timing.h: New file.
21868         * sysdeps/generic/hp-timing.h: Remove dead comment.
21869         * sysdeps/generic/hp-timing-common.h: New file.
21870         * sysdeps/alpha/hp-timing.h: Include it.
21871         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21872         * sysdeps/i386/i686/hp-timing.h: Likewise.
21873         * sysdeps/ia64/hp-timing.h: Likewise.
21874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21875         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21877         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21878         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21879         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21880         (hp_timing_t): New.
21882         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21883         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21884         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21885         * elf/rtld.c (_dl_start_final): Likewise.
21886         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21887         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21888         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21889         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21890         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21892         (HP_TIMING_DIFF_INIT): Remove.
21893         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21894         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21895         (HP_TIMING_DIFF_INIT): Remove.
21896         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21897         * sysdeps/i386/i686/hp-timing.c: Remove file.
21898         * sysdeps/x86_64/hp-timing.c: Remove file.
21899         * sysdeps/ia64/hp-timing.c: Remove file.
21900         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21901         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21902         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21903         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21905         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21906         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21907         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21908         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21909         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21910         (HP_TIMING_ACCUM): Remove.
21911         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21913         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21915         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21916         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21917         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21918         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21920         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21922         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21924         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21926 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21928         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21930 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21932         Sync up with gettext.
21933         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21934         [_MSC_VER]: Include malloc.h
21935         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21936         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21937         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21938         TEMP_FAILURE_RETRY.  Cast return of alloca.
21939         [!_LIBC] Call gl_rwlock_init.
21940         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21942 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21944         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21945         before checking its value.
21947 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21949         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21951         * debug/memcpy_chk.c: Don't include pagecopy.h.
21952         * debug/mempcpy_chk.c: Likewise.
21953         * string/memcpy.c: Likewise.
21954         * string/memmove.c: Likewise.
21955         * sysdeps/powerpc/memmove.c: Likewise.
21956         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21957         definition of PAGE_COPY_FWD_MAYBE here...
21958         * sysdeps/generic/pagecopy.h: ... from here.
21959         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21961 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21962             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21964         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21966         optimizations.
21967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21968         (__libc_ifunc_impl_list): Likewise.
21969         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21970         multiarch strcat for PPC64.
21971         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21972         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21974 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21976         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21978 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21980         * intl/loadmsgcat.c: Remove declaration of
21981         get_sysdep_segment_value.
21982         (get_sysdep_segment_value): Use ISO C style.
21983         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21984         semicolon.  Fix typo and formatting in comment.
21985         (_nl_unload_domain): Use ISO C style.
21987         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21989 2014-07-02  Will Newton  <will.newton@linaro.org>
21991         * malloc/obstack.c: Merge from gnulib master.
21992         [HAVE_CONFIG_H]: Remove conditional code.
21993         [!_LIBC]: Include config.h.
21994         [!ELIDE_CODE]: Don't include inttypes.h, include
21995         stdint.h unconditionally.
21996         (print_and_abort): Mark as _Noreturn.
21997         (_obstack_allocated_p): Mark as __attribute_pure__.
21998         (obstack_free): Rename to __obstack_free.
21999         [!__attribute__]: Remove conditional code.
22000         * malloc/obstack.h: Merge from gnulib master.
22001         [__cplusplus]: Move conditional down.
22002         [!__attribute_pure__]: Define __attribute_pure__ here
22003         if it is not already defined.
22004         (_obstack_memory_used): Mark as __attribute_pure__.
22005         [!__obstack_free]: Define as obstack_free.
22006         [__GNUC__]: Remove check for ancient NeXT gcc.
22008 2014-07-02  Will Newton  <will.newton@linaro.org>
22009             Paul Eggert  <eggert@cs.ucla.edu>
22011         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22013 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22015         * resolv/gethnamaddr.c: Add comment warning that the file is
22016         not maintained.
22018 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22020         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22021         entries.
22023         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22024         entry for aio_cancel and aio_cancel64.
22025         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22026         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22027         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22028         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22029         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22030         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22032         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22033         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22034         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22035         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22036         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22037         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22039 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22041         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22042         * nptl/pthread_mutex_lock.c: Likewise.
22043         * nptl/pthread_mutex_timedlock.c: Likewise.
22044         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22046 2014-07-01  Richard henderson  <rth@redhat.com>
22048         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22049         (__isnan, __isnanl): Remove.
22050         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22052         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22054 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22056         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22058 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22060         * resolv/nss_dns/dns-host.c (getanswer_r)
22061         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22063 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22066         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22067         undefine.
22068         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22069         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22071 2014-07-01  Roland McGrath <roland@hack.frob.com>
22073         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22074         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22076         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22077         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22079         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22080         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22081         ... here.
22082         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22083         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22085         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22086         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22087         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22088         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22090         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22091         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22092         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22093         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22094         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22095         Moved ...
22096         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22097         ... here.
22098         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22099         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22100         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22101         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22102         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22103         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22104         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22105         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22107         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22108         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22109         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22110         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22111         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22112         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22113         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22114         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22115         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22116         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22117         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22118         ... here.
22119         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22120         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22121         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22122         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22123         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22124         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22125         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22126         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22128 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22130         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22131         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22132         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22133         Add sysdep.
22135 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22139 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22141         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22142         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22144         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22146         * sysdeps/arm/libm-test-ulps: Regenerated.
22148 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22149             Roland McGrath <roland@hack.frob.com>
22151         * test-skeleton.c (signal_handler): Kill the whole process group
22152         before killing the child individually.
22153         (main): Report any failure on `setpgid'.
22155 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22157         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22158         from _TLS_H to _ARM_NPTL_TLS_H.
22159         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22160         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22162 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22164         [BZ #16539]
22165         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22166         (__expm1l): Return argument unchanged when small but not
22167         subnormal.
22169         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22170         include macro name.
22171         (_FP_UNPACK_RAW_1_P): Likewise.
22172         (_FP_PACK_RAW_1): Likewise.
22173         (_FP_PACK_RAW_1_P): Likewise.
22174         (_FP_MUL_MEAT_1_wide): Likewise.
22175         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22176         (_FP_MUL_MEAT_1_hard): Likewise.
22177         (_FP_DIV_MEAT_1_imm): Likewise.
22178         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22179         (_FP_DIV_MEAT_1_udiv): Likewise.
22180         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22181         (_FP_UNPACK_RAW_2): Likewise.
22182         (_FP_UNPACK_RAW_2_P): Likewise.
22183         (_FP_PACK_RAW_2): Likewise.
22184         (_FP_PACK_RAW_2_P): Likewise.
22185         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22186         (_FP_MUL_MEAT_2_wide): Likewise.
22187         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22188         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22189         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22190         (_FP_MUL_MEAT_2_gmp): Likewise.
22191         (_FP_DIV_MEAT_2_udiv): Likewise.
22192         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22193         (_FP_FRAC_SRL_4): Likewise.
22194         (_FP_FRAC_SRST_4): Likewise.
22195         (_FP_FRAC_SRS_4): Likewise.
22196         (_FP_UNPACK_RAW_4): Likewise.
22197         (_FP_UNPACK_RAW_4_P): Likewise.
22198         (_FP_PACK_RAW_4): Likewise.
22199         (_FP_PACK_RAW_4_P): Likewise.
22200         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22201         (_FP_MUL_MEAT_4_wide): Likewise.
22202         (_FP_MUL_MEAT_4_gmp): Likewise.
22203         (umul_ppppmnnn): Likewise.
22204         (_FP_DIV_MEAT_4_udiv): Likewise.
22205         (__FP_FRAC_ADD_4): Likewise.
22206         (__FP_FRAC_SUB_3): Likewise.
22207         (__FP_FRAC_SUB_4): Likewise.
22208         (__FP_FRAC_DEC_3): Likewise.
22209         (__FP_FRAC_DEC_4): Likewise.
22210         (__FP_FRAC_ADDI_4): Likewise.
22211         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22212         (_FP_FRAC_SRL_8): Likewise.
22213         (_FP_FRAC_SRS_8): Likewise.
22215         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22216         include macro name.
22217         (FP_UNPACK_RAW_EP): Likewise.
22218         (FP_PACK_RAW_E): Likewise.
22219         (FP_PACK_RAW_EP): Likewise.
22220         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22221         (_FP_ISSIGNAN): Likewise.
22222         (_FP_ADD_INTERNAL): Likewise.
22223         (_FP_FMA): Likewise.
22224         (_FP_CMP): Likewise.
22225         (_FP_SQRT): Likewise.
22226         (_FP_TO_INT): Likewise.
22227         (_FP_FROM_INT): Likewise.
22228         (FP_EXTEND): Likewise.
22229         (_FP_DIV_MEAT_N_loop): Likewise.
22231 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22233         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22234         throughout.
22236 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22238         [BZ #17097]
22239         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22240         result with correct sign in case of exponents that produce
22241         overflow except for X very close to 1.
22243 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22245         mktime: merge #if/#ifdef usage from glibc
22246         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22247         as that works with both Glibc's and Gnulib's style.
22248         See thread starting at Siddhesh Poyarekar's bug report at:
22249         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22251 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22254         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22255         * sysdeps/tile/tilegx/memmove.c: Remove file.
22257 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22259         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22260         abi-name definition.
22261         * scripts/soversions.awk: Do not handle or generate ABI lines.
22262         * shlib-versions: Remove ABI entries.
22263         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22264         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22266 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22269         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22270         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22271         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22273         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22275         Moved ...
22276         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22277         ... here.
22278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22279         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22281         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22283         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22285         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22287         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22289         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22291         Moved ...
22292         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22294         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22296         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22298         Moved ...
22299         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22301         Moved ...
22302         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22304         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22306         Moved ...
22307         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22309         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22311         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22313         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22315         Moved ...
22316         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22318         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22319         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22320         Moved ...
22321         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22323         Moved ...
22324         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22326         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22328         Moved ...
22329         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22330         ... here.
22331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22332         Identical file removed.
22333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22334         Moved ...
22335         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22337         Identical file removed.
22338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22340         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22341         Moved ...
22342         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22344         Identical file removed.
22345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22348         Identical file removed.
22349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22352         Identical file removed.
22353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22354         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22356         Identical file removed.
22357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22358         Moved ...
22359         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22361         Identical file removed.
22362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22363         Moved ...
22364         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22366         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22368         Identical file removed.
22369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22370         Moved ...
22371         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22372         ... here.
22373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22374         Identical file removed.
22375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22376         Moved ...
22377         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22379         Identical file removed.
22380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22381         Moved ...
22382         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22384         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22388         Moved ...
22389         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22390         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22391         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22393         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22394         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22395         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22396         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22397         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22399 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22401         [BZ #17092]
22402         * nscd/nscd.c (monitor_child): Return exit status of child
22403         instead of return value from wait syscall.
22405 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22407         * configure.ac (libc_commonpagesize): Remove variable.
22408         (libc_relro_required): Likewise.
22409         (libc_cv_z_relro): Remove configure test.
22410         * configure: Regenerated.
22411         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22412         variable.
22413         (libc_relro_required): Likewise.
22414         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22415         (libc_relro_required): Likewise.
22416         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22417         (libc_relro_required): Likewise.
22418         * sysdeps/arm/preconfigure: Regenerated.
22419         * sysdeps/ia64/preconfigure: Remove file.
22420         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22421         variable.
22422         (libc_relro_required): Likewise.
22424         [BZ #16561]
22425         [BZ #16562]
22426         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22427         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22428         recompute overflowing results in original rounding mode.
22429         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22430         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22431         recompute overflowing results in original rounding mode.
22432         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22433         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22434         recompute overflowing results in original rounding mode.
22435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22436         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22437         recompute overflowing results in original rounding mode.
22438         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22439         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22440         recompute overflowing results in original rounding mode.
22441         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22442         (libc_feholdsetround_ctx): New macro.
22443         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22444         * sysdeps/i386/fpu/libm-test-ulps: Update.
22445         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22447 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22449         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22450         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22451         corresponding .cpsetup call.
22453 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22455         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22456         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22457         * sysdeps/arm/Makefile [$(subdir) = csu]
22458         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22459         (static-only-routines): Add aeabi_read_tp here.
22460         (shared-only-routines): Add libc-aeabi_read_tp here.
22461         (CFLAGS-libc-start.c): Add -fexceptions here.
22462         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22463         (sysdep_routines, static-only-routines, shared-only-routines):
22464         Don't add to these here.
22465         (CFLAGS-libc-start.c): Likewise.
22467         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22468         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22469         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22470         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22471         * sysdeps/arm/Makefile [$(subdir) = rt]
22472         (librt-sysdep_routines, librt-shared-only-routines):
22473         Append rt-aeabi_unwind_cpp_pr1 here.
22474         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22475         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22476         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22477         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22478         Append nptl-aeabi_unwind_cpp_pr1 here.
22479         (tests): Filter out tst-cleanupx4 here.
22480         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22481         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22482         Don't do those here.
22484 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22486         * scripts/list-sources.sh: Do not handle ports specially.
22488 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22490         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22491         * sysdeps/arm/feupdateenv.c: Likewise.
22493         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22495 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22497         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22498         trailing whitespace removed.
22499         * scripts/config.guess: Update to version 2014-03-23.
22500         * scripts/config.sub: Update to version 2014-05-01
22501         * scripts/install-sh: Update to version 2013-12-25.23.
22502         * scripts/move-if-change: Update from gnulib.
22504 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22506         * debug/memmove_chk.c: Remove pagecopy.h include.
22508 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22510         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22511         identical to gnulib mktime.
22513 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22515         * configure.ac: Do not test for machine being rs6000.  Do not test
22516         for powerpc*-*soft.
22517         * configure: Regenerated.
22519         [BZ #11505]
22520         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22521         test.
22522         * configure: Regenerated.
22523         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22524         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22525         Remove configure test.
22526         * sysdeps/arm/configure: Regenerated.
22527         * sysdeps/nptl/configure.ac: Do not check
22528         libc_cv_asm_cfi_directives.
22529         * sysdeps/nptl/configure: Regenerated.
22530         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22531         * sysdeps/x86_64/nptl/configure: Remove generated file.
22532         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22533         unconditional.
22534         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22536 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22538         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22539         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22540         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22541         it is defined.
22543         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22544         instead of whether it is defined.
22545         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22546         * sysdeps/hppa/dl-machine.h: Likewise.
22547         * sysdeps/ia64/dl-machine.h: Likewise.
22548         * sysdeps/m68k/dl-machine.h: Likewise.
22549         * sysdeps/microblaze/dl-machine.h: Likewise.
22550         * sysdeps/mips/dl-machine.: Likewise.
22551         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22552         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22553         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22554         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22555         * sysdeps/sh/dl-machine.h: Likewise.
22556         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22557         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22558         * sysdeps/tile/dl-machine.h: Likewise.
22559         * sysdeps/x86_64/dl-machine.h: Likewise.
22561         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22562         code.
22563         (verify_persistent_db): Likewise.
22565 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22568         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22570         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22572         Moved ...
22573         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22574         ... here.
22575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22576         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22578         Identical file removed.
22579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22580         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22582         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22584         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22586         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22588         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22590         Moved ...
22591         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22593         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22597         Moved ...
22598         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22600         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22602         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22604         Identical file removed.
22605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22606         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22608         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22610         Moved ...
22611         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22612         ... here.
22613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22614         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22616         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22618         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22620         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22622         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22624         Moved ...
22625         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22627         Moved ...
22628         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22630         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22632         Moved ...
22633         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22635         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22637         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22638         folded into ...
22639         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22640         * sysdeps/unix/sysv/linux/s390/Versions
22641         (libpthread: GLIBC_2.19): New version set.
22642         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22643         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22644         (librt: GLIBC_2.3.3): New version set.
22645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22646         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22647         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22648         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22649         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22650         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22651         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22652         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22653         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22654         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22655         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22656         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22657         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22658         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22659         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22660         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22661         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22662         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22663         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22664         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22665         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22666         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22667         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22668         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22669         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22670         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22671         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22672         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22673         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22674         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22675         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22681         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22683         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22685         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22687         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22688         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22689         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22691         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22692         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22693         (__libc_vfork): Define the function under this name.
22694         [!NOT_IN_libc] (__vfork): Make this an alias.
22695         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22697         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22698         (__libc_vfork): Define the function under this name.
22699         [!NOT_IN_libc] (__vfork): Make this an alias.
22700         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22701         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22702         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22704         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22705         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22707         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22708         code that was previously under [RESET_PID].
22709         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22710         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22713         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22714         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22715         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22716         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22717         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22718         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22719         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22720         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22721         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22722         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22723         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22724         Moved ...
22725         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22726         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22727         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22728         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22729         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22730         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22731         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22732         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22733         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22734         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22735         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22736         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22737         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22738         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22739         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22740         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22741         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22742         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22743         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22744         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22745         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22746         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22747         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22748         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22749         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22750         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22751         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22753         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22755 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22757         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22758         that was previously under [RESET_PID].
22759         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22761 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22763         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22764         not undefine and redefine.
22765         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22766         [O_CLOEXEC]: Make code unconditional.
22767         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22768         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22769         <kernel-features.h>.
22770         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22771         conditional variable definition.
22772         (shm_open) [O_CLOEXEC]: Make code unconditional.
22773         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22774         code.
22776         * configure.ac (USE_REGPARMS): Don't define here.
22777         * configure: Regenerated.
22778         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22779         * sysdeps/i386/configure: Regenerated.
22781         * nptl/createthread.c: Don't include kernel-features.h.
22782         * nptl/pthread_cancel.c: Likewise.
22783         * nptl/pthread_condattr_setclock.c: Likewise.
22784         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22785         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22786         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22787         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22788         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22789         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22790         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22793         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22794         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22795         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22796         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22797         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22798         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22799         * nscd/gai.c: Likewise.
22800         * nss/nss_db/db-open.c: Likewise.
22801         * sysdeps/generic/ldsodefs.h: Likewise.
22802         * sysdeps/sh/nptl/tls.h: Likewise.
22803         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22804         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22805         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22806         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22807         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22808         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22809         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22810         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22811         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22812         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22813         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22814         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22815         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22816         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22817         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22818         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22819         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22820         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22821         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22822         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22825         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22826         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22830         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22831         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22832         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22833         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22834         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22835         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22836         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22837         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22838         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22839         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22840         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22841         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22842         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22843         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22844         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22845         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22846         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22847         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22848         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22849         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22850         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22851         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22852         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22853         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22854         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22855         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22856         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22857         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22858         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22859         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22860         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22883         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22884         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22885         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22886         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22887         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22888         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22889         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22890         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22891         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22892         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22893         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22894         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22895         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22896         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22897         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22898         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22899         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22900         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22901         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22902         * sysdeps/unix/sysv/linux/system.c: Likewise.
22903         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22904         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22905         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22906         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22907         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22908         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22909         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22911         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22912         * configure: Regenerated.
22913         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22915         * configure.ac (base_machine): Do not set specially for particular
22916         machines here.
22917         * configure: Regenerated.
22918         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22919         settings from configure.ac.
22920         * sysdeps/i386/preconfigure: New file.
22921         * sysdeps/s390/preconfigure: Likewise.
22922         * sysdeps/sh/preconfigure: Likewise.
22923         * sysdeps/sparc/preconfigure: Likewise.
22925 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22927         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22928         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22929         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22930         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22931         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22932         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22933         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22934         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22935         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22936         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22937         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22938         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22939         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22940         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22941         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22942         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22944         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22945         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22947         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22948         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22949         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22950         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22951         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22952         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22953         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22954         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22955         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22956         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22957         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22958         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22959         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22960         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22961         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22962         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22963         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22964         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22965         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22966         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22968         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22969         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22970         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22971         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22972         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22973         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22974         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22975         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22976         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22977         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22978         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22980         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22981         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22982         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22983         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22984         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22987         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22989         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22991         Moved ...
22992         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22993         ... here.
22994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22995         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22997         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22999         Moved ...
23000         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23002         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23004         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23006         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23008         Moved ...
23009         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23011         Moved ...
23012         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23016         Moved ...
23017         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23019         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23021         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23023         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23025         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23027         Moved ...
23028         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23029         ... here.
23030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23031         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23033         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23035         Moved ...
23036         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23038         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23040         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23042         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23044         Moved ...
23045         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23047         Moved ...
23048         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23050         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23052         Moved ...
23053         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23055         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23057         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23059 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23061         * timezone/checktab.awk: Update from tzcode 2014e.
23062         * timezone/private.h: Likewise.
23063         * timezone/tzfile.h: Likewise.
23064         * timezone/zdump.c: Likewise.
23065         * timezone/zic.c: Likewise.
23067         * sysdeps/unix/sysv/linux/kernel-features.h
23068         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23069         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23070         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23071         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23072         Remove conditional code.
23074 2014-06-25  Will Newton  <will.newton@linaro.org>
23076         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23077         (_dl_arm_cap_flags): Add HWCAP2 values.
23078         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23079         (_DL_HWCAP_COUNT): Increase to 37.
23080         (_DL_HWCAP_LAST): New define.
23081         (_DL_HWCAP2_LAST): New define.
23082         (_dl_procinfo): Add support for printing
23083         AT_HWCAP2 entries.
23084         (_dl_string_hwcap): Use _dl_hwcap_string.
23086 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23090 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23092         * README: Do not mention ports directory.
23094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23095         Remove macro.
23096         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23097         <kernel-features.h>.
23098         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23099         conditional variable definition.
23100         (__futimes): Update comment.
23101         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23102         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23104         [BZ #16560]
23105         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23106         arguments close to 0.
23107         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23108         Likewise.
23109         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23110         Likewise.
23111         * math/auto-libm-test-in: Add more tests of exp10.
23112         * math/auto-libm-test-out: Regenerated.
23113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23115         * sysdeps/unix/sysv/linux/kernel-features.h
23116         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23117         * sysdeps/unix/sysv/linux/readv.c: Do not include
23118         <kernel-features.h>.
23119         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23120         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23121         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23122         unconditional.
23123         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23124         conditional code.
23125         * sysdeps/unix/sysv/linux/writev.c: Do not include
23126         <kernel-features.h>.
23127         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23128         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23129         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23130         unconditional.
23131         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23132         conditional code.
23134 2014-06-25  Will Newton  <will.newton@linaro.org>
23136         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23137         comment changes throughout the file.  Remove checks
23138         for HAVE_*_H definitions that are not required.
23139         (__gen_tempname): Call abort if an unknown kind value is
23140         passed.
23142 2014-06-25  Andreas Schwab  <schwab@suse.de>
23144         [BZ #17086]
23145         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23146         scalbln, scalblnf, scalblnl in libc.
23148 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         [BZ #17086]
23151         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23152         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23153         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23155 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23157         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23158         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23159         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23160         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23161         Update #include.
23162         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23163         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23164         Update #include.
23165         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23166         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23167         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23168         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23169         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23170         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23171         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23172         * sysdeps/x86/bits/semaphore.h: ... here.
23173         * sysdeps/x86/nptl/elide.h: Moved ...
23174         * sysdeps/x86/elide.h: ... here.
23175         * sysdeps/x86_64/nptl/Implies: File removed.
23176         * sysdeps/i386/nptl/Implies: File removed.
23178 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23180         [BZ #16539]
23181         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23182         return the argument for normal arguments with exponent below -64.
23183         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23184         Likewise.
23185         * math/auto-libm-test-in: Add another test of expm1.
23186         * math/auto-libm-test-out: Regenerated.
23188         [BZ #16287]
23189         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23190         calling __erfcl for arguments at least 16.
23191         * math/auto-libm-test-in: Add more tests of erf.
23192         * math/auto-libm-test-out: Regenerated.
23194         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23195         individual architectures.
23196         * sysdeps/unix/sysv/linux/configure: Regenerated.
23197         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23198         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23199         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23200         (ldd_rewrite_script): Define variable.
23201         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23203         file.
23204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23205         generated file.
23206         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23207         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23208         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23209         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23210         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23211         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23212         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23213         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23215 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23217         [BZ #17084]
23218         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23219         Rename member __data.d to __data.__elision_data.
23221 2014-06-24  Wilco  <wdijkstr@arm.com>
23223         * NEWS: Add 16918 to fixed bug list.
23225 2014-06-24  Wilco  <wdijkstr@arm.com>
23227         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23229 2014-06-24  Wilco  <wdijkstr@arm.com>
23231         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23232         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23233         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23234         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23235         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23236         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23237         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23238         Use _FPU_MASK_RM.
23240 2014-06-24  Wilco  <wdijkstr@arm.com>
23242         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23244 2014-06-24  Wilco  <wdijkstr@arm.com>
23246         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23247         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23248         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23249         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23251 2014-06-24  Wilco  <wdijkstr@arm.com>
23253         [BZ #16918]
23254         * sysdeps/arm/feupdateenv.c (feupdateenv):
23255         Rewrite to reduce FPSCR accesses and fix return value.
23257 2014-06-24  Wilco  <wdijkstr@arm.com>
23259         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23260         Optimize to avoid unnecessary FPSCR writes.
23261         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23262         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23263         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23264         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23266 2014-06-24  Wilco  <wdijkstr@arm.com>
23268         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23269         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23270         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23271         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23272         Call libc_fetestexcept_vfp.
23273         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23274         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23275         __SOFTFP__ ifdef so that they can be built for softfp.
23277 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23279         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23280         argument type signed char.
23282         * Makerules (check-abi): Dump diff of symlist if the test
23283         fails.
23285 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23287         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23288         using abort.
23290         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23291         Remove unused variable ST.
23293 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23295         [BZ #16354]
23296         [BZ #17061]
23297         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23298         small arguments before calling __expm1.
23299         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23300         small arguments before calling __expm1f.
23301         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23302         small arguments before calling __expm1l.
23303         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23304         Likewise.
23305         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23306         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23307         spurious underflow for some cosh tests.
23308         * math/auto-libm-test-out: Regenerated.
23309         * sysdeps/i386/fpu/libm-test-ulps: Update.
23311         [BZ #17050]
23312         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23313         (__ieee754_y1): Set errno if return value overflows.
23314         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23315         (__ieee754_y1f): Set errno if return value overflows.
23316         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23317         (__ieee754_y1l): Set errno if return value overflows.
23318         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23319         (__ieee754_y1l): Set errno if return value overflows.
23320         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23321         * math/auto-libm-test-out: Regenerated.
23323         * math/gen-auto-libm-tests.c: Document use of
23324         ignore-zero-inf-sign.
23325         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23326         (input_flags): Add ignore-zero-inf-sign.
23327         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23328         * math/gen-libm-test.pl (generate_testfile): Handle
23329         ignore-zero-inf-sign.
23330         * math/auto-libm-test-in: Mark some cpow tests with
23331         ignore-zero-inf-sign and some with xfail-rounding.
23332         * math/auto-libm-test-out: Regenerated.
23333         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23334         * sysdeps/i386/fpu/libm-test-ulps: Update.
23335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23337         [BZ #16315]
23338         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23339         overflowing or underflowing operations take place with sign of
23340         result.
23341         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23342         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23343         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23344         (__ieee754_pow): Recompute overflowing and underflowing results in
23345         original rounding mode.
23346         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23347         (__powl_helper): Allow negative argument X and scale negated value
23348         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23349         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23350         overflowing or underflowing operations take place with sign of
23351         result.
23352         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23353         Include <math.h>.
23354         * math/auto-libm-test-in: Add more tests of pow.
23355         * math/auto-libm-test-out: Regenerated.
23356         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23357         (pow_tonearest_test_data): Remove.
23358         (pow_test_tonearest): Likewise.
23359         (pow_towardzero_test_data): Likewise.
23360         (pow_test_towardzero): Likewise.
23361         (pow_downward_test_data): Likewise.
23362         (pow_test_downward): Likewise.
23363         (pow_upward_test_data): Likewise.
23364         (pow_test_upward): Likewise.
23365         (main): Don't call removed functions.
23366         * sysdeps/i386/fpu/libm-test-ulps: Update.
23367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23369 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23372         Moved ...
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23375         Moved ...
23376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23378         Moved ...
23379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23381         Moved ...
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23384         File removed.
23385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23386         File removed.
23387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23388         File removed.
23389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23390         File removed.
23391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23392         File removed.
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23394         File removed.
23395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23396         File removed.
23397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23398         File removed.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23400         File removed.
23401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23402         File removed.
23403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23404         File removed.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23406         File removed.
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23408         Moved ...
23409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23411         Moved ...
23412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23413         ... here.
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23415         Moved ...
23416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23418         Moved ...
23419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23421         Moved ...
23422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23424         Moved ...
23425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23427         Moved ...
23428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23430         Moved ...
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23433         Moved ...
23434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23437         ... here.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23439         Moved ...
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23442         Moved ...
23443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23444         ... here.
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23446         Moved ...
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23448         ... here.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23450         Moved ...
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23452         ... here.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23454         Moved ...
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23457         Moved ...
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23462         Moved ...
23463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23464         ... here.
23465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23466         Moved ...
23467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23468         ... here.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23470         Moved ...
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23476         Moved ...
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23479         Moved ...
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23482         Moved ...
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23484         ... here.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23486         Moved ...
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23489         Moved ...
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23492         Moved ...
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23495         Moved ...
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23500         Moved ...
23501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23503         Moved ...
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23506         Moved ...
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23508         ... here.
23509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23510         Moved ...
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23512         ... here.
23513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23514         Moved ...
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23516         ... here.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23518         Moved ...
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23521         Moved ...
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23527         Moved ...
23528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23529         ... here.
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23531         Moved ...
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23533         ... here.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23535         Moved ...
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23537         ... here.
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23539         Moved ...
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23542         Moved ...
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23545 2014-06-23  Will Newton  <will.newton@linaro.org>
23546             Wilco  <wdijkstr@arm.com>
23548         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23549         implementation.  Include get-rounding-mode.h.
23550         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23551         [!libc_feholdsetround_noex_ctx]: Define
23552         libc_feholdsetround_noex_ctx.
23553         [!libc_feholdsetround_noexf_ctx]: Define
23554         libc_feholdsetround_noexf_ctx.
23555         [!libc_feholdsetround_noexl_ctx]: Define
23556         libc_feholdsetround_noexl_ctx.
23557         (libc_feholdsetround_ctx): New function.
23558         (libc_feresetround_ctx): New function.
23559         (libc_feholdsetround_noex_ctx): New function.
23560         (libc_feresetround_noex_ctx): New function.
23562 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23564         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23565         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23566         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23567         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23568         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23569         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23571         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23572         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23573         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23574         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23575         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23576         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23578         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23579         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23580         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23581         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23582         Moved ...
23583         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23584         ... here.
23585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23586         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23590         Moved ...
23591         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23593         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23595         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23597         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23598         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23599         Moved ...
23600         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23602         Moved ...
23603         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23605         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23607         Moved ...
23608         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23610         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23611         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23612         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23613         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23614         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23616         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23618         Moved ...
23619         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23620         ... here.
23621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23622         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23623         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23624         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23626         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23627         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23628         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23630         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23632         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23634         Moved ...
23635         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23637         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23639         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23641         Moved ...
23642         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23644         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23645         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23646         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23648         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23649         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23650         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23651         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23652         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23653         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23654         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23655         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23656         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23657         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23658         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23659         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23660         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23661         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23662         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23663         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23664         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23665         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23666         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23667         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23668         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23669         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23670         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23671         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23672         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23673         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23674         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23675         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23677 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23680         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23681         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23682         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23683         (IPV6_PMTUDISC_INTERFACE): Likewise.
23684         (IPV6_PMTUDISC_OMIT): Likewise.
23686 2014-06-23  Andreas Schwab  <schwab@suse.de>
23688         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23689         Remove unused errout label.
23691 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23693         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23694         macro: hardware supports Vector Crypto instructions.
23696 2014-06-23  Will Newton  <will.newton@linaro.org>
23698         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23699         rather than __builtin_expect.
23701         * elf/dl-lookup.c (undefined_msg): Remove variable.
23702         (_dl_lookup_symbol_x): Replace undefined_msg with string
23703         literal.
23705         * elf/dl-lookup.c (do_lookup_unique): New function.
23706         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23707         to a separate function.
23709 2014-06-23  Andreas Schwab  <schwab@suse.de>
23711         [BZ #17079]
23712         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23713         before reading the next line.
23715 2014-06-23  Will Newton  <will.newton@linaro.org>
23717         * test-skeleton.c (signal_handler): Use printf and %m
23718         rather than perror.  Use printf rather than fprintf to
23719         stderr.  Use puts rather than fputs to stderr.
23720         (main): Likewise.
23722 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23724         * nscd/nscd.c (thread_info_t): Remove typedef.
23725         (thread_info): Remove variable.
23727 2014-06-21  Allan McRae  <allan@archlinux.org>
23729         * NEWS: Mention CVE-2014-4043.
23731 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23733         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23734         * nptl/smp.h: ... here.
23736         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23738         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23739         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23740         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23741         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23743         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23744         * nptl/stack-aliasing.h: New file.
23745         * sysdeps/i386/i686/stack-aliasing.h: New file.
23746         * sysdeps/i386/i686/nptl/Makefile: File removed.
23747         * sysdeps/x86_64/stack-aliasing.h: New file.
23748         * sysdeps/x86_64/nptl/Makefile
23749         (CFLAGS-pthread_create.c): Variable removed.
23751         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23752         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23753         old file.
23754         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23755         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23756         old file.
23758 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23760         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23761         (__ASSUME_SIGFRAME_V2): Remove macro.
23762         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23763         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23764         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23765         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23766         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23767         Declare as function.  Remove conditional macro definitions.
23768         (__default_rt_sa_restorer): Likewise.
23769         (__default_sa_restorer_v1): Remove declaration.
23770         (__default_sa_restorer_v2): Likewise.
23771         (__default_rt_sa_restorer_v1): Likewise.
23772         (__default_rt_sa_restorer_v2): Likewise.
23773         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23774         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23775         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23777 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23779         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23780         (libpthread-routines): Add sysdep.
23781         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23782         * sysdeps/unix/sysv/linux/sparc/Versions
23783         (libpthread: GLIBC_2.3.3): New version set.
23784         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23785         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23786         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23787         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23788         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23789         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23790         Moved ...
23791         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23792         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23793         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23794         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23795         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23796         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23797         * sysdeps/sparc/nptl/sem_init.c: ... here.
23798         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23799         * sysdeps/sparc/nptl/sem_post.c: ... here.
23800         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23801         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23802         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23803         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23804         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23805         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23806         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23807         (libpthread-routines): Add cpu_relax.
23808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23809         File removed.
23810         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23811         (librt: GLIBC_2.3.3): New version set.
23812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23813         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23814         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23815         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23818         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23820         Moved ...
23821         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23823         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23825         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23827         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23829         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23831         Moved ...
23832         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23833         Update #include.
23834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23835         Moved ...
23836         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23837         Update #include.
23838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23839         Moved ...
23840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23841         Update #include.
23842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23843         Moved ...
23844         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23845         Update #include.
23846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23847         Moved ...
23848         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23849         Update #include.
23850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23851         Moved ...
23852         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23853         Update #include.
23854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23855         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23857         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23861         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23863         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23865         Moved ...
23866         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23868         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23870         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23872 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23874         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23875         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23876         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23877         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23878         * nscd/nscd.c: Likewise.
23879         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23880         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23881         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23882         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23884         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23885         <kernel-features.h>.
23886         (init_mq_netlink): Remove conditional have_sock_cloexec
23887         definitions.  Remove code conditional on have_sock_cloexec < 0.
23888         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23889         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23890         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23891         <kernel-features.h>.
23892         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23893         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23895 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23898         Add tests for memset_chk and memset.
23900         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23901         with AVX2_Usable.
23903 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23905         [BZ #16046]
23906         * elf/tst-dl-iter-static.c: New file.
23907         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23909         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23910         error.
23912 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23914         * sysdeps/unix/sysv/linux/kernel-features.h
23915         (__ASSUME_F_GETOWN_EX): Remove macro.
23916         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23917         <kernel-features.h>.
23918         (miss_F_GETOWN_EX): Remove variable or macro.
23919         (do_fcntl): Do not check miss_F_GETOWN_EX.
23920         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23923         Remove macro.
23924         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23925         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23926         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23928         * sysdeps/unix/sysv/linux/kernel-features.h
23929         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23930         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23931         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23932         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23934 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23936         [BZ #17075]
23937         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23938         Fix calculation of the symbol's value.
23939         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23940         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23941         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23942         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23943         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23944         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23945         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23946         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23947         (modules-names): Add `tst-armtlsdescmod',
23948         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23949         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23950         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23951         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23952         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23953         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23954         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23955         ($(objpfx)tst-armtlsdescloc): New dependency.
23956         ($(objpfx)tst-armtlsdescextnow): Likewise.
23957         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23958         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23959         TLS scheme support.
23960         * sysdeps/arm/configure: Regenerate.
23962 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23964         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23965         (__atfct_seterrno_2): Likewise.
23966         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23967         <kernel-features.h>.
23968         (__ASSUME_ATFCTS): Do not undefine and redefine.
23969         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23970         (__have_atfcts): Remove conditional definition.
23971         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23972         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23973         unreachable if [__ASSUME_ATFCTS].
23974         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23975         not undefine and redefine.
23976         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23977         <kernel-features.h>.
23978         (faccessat) [__NR_faccessat]: Make code unconditional.
23979         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23980         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23981         <kernel-features.h>.
23982         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23983         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23984         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23985         <kernel-features.h>.
23986         (fchownat) [__NR_fchownat]: Make code unconditional.
23987         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23988         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23989         <kernel-features.h>.
23990         (futimesat) [__NR_futimesat]: Make code unconditional.
23991         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23992         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23993         <kernel-features.h>.
23994         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23995         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23996         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23997         <kernel-features.h>.
23998         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23999         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24000         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24001         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24002         <kernel-features.h>.
24003         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24004         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24005         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24006         <kernel-features.h>.
24007         (linkat) [__NR_linkat]: Make code unconditional.
24008         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24009         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24010         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24011         <kernel-features.h>.
24012         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24013         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24014         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24015         <kernel-features.h>.
24016         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24017         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24018         * sysdeps/unix/sysv/linux/openat.c: Do not include
24019         <kernel-features.h>.
24020         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24021         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24022         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24023         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24024         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24025         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24026         <kernel-features.h>.
24027         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24028         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24029         result of INLINE_SYSCALL directly, not via int variable.
24030         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24031         <kernel-features.h>.
24032         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24033         (renameat) [__NR_renameat]: Make code unconditional.
24034         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24035         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24036         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24037         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24038         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24039         (__ASSUME_ATFCTS): Do not undefine and redefine.
24040         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24041         <kernel-features.h>.
24042         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24043         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24044         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24045         <kernel-features.h>.
24046         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24047         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24048         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24049         (__ASSUME_ATFCTS): Do not undefine and redefine.
24050         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24051         <kernel-features.h>.
24052         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24053         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24054         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24055         <kernel-features.h>.
24056         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24057         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24059 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24061         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24063 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24065         [BZ #17069]
24066         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24067         constructed tree before returning error.
24068         * posix/bug-regexp36.c: Expand test case.
24070 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24072         [BZ #6803]
24073         * math/libm-test.inc (scalbln_test_date):
24074         Add errno expectations.
24075         * math/w_scalblnf.c: New File.
24076         Add wrapper which checks for setting errno to ERANGE.
24077         Add weak_alias for corresponding scalbln function.
24078         * math/w_scalbln.c: Likewise.
24079         * math/w_scalblnl.c: Likewise.
24080         * math/Makefile (libm-calls): Add w_scalbln.
24081         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24082         Remove weak_alias for corresponding scalbln function.
24083         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24086         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24087         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24088         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24089         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24090         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24091         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24092         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24093         Remove long_double_symbol for scalblnl function in libm, libc.
24094         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24095         Add wrapper which checks for setting errno to ERANGE.
24096         Add long_double_symbol for scalblnl function in libm, libc.
24097         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24098         Remove long_double_symbol for scalblnl in libm.
24099         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24100         Add wrapper which checks for setting errno to ERANGE.
24101         Add long_double_symbol for scalblnl function in libm.
24102         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24103         Do not use wrapper because of own implementation.
24105 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24107         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24108         3 bytes for __pad1 for x32.
24109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24111 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24112             H.J. Lu  <hongjiu.lu@intel.com>
24114         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24115         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24116         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24117         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24118         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24120 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24122         [BZ #17069]
24123         * posix/regcomp.c (parse_expression): Deallocate partially
24124         constructed tree before returning error.
24125         * posix/Makefile.c (tests): Add bug-regex36.
24126         (generated): Add bug-regex36.mtrace.
24127         (tests-special): Add $(objpfx)bug-regex36-mem.out
24128         (bug-regex36-ENV): New variable.
24129         ($(objpfx)bug-regex36-mem.out): New rule.
24130         * posix/bug-regex36.c: New file.
24132 2014-06-19  Will Newton  <will.newton@linaro.org>
24134         * malloc/malloc.c (systrim): If extra is zero then return
24135         early.
24137 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24139         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24141 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24143         * sysdeps/aarch64/strchr.S: New file.
24145 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24147         [BZ #17022]
24148         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24149         from arguments -2 or below.
24150         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24151         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24153 2014-06-18  Andreas Schwab  <schwab@suse.de>
24155         [BZ #17062]
24156         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24157         of a bracket expr not to run off the end of the string.
24158         * posix/Makefile (tests): Add tst-fnmatch3.
24159         * posix/tst-fnmatch3.c: New file.
24161 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24163         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24164         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24165         [$(cross-compiling) = no]: Likewise.
24166         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24167         [$(cross-compiling) = no]: Likewise.
24169 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24171         [BZ #17031]
24172         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24173         double, adjusted for any remainder from the high double.
24174         * math/libm-test.inc (nearbyint): Add tests.
24175         (rint): Likewise.
24177 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24179         * nptl/sysdeps/powerpc/Makefile: Moved ...
24180         * sysdeps/powerpc/nptl/Makefile: ... here.
24181         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24182         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24183         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24184         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24185         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24186         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24187         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24188         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24189         * nptl/sysdeps/powerpc/tls.h: Moved ...
24190         * sysdeps/powerpc/nptl/tls.h: ... here.
24192 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24194         [BZ #16681]
24195         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24196         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24197         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24198         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24199         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24200         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24201         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24202         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24203         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24205 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24209 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24211         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24212         defined operator.
24214         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24215         $TIMEOUTFACTOR.
24217 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24219         [BZ #17058]
24220         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24221         non-executed part of the test.
24223 2014-06-16  Andreas Schwab  <schwab@suse.de>
24225         * string/bits/string2.h (strdup, strndup): Update feature guard.
24227 2014-06-14  David S. Miller  <davem@davemloft.net>
24229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24231 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24233         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24234         that was previously under [RESET_PID].
24235         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24237         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24238         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24239         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24240         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24241         (__libc_vfork): New strong alias.
24242         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24244 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24246         * sysdeps/generic/elide.h: New file.
24248 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24250         * Makefile (installed-headers): Adjust path of pthread.h header.
24252 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24254         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24255         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24256         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24257         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24259         * nptl/sysdeps/s390/Makefile: Moved ...
24260         * sysdeps/s390/nptl/Makefile: ... here.
24261         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24262         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24263         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24264         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24265         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24266         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24267         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24268         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24269         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24270         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24271         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24272         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24273         * nptl/sysdeps/s390/tls.h: Moved ...
24274         * sysdeps/s390/nptl/tls.h: ... here.
24276         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24277         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24279 2014-06-13  David S. Miller  <davem@davemloft.net>
24281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24284         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24288         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24289         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24290         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24291         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24292         Remove RESET_PID cpp guards.
24293         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24294         Remove RESET_PID cpp guards.
24295         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24297 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24299         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24300         __sp to uintptr_t.
24302 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24306         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24307         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24308         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24310         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24311         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24312         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24313         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24315         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24316         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24317         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24320         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24321         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24323         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24325         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24326         (pthread_rwlock_rdlock): Add elision.
24327         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24328         (pthread_rwlock_wrlock): Add elision.
24329         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24330         (pthread_rwlock_trywrlock): Add elision.
24331         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24332         (pthread_rwlock_tryrdlock): Add elision.
24333         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24334         (pthread_rwlock_tryrdlock): Add elision unlock.
24335         * nptl/sysdeps/pthread/pthread.h:
24336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24337         (PTHREAD_RWLOCK_INITIALIZER,
24338         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24339         Handle new elision field.
24340         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24341         * sysdeps/arm/nptl/bits/pthreadtypes.h
24342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24343         * sysdeps/sh/nptl/bits/pthreadtypes.h
24344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24345         * sysdeps/tile/nptl/bits/pthreadtypes.h
24346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24347         * sysdeps/a/nptl/bits/pthreadtypes.h
24348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24349         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24351         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24353         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24355         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24357         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24359         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24361         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24363         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24365         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24366         (elision_init): Set try_xbegin to zero when no RTM.
24367         * sysdeps/x86/nptl/bits/pthreadtypes.h
24368         (pthread_rwlock_t): Change __pad1 to __rwelision.
24369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24371 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24373         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24374         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24375         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24376         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24378 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24380         [BZ #16996]
24381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24382         that the cached result has been set before returning it.
24384 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24386         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24387         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24388         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24389         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24390         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24391         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24393         * nptl/sysdeps/sparc/Makefile: Moved ...
24394         * sysdeps/sparc/nptl/Makefile: ... here.
24395         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24396         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24397         * nptl/sysdeps/sparc/tls.h: Moved ...
24398         * sysdeps/sparc/nptl/tls.h: ... here.
24399         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24400         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24401         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24402         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24403         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24404         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24405         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24406         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24407         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24408         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24409         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24410         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24411         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24412         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24413         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24414         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24415         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24416         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24417         Update #include.
24418         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24419         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24420         Update #include.
24421         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24422         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24423         Update #include.
24424         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24425         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24426         Update #include.
24428         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24430         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24431         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24433         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24434         (struct list_links): Type removed.
24435         (struct thread_node, struct timer_node): Replace struct list_links
24436         with struct list_head.
24437         (list_unlink_ip): Likewise.
24438         * sysdeps/pthread/timer_routines.c
24439         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24440         (list_append, list_insbefore): Likewise.
24441         (list_init): Function removed.
24442         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24443         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24444         * sysdeps/pthread/Makefile: ... here, new file.
24446         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24447         * sysdeps/nptl/Implies: ... here.
24448         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24449         * nptl/sysdeps/pthread/list.h: Moved ...
24450         * include/list.h: ... here.
24451         * nptl/sysdeps/pthread/createthread.c: Moved ...
24452         * nptl/createthread.c: ... here.
24453         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24454         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24455         * nptl/pt-longjmp.c: ... here.
24456         * nptl/sysdeps/pthread/Makefile: Moved ...
24457         * sysdeps/nptl/Makefile: ... here.
24458         * nptl/sysdeps/pthread/Subdirs: Moved ...
24459         * sysdeps/nptl/Subdirs: ... here.
24460         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24461         * sysdeps/nptl/aio_misc.h: ... here.
24462         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24463         * sysdeps/nptl/bits/libc-lock.h: ... here.
24464         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24465         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24466         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24467         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24468         * nptl/sysdeps/pthread/configure: Moved ...
24469         * sysdeps/nptl/configure: ... here.
24470         * nptl/sysdeps/pthread/configure.ac: Moved ...
24471         * sysdeps/nptl/configure.ac: ... here.
24472         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24473         * sysdeps/nptl/gai_misc.h: ... here.
24474         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24475         * sysdeps/nptl/librt-cancellation.c: ... here.
24476         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24477         * sysdeps/nptl/malloc-machine.h: ... here.
24478         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24479         * sysdeps/nptl/pthread-functions.h: ... here.
24480         * nptl/sysdeps/pthread/pthread.h: Moved ...
24481         * sysdeps/nptl/pthread.h: ... here.
24482         * nptl/sysdeps/pthread/setxid.h: Moved ...
24483         * sysdeps/nptl/setxid.h: ... here.
24484         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24485         * sysdeps/nptl/sigfillset.c: ... here.
24486         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24487         * sysdeps/nptl/tcb-offsets.h: ... here.
24488         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24489         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24490         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24491         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24492         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24493         * sysdeps/pthread/allocalim.h: ... here.
24494         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24495         * sysdeps/pthread/bits/sigthread.h: ... here.
24496         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24497         * sysdeps/pthread/flockfile.c: ... here.
24498         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24499         * sysdeps/pthread/ftrylockfile.c: ... here.
24500         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24501         * sysdeps/pthread/funlockfile.c: ... here.
24502         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24503         * sysdeps/pthread/posix-timer.h: ... here.
24504         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24505         * sysdeps/pthread/timer_create.c: ... here.
24506         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24507         * sysdeps/pthread/timer_delete.c: ... here.
24508         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24509         * sysdeps/pthread/timer_getoverr.c: ... here.
24510         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24511         * sysdeps/pthread/timer_gettime.c: ... here.
24512         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24513         * sysdeps/pthread/timer_routines.c: ... here.
24514         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24515         * sysdeps/pthread/timer_settime.c: ... here.
24516         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24517         * sysdeps/pthread/tst-timer.c: ... here.
24518         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24519         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24521         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24522         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24524         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24525         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24526         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24527         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24528         Update #include target.
24529         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24530         * sysdeps/i386/i686/nptl/Makefile: ... here.
24531         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24532         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24533         Update #include target.
24534         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24535         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24536         * nptl/sysdeps/i386/Makefile: Moved ...
24537         * sysdeps/i386/nptl/Makefile: ... here.
24538         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24539         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24540         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24541         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24542         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24543         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24544         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24545         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24546         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24547         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24548         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24549         * nptl/sysdeps/i386/tls.h: Moved ...
24550         * sysdeps/i386/nptl/tls.h: ... here.
24552         * sysdeps/sh/Makefile [$(subdir) = csu]
24553         (gen-as-const-headers): Add tcb-offsets.sym.
24554         * nptl/sysdeps/sh/Makefile: File removed.
24555         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24556         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24557         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24558         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24559         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24560         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24561         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24562         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24563         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24564         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24565         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24566         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24567         * nptl/sysdeps/sh/tls.h: Moved ...
24568         * sysdeps/sh/nptl/tls.h: ... here.
24569         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24570         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24571         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24572         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24573         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24574         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24575         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24576         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24577         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24578         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24580         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24582         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24584         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24585         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24586         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24588         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24590         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24592         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24594         Moved ...
24595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24597         Moved ...
24598         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24600         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24602         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24604         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24606         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24608         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24610         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24611         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24612         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24613         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24614         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24616         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24618 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24620         * posix/spawn_faction_addopen.c: Include string.h.
24622 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24624         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24625         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24626         * nptl/sysdeps/x86_64/Makefile: Moved ...
24627         * sysdeps/x86_64/nptl/Makefile: ... here.
24628         * nptl/sysdeps/x86_64/configure: Moved ...
24629         * sysdeps/x86_64/nptl/configure: ... here.
24630         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24631         * sysdeps/x86_64/nptl/configure.ac: ... here.
24632         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24633         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24634         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24635         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24636         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24637         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24638         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24639         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24640         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24641         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24642         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24643         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24644         * nptl/sysdeps/x86_64/tls.h: Moved ...
24645         * sysdeps/x86_64/nptl/tls.h: ... here.
24646         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24647         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24648         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24649         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24651         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24653 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24657 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24659         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24660         type.
24661         [POSIX] (off_t): Likewise.
24662         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24663         [POSIX] (S_ISBLK): Require macro.
24664         [POSIX] (S_ISCHR): Likewise.
24665         [POSIX] (S_ISDIR): Likewise.
24666         [POSIX] (S_ISFIFO): Likewise.
24667         [POSIX] (S_ISREG): Likewise.
24668         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24669         optional-macro.
24670         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24671         type.
24672         [POSIX] (time_t): Likewise.
24673         [POSIX] (timer_t): Likewise.
24675 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24677         [BZ #17048]
24678         * posix/spawn_int.h (struct __spawn_action): Make the path string
24679         non-const to support deallocation.
24680         * posix/spawn_faction_addopen.c
24681         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24682         * posix/spawn_faction_destroy.c
24683         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24684         path in all spawn_do_open actions.
24685         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24686         posix_spawn_file_actions_addopen.
24688 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24690         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24691         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24692         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24693         conditional code always true.
24694         (__libc_vfork): New alias.
24696 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24698         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24699         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24701         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24703         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24704         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24706         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24707         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24709         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24710         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24712 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24714         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24715         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24716         multiarch strcmp for PPC64.
24717         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24718         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24720         multiarch optimizations.
24721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24722         (__libc_ifunc_impl_list): Likewise.
24724 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24726         * benchtests/scripts/validate_benchout.py: New script.
24727         * benchtests/Makefile (bench-func): Call it.
24728         * benchtests/scripts/benchout.schema.json: New file.
24730 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24732         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24733         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24734         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24735         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24736         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24737         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24738         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24739         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24740         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24741         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24742         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24743         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24744         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24745         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24746         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24747         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24749         Moved ...
24750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24751         ... here.
24752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24753         Moved ...
24754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24756         Moved ...
24757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24758         ... here.
24759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24760         Moved ...
24761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24762         ... here.
24763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24764         Moved ...
24765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24767         Moved ...
24768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24769         ... here.
24770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24771         Moved ...
24772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24773         ... here.
24774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24775         Moved ...
24776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24778         Moved ...
24779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24780         ... here.
24781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24782         Moved ...
24783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24784         ... here.
24785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24786         Moved ...
24787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24788         ... here.
24789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24790         Moved ...
24791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24793         Moved ...
24794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24795         ... here.
24796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24797         Moved ...
24798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24799         ... here.
24800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24801         Moved ...
24802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24803         ... here.
24804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24805         Moved ...
24806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24808         Moved ...
24809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24810         ... here.
24811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24812         Moved ...
24813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24814         ... here.
24815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24816         Moved ...
24817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24819         Moved ...
24820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24821         ... here.
24822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24823         Moved ...
24824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24826         Moved ...
24827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24829         Moved ...
24830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24831         ... here.
24832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24833         Moved ...
24834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24835         ... here.
24836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24837         Moved ...
24838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24839         ... here.
24840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24841         Moved ...
24842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24844         Moved ...
24845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24846         ... here.
24847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24848         Moved ...
24849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24850         ... here.
24851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24852         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24854         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24856         Moved ...
24857         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24858         ... here.
24859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24860         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24862         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24863         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24864         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24866         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24868         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24870         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24872         Moved ...
24873         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24878         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24880         Moved ...
24881         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24883         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24884         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24885         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24886         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24887         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24889 2014-06-10  Wilco  <wdijkstr@arm.com>
24891         * math/test-fenv-return.c: New file.
24892         * math/Makefile: Add new test test-fenv-return.
24894 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24896         [BZ #17042]
24897         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24898         when x - 1 is zero.
24899         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24900         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24901         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24902         0.0L for an argument of 1.0L.
24903         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24904         Likewise.
24905         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24906         value when x - 1 is zero.
24907         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24908         * sysdeps/i386/fpu/libm-test-ulps: Update.
24909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24911 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24913         [BZ #15119]
24914         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24916 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24918         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24919         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24921 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24923         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24924         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24926         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24927         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24929         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24930         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24932         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24933         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24935         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24936         if not already defined.
24937         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24938         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24939         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24940         (TLS_INIT_TP): Use it.
24941         (TLS_DEFINE_INIT_TP): New macro.
24942         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24944 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24946         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24947         constant.
24948         [POSIX] (IXANY): Likewise.
24949         [POSIX] (OLCUC): Likewise.
24950         [POSIX || POSIX2008] (CBAUD): Do not allow.
24951         [POSIX || POSIX2008] (DEFECHO): Likewise.
24952         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24953         [POSIX || POSIX2008] (ECHOKE): Likewise.
24954         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24955         [POSIX || POSIX2008] (EXTA): Likewise.
24956         [POSIX || POSIX2008] (EXTB): Likewise.
24957         [POSIX || POSIX2008] (FLUSHO): Likewise.
24958         [POSIX || POSIX2008] (LOBLK): Likewise.
24959         [POSIX || POSIX2008] (PENDIN): Likewise.
24960         [POSIX || POSIX2008] (SWTCH): Likewise.
24961         [POSIX || POSIX2008] (VDISCARD): Likewise.
24962         [POSIX || POSIX2008] (VDSUSP): Likewise.
24963         [POSIX || POSIX2008] (VLNEXT): Likewise.
24964         [POSIX || POSIX2008] (VREPRINT): Likewise.
24965         [POSIX || POSIX2008] (VSTATUS): Likewise.
24966         [POSIX || POSIX2008] (VWERASE): Likewise.
24967         (B*): Change to B[0123456789]*.
24968         * conform/data/time.h-data [POSIX || UNIX98]
24969         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24970         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24971         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24972         [POSIX] (tm_*): Do not allow.
24974 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24976         * Makefile (install): Don't set LANGUAGE.
24977         * Makefile.in (install): Likewise.
24978         * assert/Makefile (test-assert-ENV): Remove variable.
24979         (test-assert-perr-ENV): Likewise.
24980         * elf/Makefile (neededtest4-ENV): Likewise.
24981         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24982         [$(cross-compiling) = no]: Don't set LANGUAGE.
24983         * io/ftwtest-sh (LANG): Remove variable.
24984         * libio/Makefile (tst-widetext-ENV): Likewise.
24985         * manual/install.texi (Running make install): Don't refer to
24986         environment settings for make install.
24987         * INSTALL: Regenerated.
24988         * nptl/tst-tls6.sh: Don't set LANG.
24989         * posix/globtest.sh (LANG): Remove variable.
24990         * string/Makefile (tester-ENV): Likewise.
24991         (inl-tester-ENV): Likewise.
24992         (noinl-tester-ENV): Likewise.
24993         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24994         [$(cross-compiling) = no]: Don't set LANGUAGE.
24995         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24996         without explicit environment settings.
24998 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25000         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25001         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25002         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25003         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25005 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25007         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25008         other files in the crypt directory.
25009         * crypt/crypt.c: Remove duplicate includes.
25010         * crypt/crypt-entry.c: Likewise.
25011         * crypt/crypt_util.c: Likewise.
25013 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25015         * Makeconfig (run-program-env): New variable.
25016         (run-program-prefix-before-env): Likewise.
25017         (run-program-prefix-after-env): Likewise.
25018         (run-program-prefix): Define in terms of new variables.
25019         (built-program-cmd-before-env): New variable.
25020         (built-program-cmd-after-env): Likewise.
25021         (built-program-cmd): Define in terms of new variables.
25022         (test-program-prefix-before-env): New variable.
25023         (test-program-prefix-after-env): Likewise.
25024         (test-program-prefix): Define in terms of new variables.
25025         (test-program-cmd-before-env): New variable.
25026         (test-program-cmd-after-env): Likewise.
25027         (test-program-cmd): Define in terms of new variables.
25028         * Rules (make-test-out): Use $(run-program-env).
25029         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25030         (help): Do not mention environment variables.  Mention
25031         --timeoutfactor option.
25032         (timeoutfactor): New variable.
25033         (blacklist_exports): Remove function.
25034         (exports): Remove variable.
25035         (command): Do not include ${exports}.
25036         * manual/install.texi (Configuring and compiling): Do not mention
25037         test wrappers preserving environment variables.  Mention that last
25038         assignment to a variable must take precedence.
25039         * INSTALL: Regenerated.
25040         * benchtests/Makefile (run-bench): Use $(run-program-env).
25041         * catgets/Makefile ($(objpfx)test1.cat): Use
25042         $(built-program-cmd-before-env), $(run-program-env) and
25043         $(built-program-cmd-after-env).
25044         ($(objpfx)test2.cat): Do not specify environment variables
25045         explicitly.
25046         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25047         $(run-program-env) and $(built-program-cmd-after-env).
25048         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25049         $(run-program-env) and $(test-program-cmd-after-env).
25050         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25051         explicitly.
25052         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25053         run_program_env and test_program_cmd_after_env arguments.
25054         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25055         * elf/tst-pathopt.sh: Use run_program_env argument.
25056         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25057         $(test-wrapper-env) and $(run-program-env).
25058         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25059         run_program_env arguments.
25060         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25061         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25062         $(test-program-prefix-before-env), $(run-program-env) and
25063         $(test-program-prefix-after-env).
25064         ($(objpfx)tst-gettext2.out): Likewise.
25065         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25066         run_program_env and test_program_prefix_after_env arguments.
25067         * intl/tst-gettext2.sh: Likewise.
25068         * intl/tst-gettext4.sh: Do not set environment variables
25069         explicitly.
25070         * intl/tst-gettext6.sh: Likewise.
25071         * intl/tst-translit.sh: Likewise.
25072         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25073         $(test-program-prefix-before-env), $(run-program-env) and
25074         $(test-program-prefix-after-env).
25075         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25076         run_program_env and test_program_prefix_after_env arguments.
25077         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25078         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25079         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25080         explicitly with each use of ${test_wrapper_env}.
25081         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25082         $(test-program-prefix-before-env), $(run-program-env) and
25083         $(test-program-prefix-after-env).
25084         * posix/tst-getconf.sh: Do not set environment variables
25085         explicitly.
25086         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25087         run_program_env and test_program_prefix_after_env arguments.
25088         * stdio-common/tst-printf.sh: Do not set environment variables
25089         explicitly.
25090         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25091         $(test-program-prefix-before-env), $(run-program-env) and
25092         $(test-program-prefix-after-env).
25093         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25094         run_program_env and test_program_prefix_after_env arguments.
25095         Split $test calls into $test_pre and $test.
25096         * timezone/Makefile (build-testdata): Use
25097         $(built-program-cmd-before-env), $(run-program-env) and
25098         $(built-program-cmd-after-env).
25100 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25102         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25103         strlen for non SHARED builds.
25105 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25107         * nptl/allocatestack.c (check_list): Inlined function...
25108         (__reclaim_stacks): ... here.
25110 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25112         [BZ #15698]
25113         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25114         memory overrun.
25116 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25118         * Rules (make-test-out): Include
25119         LOCPATH=$(common-objpfx)localedata in default environment.
25120         * debug/Makefile (tst-chk1-ENV): Remove variable.
25121         (tst-chk2-ENV): Likewise.
25122         (tst-chk3-ENV): Likewise.
25123         (tst-chk4-ENV): Likewise.
25124         (tst-chk5-ENV): Likewise.
25125         (tst-chk6-ENV): Likewise.
25126         (tst-lfschk1-ENV): Likewise.
25127         (tst-lfschk2-ENV): Likewise.
25128         (tst-lfschk3-ENV): Likewise.
25129         (tst-lfschk4-ENV): Likewise.
25130         (tst-lfschk5-ENV): Likewise.
25131         (tst-lfschk6-ENV): Likewise.
25132         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25133         (tst-iconv7-ENV): Likewise.
25134         * intl/Makefile (LOCPATH-ENV): Likewise.
25135         (tst-codeset-ENV): Likewise.
25136         (tst-gettext3-ENV): Likewise.
25137         (tst-gettext5-ENV): Likewise.
25138         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25139         (tst-fopenloc-ENV): Likewise.
25140         (tst-fgetws-ENV): Remove variable.
25141         (tst-ungetwc1-ENV): Likewise.
25142         (tst-ungetwc2-ENV): Likewise.
25143         (bug-ungetwc2-ENV): Likewise.
25144         (tst-swscanf-ENV): Likewise.
25145         (bug-ftell-ENV): Likewise.
25146         (tst-fgetwc-ENV): Likewise.
25147         (tst-fseek-ENV): Likewise.
25148         (tst-ftell-partial-wide-ENV): Likewise.
25149         (tst-ftell-active-handler-ENV): Likewise.
25150         (tst-ftell-append-ENV): Likewise.
25151         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25152         (tst-regexloc-ENV): Likewise.
25153         (bug-regex1-ENV): Likewise.
25154         (tst-regex-ENV): Likewise.
25155         (tst-regex2-ENV): Likewise.
25156         (bug-regex5-ENV): Likewise.
25157         (bug-regex6-ENV): Likewise.
25158         (bug-regex17-ENV): Likewise.
25159         (bug-regex18-ENV): Likewise.
25160         (bug-regex19-ENV): Likewise.
25161         (bug-regex20-ENV): Likewise.
25162         (bug-regex22-ENV): Likewise.
25163         (bug-regex23-ENV): Likewise.
25164         (bug-regex25-ENV): Likewise.
25165         (bug-regex26-ENV): Likewise.
25166         (bug-regex30-ENV): Likewise.
25167         (bug-regex32-ENV): Likewise.
25168         (bug-regex33-ENV): Likewise.
25169         (bug-regex34-ENV): Likewise.
25170         (bug-regex35-ENV): Likewise.
25171         (tst-rxspencer-ENV): Likewise.
25172         (tst-rxspencer-no-utf8-ENV): Likewise.
25173         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25174         (tst-sscanf-ENV): Likewise.
25175         (tst-swprintf-ENV): Likewise.
25176         (tst-swscanf-ENV): Likewise.
25177         (test-vfprintf-ENV): Likewise.
25178         (scanf13-ENV): Likewise.
25179         (bug14-ENV): Likewise.
25180         (tst-grouping-ENV): Likewise.
25181         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25182         (tst-strtod3-ENV): Likewise.
25183         (tst-strtod4-ENV): Likewise.
25184         (tst-strtod5-ENV): Likewise.
25185         (testmb2-ENV): Likewise./
25186         * string/Makefile (tst-strxfrm-ENV): Likewise.
25187         (tst-strxfrm2-ENV): Likewise.
25188         (bug-strcoll1-ENV): Likewise.
25189         (test-strcasecmp-ENV): Likewise.
25190         (test-strncasecmp-ENV): Likewise.
25191         * time/Makefile (tst-strptime-ENV): Likewise.
25192         (tst-ftime_l-ENV): Likewise.
25193         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25194         (tst-mbrtowc-ENV): Likewise.
25195         (tst-wcrtomb-ENV): Likewise.
25196         (tst-mbrtowc2-ENV): Likewise.
25197         (tst-c16c32-1-ENV): Likewise.
25198         (tst-mbsnrtowcs-ENV): Likewise.
25200 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25202         * manual/resource.texi (How to get information about the memory
25203         subsystem?): Fix typo.
25204         Reported by Peon de la Parra Ivan <peon@keba.com>
25206 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25208         [BZ #16882]
25209         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25210         (pthread_spin_lock): Branch out of spin loop to proper location.
25211         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25212         (pthread_spin_lock): Likewise.
25214         * nptl/tst-spin4.c: New test.
25215         * nptl/Makefile (tests): Add tst-spin4.
25217 2014-06-03  Andreas Schwab  <schwab@suse.de>
25219         [BZ #15946]
25220         * resolv/res_send.c (send_dg): Reload file descriptor after
25221         calling reopen.
25223 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25225         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25227 2014-06-03  Richard Henderson  <rth@redhat.com>
25229         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25230         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25231         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25232         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25233         in the SAVE_PID block.
25234         (__libc_vfork): New alias.
25235         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25237         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25238         child in registers, not on the stack.  Remove RESET_PID conditionals.
25239         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25241 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25243         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25245 2014-06-03  Wilco  <wdijkstr@arm.com>
25247         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25248         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25249         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25250         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25251         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25252         Likewise.
25254 2014-06-03  Wilco  <wdijkstr@arm.com>
25256         * sysdeps/aarch64/fpu/math_private.h
25257         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25258         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25259         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25260         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25261         Fix declarations.
25263 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25265         * crypt/crypt-private.h: Include ufc-crypt.h.
25266         (__b64_from_24bit): Declare extern.
25267         * crypt/crypt_util.c(__b64_from_24bit): New function.
25268         (b64t): New static const variable.
25269         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25270         (b64t): Remove variable.
25271         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25272         * crypt/sha256-crypt.c: Include crypt-private.h.
25273         (b64t): Remove variable.
25274         (__sha256_crypt_r): Remove b64_from_24bit and replace
25275         with __b64_from_24bit.
25276         * crypt/sha512-crypt.c: Likewise.
25278 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25280         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25281         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25282         Label the code __libc_vfork rather than __vfork.
25283         [!NOT_IN_libc] (vfork): Define as weak alias.
25284         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25285         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25286         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25288 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25290         * malloc/malloc.c (malloc_info): Fix format specifier for
25291         n_mmaps.
25293 2014-06-02  Wilco  <wdijkstr@arm.com>
25295         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25296         FPCR write.
25298 2014-06-02  Wilco  <wdijkstr@arm.com>
25300         [BZ #17009]
25301         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25302         Rewrite to reduce FPCR/FPSR accesses.
25304 2014-06-01  David S. Miller  <davem@davemloft.net>
25306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25308 2014-05-31  David S. Miller  <davem@davemloft.net>
25310         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25311         to occur in round to nearest mode when |x| >= 2.0
25313 2014-05-30  Richard Henderson  <rth@twiddle.net>
25315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25316         (PSEUDO_RET_NOERRNO): Remove.
25317         (ret): Don't redefine.
25318         (ret_NOERRNO): Define in terms of ret.
25319         (ret_ERRVAL): Likewise.
25321         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25322         use of PSEUDO_RET; perform the error check directly.
25324 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25326         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25327         with __int128_t.
25329 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25331         * malloc/malloc (malloc_info): Fix formatting.
25333 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25334             Roland McGrath  <roland@hack.frob.com>
25336         * malloc/malloc (malloc_info): Also print mmapped statistics.
25338 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25340         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25341         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25343 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25345         * malloc/malloc.c (malloc_info): Inline mi_arena.
25347 2014-05-29  Richard Henderson  <rth@twiddle.net>
25349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25350         Remove comma before expanding ASM_ARGS_##nr.
25351         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25352         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25353         of ASM_ARGS_##nr.
25354         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25355         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25356         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25357         (ASM_ARGS_1): Add leading comma.
25359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25360         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25361         to __errno_location.
25362         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25363         Remove the expected plt for __errno_location.
25365         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25366         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25367         call to __read_tp.
25369         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25370         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25371         it and break it down.
25372         (DOCARGS_0, DOCARGS_1): Do nothing.
25373         (DOCARGS_2): Update to store into the new stack frame.
25374         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25375         (UNDOCARGS_1): Update to restore from the new stack frame.
25376         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25377         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25380         (SINGLE_THREAD_P): New parameter for result regno.
25381         (PSEUDO): Update to match; use cbz instead of beq.
25383         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25384         Use ENTRY to define the _nocancel entry point.  Share the syscall
25385         and syscall error check paths with the cancel path.
25386         (PSEUDO_END): New.
25388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25389         whitespace; tabs before and after asm mnemonics.
25391 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25393         [BZ #15132]
25394         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25395         Call fstat64 or stat64 internally, depending on arguments passed.
25396         Replace stat buffer argument with file descriptor argument.
25397         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25398         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25399         Pass fd to __internal_statvfs instead of calling fstat64.
25400         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25401         Pass fd to __internal_statvfs64 instead of calling fstat64.
25402         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25403         Pass -1 to __internal_statvfs instead of calling stat64.
25404         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25405         Pass -1 to __internal_statvfs64 instead of calling stat64.
25407 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25409         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25410         that was previously under [RESET_PID].
25411         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25413         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25414         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25416 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25418         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25420         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25421         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25423 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25425         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25427 2014-05-27  Andreas Schwab  <schwab@suse.de>
25429         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25430         TLS_INIT_TP macro.
25431         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25432         * elf/rtld.c (init_tls, dl_main): Likewise.
25433         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25434         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25435         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25436         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25437         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25438         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25439         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25440         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25441         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25442         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25443         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25444         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25445         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25446         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25447         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25448         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25449         * sysdeps/generic/tls.h: Update description.
25451 2014-05-27  Will Newton  <will.newton@linaro.org>
25453         [BZ #16990]
25454         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25455         and restore r2 rather than just restoring.
25457 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25459         [BZ #16724]
25460         * libio/tst-ftell-append.c: New test case.
25461         * libio/Makefile (tests): Add test case.
25462         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25463         append mode.
25464         * libio/wfileops.c (do_ftell_wide): Likewise.
25466 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25470         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25471         ...
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25474         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25475         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25476         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25477         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25478         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25479         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25481         Moved ...
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25484         Moved ...
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25486         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25487         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25488         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25489         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25490         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25491         ...
25492         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25494         Moved ...
25495         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25496         here.
25497         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25498         ...
25499         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25500         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25501         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25503         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25504         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25506         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25509         merge into ...
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25512         ...
25513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25515         ...
25516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25518         Moved ...
25519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25520         here.
25521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25522         Moved ...
25523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25525         Moved ...
25526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25529         conditional [RESET_PID].
25530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25532         removed.
25533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25534         removed.
25536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25537         <tcb-offsets.h>.
25538         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25539         (__libc_vfork): New strong alias.
25540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25541         removed.
25542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25543         Removed.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25546         <tcb-offsets.h>.
25547         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25548         (__libc_vfork): New strong alias.
25549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25550         removed.
25551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25552         removed.
25554 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25556         * malloc/malloc.c (mi_arena): New function.
25557         (malloc_info): Remove nested function mi_arena. Call non-nosted
25558         function mi_arena.
25560 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25562         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25563         by insrwi.
25564         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25565         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25566         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25567         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25568         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25569         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25570         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25572 2014-05-26  Andreas Schwab  <schwab@suse.de>
25574         [BZ #16984]
25575         * locale/programs/repertoire.c (repertoire_read): Add slash
25576         between I18NPATH element and file name.
25577         * locale/programs/locfile.c (locfile_read): Likewise.
25579 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25581         * nptl/pthread_mutexattr_settype.c
25582         (__pthread_mutexattr_settype):
25583         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25585 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25587         * nptl/tst-mutex5 (do_test):
25588         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25590 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25592         * benchtests/README: Document 'init' directive.
25593         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25594         BENCH_INIT.
25595         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25596         (parse_file): Recognize 'init' directive.
25598 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25600         [BZ #16796]
25601         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25602         alignment of struct pthread.
25604 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25606         [BZ #16878]
25607         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25608         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25609         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25610         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25612 2014-05-25  Richard Henderson  <rth@twiddle.net>
25614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25615         (SINGLE_THREAD_P_PIC): Remove.
25616         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25617         (SINGLE_THREAD_P_PIC): Remove.
25619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25620         branch to syscall error ...
25621         (PSEUDO): ... here.
25622         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25623         from __local_syscall_error to .Lsyscall_error.
25624         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25625         (SYSCALL_ERROR): Update label name.
25627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25628         Do not use DOARGS/UNDOARGS.
25629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25630         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25631         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25632         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25633         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25636         block comment.
25638         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25639         define if !NOT_IN_libc.
25640         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25641         define with non-default symbol versions.
25643 2014-05-23  Richard Henderson  <rth@twiddle.net>
25645         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25646         (vfork, __vfork): Define via compat_symbol.
25648         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25649         [!HAVE_IFUNC] (vfork_compat): Remove.
25650         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25652 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25654         [BZ #16978]
25655         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25656         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25657         variable.
25659 2014-05-23  Richard Henderson  <rth@twiddle.net>
25661         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25662         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25663         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25664         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25666         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25667         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25668         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25669         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25670         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25671         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25672         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25673         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25674         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25675         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25676         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25677         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25678         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25679         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25680         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25681         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25682         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25683         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25684         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25685         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25686         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25687         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25688         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25689         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25690         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25691         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25692         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25693         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25694         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25695         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25696         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25697         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25698         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25699         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25700         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25701         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25702         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25703         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25704         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25705         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25706         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25707         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25708         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25709         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25710         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25711         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25712         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25713         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25714         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25715         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25717         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25718         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25719         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25720         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25721         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25723         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25724         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25725         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25726         before exiting on error.
25727         (__libc_vfork): New strong alias.
25728         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25729         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25731         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25732         that was previously under [RESET_PID].
25733         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25735         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25737 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25739         [BZ #16977]
25740         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25741         value when x - 1 is zero.
25742         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25743         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25744         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25745         0.0L for an argument of 1.0L.
25746         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25747         Likewise.
25748         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25749         value when x - 1 is zero.
25750         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25751         * sysdeps/i386/fpu/libm-test-ulps: Update.
25752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25754 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25756         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25757         alphasort and versionsort.
25759 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25761         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25762         macro.
25763         [copysignf]: Likewise.
25765 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25767         * crypt/md5-crypt.c: Fix formatting.
25769 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25771         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25772         (b64_from_24bit): New function.
25774 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25777         libc_hidden_builtin_def to ifunc.
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25779         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25781 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25783         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25784         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25786 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25788         * nscd/Depend (linuxthreads): Remove.
25789         (nptl): Add.
25790         * resolv/Depend (linuxthreads): Remove.
25791         * rt/Depend (linuxthreads): Remove.
25793         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25794         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25795         $(common-objpfx)elf/.
25796         (link-libc-before-gnulib): Likewise.
25797         (elfobjdir): Remove variable.
25798         * Makefile (install): Use $(elf-objpfx) instead of
25799         $(common-objpfx)elf/.
25800         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25801         $(elfobjdir)/.
25802         (link-libc-deps): Likewise.
25803         ($(common-objpfx)libc.so): Likewise.
25804         ($(common-objpfx)linkobj/libc.so): Likewise.
25805         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25806         instead of $(common-objpfx)elf/.
25807         (symbolic-link-list): Likewise.
25808         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25809         [$(cross-compiling) = no]: Likewise.
25810         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25811         $(elfobjdir)/.
25812         (static-gnulib-arch): Likewise.
25813         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25814         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25815         $(common-objpfx)elf/.
25817 2014-05-21  Richard Henderson  <rth@redhat.com>
25819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25820         (SINGLE_THREAD_P): Use the correct width load.  Fold
25821         into the ldr offset.
25823         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25824         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25826 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25828         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25829         (libgcc_s_resume): Use __attribute_used__.
25830         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25831         Likewise.
25833 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25835         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25836         optimization when used with float constants.
25838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25840 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25842         [BZ #16915]
25843         * locale/nl_langinfo_l.c: Make direct reference to every
25844         _nl_current_CATEGORY symbol.
25845         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25846         (tests-static): Add tst-langinfo-static.
25847         (tests-special): Add tst-langinfo-static.out.
25848         ($(objpfx)tst-langinfo.out): Redirect output.
25849         ($(objpfx)tst-langinfo-static.out): New.
25850         * localedata/tst-langinfo.sh: Send output to stdout.
25851         * localedata/tst-langinfo-static.c: New file.
25853         [BZ #16965]
25854         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25855         when the shift amount is modulo the limb size.
25857 2014-05-20  Richard Henderson  <rth@redhat.com>
25859         [BZ #16967]
25860         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25861         Change type of sa_flags from unsigned int to int.
25863         [BZ #16966]
25864         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25866         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25868 2014-05-20  Will Newton  <will.newton@linaro.org>
25870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25871         Test the return value of the system call in the nocancel case.
25873 2014-05-20  Will Newton  <will.newton@linaro.org>
25874             Yvan Roux  <yvan.roux@linaro.org>
25876         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25877         #include of asm/ptrace.h.
25878         (PTRACE_GET_THREAD_AREA): Remove #undef.
25879         (PTRACE_GETHBPREGS): Likewise.
25880         (PTRACE_SETHBPREGS): Likewise.
25881         (struct user_regs_struct): New structure.
25882         (struct user_fpsimd_struct): New structure.
25883         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25884         #include of asm/ptrace.h and second #include of sys/user.h.
25885         (PTRACE_GET_THREAD_AREA): Remove #undef.
25886         (PTRACE_GETHBPREGS): Likewise.
25887         (PTRACE_SETHBPREGS): Likewise.
25888         (ELF_NGREG): Use new struct user_regs_struct.
25889         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25891 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25893         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25894         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25896 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25898         [BZ #16958]
25899         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25900         membar to avoid block loads/stores to overlap previous stores.
25902 2014-05-17  Richard Henderson  <rth@redhat.com>
25904         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25905         Create the __##syscall_name##_nocancel entry point.
25906         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25907         Remove; let the sysdep-cancel.h code create it.
25909 2014-05-17  David S. Miller  <davem@davemloft.net>
25911         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25912         Protect with __USE_GNU.
25913         (TIOCSET_TEMPT): Likewise.
25914         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25915         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25916         these are already provided in bits/ioctl-types.h
25918 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25920         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25921         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25923         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25924         Use wait4 regardless of [__NR_waitpid].
25926 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25928         PR libgcc/60166
25929         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25930         (_FP_NANSIGN_Q): Set the quiet bit.
25932 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25934         * benchtests/Makefile
25935         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25936         not $(common-objpfx)math/libm.so.
25937         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25938         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25939         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25940         $(common-objpfx)dlfcn/libdl.so.
25941         ($(objpfx)tst-audit8): Depend on $(libm), not
25942         $(common-objpfx)math/libm.so.
25943         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25944         not $(common-objpfx)dlfcn/libdl.so.
25945         * math/Makefile
25946         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25947         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25948         [$(build-shared) = yes].
25949         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25950         $(common-objpfx)nptl/libpthread.so.
25951         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25952         $(common-objpfx)math/libm.so$(libm.so-version) or
25953         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25954         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25955         $(common-objpfx)dlfcn/libdl.so.
25956         * setjmp/Makefile (link-libm): Remove variable.
25957         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25958         * stdio-common/Makefile (link-libm): Remove variable.
25959         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25960         * stdlib/Makefile (link-libm): Remove variable.
25961         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25962         ($(objpfx)tst-strtod-round): Likewise.
25963         ($(objpfx)tst-tininess): Likewise.
25964         ($(objpfx)tst-strtod-underflow): Likewise.
25965         ($(objpfx)tst-strtod6): Likewise.
25966         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25967         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25968         $(common-objpfx)dlfcn/libdl.so.
25970 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25972         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25973         BSD terminal modes definitions.
25975 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25977         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25978         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25980         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25981         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25982         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25983         Don't do #include_next.
25984         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25985         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25986         Don't do #include_next.
25987         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25988         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25989         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25990         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25992 2014-05-16  Allan McRae  <allan@archlinux.org>
25994         * po/sv.po: Update Swedish translation from translation project.
25996         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25997         in sed expression.
25999 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26001         [BZ #16917]
26002         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26003         errno if the TIOCGPTN ioctl fails with an error different than
26004         EINVAL.
26005         * login/tst-ptsname.c: New file.
26006         * login/Makefile (tests): Add tst-ptsname.
26008         [BZ #16943]
26009         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26010         and prlimit64.
26012 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26014         [BZ #16849]
26015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26016         herrno to return EAI_AGAIN.
26018 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26020         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26021         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26022         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26023         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26024         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26025         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26026         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26027         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26028         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26029         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26030         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26031         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26032         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26033         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26034         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26035         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26036         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26037         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26038         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26039         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26040         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26041         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26042         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26043         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26044         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26045         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26046         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26047         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26048         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26049         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26051         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26053         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26055         Moved ...
26056         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26058         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26060         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26062         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26064         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26066         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26068         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26070         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26072         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26074         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26076         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26078         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26080         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26082         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26084         Moved ...
26085         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26087         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26089         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26091         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26093         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26097         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26099         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26103         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26105         Moved ...
26106         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26108         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26110         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26111         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26112         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26113         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26114         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26115         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26116         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26117         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26118         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26119         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26120         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26121         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26122         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26123         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26124         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26125         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26126         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26127         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26128         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26129         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26130         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26131         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26132         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26133         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26134         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26135         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26136         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26137         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26138         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26139         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26140         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26142         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26143         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26145         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26146         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26147         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26149         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26151         Moved ...
26152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26154         Moved ...
26155         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26156         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26157         Moved ...
26158         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26159         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26160         Moved ...
26161         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26163         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26165         Moved ...
26166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26167         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26168         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26171         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26172         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26174         Moved ...
26175         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26177         Moved ...
26178         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26179         ... here.
26180         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26181         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26182         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26183         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26185         Moved ...
26186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26187         ... here.
26188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26189         Moved ...
26190         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26191         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26192         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26194         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26196         Moved ...
26197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26199         Moved ...
26200         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26202         Moved ...
26203         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26204         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26205         Moved ...
26206         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26208         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26210         Moved ...
26211         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26212         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26213         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26215         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26216         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26217         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26219         Moved ...
26220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26222         Moved ...
26223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26224         ... here.
26225         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26226         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26227         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26228         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26230         Moved ...
26231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26232         ... here.
26233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26234         Moved ...
26235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26237         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26239         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26240         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26241         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26242         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26243         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26244         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26245         Moved ...
26246         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26248         Moved ...
26249         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26251         Moved ...
26252         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26254         Moved ...
26255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26257         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26258         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26259         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26261         Moved ...
26262         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26263         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26264         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26266         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26268         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26270         Moved ...
26271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26273         Moved ...
26274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26275         ... here.
26276         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26277         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26279         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26281         Moved ...
26282         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26283         ... here.
26284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26285         Moved ...
26286         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26287         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26288         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26290         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26292         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26293         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26294         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26295         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26296         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26298         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26299         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26301         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26302         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26304         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26305         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26306         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26308         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26310         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26311         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26312         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26313         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26314         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26316         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26318         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26320         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26322         Moved ...
26323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26327         Moved ...
26328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26332         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26336         Moved ...
26337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26339         Moved ...
26340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26346         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26348         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26350         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26352         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26354         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26355         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26356         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26358         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26359         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26360         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26361         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26362         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26364         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26365         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26367         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26368         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26369         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26370         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26371         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26372         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26373         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26378         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26379         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26381         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26382         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26383         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26384         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26385         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26386         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26387         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26388         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26389         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26390         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26391         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26393         Update #include.
26394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26395         Likewise.
26396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26397         Likewise.
26398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26399         Likewise.
26400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26401         Likewise.
26402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26403         Likewise.
26404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26405         Likewise.
26406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26407         Likewise.
26408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26409         Likewise.
26410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26411         Likewise.
26412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26419         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26421         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26424         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26428         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26429         that was previously under [RESET_PID].
26430         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26431         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26432         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26434         * sysdeps/i386/nptl/Implies: New file.
26435         * sysdeps/x86_64/nptl/Implies: New file.
26436         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26437         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26438         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26439         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26441         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26442         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26443         (__libc_vfork): New strong alias.
26444         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26445         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26447         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26448         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26449         (__libc_vfork): New strong alias.
26450         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26451         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26453         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26454         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26455         (__libc_vfork): New strong alias.
26456         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26457         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26458         * nptl/pt-vfork.c: New file.
26459         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26460         (libpthread: GLIBC_2.20): New version set (empty).
26462 2014-05-14  Will Newton  <will.newton@linaro.org>
26464         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26465         rather than #if.
26467 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26469         [BZ #16564]
26470         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26471         arguments with exponent 65 or above.
26472         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26473         arguments 0x1p113L or above.
26474         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26475         to arguments 0x1p107L or above.
26476         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26477         positive arguments with exponent 65 or above.
26478         * math/auto-libm-test-in: Add more tests of log1p.
26479         * math/auto-libm-test-out: Regenerated.
26481         [BZ #16928]
26482         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26483         non-finite arguments is +0.
26484         * math/s_cacosf.c (__cacosf): Likewise.
26485         * math/s_cacosl.c (__cacosl): Likewise.
26486         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26487         * sysdeps/i386/fpu/libm-test-ulps: Update.
26488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26490         [BZ #16927]
26491         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26492         value.
26493         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26494         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26495         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26496         for explicit high bit of mantissa when testing for argument equal
26497         to 1.
26498         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26499         * sysdeps/i386/fpu/libm-test-ulps: Update.
26500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26502         [BZ #16516]
26503         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26504         (__erf): Scale by 16 instead of 8 in potentially underflowing
26505         case.  Ensure exception if result actually underflows.
26506         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26507         (__erff): Scale by 16 instead of 8 in potentially underflowing
26508         case.  Ensure exception if result actually underflows.
26509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26510         (efx8): Remove variable.
26511         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26512         case.  Ensure exception if result actually underflows.
26513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26514         (efx8): Remove variable.
26515         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26516         case.  Ensure exception if result actually underflows.
26517         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26518         (efx8): Remove variable.
26519         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26520         case.  Ensure exception if result actually underflows.
26521         * math/auto-libm-test-in: Add more tests of erf.
26522         * math/auto-libm-test-out: Regenerated.
26524 2014-05-14  Andreas Schwab  <schwab@suse.de>
26526         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26527         Remove code conditionalized on USE___THREAD.
26529         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26530         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26531         not definedness.
26533 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26536         Define unconditionally.
26537         (__ASSUME_O_CLOEXEC): Likewise.
26538         (__ASSUME_SOCK_CLOEXEC): Likewise.
26539         (__ASSUME_IN_NONBLOCK): Likewise.
26540         (__ASSUME_PIPE2): Likewise.
26541         (__ASSUME_EVENTFD2): Likewise.
26542         (__ASSUME_SIGNALFD4): Likewise.
26543         (__ASSUME_DUP3): Likewise.
26544         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26545         (__ASSUME_DUP3): Do not define.
26546         (__ASSUME_EVENTFD2): Likewise.
26547         (__ASSUME_IN_NONBLOCK): Likewise.
26548         (__ASSUME_O_CLOEXEC): Likewise.
26549         (__ASSUME_PIPE2): Likewise.
26550         (__ASSUME_SIGNALFD4): Likewise.
26551         (__ASSUME_SOCK_CLOEXEC): Likewise.
26552         (__ASSUME_UTIMES): Undefine.
26553         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26554         (__ASSUME_UTIMES): Do not define.
26555         (__ASSUME_O_CLOEXEC): Likewise.
26556         (__ASSUME_SOCK_CLOEXEC): Likewise.
26557         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26558         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26559         0x020621].
26560         (__ASSUME_PIPE2): Likewise.
26561         (__ASSUME_EVENTFD2): Likewise.
26562         (__ASSUME_SIGNALFD4): Likewise.
26563         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26564         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26565         Do not define.
26566         (__ASSUME_EVENTFD2): Likewise.
26567         (__ASSUME_SIGNALFD4): Likewise.
26568         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26569         (__ASSUME_32BITUIDS): Likewise.
26570         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26571         (__ASSUME_IPC64): Likewise.
26572         (__ASSUME_ST_INO_64_BIT): Likewise.
26573         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26574         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26575         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26576         (__ASSUME_UTIMES): Do not define.
26577         (__ASSUME_PSELECT): Likewise.
26578         (__ASSUME_PPOLL): Likewise.
26579         (__ASSUME_O_CLOEXEC): Likewise.
26580         (__ASSUME_SOCK_CLOEXEC): Likewise.
26581         (__ASSUME_IN_NONBLOCK): Likewise.
26582         (__ASSUME_PIPE2): Likewise.
26583         (__ASSUME_EVENTFD2): Likewise.
26584         (__ASSUME_SIGNALFD4): Likewise.
26585         (__ASSUME_DUP3): Likewise.
26586         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26587         (__ASSUME_UTIMES): Likewise.
26588         (__ASSUME_O_CLOEXEC): Likewise.
26589         (__ASSUME_SOCK_CLOEXEC): Likewise.
26590         (__ASSUME_IN_NONBLOCK): Likewise.
26591         (__ASSUME_PIPE2): Likewise.
26592         (__ASSUME_EVENTFD2): Likewise.
26593         (__ASSUME_SIGNALFD4): Likewise.
26594         (__ASSUME_DUP3): Likewise.
26595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26596         (__ASSUME_UTIMES): Likewise.
26597         (__ASSUME_O_CLOEXEC): Likewise.
26598         (__ASSUME_SOCK_CLOEXEC): Likewise.
26599         (__ASSUME_IN_NONBLOCK): Likewise.
26600         (__ASSUME_PIPE2): Likewise.
26601         (__ASSUME_EVENTFD2): Likewise.
26602         (__ASSUME_SIGNALFD4): Likewise.
26603         (__ASSUME_DUP3): Likewise.
26604         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26605         Likewise.
26606         (__ASSUME_UTIMES): Likewise.
26607         (__ASSUME_EVENTFD2): Likewise.
26608         (__ASSUME_SIGNALFD4): Likewise.
26609         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26610         (__ASSUME_O_CLOEXEC): Likewise.
26611         (__ASSUME_SOCK_CLOEXEC): Likewise.
26612         (__ASSUME_IN_NONBLOCK): Likewise.
26613         (__ASSUME_PIPE2): Likewise.
26614         (__ASSUME_EVENTFD2): Likewise.
26615         (__ASSUME_SIGNALFD4): Likewise.
26616         (__ASSUME_DUP3): Likewise.
26617         (__ASSUME_UTIMES): Undefine.
26619         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26620         feclearexcept.  Remove symbol versioning code.
26621         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26622         symbol versioning code.
26623         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26624         symbol versioning code.
26625         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26626         feupdateenv.  Remove symbol versioning code.
26627         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26628         fegetexceptflag.  Remove symbol versioning code.
26629         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26630         fesetexceptflag.  Remove symbol versioning code.
26631         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26632         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26633         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26634         (__posix_fadvise64_l32): Remove prototype.
26635         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26636         code.
26638 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26640         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26641         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26642         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26643         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26645 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26647         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26648         current working directory
26650 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26652         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26653         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26654         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26655         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26656         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26657         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26658         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26659         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26660         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26661         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26662         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26663         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26664         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26665         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26666         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26667         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26668         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26669         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26670         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26671         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26672         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26673         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26674         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26675         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26676         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26677         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26678         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26679         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26680         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26681         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26682         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26683         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26684         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26685         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26686         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26687         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26688         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26689         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26690         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26691         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26692         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26693         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26695         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26696         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26698         * sysdeps/unix/sysv/linux/arm/Makefile
26699         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26700         Add rt-aeabi_unwind_cpp_pr1.
26701         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26702         Add nptl-aeabi_unwind_cpp_pr1.
26703         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26704         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26705         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26706         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26707         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26708         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26710         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26711         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26712         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26713         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26715         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26716         Deconditionalize the code that was previously under [RESET_PID].
26717         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26719         * sysdeps/generic/exit-thread.h: New file.
26720         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26721         * include/unistd.h (__exit_thread): Remove declaration.
26722         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26723         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26724         * csu/libc-start.c: Include <exit-thread.h>.
26725         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26726         * nptl/pthread_create.c: Include <exit-thread.h>.
26727         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26728         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26729         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26730         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26731         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26732         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26733         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26734         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26735         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26736         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26737         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26738         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26739         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26740         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26741         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26742         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26743         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26745 2014-05-13  Andreas Schwab  <schwab@suse.de>
26747         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26749 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26751         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26752         (__ASSUME_UTIMES): Do not condition on kernel version.
26753         (__ASSUME_PSELECT): Define unconditionally.
26754         (__ASSUME_PPOLL): Likewise.
26755         (__ASSUME_ATFCTS): Likewise.
26756         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26757         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26758         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26759         (__ASSUME_UTIMENSAT): Define unconditionally.
26760         (__ASSUME_PRIVATE_FUTEX): Likewise.
26761         (__ASSUME_FALLOCATE): Likewise.
26762         (__ASSUME_O_CLOEXEC): Likewise.
26763         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26764         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26765         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26766         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26767         (__ASSUME_IN_NONBLOCK): Likewise.
26768         (__ASSUME_PIPE2): Likewise.
26769         (__ASSUME_EVENTFD2): Likewise.
26770         (__ASSUME_SIGNALFD4): Likewise.
26771         (__ASSUME_DUP3): Likewise.
26772         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26773         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26774         (__ASSUME_AT_RANDOM): Likewise.
26775         (__ASSUME_PREADV): Likewise.
26776         (__ASSUME_PWRITEV): Likewise.
26777         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26778         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26779         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26780         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26781         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26782         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26783         (__ASSUME_O_CLOEXEC): Define unconditionally.
26784         (__ASSUME_PSELECT): Do not undefine conditionally.
26785         (__ASSUME_PPOLL): Likewise.
26786         (__ASSUME_ATFCTS): Likewise.
26787         (__ASSUME_SET_ROBUST_LIST): Likewise.
26788         (__ASSUME_UTIMENSAT): Likewise.
26789         (__ASSUME_FDATASYNC): Define unconditionally.
26790         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26791         (__ASSUME_SIGFRAME_V2): Likewise.
26792         )__ASSUME_EVENTFD2): Likewise.
26793         (__ASSUME_SIGNALFD4): Likewise.
26794         (__ASSUME_PSELECT): Do not undefine conditionally.
26795         (__ASSUME_PPOLL): Likewise.
26796         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26797         (__ASSUME_PSELECT): Define unconditionally.
26798         (__ASSUME_PPOLL): Likewise.
26799         (__ASSUME_O_CLOEXEC): Likewise.
26800         (__ASSUME_SOCK_CLOEXEC): Likewise.
26801         (__ASSUME_IN_NONBLOCK): Likewise.
26802         (__ASSUME_PIPE2): Likewise.
26803         (__ASSUME_EVENTFD2): Likewise.
26804         (__ASSUME_SIGNALFD4): Likewise.
26805         (__ASSUME_DUP3): Likewise.
26806         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26807         (__ASSUME_O_CLOEXEC): Likewise.
26808         (__ASSUME_SOCK_CLOEXEC): Likewise.
26809         (__ASSUME_IN_NONBLOCK): Likewise.
26810         (__ASSUME_PIPE2): Likewise.
26811         (__ASSUME_EVENTFD2): Likewise.
26812         (__ASSUME_SIGNALFD4): Likewise.
26813         (__ASSUME_DUP3): Likewise.
26814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26815         (__ASSUME_EVENTFD2): Likewise.
26816         (__ASSUME_SIGNALFD4): Likewise.
26817         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26819 2014-05-12  Andreas Schwab  <schwab@suse.de>
26821         [BZ #16932]
26822         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26823         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26824         than maximum RPC packet size.
26825         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26826         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26827         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26828         (_nss_nis_getservbyport_r): Likewise.
26830 2014-05-12  Will Newton  <will.newton@linaro.org>
26832         * malloc/Makefile (tests): Add tst-mallopt.
26833         * malloc/tst-mallopt.c: New file.
26835 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26837         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26838         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26840 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26842         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26843         (tst-tlsmod6.so): Likewise.
26845 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26847         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26849 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #16064]
26852         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26853         and <dl-procinfo.h>.
26854         (__fegetenv): Save SSE state in envp->__eip if supported.
26855         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26856         envp->__eip if supported.
26857         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26858         and <dl-procinfo.h>.
26859         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26860         __data_offset and __data_selector in environment to 0.  Set SSE
26861         state if supported.
26862         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26863         test-fenv-sse.
26864         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26865         -mfpmath=sse.
26866         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26868 2014-05-09  Will Newton  <will.newton@linaro.org>
26870         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26871         and libc_relro_required for ARM.
26872         * sysdeps/arm/preconfigure: Regenerate.
26874 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26875             Stefan Liebler  <stli@linux.vnet.ibm.com>
26877         * config.make.in (enable-lock-elision): New Makefile variable.
26878         * configure.ac: Likewise.
26879         * configure: Regenerate.
26880         * sysdeps/s390/configure.ac:
26881         Add check for gcc transactions support.
26882         * sysdeps/s390/configure: Regenerate.
26883         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26884         Build elision files if enabled.
26885         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26886         Add lock elision support for s390.
26887         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26888         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26889         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26890         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26891         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26892         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26893         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26894         Likewise.
26895         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26896         Likewise.
26897         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26898         Likewise.
26899         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26900         Likewise.
26901         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26902         (__lll_timedlock_elision, __lll_lock_elision)
26903         (__lll_unlock_elision, __lll_trylock_elision)
26904         (lll_timedlock_elision, lll_lock_elision)
26905         (lll_unlock_elision, lll_trylock_elision): Add.
26906         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26907         (pthread_mutex_t): Add lock elision support for s390.
26909 2014-05-14  Wilco  <wdijkstr@arm.com>
26911         * sysdeps/arm/fclrexcpt.c: Cleanup.
26912         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26913         * sysdeps/arm/feenablxcpt.c: Cleanup.
26914         * sysdeps/arm/fegetenv.c: Cleanup.
26915         * sysdeps/arm/fegetexcept.c: Cleanup.
26916         * sysdeps/arm/fegetround.c: Cleanup.
26917         * sysdeps/arm/feholdexcpt.c: Cleanup.
26918         * sysdeps/arm/fesetenv.c: Cleanup.
26919         * sysdeps/arm/fesetround.c: Cleanup.
26920         * sysdeps/arm/feupdateenv.c: Cleanup.
26921         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26922         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26923         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26924         * sysdeps/arm/ftestexcept.c: Cleanup.
26925         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26926         * sysdeps/arm/setfpucw.c: Cleanup.
26928 2014-05-09  Will Newton  <will.newton@linaro.org>
26930         * sysdeps/arm/armv7/strcmp.S: New file.
26931         * NEWS: Mention addition of ARMv7 optimized strcmp.
26933 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26935         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26936         look for %.ac rather than %.in.
26938         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26939         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26940         * sysdeps/mach/hurd/configure: Regenerated.
26941         * sysdeps/unix/sysv/linux/configure: Regenerated.
26943         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26945 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26947         [BZ# 16922]
26948         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26949         (LONG_SUB): Ditto.
26950         (PTR_SUB): Ditto.
26952 2014-05-07  Andreas Schwab  <schwab@suse.de>
26954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26955         when skipping over non-matching result from nscd.
26957 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26959         [BZ #16876]
26960         * nptl/sockperf.c (client): Check socket return value.
26962         [BZ #16877]
26963         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26964         nscd security class.
26966 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26968         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26969         * sysdeps/arm/unwind.h: ... here.
26971 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26973         [BZ# 16916]
26974         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26975         Define.
26977 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26979         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26980         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26981         multiarch strncpy for PPC64.
26982         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26983         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26985         multiarch optimizations.
26986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26987         (__libc_ifunc_impl_list): Likewise.
26988         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26990         multiarch stpncpy for PPC64.
26991         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26992         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26994 2014-05-06  Andreas Schwab  <schwab@suse.de>
26996         [BZ #16912]
26997         * gmon/mcount.c (_MCOUNT_DECL): Use
26998         atomic_compare_and_exchange_bool_acq instead of
26999         catomic_compare_and_exchange_bool_acq.
27001 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27003         * elf/Makefile (others, install-bin): Remove pldd.
27004         (pldd-modules): Variable removed.
27005         ($(objpfx)pldd): Target removed.
27006         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27007         (others, install-bin): Append pldd here.
27008         ($(objpfx)pldd): New target.
27010         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27011         to 0, so the first #if test emitted later doesn't see it undefined.
27012         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27013         * sysdeps/gnu/errlist.c: Regenerated.
27015 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27017         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27018         [libc_hidden_builtin_def]: Define to empty value.
27019         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27020         [libc_hidden_builtin_def]: Likewise.
27021         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27022         [libc_hidden_builtin_def]: Likewise.
27023         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27024         [libc_hidden_builtin_def]: Likewise.
27025         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27026         __redirect_memcpy and define ifunc as default hidden symbol.
27027         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27028         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27030 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27032         * locale/iso-4217.def: Reintroduce XDR currency.
27034 2014-05-04  Allan McRae  <allan@archlinux.org>
27036         * po/eo.po: Update Esperanto translation from translation project.
27038 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27040         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27041         and FEATURE_INDEX_MAX to 1.
27042         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27044 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27046         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27047         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27048         * iconvdata/big5.c (ONE_DIRECTION): Define.
27049         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27050         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27051         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27052         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27053         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27054         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27055         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27056         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27057         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27058         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27059         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27060         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27061         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27062         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27063         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27064         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27065         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27066         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27067         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27068         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27069         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27070         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27071         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27072         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27073         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27074         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27075         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27076         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27077         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27078         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27079         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27080         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27081         * iconvdata/johab.c (ONE_DIRECTION): Define.
27082         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27083         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27084         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27085         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27086         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27087         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27088         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27089         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27090         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27091         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27093 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27095         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27096         (_IO_JUMPS_OFFSET): Define to 0.
27098         * nptl/sysdeps/pthread/bits/libc-lock.h
27099         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27100         (__libc_lock_define_initialized_recursive): Always define using
27101         initializer.  Modern compilers treat uninitialized (implicit zero) and
27102         explicit zero initializers the same (i.e. put the datum in bss).
27104 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27106         * nscd/nscd-client.h: Include <string.h>.
27108 2014-05-01  David S. Miller  <davem@davemloft.net>
27110         [BZ #16885]
27111         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27112         multiple zero bytes exist at the end of a string.
27113         Reported by Aurelien Jarno <aurelien@aurel32.net>
27115         * string/test-strcmp.c (check): Add explicit test for situations where
27116         there are multiple zero bytes after the first.
27118 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27120         [BZ #16890]
27121         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27122         when compiling wprintf.
27123         * stdio-common/tstdiomisc.c (t3): New function.
27124         (main): Call it.
27126 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27128         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27129         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27130         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27131         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27133 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27135         * stdlib/longlong.h: Updated from GCC.
27137 2014-05-01  Will Newton  <will.newton@linaro.org>
27138             Bernard Ogden  <bernie.ogden@linaro.org>
27140         * NEWS: Update fixed bug list.
27142         [BZ #15119]
27143         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27145 2014-04-30  David S. Miller  <davem@davemloft.net>
27147         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27148         (libc_feholdexcept_setround_sparc_ctx): New function.
27149         (libc_fesetenv_sparc_ctx): Likewise.
27150         (libc_feupdateenv_sparc_ctx): Likewise.
27151         (libc_feholdsetround_sparc_ctx): Likewise.
27152         (libc_feholdexcept_setround_ctx): Define.
27153         (libc_feholdexcept_setroundf_ctx): Likewise.
27154         (libc_feholdexcept_setroundl_ctx): Likewise.
27155         (libc_fesetenv_ctx): Likewise.
27156         (libc_fesetenvf_ctx): Likewise.
27157         (libc_fesetenvl_ctx): Likewise.
27158         (libc_feupdateenv_ctx): Likewise.
27159         (libc_feupdateenvf_ctx): Likewise.
27160         (libc_feupdateenvl_ctx): Likewise.
27161         (libc_feresetround_ctx): Likewise.
27162         (libc_feresetroundf_ctx): Likewise.
27163         (libc_feresetroundl_ctx): Likewise.
27164         (libc_feholdsetround_ctx): Likewise.
27165         (libc_feholdsetroundf_ctx): Likewise.
27166         (libc_feholdsetroundl_ctx): Likewise.
27168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27169         with __USE_GNU instead of XOPEN cpp guards.
27171         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27172         0.
27174         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27175         with XOPEN cpp guards.
27177 2014-04-30  Julian Brown  <julian@codesourcery.com>
27179         [BZ #16888]
27180         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27181         handling.
27183 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27185         [BZ #9894]
27186         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27187         Change to 2.6.32.
27188         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27189         * sysdeps/unix/sysv/linux/configure: Regenerated.
27190         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27191         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27192         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27193         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27194         * README: Update reference to required Linux kernel version.
27195         * manual/install.texi (Linux): Update reference to required Linux
27196         kernel headers version.
27197         * INSTALL: Regenerated.
27199         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27200         header inclusion.
27201         [POSIX] (limits.h): Likewise.
27202         [POSIX] (math.h): Likewise.
27203         [POSIX] (sys/wait.h): Likewise.
27204         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27205         function.
27206         [POSIX] (stddef.h): Do not allow header inclusion.
27208 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27210         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27212 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27214         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27215         Return immediately after lll_futex_wake.
27217 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27219         [BZ #16791]
27220         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27221         structure.
27222         (datahead_init_pos): Call datahead_init_common early.
27223         (datahead_init_neg): Likewise.
27225         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27226         datahead_init_neg): New functions.
27227         * nscd/aicache.c (addhstaiX): Use them.
27228         * nscd/grpcache.c (cache_addgr): Likewise.
27229         * nscd/hstcache.c (cache_addhst): Likewise.
27230         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27231         * nscd/netgroupcache.c (do_notfound): Likewise.
27232         (addgetnetgrentX): Likewise.
27233         (addinnetgrX): Likewise.
27234         * nscd/pwdcache.c (cache_addpw): Likewise.
27235         * nscd/servicescache.c (cache_addserv): Likewise.
27237 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27238             Atsushi Onoe  <atsushi@onoe.org>
27240         [BZ #14308]
27241         [BZ #12994]
27242         [BZ #13651]
27243         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27244         one response is valid.
27245         * resolv/res_send.c (send_dg): Check for validity of other
27246         response if the current response is a referral.
27248 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27250         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27252 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27254         [BZ #16823]
27255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27256         Always divide by positive zero when computing -Inf result.
27257         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27258         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27260 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27262         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27263         FPSCR if value do not change.
27264         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27265         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27266         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27267         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27268         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27269         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27270         function.
27272 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27274         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27275         * sysdeps/unix/sysv/linux/hppa: Move directory from
27276         ports/systeps/unix/sysv/linux/hppa.
27277         * README: Update listing for hppa-*-linux-gnu.
27279 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27281         [BZ #16754]
27282         * manual/stdio.texi (Hook functions): Fix types of stream hook
27283         functions.
27284         [BZ #16854]
27285         * socket/sys/socket.h: Fix typo in comment.
27287 2014-04-28  Wilco  <wdijkstr@arm.com>
27289         * sysdeps/arm/fenv_private.h: New file.
27290         * sysdeps/arm/math_private.h: New file.
27291         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27293 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27295         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27296         with __int128_t.
27297         (La_x86_64_retval): Likewise.
27299 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27301         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27302         fpsr if value didn't change.
27303         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27304         to fpcr if value didn't change.
27305         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27306         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27307         fpsr or fpcr if value didn't change.
27308         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27309         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27310         fpcr if value didn't change.
27311         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27312         to fpsr if value didn't change.
27314 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27316         * nptl/tst-sem3.c: Use test-skeleton.c
27317         (main): Rename to do_test.  Use return instead of
27318         exit.
27319         * nptl/tst-sem4.c: Use test-skeleton.c
27320         (main): Rename to do_test.
27322 2014-04-22  David S. Miller  <davem@davemloft.net>
27324         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27325         (struct sigaction): New struct member __glibc_reserved0, change
27326         type of sa_flags to int.
27328 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27330         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27331         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27333 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27335         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27336         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27338 2014-04-22  Will Newton  <will.newton@linaro.org>
27339             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27341         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27342         (__longjmp): Add longjmp and longjmp_target SystemTap
27343         probes.
27344         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27345         (__sigsetjmp): Add setjmp SystemTap probe.
27347 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27349         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27350         match manual order.
27352 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27354         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27356         * sysdeps/powerpc/fpu/fenv_private.h
27357         (libc_feholdexcept_setroundl_ctx): Define to
27358         libc_feholdexcept_setround_ppc_ctx.
27359         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27360         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27361         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27362         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27364 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27366         * sysdeps/aarch64/math-tests.h: New file.
27368 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27370         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27371         New.
27372         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27373         Check and set bit_AVX2_Usable.
27374         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27375         macro.
27376         (bit_AVX2): Likewise.
27377         (index_AVX2_Usable): Likewise.
27378         (CPUID_AVX2): Likewise.
27379         (HAS_AVX2): Likewise.
27381 2014-04-17  Will Newton  <will.newton@linaro.org>
27383         * manual/setjmp.texi (System V contexts): Add note that
27384         calling setcontext on a context created by a call to a
27385         signal handler is undefined.  Update text to note that
27386         setcontext from a signal handler is possible but not
27387         recommended.
27389         [BZ #16629]
27390         * stdlib/tst-setcontext.c: Include signal.h.
27391         (main): Check that the signal stack before and
27392         after swapcontext is the same.
27394         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27395         Re-implement to restore registers in user code and avoid
27396         rt_sigreturn system call.
27398 2014-04-17  Wilco  <wdijkstr@arm.com>
27400         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27401         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27402         * math/test-fenv.c: Skip exception trap tests on targets which only
27403         support non-stop mode.
27405 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27406             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27408         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27409         (libc_feholdsetround_aarch64_ctx)
27410         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27411         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27412         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27413         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27414         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27415         (libc_feresetround_noexl_ctx): Define.
27417 2014-04-16  Richard Henderson  <rth@redhat.com>
27419         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27421         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27422         unwind tables.
27424         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27425         const from the non-libc, non-ldso copy.
27427         * sysdeps/alpha/libm-test-ulps: Regenerate.
27429 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27430             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27432         * sysdeps/aarch64/fpu/math_private.h: New file.
27434 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27436         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27438 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27440         [BZ #16275]
27441         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27442         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27444         Intel MPX bound registers before _dl_profile_fixup.
27445         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27446         registers after _dl_profile_fixup.  Save and restore bound
27447         registers bnd0/bnd1 when calling _dl_call_pltexit.
27448         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27449         (LR_BND_OFFSET): Likewise.
27450         (LRV_BND0_OFFSET): Likewise.
27451         (LRV_BND1_OFFSET): Likewise.
27453 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27455         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27456         to...
27457         * sysdeps/mach/hurd/i386/tls.h: ... here.
27458         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27459         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27460         fields.
27462 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27464         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27466 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27468         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27470 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27472         [BZ #14770]
27473         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27474         * sysdeps/s390/configure: Regenerate.
27476         [BZ #16824]
27477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27478         Set round-to-nearest internally to reduce error accumulation.
27480 2014-04-16  Alan Modra  <amodra@gmail.com>
27482         [BZ #16740]
27483         [BZ #16619]
27484         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27485         * math/libm-test.inc (frexp_test_data): Add tests.
27486         * NEWS: Update fixed bug list.
27488 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27490         * benchtests/Makefile: Depend on libraries in build directory.
27491         (bench-math): Separate out math tests.
27492         (bench-pthread): Separate out pthread tests.
27493         (bench): Include math and pthread tests.
27495 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27497         [BZ #16831]
27498         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27499         _dl_debug_initialize.
27501         * configure.ac: Remove SELinux header check.
27502         * configure: Regenerate.
27503         * nscd/selinux.c (perms): Array of const char* to permission names.
27504         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27505         default policy. Call string_to_security_class and string_to_av_perm to
27506         translate strings. Enforce default policy and call avs_has_perm with
27507         results of translated strings.
27509 2014-04-13  David S. Miller  <davem@davemloft.net>
27511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27513 2014-04-12  Allan McRae  <allan@archlinux.org>
27515         [BZ #16838]
27516         * manual/string.texi (Collation Functions): Fix qsort argument
27517         order in example.
27518         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27520 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27522         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27523         Make the test a no-op if there are no exceptions defined.
27525 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27527         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27528         enable-hardcoded-path-in-tests
27530 2014-04-11  Will Newton  <will.newton@linaro.org>
27532         * benchtests/Makefile (extra-objs): Add json-lib.o.
27533         (bench-func): Tidy up JSON output.
27534         * benchtests/bench-skeleton.c: Include json-lib.h.
27535         (main): Use JSON library functions to do output of
27536         benchmark results.
27537         * benchtests/bench-timing-type.c (main): Output the
27538         timing type simply, leaving formatting to the user.
27539         * benchtests/json-lib.c: New file.
27540         * benchtests/json-lib.h: Likewise.
27542 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27544         [BZ #15215]
27545         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27546         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27547         memory barriers.  Add comments.
27548         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27549         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27550         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27551         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27552         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27553         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27555 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27557         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27558         * sysdeps/s390/s390-64/configure.ac: ... this ...
27559         * sysdeps/s390/configure.ac: ... to here.
27560         * sysdeps/s390/s390-32/configure: Delete file.
27561         * sysdeps/s390/s390-64/configure: Delete file.
27562         * sysdeps/s390/configure: Regenerate.
27564 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27566         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27568 2014-04-11  Will Newton  <will.newton@linaro.org>
27570         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27571         to zero if it is not defined elsewhere.  (mtrim): Test
27572         the value of MALLOC_DEBUG with #if rather than #ifdef.
27574 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27576         * benchtests/pthread_once-inputs: New file.
27577         * benchtests/pthread_once-source.c: New file.
27578         * benchtests/README: Update documentation.
27580 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27581             H.J. Lu  <hongjiu.lu@intel.com>
27583         [BZ #16275]
27584         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27585         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27586         * sysdeps/x86_64/configure: Regenerated.
27587         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27588         macro.
27589         (REGISTER_SAVE_RAX): Likewise.
27590         (REGISTER_SAVE_RCX): Likewise.
27591         (REGISTER_SAVE_RDX): Likewise.
27592         (REGISTER_SAVE_RSI): Likewise.
27593         (REGISTER_SAVE_RDI): Likewise.
27594         (REGISTER_SAVE_R8): Likewise.
27595         (REGISTER_SAVE_R9): Likewise.
27596         (REGISTER_SAVE_BND0): Likewise.
27597         (REGISTER_SAVE_BND1): Likewise.
27598         (REGISTER_SAVE_BND2): Likewise.
27599         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27600         bound registers when calling _dl_fixup.
27602 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27604         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27605         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27606         of its definition.
27607         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27608         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27609         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27610         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27611         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27612         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27613         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27615 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27617         [BZ #15514]
27618         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27619         pathconf(_PC_NAME_MAX).
27621 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27623         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27624         Remove macro usage.
27625         (__PTHREAD_SPINS): Move definition to ...
27626         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27627         (__PTHREAD_SPINS): ... here.
27628         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27629         (__PTHREAD_SPIN): Likewise.
27630         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27631         (__PTHREAD_SPIN): Likewise.
27632         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27633         (__PTHREAD_SPIN): Likewise.
27634         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27635         (__PTHREAD_SPIN): Likewise.
27636         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27637         (__PTHREAD_SPIN): Likewise.
27638         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27639         (__PTHREAD_SPIN): Likewise.
27640         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27641         (__PTHREAD_SPIN): Likewise.
27642         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27643         (__PTHREAD_SPIN): Likewise.
27644         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27645         (__PTHREAD_SPIN): Likewise.
27646         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27647         (__PTHREAD_SPIN): Likewise.
27648         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27649         (__PTHREAD_SPIN): Likewise.
27650         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27651         (__PTHREAD_SPIN): Likewise.
27653         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27654         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27655         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27656         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27657         imply folder.
27658         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27659         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27660         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27661         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27662         correct imply path.
27663         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27664         strlen symbol for non multi-arch builds.
27665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27666         missing hidden_def and weak_alias.
27668 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27670         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27672 2014-04-07  Will Newton  <will.newton@linaro.org>
27674         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27675         and contents.  [!_LIBC] Remove #ifndef and contents.
27676         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27677         * string/memccpy.c (__memccpy): Use ANSI prototype.
27678         * string/memfrob.c (memfrob): Likewise.
27679         * string/strcoll.c (STRCOLL): Likewise.
27680         * string/strlen.c (strlen): Likewise.
27681         * string/strtok.c (STRTOK): Likewise.
27682         * string/strcat.c: Remove unused #include of memcopy.h.
27683         (strcat): Use ANSI prototype.
27684         * string/strchr.c: Remove unused #include of memcopy.h.
27685         (strchr): Use ANSI prototype.
27686         * string/strcmp.c: Remove unused #include of memcopy.h.
27687         (strcmp): Use ANSI prototype.
27688         * string/strcpy.c: Remove unused #include of memcopy.h.
27689         (strcpy): Use ANSI prototype.
27691 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27693         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27694         * config.make.in (config-extra-cppflags): Set it from
27695         libc_extra_cppflags.
27696         * configure.ac (libc_extra_cflags): Make it accumulate over
27697         configure fragments.
27698         (libc_extra_cppflags): New flag.
27699         * configure. Regenerate.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27701         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27702         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27705         [BZ #16815]
27706         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27707         result for FE_DOWNWARD rounding mode.
27708         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27709         Likewise.
27710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27712 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27714         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27715         in function argument name.
27717 2014-04-03  David Svoboda  <svoboda@cert.org>
27719         [BZ #5666]
27720         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27721         explicitly.
27723 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27725         * elf/dl-unmap-segments.h: New file.
27726         * sysdeps/generic/ldsodefs.h
27727         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27728         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27729         * elf/dl-fptr.c: Likewise.
27730         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27731         * sysdeps/aarch64/tlsdesc.c: Likewise.
27732         * sysdeps/arm/tlsdesc.c: Likewise.
27733         * sysdeps/i386/tlsdesc.c: Likewise.
27734         * sysdeps/tile/dl-runtime.c: Likewise.
27735         * sysdeps/x86_64/tlsdesc.c: Likewise.
27736         * elf/dl-load.h: New file.
27737         * elf/dl-load.c: Include it.
27738         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27739         Macros moved to dl-load.h.
27740         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27741         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27742         Use _dl_unmap_segments in place of __munmap.
27743         Break out segment-mapping loop into ...
27744         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27746 2014-04-03  Will Newton  <will.newton@linaro.org>
27748         * elf/dl-lookup.c (do_lookup_x): Remove comment
27749         referring to nested function and move variable
27750         declarations down to before first use.
27752 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27754         [BZ #16799]
27755         [BZ #16800]
27756         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27757         with 0 numerator.
27758         * math/s_catanf.c (__catanf): Likewise.
27759         * math/s_catanh.c (__catanh): Likewise.
27760         * math/s_catanhf.c (__catanhf): Likewise.
27761         * math/s_catanhl.c (__catanhl): Likewise.
27762         * math/s_catanl.c (__catanl): Likewise.
27763         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27764         by positive zero when computing -Inf result.
27765         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27766         (catanh_test): Likewise.
27767         * sysdeps/i386/fpu/libm-test-ulps: Update.
27768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27770         [BZ #16789]
27771         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27772         instead of using underflowing value in computing result.
27773         * math/s_clog10.c (__clog10): Likewise.
27774         * math/s_clog10f.c (__clog10f): Likewise.
27775         * math/s_clog10l.c (__clog10l): Likewise.
27776         * math/s_clogf.c (__clogf): Likewise.
27777         * math/s_clogl.c (__clogl): Likewise.
27778         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27779         (clog10_test): Likewise.
27780         * sysdeps/i386/fpu/libm-test-ulps: Update.
27781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27783 2014-04-02  Alan Modra  <amodra@gmail.com>
27785         [BZ #16739]
27786         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27787         output when value is near a power of two.  Use int64_t for lx and
27788         remove casts.  Use decimal rather than hex exponent constants.
27789         Don't use long double multiplication when double will suffice.
27790         * math/libm-test.inc (nextafter_test_data): Add tests.
27791         * NEWS: Add 16739 and 16786 to bug list.
27793         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27795         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27797 2014-04-01  Will Newton  <will.newton@linaro.org>
27799         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27800         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27802 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27804         [BZ #13347]
27805         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27806         * nptl/tst-setuid2.c: New file.
27807         * nptl/Makefile (xtests): Add tst-setuid2.
27809 2014-04-01  Alan Modra  <amodra@gmail.com>
27811         [BZ #16786]
27812         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27814 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27816         [BZ #6803]
27817         [BZ #6804]
27818         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27819         set errno as appropriate.
27820         * math/w_scalbf.c (__scalbf): Likewise.
27821         * math/w_scalbl.c (__scalbl): Likewise.
27822         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27823         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27824         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27825         Add more NaN tests.
27827         [BZ #16349]
27828         * math/w_atan2.c: Include <errno.h>.
27829         (__atan2): Set errno for result underflowing to zero.
27830         * math/w_atan2f.c: Include <errno.h>.
27831         (__atan2f): Set errno for result underflowing to zero.
27832         * math/w_atan2l.c: Include <errno.h>.
27833         (__atan2l): Set errno for result underflowing to zero.
27834         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27835         tests.
27836         * math/auto-libm-test-out: Regenerated.
27838 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27840         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27841         Encode instruction correctly in little endian.
27842         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27843         Likewise.
27844         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27845         Likewise.
27846         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27847         Likewise.
27848         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27849         Likewise.
27851 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27853         [BZ #9894]
27854         * sysdeps/unix/sysv/linux/kernel-features.h
27855         [__sparc__ && !__arch64__ && !__sparc_v9__]
27856         (__ASSUME_SET_ROBUST_LIST): Do not define.
27857         [__sparc__ && !__arch64__ && !__sparc_v9__]
27858         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27859         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27860         Likewise.
27861         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27862         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27863         (__ASSUME_REQUEUE_PI): Likewise.
27864         (__ASSUME_SET_ROBUST_LIST): Likewise.
27865         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27866         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27867         Undefine.
27868         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27869         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27870         Likewise.
27871         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27872         Likewise.
27873         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27874         Likewise.
27875         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27876         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27877         Undefine.
27878         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27879         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27880         Likewise.
27882         [BZ #16648]
27883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27884         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27885         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27887 2014-03-31  Will Newton  <will.newton@linaro.org>
27889         * benchtests/Makefile (bench): Add ffs and ffsll to list
27890         of tests.
27891         * benchtests/ffs-inputs: New file.
27892         * benchtests/ffsll-inputs: Likewise.
27894 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27896         [BZ #16770]
27897         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27898         too large before casting to int.
27899         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27900         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27901         * math/libm-test.inc (scalb_test_data): Add more tests.
27903 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27905         * benchtests/Makefile (DETAILED_OPT): New make option.
27906         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27907         set.
27908         * benchtests/bench-skeleton.c: Include stdbool.h.
27909         (main): Store and print timings per input.
27910         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27911         member to each argument value.
27912         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27913         (_print_arg_data): Initialize per-input timing to 0.
27915         * benchtests/Makefile (timing-type): New binary.
27916         (bench-clean): Also remove bench-timing-type.
27917         (bench): New target for timing-type.
27918         (bench-func): Print output in JSON format.
27919         * benchtests/bench-skeleton.c (main): Print output in JSON
27920         format.
27921         * benchtests/bench-timing-type.c: New file.
27922         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27923         (TIMING_PRINT_STATS): Remove.
27924         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27925         name separately.
27927         * benchtests/bench-modf.c: Remove.
27928         * benchtests/modf-inputs: New inputs file.
27930 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27932         [BZ #16362]
27933         * math/s_clog10.c (M_PI_LOG10E): New macro.
27934         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27935         imaginary parts are 0.
27936         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27937         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27938         imaginary parts are 0.
27939         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27940         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27941         imaginary parts are 0.
27942         * math/libm-test.inc (clog10_test_data): Update expected results
27943         for when real and imaginary parts are 0.
27945 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27947         * elf/dl-load.c: Finish conversion of __builtin_expect into
27948         __glibc_{un}likely.
27950 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27952         [BZ #16348]
27953         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27954         1+x for argument with exponent below -67.
27955         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27956         Likewise.
27957         * math/auto-libm-test-in: Add more tests of exp.
27958         * math/auto-libm-test-out: Regenerated.
27960 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27962         [BZ #16759]
27963         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27964         (nscd_getnetgrent): Use it.
27966         [BZ #16760]
27967         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27968         of stpcpy.
27970 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27972         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27973         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27974         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27975         (lll_robust_unlock): Remove out of line section. Use cfi
27976         intrinsics.
27977         (LLL_STUB_UNWIND_INFO*): Remove.
27978         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27979         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27980         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27981         (lll_robust_unlock): Remove out of line section. Use cfi
27982         intrinsics.
27983         (LLL_STUB_UNWIND_INFO*): Remove.
27985 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27987         [BZ #16758]
27988         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27989         blank values.
27991 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27993         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27995 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27997         [BZ #16198]
27998         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27999         fnstenv.
28000         * math/test-fenv-preserve.c: New file.
28001         * math/Makefile (tests): Add test-fenv-preserve.
28003 2014-03-26  Will Newton <will.newton@linaro.org>
28005         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28007 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28009         * scripts/versionlist.awk: Partition the version sets and emit all
28010         GLIBC_* (sorted) before all others (sorted).
28012 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28014         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28015         GLIBC_2.2.5 version.
28017 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28019         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28020         calls.
28022         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28023         previous change.
28025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28027 2014-03-25  Andreas Schwab  <schwab@suse.de>
28029         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28030         label to be used after in6ailist is initialized.
28032 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28034         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28035         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28037 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28039         [BZ #16357]
28040         [BZ #16599]
28041         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28042         min_plus_half.
28043         (fp_formats): Update initializers.
28044         (init_fp_formats): Initialize new field.
28045         (output_for_one_input_case): Allow underflow for results up to
28046         min_plus_half.
28047         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28048         * math/auto-libm-test-in: Don't mark some underflows from asin and
28049         atanh as spurious.
28050         * math/auto-libm-test-out: Regenerated.
28051         * sysdeps/i386/fpu/libm-test-ulps: Update.
28052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28054 2014-03-25  Andreas Schwab  <schwab@suse.de>
28056         * libio/Makefile (tst-ftell-partial-wide-ENV)
28057         (tst-ftell-active-handler-ENV): Define.
28059 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28061         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28063 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28065         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28067 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28069         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28070         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28071         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28073 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28075         [BZ #16634]
28076         * elf/dl-load.c (open_verify): Add mode parameter.
28077         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28078         (open_path): Change from boolean 'secure' to complete flag 'mode'
28079         (_dl_map_object): Adjust.
28080         * elf/Makefile (tests): Add tst-dlopen-aout.
28081         * elf/tst-dlopen-aout.c: New test.
28083 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28085         [BZ #16714]
28086         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28087         (struct stat): Rename member pad0 to __glibc_reserved0.
28089         [BZ #16712]
28090         * sysdeps/s390/s390-32/bits/wordsize.h
28091         (__WORDSIZE32_SIZE_ULONG): New define.
28092         * sysdeps/s390/s390-64/bits/wordsize.h
28093         (__WORDSIZE32_SIZE_ULONG): Likewise.
28094         * sysdeps/generic/stdint.h (SIZE_MAX):
28095         Define as UL if __WORDSIZE32_SIZE_ULONG.
28097         [BZ #16713]
28098         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28099         (__glibc_reserved0): New variable.
28100         (sa_flags): Change type to int.
28102         * posix/Makefile (before-compile): Use += before-compile instead
28103         of a :=.
28105         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28106         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28108 2014-03-20  Andreas Schwab  <schwab@suse.de>
28110         [BZ #16743]
28111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28112         non-matching result from nscd.
28114 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28116         * scripts/bench.py: Moved to ...
28117         * benchtests/scripts/bench.py: ... here.
28118         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28120 2014-03-24  Andreas Schwab  <schwab@suse.de>
28122         [BZ #16002]
28123         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28124         alloca_account and account alloca use for struct in6ailist.
28126 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28128         [BZ #16284]
28129         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28130         rounding mode to recompute results that overflow to infinity or
28131         underflow to zero.
28132         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28133         bug 16284.
28134         * math/auto-libm-test-out: Regenerated.
28135         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28136         (ccosh_test): Likewise.
28137         (csin_test_data): Use plus_oflow.
28138         (csin_test): Use ALL_RM_TEST.
28139         (csinh_test_data): Use plus_oflow.
28140         (csinh_test): Use ALL_RM_TEST.
28141         * sysdeps/i386/fpu/libm-test-ulps: Update.
28142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28144 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28146         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28147         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28148         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28150         [BZ #16731]
28151         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28152         when x - 1 is zero.
28153         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28154         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28155         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28156         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28157         argument is 1.
28158         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28159         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28160         zero.
28161         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28162         * sysdeps/i386/fpu/libm-test-ulps: Update.
28163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28167         * scripts/bench.pl: Remove file.
28168         * scripts/bench.py: New benchmark script.
28169         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28170         * benchtests/README: Mention python dependency.
28171         * scripts/pylintrc: New file.
28172         * scripts/pylint: New file.
28174         * bits/mathdef.h: Use #ifdef instead of #if.
28175         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28176         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28177         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28178         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28179         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28180         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28182 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28183             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28185         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28187         and strpbrk-ppc64 objects.
28188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28189         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28190         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28191         multiarch strpbrk for POWER7.
28192         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28193         multiarch strpbrk for PPC64.
28194         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28195         ifunc selector.
28196         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28197         strpbrk for POWER7.
28199 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28201         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28202         (atan_test): Likewise.
28203         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28204         (atanh_test): Use ALL_RM_TEST.
28205         (atan2_test_data): Likewise.
28206         (cabs_test): Likewise.
28207         (cacosh_test): Likewise.
28208         (carg_test): Likewise.
28209         (casin_test): Likewise.
28210         (casinh_test): Likewise.
28211         (cbrt_test): Likewise.
28212         (csqrt_test): Likewise.
28213         (erf_test): Likewise.
28214         (erfc_test): Likewise.
28215         (pow10_test): Likewise.
28216         (exp2_test): Likewise.
28217         (hypot_test): Likewise.
28218         (j0_test): Likewise.
28219         (j1_test): Likewise.
28220         (lgamma_test): Likewise.
28221         (gamma_test): Likewise.
28222         (sincos_test): Likewise.
28223         (tanh_test): Likewise.
28224         (y0_test): Likewise.
28225         (y1_test): Likewise.
28226         * sysdeps/i386/fpu/libm-test-ulps: Update.
28227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28229 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28231         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28233         and strcspn-ppc64 objects.
28234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28235         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28236         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28237         multiarch strcspn for POWER7.
28238         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28239         multiarch strcspn for PPC64.
28240         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28241         ifunc selector.
28242         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28243         strcspn for POWER7.
28245 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28247         * math/gen-libm-test.pl (generate_testfile): Expect only function
28248         name as argument to AUTO_TESTS_* and pass results for all rounding
28249         modes to parse_args.
28250         (parse_auto_input): Separate inputs of automatic tests from
28251         outputs before storing in %auto_tests.
28252         * math/libm-test.inc (acos_test_data): Update call to
28253         AUTO_TESTS_f_f.
28254         (acos_test): Use ALL_RM_TEST.
28255         (acos_tonearest_test_data): Remove.
28256         (acos_test_tonearest): Likewise.
28257         (acos_towardzero_test_data): Likewise.
28258         (acos_test_towardzero): Likewise.
28259         (acos_downward_test_data): Likewise.
28260         (acos_test_downward): Likewise.
28261         (acos_upward_test_data): Likewise.
28262         (acos_test_upward): Likewise.
28263         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28264         (asin_test_data): Likewise.
28265         (asin_test): Use ALL_RM_TEST.
28266         (asin_tonearest_test_data): Remove.
28267         (asin_test_tonearest): Likewise.
28268         (asin_towardzero_test_data): Likewise.
28269         (asin_test_towardzero): Likewise.
28270         (asin_downward_test_data): Likewise.
28271         (asin_test_downward): Likewise.
28272         (asin_upward_test_data): Likewise.
28273         (asin_test_upward): Likewise.
28274         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28275         (atan_test_data): Likewise.
28276         (atanh_test_data): Likewise.
28277         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28278         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28279         (carg_test_data): Likewise.
28280         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28281         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28282         (ccosh_test_data): Likewise.
28283         (cexp_test_data): Likewise.
28284         (clog_test_data): Likewise.
28285         (clog10_test_data): Likewise.
28286         (cos_test_data): Update call to AUTO_TESTS_f_f.
28287         (cos_test): Use ALL_RM_TEST.
28288         (cos_tonearest_test_data): Remove.
28289         (cos_test_tonearest): Likewise.
28290         (cos_towardzero_test_data): Likewise.
28291         (cos_test_towardzero): Likewise.
28292         (cos_downward_test_data): Likewise.
28293         (cos_test_downward): Likewise.
28294         (cos_upward_test_data): Likewise.
28295         (cos_test_upward): Likewise.
28296         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28297         (cosh_test): Use ALL_RM_TEST.
28298         (cosh_tonearest_test_data): Remove.
28299         (cosh_test_tonearest): Likewise.
28300         (cosh_towardzero_test_data): Likewise.
28301         (cosh_test_towardzero): Likewise.
28302         (cosh_downward_test_data): Likewise.
28303         (cosh_test_downward): Likewise.
28304         (cosh_upward_test_data): Likewise.
28305         (cosh_test_upward): Likewise.
28306         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28307         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28308         (ctan_test_data): Likewise.
28309         (ctan_test): Use ALL_RM_TEST.
28310         (ctan_tonearest_test_data): Remove.
28311         (ctan_test_tonearest): Likewise.
28312         (ctan_towardzero_test_data): Likewise.
28313         (ctan_test_towardzero): Likewise.
28314         (ctan_downward_test_data): Likewise.
28315         (ctan_test_downward): Likewise.
28316         (ctan_upward_test_data): Likewise.
28317         (ctan_test_upward): Likewise.
28318         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28319         (ctanh_test): Use ALL_RM_TEST.
28320         (ctanh_tonearest_test_data): Remove.
28321         (ctanh_test_tonearest): Likewise.
28322         (ctanh_towardzero_test_data): Likewise.
28323         (ctanh_test_towardzero): Likewise.
28324         (ctanh_downward_test_data): Likewise.
28325         (ctanh_test_downward): Likewise.
28326         (ctanh_upward_test_data): Likewise.
28327         (ctanh_test_upward): Likewise.
28328         (erf_test_data): Update call to AUTO_TESTS_f_f.
28329         (erfc_test_data): Likewise.
28330         (exp_test_data): Likewise.
28331         (exp_test): Use ALL_RM_TEST.
28332         (exp_tonearest_test_data): Remove.
28333         (exp_test_tonearest): Likewise.
28334         (exp_towardzero_test_data): Likewise.
28335         (exp_test_towardzero): Likewise.
28336         (exp_downward_test_data): Likewise.
28337         (exp_test_downward): Likewise.
28338         (exp_upward_test_data): Likewise.
28339         (exp_test_upward): Likewise.
28340         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28341         (exp10_test): Use ALL_RM_TEST.
28342         (exp10_tonearest_test_data): Remove.
28343         (exp10_test_tonearest): Likewise.
28344         (exp10_towardzero_test_data): Likewise.
28345         (exp10_test_towardzero): Likewise.
28346         (exp10_downward_test_data): Likewise.
28347         (exp10_test_downward): Likewise.
28348         (exp10_upward_test_data): Likewise.
28349         (exp10_test_upward): Likewise.
28350         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28351         (expm1_test_data): Likewise.
28352         (expm1_test): Use ALL_RM_TEST.
28353         (expm1_tonearest_test_data): Remove.
28354         (expm1_test_tonearest): Likewise.
28355         (expm1_towardzero_test_data): Likewise.
28356         (expm1_test_towardzero): Likewise.
28357         (expm1_downward_test_data): Likewise.
28358         (expm1_test_downward): Likewise.
28359         (expm1_upward_test_data): Likewise.
28360         (expm1_test_upward): Likewise.
28361         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28362         (fma_test): Use ALL_RM_TEST.
28363         (fma_towardzero_test_data): Remove.
28364         (fma_test_towardzero): Likewise.
28365         (fma_downward_test_data): Likewise.
28366         (fma_test_downward): Likewise.
28367         (fma_upward_test_data): Likewise.
28368         (fma_test_upward): Likewise.
28369         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28370         (j0_test_data): Update call to AUTO_TESTS_f_f.
28371         (j1_test_data): Likewise.
28372         (jn_test_data): Update call to AUTO_TESTS_if_f.
28373         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28374         (log_test_data): Update call to AUTO_TESTS_f_f.
28375         (log10_test_data): Likewise.
28376         (log1p_test_data): Likewise.
28377         (log2_test_data): Likewise.
28378         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28379         (pow_tonearest_test_data): Likewise.
28380         (sin_test_data): Update call to AUTO_TESTS_f_f.
28381         (sin_test): Use ALL_RM_TEST.
28382         (sin_tonearest_test_data): Remove.
28383         (sin_test_tonearest): Likewise.
28384         (sin_towardzero_test_data): Likewise.
28385         (sin_test_towardzero): Likewise.
28386         (sin_downward_test_data): Likewise.
28387         (sin_test_downward): Likewise.
28388         (sin_upward_test_data): Likewise.
28389         (sin_test_upward): Likewise.
28390         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28391         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28392         (sinh_test): Use ALL_RM_TEST.
28393         (sinh_tonearest_test_data): Remove.
28394         (sinh_test_tonearest): Likewise.
28395         (sinh_towardzero_test_data): Likewise.
28396         (sinh_test_towardzero): Likewise.
28397         (sinh_downward_test_data): Likewise.
28398         (sinh_test_downward): Likewise.
28399         (sinh_upward_test_data): Likewise.
28400         (sinh_test_upward): Likewise.
28401         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28402         (sqrt_test): Use ALL_RM_TEST.
28403         (sqrt_tonearest_test_data): Remove.
28404         (sqrt_test_tonearest): Likewise.
28405         (sqrt_towardzero_test_data): Likewise.
28406         (sqrt_test_towardzero): Likewise.
28407         (sqrt_downward_test_data): Likewise.
28408         (sqrt_test_downward): Likewise.
28409         (sqrt_upward_test_data): Likewise.
28410         (sqrt_test_upward): Likewise.
28411         (tan_test_data): Update call to AUTO_TESTS_f_f.
28412         (tan_test): Use ALL_RM_TEST.
28413         (tan_tonearest_test_data): Remove.
28414         (tan_test_tonearest): Likewise.
28415         (tan_towardzero_test_data): Likewise.
28416         (tan_test_towardzero): Likewise.
28417         (tan_downward_test_data): Likewise.
28418         (tan_test_downward): Likewise.
28419         (tan_upward_test_data): Likewise.
28420         (tan_test_upward): Likewise.
28421         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28422         (tgamma_test_data): Likewise.
28423         (y0_test_data): Likewise.
28424         (y1_test_data): Likewise.
28425         (yn_test_data): Update call to AUTO_TESTS_if_f.
28426         (main): Do not call removed functions.
28428 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28430         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28431         (ldexp_test_data): Remove.
28432         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28433         scalbn_test_data.
28434         (scalb_test): Use ALL_RM_TEST.
28436 2014-03-19  Andreas Schwab  <schwab@suse.de>
28438         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28440 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28442         [BZ #16649]
28443         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28444         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28445         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28446         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28447         (__ASSUME_PREADV): Undefine.
28448         (__ASSUME_PWRITEV): Likewise.
28450 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28452         * bits/mman-linux.h: Add comment about non-Linux use.
28453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28454         bits/mman-linux.h resting place.
28456         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28457         * bits/mman-linux.h: ... here.
28459 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28461         * conform/conformtest.pl: Add standard definition when calling C
28462         preprocessor on data files.
28463         (checknamespace): Remove unused variable.
28465 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28467         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28468         minus_oflow, plus_uflow and minus_uflow in expected results.
28469         * math/libm-test.inc (scalbn_test_data): Add more tests of
28470         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28471         minus_uflow.
28472         (scalbn_test): Use ALL_RM_TEST.
28473         (scalbln_test_data): Add more tests of negative arguments.  Use
28474         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28475         (scalbln_test): Use ALL_RM_TEST.
28477 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28479         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28481 2014-03-18  Will Newton  <will.newton@linaro.org>
28483         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28484         inaccurate comment.
28486 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28488         * Makerules [!subdir] (check-abi): Exit with error status if a
28489         test failed.
28491 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28493         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28494         for rint.  Include results for all rounding modes.
28495         (nearbyint_test): Use ALL_RM_TEST.
28496         (rint_test_data): Include all tests used for nearbyint.
28498 2014-03-17  Will Newton  <will.newton@linaro.org>
28500         * nptl/sysdeps/pthread/pthread.h: Revert previous
28501         change.
28503         * sysdeps/generic/ldsodefs.h: Revert previous
28504         change.
28506         * libio/genops.c: Revert previous change.
28507         * libio/libioP.h: Likewise.
28508         * stdio-common/vfprintf.c: Likewise.
28510         * sysdeps/generic/math_private.h: Revert previous
28511         change.
28513         * sysdeps/generic/math_private.h: Check whether
28514         HAVE_RM_CTX is defined with #ifdef rather
28515         than #if.
28517         * argp/argp-fmtstream.h: Check whether
28518         __STRICT_ANSI__ is defined with #ifdef rather
28519         than #if.
28520         * argp/argp.h: Likewise.
28522         * libio/genops.c: Check whether
28523         _IO_JUMPS_OFFSET is defined with #ifdef rather
28524         than #if.
28525         * libio/libioP.h: Likewise.
28526         * stdio-common/vfprintf.c: Likewise.
28528         * sysdeps/generic/ldsodefs.h: Check whether
28529         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28530         than #if.
28532         * nptl/sysdeps/pthread/pthread.h: Check
28533         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28534         its value.
28536 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28538         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28539         setting O_APPEND.
28540         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28541         test case.
28543         [BZ #16680]
28544         * libio/fileops.c (_IO_file_open): Seek to end of file but
28545         don't cache the offset.
28546         (get_file_offset): Remove function.
28547         (do_ftell): Use cached offset when available.
28548         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28549         don't cache the offset.
28550         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28551         case.
28552         (do_one_test): Call it.
28553         (do_ftell_test): Fix up expected old offset for a+ mode.
28554         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28555         available.
28557         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28558         up test status with function return status.
28559         (do_write_test): Likewise.
28560         (do_append_test): Likewise.
28562         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28563         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28564         Remove.
28566 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28568         * math/gen-libm-test.pl (parse_args): Handle results specified for
28569         each rounding mode separately.
28570         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28571         tests and results from lrint_tonearest_test_data,
28572         lrint_towardzero_test_data, lrint_downward_test_data and
28573         lrint_upward_test_data.
28574         (lrint_test): Use ALL_RM_TEST.
28575         (lrint_tonearest_test_data): Remove.
28576         (lrint_test_tonearest): Likewise.
28577         (lrint_towardzero_test_data): Likewise.
28578         (lrint_test_towardzero): Likewise.
28579         (lrint_downward_test_data): Likewise.
28580         (lrint_test_downward): Likewise.
28581         (lrint_upward_test_data): Likewise.
28582         (lrint_test_upward): Likewise.
28583         (llrint_test_data): Merge in per-rounding-mode tests and results
28584         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28585         llrint_downward_test_data and llrint_upward_test_data.
28586         (llrint_test): Use ALL_RM_TEST.
28587         (llrint_tonearest_test_data): Remove.
28588         (llrint_test_tonearest): Likewise.
28589         (llrint_towardzero_test_data): Likewise.
28590         (llrint_test_towardzero): Likewise.
28591         (llrint_downward_test_data): Likewise.
28592         (llrint_test_downward): Likewise.
28593         (llrint_upward_test_data): Likewise.
28594         (llrint_test_upward): Likewise.
28595         (rint_test_data): Merge in per-rounding-mode tests and results
28596         from rint_tonearest_test_data, rint_towardzero_test_data,
28597         rint_downward_test_data and rint_upward_test_data.  Add
28598         per-rounding-mode results for tests not in those arrays.
28599         (rint_test): Use ALL_RM_TEST.
28600         (rint_tonearest_test_data): Remove.
28601         (rint_test_tonearest): Likewise.
28602         (rint_towardzero_test_data): Likewise.
28603         (rint_test_towardzero): Likewise.
28604         (rint_downward_test_data): Likewise.
28605         (rint_test_downward): Likewise.
28606         (rint_upward_test_data): Likewise.
28607         (rint_test_upward): Likewise.
28608         (main): Don't call removed functions.
28610 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28612         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28613         "Compiled on ..." crapola.  It is anti-useful.
28615 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28617         * scripts/evaluate-test.sh: Handle fourth argument to determine
28618         whether test run should stop on failure.
28619         * Makeconfig (stop-on-test-failure): New variable.
28620         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28621         $(stop-on-test-failure).
28622         * Makefile (tests): Give a summary of results from testing and
28623         exit with failure status if they include an ERROR or FAIL.
28624         (xtests): Likewise.
28625         * manual/install.texi (Configuring and compiling): Mention
28626         stop-on-test-failure=y.
28627         * INSTALL: Regenerated.
28629 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28631         * scripts/versionlist.awk: New file.
28632         * Makerules [$(build-shared) = yes]
28633         (postclean-generated): Add Versions.def, not Versions.def.v and
28634         Versions.def.v.i.
28635         ($(common-objpfx)Versions.def.v.i): Target removed.
28636         ($(common-objpfx)Versions.def): New target.
28637         ($(common-objpfx)Versions.all): Depend on that rather that
28638         $(common-objpfx)Versions.def.v.
28639         * Versions.def: File removed.
28641         * Makeconfig (+gccwarn): Add -Wundef.
28642         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28643         a dl-sysdep.h breaking its contract.
28644         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28645         * include/stackinfo.h: New file.
28646         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28647         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28648         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28649         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28650         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28651         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28652         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28653         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28654         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28655         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28656         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28657         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28658         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28659         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28660         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28662 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28664         [BZ #16707]
28665         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28666         implementation.
28667         * math/libm-test.inc (round_test_data): Add more tests.
28669         [BZ #16706]
28670         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28671         implementation.
28672         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28674         [BZ #16701]
28675         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28676         implementation.
28677         * math/libm-test.inc (ceil_test_data): Add more tests.
28679         * math/libm-test.inc (trunc_test_data): Add more tests related to
28680         BZ#16414.
28682 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28684         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28685         with #if rather than #ifdef.
28686         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28688 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28690         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28691         first.  Disable AVX-512 GCC support if assembler doesn't support
28692         it.
28693         * sysdeps/x86_64/configure: Regenerated.
28695 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28697         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28698         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28699         (__old_pthread_attr_setstack): Likewise.
28700         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28701         [!_STACK_GROWS_DOWN]: Likewise.
28703 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28705         * config.make.in (have-bash2): Delete.
28706         * configure.ac (libc_cv_have_bash2): Delete.
28707         * configure: Regenerate.
28708         * elf/Makefile (common-ldd-rewrite): Rename to ...
28709         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28710         (sh-ldd-rewrite): Delete.
28711         (bash-ldd-rewrite): Delete.
28712         (have-bash2): Delete checks.
28713         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28714         ldd-rewrite.
28716         * config.make.in (have-ksh): Delete.
28717         (KSH): Delete.
28718         * configure.ac (libc_cv_have_ksh): Delete.
28719         * configure: Regenerate.
28721         * elf/Makefile: Delete $(have-ksh) check.
28722         ($(objpfx)sotruss): Change KSH to BASH.
28723         * elf/sotruss.ksh: Rename to ...
28724         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28725         function style to match POSIX.  Drop ksh vim mode setting.
28727         * manual/time.texi (Specifying the Time Zone with TZ): Change
28728         Tuesday to Thursday.
28730         * debug/tst-longjmp_chk2.c: Update header comment.
28731         (stackoverflow_handler): Add comment.  Call assert on pass value.
28733 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28735         [BZ #16194]
28736         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28737         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28738         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28739         (La_x86_64_vector): Add zmm.
28740         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28741         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28742         ($(objpfx)tst-audit10): New target.
28743         ($(objpfx)tst-audit10.out): Likewise.
28744         (tst-audit10-ENV): New.
28745         (AVX512-CFLAGS): Likewise.
28746         (CFLAGS-tst-audit10.c): Likewise.
28747         (CFLAGS-tst-auditmod10a.c): Likewise.
28748         (CFLAGS-tst-auditmod10b.c): Likewise.
28749         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28750         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28751         * sysdeps/x86_64/configure: Regenerated.
28752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28753         AVX-512 zmm register support.
28754         (_dl_x86_64_save_sse): Likewise.
28755         (_dl_x86_64_restore_sse): Likewise.
28756         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28757         size vector registers.
28758         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28759         (ZMM_SIZE): Likewise.
28760         * sysdeps/x86_64/tst-audit10.c: New file.
28761         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28762         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28764 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28766         * configure.ac (HAVE_EHDR_START): New check.
28767         * configure: Regenerated.
28768         * config.h.in (HAVE_EHDR_START): New #undef.
28769         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28770         assuming the lowest-addressed segment maps the start of the file.
28772 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28774         * INSTALL: Regenerated.
28776 2014-03-13  Will Newton  <will.newton@linaro.org>
28778         * manual/setjmp.texi (System V contexts): Improve
28779         clarity and grammar of documentation.
28781 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28783         [BZ #16381]
28784         * elf/Makefile (tests): Add tst-pie2.
28785         (tests-pie): Add tst-pie2.
28786         * elf/tst-pie2.c: New file.
28787         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28788         for ET_EXEC.
28789         * elf/rtld.c (map_doit): Load executable as lt_executable.
28790         (dl_main): Likewise.
28792 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28794         [BZ #16642]
28795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28796         (__ASSUME_PSELECT): Undefine.
28798 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28800         [BZ #16689]
28801         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28802         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28803         static build.
28804         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28805         selector for static builds.
28807 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809         [BZ #16695]
28810         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28811         key in the buffer.
28813 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28815         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28816         IFUNC selector for static builds.
28818 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28820         * sysdeps/mips/math_private.h [__mips_hard_float]
28821         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28822         libc_feresetround_mips_ctx.
28823         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28824         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28825         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28827         [BZ #16677]
28828         * math/s_nextafter.c (__nextafter): Do not return value from
28829         overflowing computation.
28830         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28831         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28832         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28833         Likewise.
28834         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28835         Likewise.
28836         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28837         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28839 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28841         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28842         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28843         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28844         the new mov targetting sp.
28846 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28848         [BZ #16683]
28849         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28850         Define it for static builds as well.
28851         (NO_BZERO_IMPL): Likewise.
28853 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28855         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28856         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28857         multiarch strspn for PPC64.
28858         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28859         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28861         (__libc_ifunc_impl_list): Likewise.
28862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28863         multiarch optimizations
28864         * string/strspn.c (strspn): Using macro to redefine symbol name.
28866 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28867             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28869         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28870         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28871         multiarch strncat for PPC64.
28872         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28873         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28875         (__libc_ifunc_impl_list): Likewise.
28876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28877         multiarch optimizations
28879 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28881         [BZ #16639]
28882         * nscd/nscd.service: Make service type forking.
28884 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28886         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28887         sign in non default rounding modes.
28888         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28890 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28892         * math/libm-test.inc (ALL_RM_TEST): New macro.
28893         (ceil_test): Use ALL_RM_TEST.
28894         (cimag_test): Likewise.
28895         (conj_test): Likewise.
28896         (copysign_test): Likewise.
28897         (cproj_test): Likewise.
28898         (creal_test): Likewise.
28899         (fabs_test): Likewise.
28900         (floor_test): Likewise.
28901         (fmax_test): Likewise.
28902         (fmin_test): Likewise.
28903         (fmod_test): Likewise.
28904         (fpclassify_test): Likewise.
28905         (frexp_test): Likewise.
28906         (ilogb_test): Likewise.
28907         (isfinite_test): Likewise.
28908         (finite_test): Likewise.
28909         (isgreater_test): Likewise.
28910         (isgreaterequal_test): Likewise.
28911         (isinf_test): Likewise.
28912         (isless_test): Likewise.
28913         (islessequal_test): Likewise.
28914         (islessgreater_test): Likewise.
28915         (isnan_test): Likewise.
28916         (isnormal_test): Likewise.
28917         (issignaling_test): Likewise.
28918         (isunordered_test): Likewise.
28919         (logb_test): Likewise.
28920         (logb_downward_test_data): Remove.
28921         (logb_test_downward): Likewise.
28922         (lround_test): Use ALL_RM_TEST.
28923         (llround_test): Likewise.
28924         (modf_test): Likewise.
28925         (nexttoward_test): Likewise.
28926         (remainder_test): Likewise.
28927         (drem_test): Likewise.
28928         (remainder_tonearest_test_data): Likewise.
28929         (remainder_test_tonearest): Likewise.
28930         (drem_test_tonearest): Likewise.
28931         (remainder_towardzero_test_data): Likewise.
28932         (remainder_test_towardzero): Likewise.
28933         (drem_test_towardzero): Likewise.
28934         (remainder_downward_test_data): Likewise.
28935         (remainder_test_downward): Likewise.
28936         (drem_test_downward): Likewise.
28937         (remainder_upward_test_data): Likewise.
28938         (remainder_test_upward): Likewise.
28939         (drem_test_upward): Likewise.
28940         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28941         (round_test): Use ALL_RM_TEST.
28942         (signbit_test): Likewise.
28943         (trunc_test): Likewise.
28944         (significand_test): Likewise.
28945         (main): Don't call removed functions.
28947 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28949         [BZ #16674]
28950         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28951         || __USE_XOPEN2K8].
28952         (ILL_ILLOPN): Likewise.
28953         (ILL_ILLADR): Likewise.
28954         (ILL_ILLTRP): Likewise.
28955         (ILL_PRVOPC): Likewise.
28956         (ILL_PRVREG): Likewise.
28957         (ILL_COPROC): Likewise.
28958         (ILL_BADSTK): Likewise.
28959         (FPE_INTDIV): Likewise.
28960         (FPE_INTOVF): Likewise.
28961         (FPE_FLTDIV): Likewise.
28962         (FPE_FLTOVF): Likewise.
28963         (FPE_FLTUND): Likewise.
28964         (FPE_FLTRES): Likewise.
28965         (FPE_FLTINV): Likewise.
28966         (FPE_FLTSUB): Likewise.
28967         (SEGV_MAPERR): Likewise.
28968         (SEGV_ACCERR): Likewise.
28969         (BUS_ADRALN): Likewise.
28970         (BUS_ADRERR): Likewise.
28971         (BUS_OBJERR): Likewise.
28972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28973         (TRAP_TRACE): Likewise.
28974         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28975         __USE_XOPEN2K8].
28976         (CLD_KILLED): Likewise.
28977         (CLD_DUMPED): Likewise.
28978         (CLD_TRAPPED): Likewise.
28979         (CLD_STOPPED): Likewise.
28980         (CLD_CONTINUED): Likewise.
28981         (POLL_IN): Likewise.
28982         (POLL_OUT): Likewise.
28983         (POLL_MSG): Likewise.
28984         (POLL_ERR): Likewise.
28985         (POLL_PRI): Likewise.
28986         (POLL_HUP): Likewise.
28987         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28988         Likewise.
28989         (ILL_ILLOPN): Likewise.
28990         (ILL_ILLADR): Likewise.
28991         (ILL_ILLTRP): Likewise.
28992         (ILL_PRVOPC): Likewise.
28993         (ILL_PRVREG): Likewise.
28994         (ILL_COPROC): Likewise.
28995         (ILL_BADSTK): Likewise.
28996         (FPE_INTDIV): Likewise.
28997         (FPE_INTOVF): Likewise.
28998         (FPE_FLTDIV): Likewise.
28999         (FPE_FLTOVF): Likewise.
29000         (FPE_FLTUND): Likewise.
29001         (FPE_FLTRES): Likewise.
29002         (FPE_FLTINV): Likewise.
29003         (FPE_FLTSUB): Likewise.
29004         (SEGV_MAPERR): Likewise.
29005         (SEGV_ACCERR): Likewise.
29006         (BUS_ADRALN): Likewise.
29007         (BUS_ADRERR): Likewise.
29008         (BUS_OBJERR): Likewise.
29009         (BUS_MCEERR_AR): Likewise.
29010         (BUS_MCEERR_AO): Likewise.
29011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29012         (TRAP_TRACE): Likewise.
29013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29014         __USE_XOPEN2K8].
29015         (CLD_KILLED): Likewise.
29016         (CLD_DUMPED): Likewise.
29017         (CLD_TRAPPED): Likewise.
29018         (CLD_STOPPED): Likewise.
29019         (CLD_CONTINUED): Likewise.
29020         (POLL_IN): Likewise.
29021         (POLL_OUT): Likewise.
29022         (POLL_MSG): Likewise.
29023         (POLL_ERR): Likewise.
29024         (POLL_PRI): Likewise.
29025         (POLL_HUP): Likewise.
29026         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29027         (ILL_ILLOPN): Likewise.
29028         (ILL_ILLADR): Likewise.
29029         (ILL_ILLTRP): Likewise.
29030         (ILL_PRVOPC): Likewise.
29031         (ILL_PRVREG): Likewise.
29032         (ILL_COPROC): Likewise.
29033         (ILL_BADSTK): Likewise.
29034         (FPE_INTDIV): Likewise.
29035         (FPE_INTOVF): Likewise.
29036         (FPE_FLTDIV): Likewise.
29037         (FPE_FLTOVF): Likewise.
29038         (FPE_FLTUND): Likewise.
29039         (FPE_FLTRES): Likewise.
29040         (FPE_FLTINV): Likewise.
29041         (FPE_FLTSUB): Likewise.
29042         (SEGV_MAPERR): Likewise.
29043         (SEGV_ACCERR): Likewise.
29044         (BUS_ADRALN): Likewise.
29045         (BUS_ADRERR): Likewise.
29046         (BUS_OBJERR): Likewise.
29047         (BUS_MCEERR_AR): Likewise.
29048         (BUS_MCEERR_AO): Likewise.
29049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29050         (TRAP_TRACE): Likewise.
29051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29052         __USE_XOPEN2K8].
29053         (CLD_KILLED): Likewise.
29054         (CLD_DUMPED): Likewise.
29055         (CLD_TRAPPED): Likewise.
29056         (CLD_STOPPED): Likewise.
29057         (CLD_CONTINUED): Likewise.
29058         (POLL_IN): Likewise.
29059         (POLL_OUT): Likewise.
29060         (POLL_MSG): Likewise.
29061         (POLL_ERR): Likewise.
29062         (POLL_PRI): Likewise.
29063         (POLL_HUP): Likewise.
29064         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29065         Likewise.
29066         (ILL_ILLOPN): Likewise.
29067         (ILL_ILLADR): Likewise.
29068         (ILL_ILLTRP): Likewise.
29069         (ILL_PRVOPC): Likewise.
29070         (ILL_PRVREG): Likewise.
29071         (ILL_COPROC): Likewise.
29072         (ILL_BADSTK): Likewise.
29073         (ILL_BADIADDR): Likewise.
29074         (ILL_BREAK): Likewise.
29075         (FPE_INTDIV): Likewise.
29076         (FPE_INTOVF): Likewise.
29077         (FPE_FLTDIV): Likewise.
29078         (FPE_FLTOVF): Likewise.
29079         (FPE_FLTUND): Likewise.
29080         (FPE_FLTRES): Likewise.
29081         (FPE_FLTINV): Likewise.
29082         (FPE_FLTSUB): Likewise.
29083         (FPE_DECOVF): Likewise.
29084         (FPE_DECDIV): Likewise.
29085         (FPE_DECERR): Likewise.
29086         (FPE_INVASC): Likewise.
29087         (FPE_INVDEC): Likewise.
29088         (SEGV_MAPERR): Likewise.
29089         (SEGV_ACCERR): Likewise.
29090         (SEGV_PSTKOVF): Likewise.
29091         (BUS_ADRALN): Likewise.
29092         (BUS_ADRERR): Likewise.
29093         (BUS_OBJERR): Likewise.
29094         (BUS_MCEERR_AR): Likewise.
29095         (BUS_MCEERR_AO): Likewise.
29096         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29097         (TRAP_TRACE): Likewise.
29098         (TRAP_BRANCH): Likewise.
29099         (TRAP_HWBKPT): Likewise.
29100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29101         __USE_XOPEN2K8].
29102         (CLD_KILLED): Likewise.
29103         (CLD_DUMPED): Likewise.
29104         (CLD_TRAPPED): Likewise.
29105         (CLD_STOPPED): Likewise.
29106         (CLD_CONTINUED): Likewise.
29107         (POLL_IN): Likewise.
29108         (POLL_OUT): Likewise.
29109         (POLL_MSG): Likewise.
29110         (POLL_ERR): Likewise.
29111         (POLL_PRI): Likewise.
29112         (POLL_HUP): Likewise.
29113         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29114         (ILL_ILLOPN): Likewise.
29115         (ILL_ILLADR): Likewise.
29116         (ILL_ILLTRP): Likewise.
29117         (ILL_PRVOPC): Likewise.
29118         (ILL_PRVREG): Likewise.
29119         (ILL_COPROC): Likewise.
29120         (ILL_BADSTK): Likewise.
29121         (FPE_INTDIV): Likewise.
29122         (FPE_INTOVF): Likewise.
29123         (FPE_FLTDIV): Likewise.
29124         (FPE_FLTOVF): Likewise.
29125         (FPE_FLTUND): Likewise.
29126         (FPE_FLTRES): Likewise.
29127         (FPE_FLTINV): Likewise.
29128         (FPE_FLTSUB): Likewise.
29129         (SEGV_MAPERR): Likewise.
29130         (SEGV_ACCERR): Likewise.
29131         (BUS_ADRALN): Likewise.
29132         (BUS_ADRERR): Likewise.
29133         (BUS_OBJERR): Likewise.
29134         (BUS_MCEERR_AR): Likewise.
29135         (BUS_MCEERR_AO): Likewise.
29136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29137         (TRAP_TRACE): Likewise.
29138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29139         __USE_XOPEN2K8].
29140         (CLD_KILLED): Likewise.
29141         (CLD_DUMPED): Likewise.
29142         (CLD_TRAPPED): Likewise.
29143         (CLD_STOPPED): Likewise.
29144         (CLD_CONTINUED): Likewise.
29145         (POLL_IN): Likewise.
29146         (POLL_OUT): Likewise.
29147         (POLL_MSG): Likewise.
29148         (POLL_ERR): Likewise.
29149         (POLL_PRI): Likewise.
29150         (POLL_HUP): Likewise.
29151         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29152         (ILL_ILLOPN): Likewise.
29153         (ILL_ILLADR): Likewise.
29154         (ILL_ILLTRP): Likewise.
29155         (ILL_PRVOPC): Likewise.
29156         (ILL_PRVREG): Likewise.
29157         (ILL_COPROC): Likewise.
29158         (ILL_BADSTK): Likewise.
29159         (FPE_INTDIV): Likewise.
29160         (FPE_INTOVF): Likewise.
29161         (FPE_FLTDIV): Likewise.
29162         (FPE_FLTOVF): Likewise.
29163         (FPE_FLTUND): Likewise.
29164         (FPE_FLTRES): Likewise.
29165         (FPE_FLTINV): Likewise.
29166         (FPE_FLTSUB): Likewise.
29167         (SEGV_MAPERR): Likewise.
29168         (SEGV_ACCERR): Likewise.
29169         (BUS_ADRALN): Likewise.
29170         (BUS_ADRERR): Likewise.
29171         (BUS_OBJERR): Likewise.
29172         (BUS_MCEERR_AR): Likewise.
29173         (BUS_MCEERR_AO): Likewise.
29174         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29175         (TRAP_TRACE): Likewise.
29176         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29177         __USE_XOPEN2K8].
29178         (CLD_KILLED): Likewise.
29179         (CLD_DUMPED): Likewise.
29180         (CLD_TRAPPED): Likewise.
29181         (CLD_STOPPED): Likewise.
29182         (CLD_CONTINUED): Likewise.
29183         (POLL_IN): Likewise.
29184         (POLL_OUT): Likewise.
29185         (POLL_MSG): Likewise.
29186         (POLL_ERR): Likewise.
29187         (POLL_PRI): Likewise.
29188         (POLL_HUP): Likewise.
29189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29190         (ILL_ILLOPN): Likewise.
29191         (ILL_ILLADR): Likewise.
29192         (ILL_ILLTRP): Likewise.
29193         (ILL_PRVOPC): Likewise.
29194         (ILL_PRVREG): Likewise.
29195         (ILL_COPROC): Likewise.
29196         (ILL_BADSTK): Likewise.
29197         (FPE_INTDIV): Likewise.
29198         (FPE_INTOVF): Likewise.
29199         (FPE_FLTDIV): Likewise.
29200         (FPE_FLTOVF): Likewise.
29201         (FPE_FLTUND): Likewise.
29202         (FPE_FLTRES): Likewise.
29203         (FPE_FLTINV): Likewise.
29204         (FPE_FLTSUB): Likewise.
29205         (SEGV_MAPERR): Likewise.
29206         (SEGV_ACCERR): Likewise.
29207         (BUS_ADRALN): Likewise.
29208         (BUS_ADRERR): Likewise.
29209         (BUS_OBJERR): Likewise.
29210         (BUS_MCEERR_AR): Likewise.
29211         (BUS_MCEERR_AO): Likewise.
29212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29213         (TRAP_TRACE): Likewise.
29214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29215         __USE_XOPEN2K8].
29216         (CLD_KILLED): Likewise.
29217         (CLD_DUMPED): Likewise.
29218         (CLD_TRAPPED): Likewise.
29219         (CLD_STOPPED): Likewise.
29220         (CLD_CONTINUED): Likewise.
29221         (POLL_IN): Likewise.
29222         (POLL_OUT): Likewise.
29223         (POLL_MSG): Likewise.
29224         (POLL_ERR): Likewise.
29225         (POLL_PRI): Likewise.
29226         (POLL_HUP): Likewise.
29227         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29228         (ILL_ILLOPN): Likewise.
29229         (ILL_ILLADR): Likewise.
29230         (ILL_ILLTRP): Likewise.
29231         (ILL_PRVOPC): Likewise.
29232         (ILL_PRVREG): Likewise.
29233         (ILL_COPROC): Likewise.
29234         (ILL_BADSTK): Likewise.
29235         (ILL_DBLFLT): Likewise.
29236         (ILL_HARDWALL): Likewise.
29237         (FPE_INTDIV): Likewise.
29238         (FPE_INTOVF): Likewise.
29239         (FPE_FLTDIV): Likewise.
29240         (FPE_FLTOVF): Likewise.
29241         (FPE_FLTUND): Likewise.
29242         (FPE_FLTRES): Likewise.
29243         (FPE_FLTINV): Likewise.
29244         (FPE_FLTSUB): Likewise.
29245         (SEGV_MAPERR): Likewise.
29246         (SEGV_ACCERR): Likewise.
29247         (BUS_ADRALN): Likewise.
29248         (BUS_ADRERR): Likewise.
29249         (BUS_OBJERR): Likewise.
29250         (BUS_MCEERR_AR): Likewise.
29251         (BUS_MCEERR_AO): Likewise.
29252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29253         (TRAP_TRACE): Likewise.
29254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29255         __USE_XOPEN2K8].
29256         (CLD_KILLED): Likewise.
29257         (CLD_DUMPED): Likewise.
29258         (CLD_TRAPPED): Likewise.
29259         (CLD_STOPPED): Likewise.
29260         (CLD_CONTINUED): Likewise.
29261         (POLL_IN): Likewise.
29262         (POLL_OUT): Likewise.
29263         (POLL_MSG): Likewise.
29264         (POLL_ERR): Likewise.
29265         (POLL_PRI): Likewise.
29266         (POLL_HUP): Likewise.
29267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29268         (ILL_ILLOPN): Likewise.
29269         (ILL_ILLADR): Likewise.
29270         (ILL_ILLTRP): Likewise.
29271         (ILL_PRVOPC): Likewise.
29272         (ILL_PRVREG): Likewise.
29273         (ILL_COPROC): Likewise.
29274         (ILL_BADSTK): Likewise.
29275         (FPE_INTDIV): Likewise.
29276         (FPE_INTOVF): Likewise.
29277         (FPE_FLTDIV): Likewise.
29278         (FPE_FLTOVF): Likewise.
29279         (FPE_FLTUND): Likewise.
29280         (FPE_FLTRES): Likewise.
29281         (FPE_FLTINV): Likewise.
29282         (FPE_FLTSUB): Likewise.
29283         (SEGV_MAPERR): Likewise.
29284         (SEGV_ACCERR): Likewise.
29285         (BUS_ADRALN): Likewise.
29286         (BUS_ADRERR): Likewise.
29287         (BUS_OBJERR): Likewise.
29288         (BUS_MCEERR_AR): Likewise.
29289         (BUS_MCEERR_AO): Likewise.
29290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29291         (TRAP_TRACE): Likewise.
29292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29293         __USE_XOPEN2K8].
29294         (CLD_KILLED): Likewise.
29295         (CLD_DUMPED): Likewise.
29296         (CLD_TRAPPED): Likewise.
29297         (CLD_STOPPED): Likewise.
29298         (CLD_CONTINUED): Likewise.
29299         (POLL_IN): Likewise.
29300         (POLL_OUT): Likewise.
29301         (POLL_MSG): Likewise.
29302         (POLL_ERR): Likewise.
29303         (POLL_PRI): Likewise.
29304         (POLL_HUP): Likewise.
29305         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29306         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29308         [BZ #16670]
29309         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29310         before #include of <time.h>.
29311         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29312         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29313         (test-xfail-UNIX98/sched.h/conform): Likewise.
29315 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29317         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29318         error absence of trapping exception support.
29319         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29321 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29323         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29324         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29325         * timezone/Makefile (testdata): Move definition above include of
29326         Rules.
29327         (test-zones): New variable.
29328         (tests-special): Add zone files.
29329         (build-testdata): Use $(evaluate-test).
29331         * elf/Makefile (tests-special): Rename tests to end with .out.
29332         ($(objpfx)noload-mem): Likewise.
29333         ($(objpfx)tst-leaks1-mem): Likewise.
29334         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29335         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29336         $(objpfx)test-iconvconfig.out.
29337         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29338         set -e inside subshell and redirect output to file.
29339         * iconvdata/Makefile (generated): Rename tests to end with .out.
29340         Correct type.
29341         (tests-special): Rename tests to end with .out.
29342         ($(objpfx)mtrace-tst-loading): Likewise.
29343         * intl/Makefile (generated): Likewise.
29344         (tests-special): Likewise.
29345         ($(objpfx)mtrace-tst-gettext): Likewise.
29346         * misc/Makefile (generated): Likewise.
29347         (tests-special): Likewise.
29348         ($(objpfx)tst-error1-mem): Likewise.
29349         * nptl/Makefile (tests-special): Likewise.
29350         ($(objpfx)tst-stack3-mem): Likewise.
29351         (generated): Likewise.
29352         * posix/Makefile (generated): Likewise.
29353         (tests-special): Likewise.
29354         (xtests-special): Likewise.
29355         ($(objpfx)tst-fnmatch-mem): Likewise.
29356         ($(objpfx)bug-regex2-mem): Likewise.
29357         ($(objpfx)bug-regex14-mem): Likewise.
29358         ($(objpfx)bug-regex21-mem): Likewise.
29359         ($(objpfx)bug-regex31-mem): Likewise.
29360         ($(objpfx)tst-vfork3-mem): Likewise.
29361         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29362         ($(objpfx)tst-pcre-mem): Likewise.
29363         ($(objpfx)tst-boost-mem): Likewise.
29364         ($(objpfx)bug-ga2-mem): Likewise.
29365         ($(objpfx)bug-glob2-mem): Likewise.
29366         * resolv/Makefile (generate): Likewise.
29367         (tests-special): Likewise.
29368         (xtests-special): Likewise.
29369         (generated): Likewise.
29370         ($(objpfx)mtrace-tst-leaks): Likewise.
29371         ($(objpfx)mtrace-tst-leaks2): Likewise.
29373         * scripts/merge-test-results.sh: New file.
29374         * Makefile (tests-special-notdir): New variable.
29375         (tests): Run merge-test-results.sh.
29376         (xtests): Likewise.
29377         * Rules (tests-special-notdir): New variable.
29378         (xtests-special-notdir): Likewise.
29379         (tests): Run merge-test-results.sh
29380         (xtests): Likewise.
29382         * Makeconfig (test-xfail-name): New variable.
29383         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29384         compute variable name for expected failures.
29385         * conform/Makefile (conformtest-headers-data): New variable.
29386         (conformtest-standards): Likewise.
29387         (conformtest-headers-ISO): Likewise.
29388         (conformtest-headers-ISO99): Likewise.
29389         (conformtest-headers-ISO11): Likewise.
29390         (conformtest-headers-POSIX): Likewise.
29391         (conformtest-headers-XPG3): Likewise.
29392         (conformtest-headers-XPG4): Likewise.
29393         (conformtest-headers-UNIX98): Likewise.
29394         (conformtest-headers-XOPEN2K): Likewise.
29395         (conformtest-headers-POSIX2008): Likewise.
29396         (conformtest-headers-XOPEN2K8): Likewise.
29397         (conformtest-header-list-base): Likewise.
29398         (conformtest-header-list-tests): Likewise.
29399         (conformtest-header-base): Likewise.
29400         (conformtest-header-tests): Likewise.
29401         (tests-special): Add $(conformtest-header-list-tests).  If
29402         [$(fast-check) && !$(cross-compiling)], add
29403         $(conformtest-header-tests) instead of
29404         $(objpfx)run-conformtest.out.
29405         (generated): Add $(conformtest-header-list-base).  If
29406         [$(fast-check) && !$(cross-compiling)], add
29407         $(conformtest-header-base).  Remove previous setting.
29408         ($(conformtest-header-list-tests)): New target.
29409         (test-xfail-run-conformtest): Remove variable.
29410         ($(objpfx)run-conformtest.out): Remove target.
29411         (test-xfail-ISO11/complex.h/conform): New variable.
29412         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29413         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29414         (test-xfail-XPG3/varargs.h/conform): Likewise.
29415         (test-xfail-XPG4/varargs.h/conform): Likewise.
29416         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29417         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29418         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29419         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29420         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29421         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29422         (test-xfail-XPG3/ftw.h/conform): Likewise.
29423         (test-xfail-XPG3/grp.h/conform): Likewise.
29424         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29425         (test-xfail-XPG3/limits.h/conform): Likewise.
29426         (test-xfail-XPG3/pwd.h/conform): Likewise.
29427         (test-xfail-XPG3/search.h/conform): Likewise.
29428         (test-xfail-XPG3/signal.h/conform): Likewise.
29429         (test-xfail-XPG3/stdio.h/conform): Likewise.
29430         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29431         (test-xfail-XPG3/string.h/conform): Likewise.
29432         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29433         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29434         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29435         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29436         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29437         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29438         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29439         (test-xfail-XPG3/termios.h/conform): Likewise.
29440         (test-xfail-XPG3/time.h/conform): Likewise.
29441         (test-xfail-XPG3/unistd.h/conform): Likewise.
29442         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29443         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29444         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29445         (test-xfail-XPG4/netdb.h/conform): Likewise.
29446         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29447         (test-xfail-XPG4/signal.h/conform): Likewise.
29448         (test-xfail-XPG4/stdio.h/conform): Likewise.
29449         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29450         (test-xfail-XPG4/stropts.h/conform): Likewise.
29451         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29452         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29453         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29454         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29455         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29456         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29457         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29458         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29459         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29460         (test-xfail-XPG4/termios.h/conform): Likewise.
29461         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29462         (test-xfail-XPG4/unistd.h/conform): Likewise.
29463         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29464         (test-xfail-POSIX/sched.h/conform): Likewise.
29465         (test-xfail-POSIX/signal.h/conform): Likewise.
29466         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29467         (test-xfail-POSIX/tar.h/conform): Likewise.
29468         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29469         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29470         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29471         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29472         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29473         (test-xfail-UNIX98/sched.h/conform): Likewise.
29474         (test-xfail-UNIX98/signal.h/conform): Likewise.
29475         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29476         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29477         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29478         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29479         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29480         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29481         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29482         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29483         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29484         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29485         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29486         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29487         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29488         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29489         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29490         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29491         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29492         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29493         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29494         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29495         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29496         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29497         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29498         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29499         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29500         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29501         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29502         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29503         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29504         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29505         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29506         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29507         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29508         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29509         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29510         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29511         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29512         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29513         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29514         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29515         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29516         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29517         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29518         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29519         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29520         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29521         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29522         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29523         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29524         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29525         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29526         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29527         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29528         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29529         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29530         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29531         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29532         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29533         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29534         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29535         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29536         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29537         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29538         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29539         (conformtest-cc-flags): Likewise.
29540         ($(conformtest-header-tests): New target.
29541         * conform/check-header-lists.sh: New file.
29542         * conform/run-conformtest.sh: Remove.
29544         * conform/conformtest.pl: Allow ' and \ in values given for
29545         constants.
29546         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29547         inclusion.
29548         [POSIX] (sys/types.h): Likewise.
29549         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29550         inclusion.
29551         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29552         inclusion.
29553         * conform/data/signal.h-data (SIGIO): Remove expectation.
29554         [XPG3] (SIGBUS): Do not expect.
29555         [POSIX || XPG3] (SIGPOLL): Likewise.
29556         [POSIX || XPG3] (SIGPROF): Likewise.
29557         [POSIX || XPG3] (SIGSYS): Likewise.
29558         [XPG3] (SIGTRAP): Likewise.
29559         [POSIX || XPG3] (SIGURG): Likewise.
29560         [POSIX || XPG3] (SIGVTALRM): Likewise.
29561         [POSIX || XPG3] (SIGXCPU): Likewise.
29562         [POSIX || XPG3] (SIGXFSZ): Likewise.
29563         [POSIX] (SA_SIGINFO): Expect.
29564         [XPG3] (siginfo_t): Do not expect type or contents.
29565         [POSIX] (si_pid): Do not expect element.
29566         [POSIX] (si_uid): Likewise.
29567         [POSIX] (si_addr): Likewise.
29568         [POSIX] (si_status): Likewise.
29569         [POSIX] (si_band): Likewise.
29570         [XPG4] (si_value): Likewise.
29571         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29572         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29573         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29574         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29575         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29576         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29577         [POSIX || XPG3] (ILL_COPROC): Likewise.
29578         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29579         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29580         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29581         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29582         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29583         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29584         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29585         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29586         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29587         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29588         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29589         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29590         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29591         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29592         [POSIX || XPG3] (CLD_EXITED): Likewise.
29593         [POSIX || XPG3] (CLD_KILLED): Likewise.
29594         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29595         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29596         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29597         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29598         [POSIX || XPG3] (POLL_IN): Likewise.
29599         [POSIX || XPG3] (POLL_OUT): Likewise.
29600         [POSIX || XPG3] (POLL_MSG): Likewise.
29601         [POSIX || XPG3] (POLL_ERR): Likewise.
29602         [POSIX || XPG3] (POLL_PRI): Likewise.
29603         [POSIX || XPG3] (POLL_HUP): Likewise.
29604         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29605         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29606         (SIG*): Do not allow.
29607         [XPG3] (si_*): Likewise.
29608         [XPG3] (SI_*): Likewise.
29609         [XPG3 || XPG4] (sigev_*): Likewise.
29610         [XPG3 || XPG4] (SIGEV_*): Likewise.
29611         [XPG3 || XPG4] (sival_*): Likewise.
29612         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29613         [POSIX || XPG3] (BUS_*): Likewise.
29614         [POSIX || XPG3] (CLD_*): Likewise.
29615         [POSIX || XPG3] (FPE_*): Likewise.
29616         [POSIX || XPG3] (ILL_*): Likewise.
29617         [POSIX || XPG3] (POLL_*): Likewise.
29618         [POSIX || XPG3] (SEGV_*): Likewise.
29619         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29620         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29621         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29622         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29623         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29624         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29625         Specify type and value.
29626         (TVERSLEN): Likewise.
29627         (REGTYPE): Likewise.
29628         (AREGTYPE): Likewise.
29629         (LNKTYPE): Likewise.
29630         (SYMTYPE): Likewise.
29631         (CHRTYPE): Likewise.
29632         (BLKTYPE): Likewise.
29633         (DIRTYPE): Likewise.
29634         (FIFOTYPE): Likewise.
29635         (CONTTYPE): Likewise.
29636         (TSUID): Likewise.
29637         (TSGID): Likewise.
29638         (TSVTX): Likewise.
29639         (TUREAD): Likewise.
29640         (TUWRITE): Likewise.
29641         (TUEXEC): Likewise.
29642         (TGREAD): Likewise.
29643         (TGWRITE): Likewise.
29644         (TGEXEC): Likewise.
29645         (TOREAD): Likewise.
29646         (TOWRITE): Likewise.
29647         (TOEXEC): Likewise.
29648         [POSIX] (TSVTX): Expect constant.
29650 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29652         * Makefile (tests): Change dependencies to ....
29653         (tests-special): ... additions to this variable.
29654         (tests): Depend on $(tests-special).
29655         * Makerules (check-abi-list): New variable.
29656         (check-abi): Depend on $(check-abi-list).
29657         [$(subdir) = elf] (tests-special): Add
29658         $(objpfx)check-abi-libc.out.
29659         [$(build-shared) = yes && subdir] (tests-special): Add
29660         $(check-abi-list).
29661         [$(build-shared) = yes && subdir] (tests): Do not depend on
29662         check-abi.
29663         * Rules (tests): Depend on $(tests-special).
29664         (xtests): Depend on $(xtests-special).
29665         * catgets/Makefile (tests): Change dependencies to ....
29666         (tests-special): ... additions to this variable.
29667         * conform/Makefile (tests): Change dependencies to ....
29668         (tests-special): ... additions to this variable.
29669         * elf/Makefile (tests): Change dependencies to ....
29670         (tests-special): ... additions to this variable.
29671         * grp/Makefile (tests): Change dependencies to ....
29672         (tests-special): ... additions to this variable.
29673         * iconv/Makefile (xtests): Change dependencies to ....
29674         (xtests-special): ... additions to this variable.
29675         * iconvdata/Makefile (tests): Change dependencies to ....
29676         (tests-special): ... additions to this variable.
29677         * intl/Makefile (tests): Change dependencies to ....
29678         (tests-special): ... additions to this variable.  Also add
29679         $(objpfx)tst-gettext.out.
29680         * io/Makefile (tests): Change dependencies to ....
29681         (tests-special): ... additions to this variable.
29682         * libio/Makefile (tests): Change dependencies to ....
29683         (tests-special): ... additions to this variable.
29684         * malloc/Makefile (tests): Change dependencies to ....
29685         (tests-special): ... additions to this variable.
29686         * misc/Makefile (tests): Change dependencies to ....
29687         (tests-special): ... additions to this variable.
29688         * nptl/Makefile (tests): Change dependencies to ....
29689         (tests-special): ... additions to this variable.
29690         * nptl_db/Makefile (tests): Change dependencies to ....
29691         (tests-special): ... additions to this variable.
29692         * posix/Makefile (tests): Change dependencies to ....
29693         (tests-special): ... additions to this variable.
29694         (xtests): Change dependencies to ....
29695         (xtests-special): ... additions to this variable.
29696         * resolv/Makefile (tests): Change dependencies to ....
29697         (tests-special): ... additions to this variable.
29698         (xtests): Change dependencies to ....
29699         (xtests-special): ... additions to this variable.
29700         * stdio-common/Makefile (tests): Change dependencies to ....
29701         (tests-special): ... additions to this variable.
29702         (do-tst-unbputc): Remove target.
29703         (do-tst-printf): Likewise.
29704         * stdlib/Makefile (tests): Change dependencies to ....
29705         (tests-special): ... additions to this variable.
29706         * string/Makefile (tests): Change dependencies to ....
29707         (tests-special): ... additions to this variable.
29708         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29709         (tests-special): ... additions to this variable.
29711         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29712         whole file.
29713         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29714         whole file.
29715         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29716         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29718         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29719         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29720         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29721         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29722         * conform/data/libgen.h-data [XPG3]: Likewise.
29723         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29724         * conform/data/ndbm.h-data [XPG3]: Likewise.
29725         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29726         * conform/data/netdb.h-data [XPG3]: Likewise.
29727         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29728         * conform/data/poll.h-data [XPG3]: Likewise.
29729         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29730         * conform/data/strings.h-data [XPG3]: Likewise.
29731         * conform/data/stropts.h-data [XPG3]: Likewise.
29732         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29733         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29734         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29735         Likewise.
29736         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29737         * conform/data/sys/time.h-data [XPG3]: Likewise.
29738         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29739         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29740         * conform/data/sys/un.h-data [XPG3]: Likewise.
29741         * conform/data/syslog.h-data [XPG3]: Likewise.
29742         * conform/data/ucontext.h-data [XPG3]: Likewise.
29743         * conform/data/utmpx.h-data [XPG3]: Likewise.
29744         * conform/data/varargs.h-data [UNIX98]: Enable file.
29746         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29748         * math/libm-test.inc (struct test_f_f_data): Move expected results
29749         into structure for each rounding mode.
29750         (struct test_ff_f_data): Likewise.
29751         (struct test_ff_f_data_nexttoward): Likewise.
29752         (struct test_fi_f_data): Likewise.
29753         (struct test_fl_f_data): Likewise.
29754         (struct test_if_f_data): Likewise.
29755         (struct test_fff_f_data): Likewise.
29756         (struct test_c_f_data): Likewise.
29757         (struct test_f_f1_data): Likewise.
29758         (struct test_fF_f1_data): Likewise.
29759         (struct test_ffI_f1_data): Likewise.
29760         (struct test_c_c_data): Likewise.
29761         (struct test_cc_c_data): Likewise.
29762         (struct test_f_i_data): Likewise.
29763         (struct test_ff_i_data): Likewise.
29764         (struct test_f_l_data): Likewise.
29765         (struct test_f_L_data): Likewise.
29766         (struct test_fFF_11_data): Likewise.
29767         (RM_): New macro.
29768         (RM_FE_DOWNWARD): Likewise.
29769         (RM_FE_TONEAREST): Likewise.
29770         (RM_FE_TOWARDZERO): Likewise.
29771         (RM_FE_UPWARD): Likewise.
29772         (RUN_TEST_LOOP_f_f): Update references to expected results.
29773         (RUN_TEST_LOOP_2_f): Likewise.
29774         (RUN_TEST_LOOP_fff_f): Likewise.
29775         (RUN_TEST_LOOP_c_f): Likewise.
29776         (RUN_TEST_LOOP_f_f1): Likewise.
29777         (RUN_TEST_LOOP_fF_f1): Likewise.
29778         (RUN_TEST_LOOP_fI_f1): Likewise.
29779         (RUN_TEST_LOOP_ffI_f1): Likewise.
29780         (RUN_TEST_LOOP_c_c): Likewise.
29781         (RUN_TEST_LOOP_cc_c): Likewise.
29782         (RUN_TEST_LOOP_f_i): Likewise.
29783         (RUN_TEST_LOOP_f_i_tg): Likewise.
29784         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29785         (RUN_TEST_LOOP_f_b): Likewise.
29786         (RUN_TEST_LOOP_f_b_tg): Likewise.
29787         (RUN_TEST_LOOP_f_l): Likewise.
29788         (RUN_TEST_LOOP_f_L): Likewise.
29789         (RUN_TEST_LOOP_fFF_11): Likewise.
29790         * math/gen-libm-test.pl (parse_args): Output four copies of
29791         expected results for each test.
29793         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29794         (__ASSUME_UTIMES): Remove.
29795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29796         (__ASSUME_UTIMES): Likewise.
29798         * math/gen-auto-libm-tests.c: Update comment on output format.
29799         (output_for_one_input_case): Generate before-rounding and
29800         after-rounding information as conditions on output flags not
29801         floating-point format.
29802         * math/auto-libm-test-out: Regenerated.
29803         * math/gen-libm-test.pl (cond_value): New function.
29804         (or_cond_value): Use cond_value.
29805         (generate_testfile): Handle conditional exceptions.
29807 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29809         * math/libm-test.inc (max_valid_error): New variable.
29810         (init_max_error): Take new argument specifying whether function
29811         results are exactly determined.  Set max_valid_error and bound
29812         other variables for errors based on this argument.
29813         (set_max_error): Do not record results above max_valid_error.
29814         (check_float_internal): Only accept errors of up to 0.5ulps if
29815         also at most max_valid_error.
29816         (START): Take new argument EXACT and pass it to init_max_error.
29817         (acos_test): Update call to START.
29818         (acos_test_tonearest): Likewise.
29819         (acos_test_towardzero): Likewise.
29820         (acos_test_downward): Likewise.
29821         (acos_test_upward): Likewise.
29822         (acosh_test): Likewise.
29823         (asin_test): Likewise.
29824         (asin_test_tonearest): Likewise.
29825         (asin_test_towardzero): Likewise.
29826         (asin_test_downward): Likewise.
29827         (asin_test_upward): Likewise.
29828         (asinh_test): Likewise.
29829         (atan_test): Likewise.
29830         (atanh_test): Likewise.
29831         (atan2_test): Likewise.
29832         (cabs_test): Likewise.
29833         (cacos_test): Likewise.
29834         (cacosh_test): Likewise.
29835         (carg_test): Likewise.
29836         (casin_test): Likewise.
29837         (casinh_test): Likewise.
29838         (catan_test): Likewise.
29839         (catanh_test): Likewise.
29840         (cbrt_test): Likewise.
29841         (ccos_test): Likewise.
29842         (ccosh_test): Likewise.
29843         (ceil_test): Likewise.
29844         (cexp_test): Likewise.
29845         (cimag_test): Likewise.
29846         (clog_test): Likewise.
29847         (clog10_test): Likewise.
29848         (conj_test): Likewise.
29849         (copysign_test): Likewise.
29850         (cos_test): Likewise.
29851         (cos_test_tonearest): Likewise.
29852         (cos_test_towardzero): Likewise.
29853         (cos_test_downward): Likewise.
29854         (cos_test_upward): Likewise.
29855         (cosh_test): Likewise.
29856         (cosh_test_tonearest): Likewise.
29857         (cosh_test_towardzero): Likewise.
29858         (cosh_test_downward): Likewise.
29859         (cosh_test_upward): Likewise.
29860         (cpow_test): Likewise.
29861         (cproj_test): Likewise.
29862         (creal_test): Likewise.
29863         (csin_test): Likewise.
29864         (csinh_test): Likewise.
29865         (csqrt_test): Likewise.
29866         (ctan_test): Likewise.
29867         (ctan_test_tonearest): Likewise.
29868         (ctan_test_towardzero): Likewise.
29869         (ctan_test_downward): Likewise.
29870         (ctan_test_upward): Likewise.
29871         (ctanh_test): Likewise.
29872         (ctanh_test_tonearest): Likewise.
29873         (ctanh_test_towardzero): Likewise.
29874         (ctanh_test_downward): Likewise.
29875         (ctanh_test_upward): Likewise.
29876         (erf_test): Likewise.
29877         (erfc_test): Likewise.
29878         (exp_test): Likewise.
29879         (exp_test_tonearest): Likewise.
29880         (exp_test_towardzero): Likewise.
29881         (exp_test_downward): Likewise.
29882         (exp_test_upward): Likewise.
29883         (exp10_test): Likewise.
29884         (exp10_test_tonearest): Likewise.
29885         (exp10_test_towardzero): Likewise.
29886         (exp10_test_downward): Likewise.
29887         (exp10_test_upward): Likewise.
29888         (pow10_test): Likewise.
29889         (exp2_test): Likewise.
29890         (expm1_test): Likewise.
29891         (expm1_test_tonearest): Likewise.
29892         (expm1_test_towardzero): Likewise.
29893         (expm1_test_downward): Likewise.
29894         (expm1_test_upward): Likewise.
29895         (fabs_test): Likewise.
29896         (fdim_test): Likewise.
29897         (floor_test): Likewise.
29898         (fma_test): Likewise.
29899         (fma_test_towardzero): Likewise.
29900         (fma_test_downward): Likewise.
29901         (fma_test_upward): Likewise.
29902         (fmax_test): Likewise.
29903         (fmin_test): Likewise.
29904         (fmod_test): Likewise.
29905         (fpclassify_test): Likewise.
29906         (frexp_test): Likewise.
29907         (hypot_test): Likewise.
29908         (ilogb_test): Likewise.
29909         (isfinite_test): Likewise.
29910         (finite_test): Likewise.
29911         (isgreater_test): Likewise.
29912         (isgreaterequal_test): Likewise.
29913         (isinf_test): Likewise.
29914         (isless_test): Likewise.
29915         (islessequal_test): Likewise.
29916         (islessgreater_test): Likewise.
29917         (isnan_test): Likewise.
29918         (isnormal_test): Likewise.
29919         (issignaling_test): Likewise.
29920         (isunordered_test): Likewise.
29921         (j0_test): Likewise.
29922         (j1_test): Likewise.
29923         (jn_test): Likewise.
29924         (ldexp_test): Likewise.
29925         (lgamma_test): Likewise.
29926         (gamma_test): Likewise.
29927         (lrint_test): Likewise.
29928         (lrint_test_tonearest): Likewise.
29929         (lrint_test_towardzero): Likewise.
29930         (lrint_test_downward): Likewise.
29931         (lrint_test_upward): Likewise.
29932         (llrint_test): Likewise.
29933         (llrint_test_tonearest): Likewise.
29934         (llrint_test_towardzero): Likewise.
29935         (llrint_test_downward): Likewise.
29936         (llrint_test_upward): Likewise.
29937         (log_test): Likewise.
29938         (log10_test): Likewise.
29939         (log1p_test): Likewise.
29940         (log2_test): Likewise.
29941         (logb_test): Likewise.
29942         (logb_test_downward): Likewise.
29943         (lround_test): Likewise.
29944         (llround_test): Likewise.
29945         (modf_test): Likewise.
29946         (nearbyint_test): Likewise.
29947         (nextafter_test): Likewise.
29948         (nexttoward_test): Likewise.
29949         (pow_test): Likewise.
29950         (pow_test_tonearest): Likewise.
29951         (pow_test_towardzero): Likewise.
29952         (pow_test_downward): Likewise.
29953         (pow_test_upward): Likewise.
29954         (remainder_test): Likewise.
29955         (drem_test): Likewise.
29956         (remainder_test_tonearest): Likewise.
29957         (drem_test_tonearest): Likewise.
29958         (remainder_test_towardzero): Likewise.
29959         (drem_test_towardzero): Likewise.
29960         (remainder_test_downward): Likewise.
29961         (drem_test_downward): Likewise.
29962         (remainder_test_upward): Likewise.
29963         (drem_test_upward): Likewise.
29964         (remquo_test): Likewise.
29965         (rint_test): Likewise.
29966         (rint_test_tonearest): Likewise.
29967         (rint_test_towardzero): Likewise.
29968         (rint_test_downward): Likewise.
29969         (rint_test_upward): Likewise.
29970         (round_test): Likewise.
29971         (scalb_test): Likewise.
29972         (scalbn_test): Likewise.
29973         (scalbln_test): Likewise.
29974         (signbit_test): Likewise.
29975         (sin_test): Likewise.
29976         (sin_test_tonearest): Likewise.
29977         (sin_test_towardzero): Likewise.
29978         (sin_test_downward): Likewise.
29979         (sin_test_upward): Likewise.
29980         (sincos_test): Likewise.
29981         (sinh_test): Likewise.
29982         (sinh_test_tonearest): Likewise.
29983         (sinh_test_towardzero): Likewise.
29984         (sinh_test_downward): Likewise.
29985         (sinh_test_upward): Likewise.
29986         (sqrt_test): Likewise.
29987         (sqrt_test_tonearest): Likewise.
29988         (sqrt_test_towardzero): Likewise.
29989         (sqrt_test_downward): Likewise.
29990         (sqrt_test_upward): Likewise.
29991         (tan_test): Likewise.
29992         (tan_test_tonearest): Likewise.
29993         (tan_test_towardzero): Likewise.
29994         (tan_test_downward): Likewise.
29995         (tan_test_upward): Likewise.
29996         (tanh_test): Likewise.
29997         (tgamma_test): Likewise.
29998         (trunc_test): Likewise.
29999         (y0_test): Likewise.
30000         (y1_test): Likewise.
30001         (yn_test): Likewise.
30002         (significand_test): Likewise.
30004         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30005         individual tests in comment.
30006         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30007         (prev_max_error): New variable.
30008         (prev_real_max_error): Likewise.
30009         (prev_imag_max_error): Likewise.
30010         (compare_ulp_data): Don't refer to test names in comment.
30011         (find_test_ulps): Remove function.
30012         (find_function_ulps): Likewise.
30013         (find_complex_function_ulps): Likewise.
30014         (init_max_error): Take function name as argument.  Look up ulps
30015         for that function.
30016         (print_ulps): Remove function.
30017         (print_max_error): Use prev_max_error instead of calling
30018         find_function_ulps.
30019         (print_complex_max_error): Use prev_real_max_error and
30020         prev_imag_max_error instead of calling find_complex_function_ulps.
30021         (check_float_internal): Take max_ulp parameter instead of calling
30022         find_test_ulps.  Don't call print_ulps.
30023         (check_float): Update call to check_float_internal.
30024         (check_complex): Update calls to check_float_internal.
30025         (START): Pass argument to init_max_error.
30026         * math/gen-libm-test.pl (%results): Don't include "kind"
30027         information.
30028         (parse_ulps): Don't handle ulps of individual tests.
30029         (print_ulps_file): Likewise.
30030         (output_ulps): Likewise.
30031         * math/README.libm-test: Update.
30032         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30033         individual tests.
30034         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30035         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30036         * sysdeps/arm/libm-test-ulps: Likewise.
30037         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30038         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30039         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30040         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30041         * sysdeps/microblaze/libm-test-ulps: Likewise.
30042         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30043         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30045         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30046         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30047         * sysdeps/sh/libm-test-ulps: Likewise.
30048         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30049         * sysdeps/tile/libm-test-ulps: Likewise.
30050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30052 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30054         * math/libm-test.inc (print_complex_max_error): Check separately
30055         whether real and imaginary errors are within allowed range and
30056         pass 0 to print_complex_function_ulps instead of value within
30057         allowed range.
30059 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30061         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30062         formatting.
30063         (get_handles_fopen): Likewise.
30064         (do_write_test): Likewise.
30066         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30068         * libio/fileops.c (do_ftell): Use cached offset when
30069         available.
30070         * libio/iofwide.c (do_ftell_wide): Likewise.
30071         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30072         _IO_file_attach.
30073         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30075         [BZ #16532]
30076         * libio/libioP.h (get_file_offset): New function.
30077         * libio/fileops.c (get_file_offset): Likewise.
30078         (do_ftell): Likewise.
30079         (_IO_new_file_seekoff): Split out ftell logic.
30080         * libio/wfileops.c (do_ftell_wide): Likewise.
30081         (_IO_wfile_seekoff): Split out ftell logic.
30082         * libio/tst-ftell-active-handler.c: New test case.
30083         * libio/Makefile (tests): Add it.
30085 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30087         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30088         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30090 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30092         [BZ #16639]
30093         * nscd/connections.c (nscd_init): Call do_exit.
30094         (start_threads): Call do_exit and notify_parent.
30095         (begin_drop_privileges): Call do_exit.
30096         (finish_drop_privileges): Likewise.
30097         * nscd/selinux.c (preserve_capabilities): Likewise.
30098         (install_real_capabilities): Likewise.
30099         (nscd_selinux_enabled): Likewise.
30100         (avc_create_thread): Likewise.
30101         (avc_alloc_lock): Likewise.
30102         (nscd_avc_init): Likewise.
30103         * nscd/nscd.c (parent_fd): New static variable.
30104         (main): Create a pipe between parent and child processes.
30105         Skip closing parent_fd.
30106         (monitor_child): New function.
30107         (do_exit): Likewise.
30108         (notify_parent): Likewise.
30109         * nscd/nscd.h (notify_parent): Likewise.
30110         (do_exit): Likewise.
30112 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30114         * malloc/malloc.c (__libc_calloc): Revert last change.
30116 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30120 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30122         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30124         implementation.
30125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30126         (__libc_ifunc_impl_list): Likewise.
30127         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30128         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30129         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30130         * string/strrchr.c: Define STRRCHR.
30132 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30134         * benchtest/bench-strtok.c (simple_strtok): Delete.
30135         (strtok_string): Use as benchmark.
30136         * string/strtok (STRTOK): New macro.
30138 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30140         * manual/threads.texi: Add header and standard comments to all
30141         functions.
30143         * elf/dl-lookup.c (check_match): New function.
30144         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30145         (do_lookup_x): Remove nested function check_match. Use non-nested
30146         function check_match.
30148 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30150         * csu/Makefile (generated, before-compile): Use += rather than =.
30151         * catgets/Makefile (generated, generated-dirs): Likewise.
30152         * debug/Makefile (generated): Likewise.
30153         * dlfcn/Makefile (generated): Likewise.
30154         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30155         * iconvdata/Makefile (before-compile, generated): Likewise.
30156         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30157         * libio/Makefile (generated): Likewise.
30158         * malloc/Makefile (generated): Likewise.
30159         * manual/Makefile (generated, generated-dirs): Likewise.
30160         * misc/Makefile (generated): Likewise.
30161         * posix/Makefile (generated): Likewise.
30162         * resolv/Makefile (generated): Likewise.
30163         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30164         * timezone/Makefile (generated, generated-dirs): Likewise.
30166         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30168 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30171         power8 implementation.
30172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30173         file: POWER8 llround ifunc implementation.
30174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30175         (__lllround): Add POWER8 implementation.
30176         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30177         POWER8 llround implementation.
30179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30180         power8 implementation.
30181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30182         file: POWER8 llrint ifunc implementation.
30183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30184         Add POWER8 implementation.
30185         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30186         POWER8 llrint implementation.
30188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30189         power8 implementation.
30190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30191         file: POWER8 finite ifunc implementation.
30192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30193         Add POWER8 implementation.
30194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30195         Likewise.
30196         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30197         POWER8 finite implementation.
30198         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30201         power8 implementation.
30202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30203         file: POWER8 isinf ifunc implementation.
30204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30205         POWER8 implementation.
30206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30207         Likewise.
30208         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30209         isinf implementation.
30210         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30212         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30213         (INIT_ARCH): Add hwcap2 initialization.
30214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30215         power8 implementation.
30216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30217         file: POWER8 isnan ifunc implementation.
30218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30219         POWER8 implementation.
30220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30221         Likewise.
30222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30223         isnan implementation.
30224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30226 2014-02-27  Joey Ye  <joey.ye@arm.com>
30228         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30229         (_FP_NANFRAC_Q): Set to zero.
30231 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30233         [BZ #16623]
30234         * math/auto-libm-test-in: New test inputs.
30235         * math/auto-libm-test-out: Regenerate.
30236         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30237         and DA.
30238         (__cos): Likewise.
30239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30241 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30243         * scripts/evaluate-test.sh: Take new argument indicating whether
30244         failure is expected.
30245         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30246         indicating whether failure is expected.
30247         * conform/Makefile (test-xfail-run-conformtest): New variable.
30248         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30249         level.
30250         * posix/Makefile (test-xfail-annexc): New variable.
30251         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30253 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30255         * argp/Makefile: Include Makeconfig immediately after defining
30256         subdir.
30257         * assert/Makefile: Likewise.
30258         * benchtests/Makefile: Likewise.
30259         * catgets/Makefile: Likewise.
30260         * conform/Makefile: Likewise.
30261         * crypt/Makefile: Likewise.
30262         * csu/Makefile: Likewise.
30263         (all): Remove target.
30264         * ctype/Makefile: Include Makeconfig immediately after defining
30265         subdir.
30266         * debug/Makefile: Likewise.
30267         * dirent/Makefile: Likewise.
30268         * dlfcn/Makefile: Likewise.
30269         * gmon/Makefile: Likewise.
30270         * gnulib/Makefile: Likewise.
30271         * grp/Makefile: Likewise.
30272         * gshadow/Makefile: Likewise.
30273         * hesiod/Makefile: Likewise.
30274         * hurd/Makefile: Likewise.
30275         (all): Remove target.
30276         * iconvdata/Makefile: Include Makeconfig immediately after
30277         defining subdir.
30278         * inet/Makefile: Likewise.
30279         * intl/Makefile: Likewise.
30280         * io/Makefile: Likewise.
30281         * libio/Makefile: Likewise.
30282         (all): Remove target.
30283         * locale/Makefile: Include Makeconfig immediately after defining
30284         subdir.
30285         * login/Makefile: Likewise.
30286         * mach/Makefile: Likewise.
30287         (all): Remove target.
30288         * malloc/Makefile: Include Makeconfig immediately after defining
30289         subdir.
30290         (all): Remove target.
30291         * manual/Makefile: Include Makeconfig immediately after defining
30292         subdir.
30293         * math/Makefile: Likewise.
30294         * misc/Makefile: Likewise.
30295         * nis/Makefile: Likewise.
30296         * nss/Makefile: Likewise.
30297         * po/Makefile: Likewise.
30298         (all): Remove target.
30299         * posix/Makefile: Include Makeconfig immediately after defining
30300         subdir.
30301         * pwd/Makefile: Likewise.
30302         * resolv/Makefile: Likewise.
30303         * resource/Makefile: Likewise.
30304         * rt/Makefile: Likewise.
30305         * setjmp/Makefile: Likewise.
30306         * shadow/Makefile: Likewise.
30307         * signal/Makefile: Likewise.
30308         * socket/Makefile: Likewise.
30309         * soft-fp/Makefile: Likewise.
30310         * stdio-common/Makefile: Likewise.
30311         * stdlib/Makefile: Likewise.
30312         * streams/Makefile: Likewise.
30313         * string/Makefile: Likewise.
30314         * sunrpc/Makefile: Likewise.
30315         (all): Remove target.
30316         * sysvipc/Makefile: Include Makeconfig immediately after defining
30317         subdir.
30318         * termios/Makefile: Likewise.
30319         * time/Makefile: Likewise.
30320         * timezone/Makefile: Likewise.
30321         (all): Remove target.
30322         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30323         subdir.
30324         * wctype/Makefile: Likewise.
30326 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30328         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30329         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30330         (libc_feholdexcept_setround_mips): Ditto.
30331         (libc_feholdsetround): New.
30332         (libc_feholdsetroundf): New.
30333         (libc_feholdsetroundl): New.
30334         (libc_feupdateenv_test_mips): New.
30335         (libc_feupdateenv_test): New.
30336         (libc_feupdateenv_testf): New.
30337         (libc_feupdateenv_testl): New.
30338         (libc_feresetround): New.
30339         (libc_feresetroundf): New.
30340         (libc_feresetroundl): New.
30341         (libc_fetestexcept_mips): New.
30342         (libc_fetestexcept): New.
30343         (libc_fetestexceptf): New.
30344         (libc_fetestexceptl): New.
30345         (HAVE_RM_CTX): New.
30346         (libc_feholdexcept_setround_mips_ctx): New.
30347         (libc_feholdexcept_setround_ctx): New.
30348         (libc_feholdexcept_setroundf_ctx): New.
30349         (libc_feholdexcept_setroundl_ctx): New.
30350         (libc_fesetenv_mips_ctx): New.
30351         (libc_fesetenv_ctx): New.
30352         (libc_fesetenv_ctxf): New.
30353         (libc_fesetenv_ctxl): New.
30354         (libc_feupdateenv_mips_ctx): New.
30355         (libc_feupdateenv_ctx): New.
30356         (libc_feupdateenvf_ctx): New.
30357         (libc_feupdateenvl_ctx): New.
30358         (libc_feholdsetround_mips_ctx): New.
30359         (libc_feholdsetround_ctx): New.
30360         (libc_feholdsetroundf_ctx): New.
30361         (libc_feholdsetroundl_ctx): New.
30362         (libc_feresetround_mips_ctx): New.
30363         (libc_feresetround_ctx): New.
30364         (libc_feresetroundf_ctx): New.
30365         (libc_feresetroundl_ctx): New.
30367 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30369         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30371         * manual/ipc.texi: New file.
30372         * manual/Makefile (chapters): Add ipc.
30373         * manual/job.texi: Add "Inter-Process Communication" to next.
30374         * manual/process.texi: Add "Inter-Process Communication" to prev.
30376 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30380 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30382         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30384         * manual/arith.texi: Fix spaces after sentences.
30385         * manual/charset.texi: Likewise.
30386         * manual/errno.texi: Likewise.
30387         * manual/install.texi: Likewise.
30388         * manual/llio.texi: Likewise.
30389         * manual/locale.texi: Likewise.
30390         * manual/maint.texi: Likewise.
30391         * manual/math.texi: Likewise.
30392         * manual/memory.texi: Likewise.
30393         * manual/message.texi: Likewise.
30394         * manual/probes.texi: Likewise.
30395         * manual/resource.texi: Likewise.
30396         * manual/signal.texi: Likewise.
30397         * manual/socket.texi: Likewise.
30398         * manual/stdio.texi: Likewise.
30399         * manual/string.texi: Likewise.
30400         * manual/time.texi: Likewise.
30401         * manual/users.texi: Likewise.
30403 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30405         [BZ #16632]
30406         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30407         _DEFAULT_SOURCE is defined.
30409 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30410             Carlos O'Donell  <carlos@redhat.com>
30412         [BZ #16613]
30413         * elf/dl-tls.c (_dl_count_modids): New function.
30414         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30415         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30416         audit library and increment generation counter.
30417         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30418         * elf/tst-audit9.c: New file.
30419         * elf/tst-auditmod9a.c: New file.
30420         * elf/tst-auditmod9b.c: New file.
30421         * elf/Makefile: Add rules to build and run tst-audit9.
30423 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30425         [BZ #15347]
30426         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30428 2014-02-25  Will Newton  <will.newton@linaro.org>
30430         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30431         (__longjmp): Restore sp and lr before restoring callee
30432         saved registers.  Add longjmp and longjmp_target
30433         SystemTap probe point.
30434         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30435         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30436         Define to zero to match jmpbuf layout.
30437         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30438         (__sigsetjmp): Save sp and lr before saving callee
30439         saved registers.  Add setjmp SystemTap probe point.
30441 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30443         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30445 2014-02-24  Andreas Schwab  <schwab@suse.de>
30447         [BZ #15804]
30448         * elf/pldd.c (wait_for_ptrace_stop): New function.
30449         (main): Call it after attaching.
30451 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30453         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30454         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30455         Versions files is now verboten.
30456         * hurd/Versions (libc: GLIBC_2.0):
30457         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30458         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30459         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30460         * mach/Versions: Likewise.
30462         * csu/Versions: Remove unused %include.
30463         * resolv/Versions: Likewise.
30465 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30467         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30468         ($(objpfx)check-local-headers.out): Likewise.
30469         ($(objpfx)begin-end-check.out): Likewise.
30470         * Makerules (check-abi-%.out): Likewise.
30471         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30472         ($(objpfx)test2.cat): Likewise.
30473         ($(objpfx)de/libc.cat): Likewise.
30474         ($(objpfx)test-gencat.out): Likewise.
30475         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30476         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30477         ($(objpfx)noload-mem): Likewise.
30478         ($(objpfx)tst-pathopt.out): Likewise.
30479         ($(objpfx)tst-rtld-load-self.out): Likewise.
30480         ($(objpfx)tst-array1-cmp.out): Likewise.
30481         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30482         ($(objpfx)tst-array2-cmp.out): Likewise.
30483         ($(objpfx)tst-array3-cmp.out): Likewise.
30484         ($(objpfx)tst-array4-cmp.out): Likewise.
30485         ($(objpfx)tst-array5-cmp.out): Likewise.
30486         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30487         ($(objpfx)check-textrel.out): Likewise.
30488         ($(objpfx)check-execstack.out): Likewise.
30489         ($(objpfx)check-localplt.out): Likewise.
30490         ($(objpfx)order2-cmp.out): Likewise.
30491         ($(objpfx)tst-leaks1-mem): Likewise.
30492         ($(objpfx)tst-leaks1-static-mem): Likewise.
30493         ($(objpfx)tst-initorder-cmp.out): Likewise.
30494         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30495         ($(objpfx)tst-unused-dep.out): Likewise.
30496         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30497         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30498         * iconv/Makefile (test-iconvconfig): Likewise.
30499         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30500         ($(objpfx)iconv-test.out): Likewise.
30501         ($(objpfx)tst-tables.out): Likewise.
30502         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30503         ($(objpfx)tst-gettext.out): Likewise.
30504         ($(objpfx)tst-translit.out): Likewise.
30505         ($(objpfx)tst-gettext2.out): Likewise.
30506         ($(objpfx)tst-gettext4.out): Likewise.
30507         ($(objpfx)tst-gettext6.out): Likewise.
30508         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30509         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30510         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30511         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30512         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30513         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30514         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30515         ($(objpfx)wordexp-tst.out): Likewise.
30516         ($(objpfx)annexc.out): Likewise.
30517         ($(objpfx)tst-fnmatch-mem): Likewise.
30518         ($(objpfx)bug-regex2-mem): Likewise.
30519         ($(objpfx)bug-regex14-mem): Likewise.
30520         ($(objpfx)bug-regex21-mem): Likewise.
30521         ($(objpfx)bug-regex31-mem): Likewise.
30522         ($(objpfx)tst-vfork3-mem): Likewise.
30523         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30524         ($(objpfx)tst-pcre-mem): Likewise.
30525         ($(objpfx)tst-boost-mem): Likewise.
30526         ($(objpfx)tst-getconf.out): Likewise.
30527         ($(objpfx)bug-ga2-mem): Likewise.
30528         ($(objpfx)bug-glob2-mem): Likewise.
30529         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30530         ($(objpfx)mtrace-tst-leaks2): Likewise.
30531         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30532         ($(objpfx)tst-printf.out): Likewise.
30533         ($(objpfx)tst-setvbuf1.out): Likewise.
30534         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30535         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30536         ($(objpfx)tst-fmtmsg.out): Likewise.
30537         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30538         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30540         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30541         * bits/sigaction.h [__USE_MISC]: Likewise.
30542         * bits/waitstatus.h: Update #endif comments.
30543         * ctype/ctype.h: Likewise.
30544         * dirent/dirent.h: Likewise.
30545         [__USE_MISC]: Remove redundant conditionals.
30546         * grp/grp.h: Update #endif comments.
30547         [__USE_GNU]: Remove redundant conditionals.
30548         [__USE_MISC]: Likewise.
30549         * inet/netinet/in.h [__USE_GNU]: Likewise.
30550         * io/sys/stat.h [__USE_MISC]: Likewise.
30551         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30552         * libio/bits/stdio.h: Update #endif comments.
30553         [__USE_MISC]: Remove redundant conditionals.
30554         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30555         * libio/stdio.h: Update #endif comments.
30556         [__USE_MISC]: Remove redundant conditionals.
30557         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30558         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30559         * math/math.h: Update #else and #endif comments.
30560         [__USE_MISC]: Remove redundant conditionals.
30561         * misc/sys/uio.h: Update #endif comments.
30562         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30563         * posix/glob.h [__USE_MISC]: Likewise.
30564         * posix/sys/types.h: Update #endif comments.
30565         [__USE_MISC]: Remove redundant conditionals.
30566         * posix/sys/wait.h: Update #endif comments.
30567         [__USE_MISC]: Remove redundant conditionals.
30568         * posix/unistd.h: Update #endif comments.
30569         [__USE_MISC]: Remove redundant conditionals.
30570         * pwd/pwd.h [__USE_GNU]: Likewise.
30571         [__USE_MISC]: Likewise.
30572         * resolv/netdb.h [__USE_GNU]: Likewise.
30573         * signal/signal.h: Update #endif comments.
30574         [__USE_MISC]: Remove redundant conditionals.
30575         * stdlib/stdlib.h: Update #else and #endif comments.
30576         [__USE_MISC]: Remove redundant conditionals.
30577         [__USE_GNU]: Likewise.
30578         * string/bits/string2.h [__USE_MISC]: Likewise.
30579         * string/string.h: Update #endif comments.
30580         [__USE_MISC]: Remove redundant conditionals.
30581         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30582         Likewise.
30583         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30584         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30585         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30586         Likewise.
30587         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30588         Likewise.
30589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30590         comments.
30591         [__USE_MISC]: Remove redundant conditionals.
30592         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30593         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30594         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30595         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30596         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30597         Likewise.
30598         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30599         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30600         Likewise.
30601         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30602         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30603         Likewise.
30604         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30605         Likewise.
30606         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30607         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30608         Likewise.
30609         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30610         Likewise.
30611         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30612         * sysdeps/x86/bits/string.h: Update #endif comments.
30613         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30614         conditionals.
30615         * time/sys/time.h: Update #endif comments.
30616         * time/time.h: Likewise.
30617         [__USE_MISC]: Remove redundant conditionals.
30619 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30621         [BZ #16600]
30622         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30624 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30626         * Versions.def (librt): Add GLIBC_2.17.
30628 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30630         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30631         synonym for _SYS_AUXV_H to allow direct inclusion.
30632         * sysdeps/sparc/bits/hwcap.h: Likewise.
30633         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30634         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30635         * sysdeps/sparc/sysdep.h: Likewise.
30637 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30639         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30641 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30643         * benchtests/bench-strrchr.c: Print length instead of position.
30645 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #16611]
30648         * sysdeps/unix/sysv/linux/kernel-features.h
30649         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30650         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30651         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30652         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30653         Likewise.
30654         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30655         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30656         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30657         (__ASSUME_SENDMMSG): Define instead of using previous
30658         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30659         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30660         (__ASSUME_SENDMMSG_SYSCALL): Define.
30661         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30662         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30663         Likewise.
30664         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30665         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30666         Likewise.
30667         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30668         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30669         Likewise.
30670         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30671         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30672         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30673         [__ASSUME_SENDMMSG]: Change conditionals to
30674         [__ASSUME_SENDMMSG_SOCKETCALL].
30675         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30676         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30677         Define.
30678         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30679         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30680         Likewise.
30681         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30682         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30683         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30684         [!__ASSUME_SENDMMSG]: Change conditional to
30685         [!__ASSUME_SENDMMSG_SOCKETCALL].
30686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30688         Define.
30690         [BZ #16610]
30691         * sysdeps/unix/sysv/linux/kernel-features.h
30692         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30693         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30694         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30695         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30696         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30697         [__i386__ || __sparc__]
30698         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30699         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30700         (__ASSUME_RECVMMSG): Define instead of using previous
30701         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30702         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30703         (__ASSUME_RECVMMSG_SYSCALL): Define.
30704         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30705         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30706         Likewise.
30707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30708         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30709         Likewise.
30710         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30712         Likewise.
30713         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30714         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30715         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30716         [__ASSUME_RECVMMSG]: Change condition to
30717         [__ASSUME_RECVMMSG_SOCKETCALL].
30718         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30720         Define.
30721         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30722         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30723         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30724         Likewise.
30725         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30726         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30727         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30728         [!__ASSUME_RECVMMSG]: Change condition to
30729         [!__ASSUME_RECVMMSG_SOCKETCALL].
30730         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30731         (__ASSUME_RECVMMSG_SYSCALL): Define.
30733         [BZ #16609]
30734         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30735         __powerpc__ || __s390__ || __sh__ || __sparc__]
30736         (__ASSUME_SOCKETCALL): Define.
30737         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30738         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30739         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30740         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30741         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30742         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30743         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30744         (__ASSUME_ACCEPT4): Define instead of using previous
30745         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30746         __powerpc__ || __sparc__ || __s390__)] condition.
30747         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30748         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30749         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30750         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30751         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30752         [!__ASSUME_ACCEPT4]: Change condition to
30753         [!__ASSUME_ACCEPT4_SOCKETCALL].
30754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30755         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30756         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30757         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30758         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30759         __ASSUME_ACCEPT4_SYSCALL.
30760         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30761         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30762         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30763         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30764         __ASSUME_ACCEPT4_SYSCALL.
30765         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30766         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30767         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30768         [__ASSUME_ACCEPT4]: Change condition to
30769         [__ASSUME_ACCEPT4_SOCKETCALL].
30770         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30771         (__ASSUME_SOCKETCALL): Define.
30772         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30774         (__ASSUME_SOCKETCALL): Define.
30775         (__ASSUME_ACCEPT4): Remove.
30776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30777         Define.
30778         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30779         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30780         Likewise.
30781         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30782         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30784         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30785         macro.
30786         (HWCAP_ARM_LPAE): Likewise.
30787         (HWCAP_ARM_EVTSTRM): Likewise.
30788         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30789         Add vpfd32, lpae and evtstrm.
30790         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30791         Increase to 22.
30793 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30795         * math/auto-libm-test-in: Add tests of clog10.
30796         * math/auto-libm-test-out: Regenerated.
30797         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30798         * sysdeps/i386/fpu/libm-test-ulps: Update.
30799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30801 2014-02-18  Andreas Schwab  <schwab@suse.de>
30803         [BZ #16574]
30804         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30805         Store non-zero if the second buffer was newly allocated.
30806         (send_dg): Likewise.
30807         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30808         to send_vc and send_dg.
30809         (res_nsend): Pass NULL for ansp2_malloced.
30810         * resolv/res_query.c (__libc_res_nquery): Add parameter
30811         answerp2_malloced and pass it down to __libc_res_nsend.
30812         (res_nquery): Pass additional NULL to __libc_res_nquery.
30813         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30814         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30815         second answer buffer if answerp2_malloced was set.
30816         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30817         (__libc_res_nquerydomain): Add parameter
30818         answerp2_malloced and pass it down to __libc_res_nquery.
30819         (res_nquerydomain): Pass additional NULL to
30820         __libc_res_nquerydomain.
30821         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30822         additional NULL to __libc_res_nsend and __libc_res_nquery.
30823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30824         additional NULL to __libc_res_nsearch.
30825         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30826         parameter of __libc_res_nsearch to check for separately allocated
30827         second buffer.
30828         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30829         __libc_res_nquery.
30830         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30831         additional NULL to __libc_res_nquery.
30832         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30833         __libc_res_nsearch.
30834         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30835         * include/resolv.h: Update prototypes of __libc_res_nquery,
30836         __libc_res_nsearch, __libc_res_nsend.
30838 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30840         * math/auto-libm-test-in: Add tests of fma.
30841         * math/auto-libm-test-out: Regenerated.
30842         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30843         (fma_towardzero_test_data): Likewise.
30844         (fma_downward_test_data): Likewise.
30845         (fma_upward_test_data): Likewise.
30846         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30847         mpc_mode.
30848         (rounding_modes): Add values for new field.
30849         (func_calc_method): Add value mpfr_fff_f.
30850         (func_calc_desc): Add mpfr_fff_f union field.
30851         (test_function): Add field exact_args.
30852         (FUNC): Add macro argument EXACT_ARGS.
30853         (FUNC_mpfr_f_f): Update call to FUNC.
30854         (FUNC_mpfr_f_f): Likewise.
30855         (FUNC_mpfr_ff_f): Likewise.
30856         (FUNC_mpfr_if_f): Likewise.
30857         (FUNC_mpc_c_f): Likewise.
30858         (FUNC_mpc_c_c): Likewise.
30859         (test_functions): Add fma.  Update calls to FUNC.
30860         (handle_input_arg): Add argument exact_args.
30861         (add_test): Update call to handle_input_arg.
30862         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30863         (output_for_one_input_case): Update call to calc_generic_results.
30864         Recalculate exact zero results in each rounding mode.
30866         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30867         non-negative before setting low bit.
30868         * math/auto-libm-test-in: Mark one asin test possibly having
30869         spurious underflow.
30870         * math/auto-libm-test-out: Regenerated.
30871         * sysdeps/i386/fpu/libm-test-ulps: Update.
30872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30876         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30877         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30878         ports/sysdeps/unix/sysv/linux/microblaze.
30879         * README: Add missing listing for microblaze*-*-linux-gnu.
30881 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30883         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30884         duplicate code
30886 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30888         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30889         * sysdeps/unix/sysv/linux/ia64: Move directory from
30890         ports/sysdeps/unix/sysv/linux/ia64.
30891         * README: Update listing for ia64-*-linux-gnu.
30893 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30894             Joseph Myers  <joseph@codesourcery.com>
30896         * Makeconfig (test-name): New variable.
30897         (evaluate-test): Likewise.
30898         * Makerules (do-test-clean): Remove .test-result files.
30899         (common-mostlyclean): Likewise.
30900         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30901         * scripts/evaluate-test.sh: New file.
30903 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30905         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30906         separate $(objpfx)tst-fopenloc-cmp.out and
30907         $(objpfx)tst-fopenloc-mem.out targets.
30908         (tests): Update dependencies.
30909         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30910         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30911         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30912         (tst-rxspencer-no-utf8-ARGS): New variable.
30913         (tst-rxspencer-no-utf8-ENV): Likewise.
30914         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30915         instead of $(objpfx)tst-rxspencer-mem.
30916         ($(objpfx)tst-rxspencer-mem): Change target to
30917         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30918         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30919         * posix/tst-rxspencer-no-utf8.c: New file.
30921         * elf/Makefile ($(objpfx)order.out): Remove rule.
30922         [$(run-built-tests) = yes] (tests): Depend on
30923         $(objpfx)order-cmp.out.
30924         ($(objpfx)order-cmp.out): New rule.
30925         [$(run-built-tests) = yes] (tests): Depend on
30926         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30927         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30928         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30929         $(objpfx)tst-array5-static-cmp.out.
30930         ($(objpfx)tst-array1.out): Remove rule.
30931         ($(objpfx)tst-array1-cmp.out): New rule.
30932         ($(objpfx)tst-array1-static.out): Remove rule.
30933         ($(objpfx)tst-array1-static-cmp.out): New rule.
30934         ($(objpfx)tst-array2.out): Remove rule.
30935         ($(objpfx)tst-array2-cmp.out): New rule.
30936         ($(objpfx)tst-array3.out): Remove rule.
30937         ($(objpfx)tst-array3-cmp.out): New rule.
30938         ($(objpfx)tst-array4.out): Remove rule.
30939         ($(objpfx)tst-array4-cmp.out): New rule.
30940         ($(objpfx)tst-array5.out): Remove rule.
30941         ($(objpfx)tst-array5-cmp.out): New rule.
30942         ($(objpfx)tst-array5-static.out): Remove rule.
30943         ($(objpfx)tst-array5-static-cmp.out): New rule.
30944         [$(run-built-tests) = yes] (tests): Depend on
30945         $(objpfx)order2-cmp.out.
30946         ($(objpfx)order2.out): Remove rule.
30947         ($(objpfx)order2-cmp.out): New rule.
30948         ($(objpfx)tst-initorder.out): Remove rule.
30949         [$(run-built-tests) = yes] (tests): Depend on
30950         $(objpfx)tst-initorder-cmp.out.
30951         ($(objpfx)tst-initorder-cmp.out): New rule.
30952         ($(objpfx)tst-initorder2.out): Remove rule.
30953         [$(run-built-tests) = yes] (tests): Depend on
30954         $(objpfx)tst-initorder2-cmp.out.
30955         ($(objpfx)tst-initorder2-cmp.out): New rule.
30956         [$(run-built-tests) = yes] (tests): Depend on
30957         $(objpfx)tst-unused-dep-cmp.out.
30958         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30959         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30960         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30961         on $(objpfx)tst-setvbuf1-cmp.out.
30962         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30963         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30964         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30965         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30966         ($(objpfx)tst-svc.out): Remove rule.
30967         ($(objpfx)tst-svc-cmp.out): New rule.
30969 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30971         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30972         * ctype/ctype.h [__USE_MISC]: Likewise.
30973         * dirent/dirent.h [__USE_MISC]: Likewise.
30974         * grp/grp.h [__USE_MISC]: Likewise.
30975         * io/fcntl.h [__USE_MISC]: Likewise.
30976         * io/sys/stat.h [__USE_MISC]: Likewise.
30977         * libio/stdio.h [__USE_MISC]: Likewise.
30978         * posix/unistd.h [__USE_MISC]: Likewise.
30979         * pwd/pwd.h [__USE_MISC]: Likewise.
30980         * stdlib.h [__USE_MISC]: Likewise.
30981         * string/bits/string2.h [__USE_MISC]: Likewise.
30982         * string/string.h [__USE_MISC]: Likewise.
30983         * time/time.h [__USE_MISC]: Likewise.
30985 2014-02-13  Andreas Schwab  <schwab@suse.de>
30987         [BZ #16574]
30988         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30989         second answer buffer if it was separately allocated.
30991 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30993         * sysdeps/mips/math-tests.h: Include <features.h>.
30994         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30995         (ROUNDING_TESTS_long_double): Do not define.
30996         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30997         (EXCEPTION_TESTS_long_double): Likewise.
30998         * sysdeps/mips/mips64/libm-test-ulps: Update.
31000         * include/features.h (__USE_BSD): Remove macro definitions.
31001         (__USE_SVID): Likewise.
31002         (_BSD_SOURCE): Likewise.
31003         (_SVID_SOURCE): Likewise.
31004         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31005         from definition of _DEFAULT_SOURCE.
31006         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31007         [_DEFAULT_SOURCE].
31008         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31009         * bits/mman.h [__USE_BSD]: Likewise.
31010         * bits/termios.h [__USE_BSD]: Likewise.
31011         * bits/waitstatus.h [__USE_BSD]: Likewise.
31012         * ctype/ctype.h [__USE_SVID]: Likewise.
31013         * dirent/dirent.h [__USE_BSD]: Likewise.
31014         * grp/grp.h [__USE_SVID]: Likewise.
31015         [__USE_BSD]: Likewise.
31016         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31017         * io/fcntl.h [__USE_BSD]: Likewise.
31018         * io/ftw.h [__USE_BSD]: Likewise.
31019         * io/sys/stat.h [__USE_BSD]: Likewise.
31020         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31021         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31022         * libio/stdio.h [__USE_SVID]: Likewise.
31023         [__USE_BSD]: Likewise.
31024         * math/math.h [__USE_SVID]: Likewise.
31025         [__USE_BSD]: Likewise.
31026         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31027         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31028         * misc/search.h [__USE_SVID]: Likewise.
31029         * misc/sys/mman.h [__USE_BSD]: Likewise.
31030         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31031         * misc/sys/uio.h [__USE_BSD]: Likewise.
31032         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31033         * posix/glob.h [__USE_BSD]: Likewise.
31034         * posix/regex.h [__USE_BSD]: Likewise.
31035         * posix/sys/types.h [__USE_BSD]: Likewise.
31036         [__USE_SVID]: Likewise.
31037         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31038         * posix/sys/wait.h [__USE_BSD]: Likewise.
31039         [__USE_SVID]: Likewise.
31040         * posix/unistd.h [__USE_BSD]: Likewise.
31041         [__USE_SVID]: Likewise.
31042         * pwd/pwd.h [__USE_SVID]: Likewise.
31043         * resolv/netdb.h [__USE_BSD]: Likewise.
31044         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31045         * signal/signal.h [__USE_BSD]: Likewise.
31046         [__USE_SVID]: Likewise.
31047         * socket/sys/socket.h [__USE_BSD]: Likewise.
31048         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31049         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31050         [__USE_SVID]: Likewise.
31051         * string/bits/string2.h [__USE_BSD]: Likewise.
31052         [__USE_SVID]: Likewise.
31053         * string/bits/string3.h [__USE_BSD]: Likewise.
31054         * string/endian.h [__USE_BSD]: Likewise.
31055         * string/string.h [__USE_SVID]: Likewise.
31056         [__USE_BSD]: Likewise.
31057         * string/strings.h [__USE_BSD]: Likewise.
31058         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31059         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31060         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31061         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31062         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31063         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31064         Likewise.
31065         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31066         Likewise.
31067         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31068         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31069         Likewise.
31070         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31071         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31072         Likewise.
31073         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31074         Likewise.
31075         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31076         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31077         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31078         Likewise.
31079         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31080         Likewise.
31081         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31082         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31083         * termios/termios.h [__USE_BSD]: Likewise.
31084         * time/sys/time.h [__USE_BSD]: Likewise.
31085         * time/time.h [__USE_BSD]: Likewise.
31086         [__USE_SVID]: Likewise.
31088         * Makefile (subdir_targets): Remove subdir_lint.out.
31090         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31091         (do-tst-printf): Likewise.
31092         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31093         $(objpfx)tst-printf.out.
31095         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31097         * Makerules (check-abi-%): Change target to
31098         $(objpfx)check-abi-%.out.
31099         (check-abi target): Update dependencies.
31100         (check-abi-pattern variable): Redirect output of diff to $@.
31101         (check-abi variable): Likewise.
31102         * elf/Makefile (check-abi): Update dependencies.
31104         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31105         unused.
31106         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31107         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31108         subnormal range.
31109         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31110         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31111         value has largest subnormal exponent.
31112         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31113         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31114         * sysdeps/aarch64/soft-fp/sfp-machine.h
31115         (_FP_TININESS_AFTER_ROUNDING): New macro.
31116         * sysdeps/alpha/soft-fp/sfp-machine.h
31117         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31118         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31119         Likewise.
31120         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31121         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31122         * sysdeps/mips/soft-fp/sfp-machine.h
31123         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31124         * sysdeps/powerpc/soft-fp/sfp-machine.h
31125         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31126         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31127         Likewise.
31128         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31129         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31130         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31131         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31132         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31133         Likewise.
31135 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31137         [BZ #16545]
31138         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31139         model 1.
31141 2014-02-12  Richard Henderson  <rth@redhat.com>
31143         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31144         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31145         * sysdeps/unix/sysv/linux/alpha: Move directory from
31146         ports/sysdeps/unix/sysv/linux/alpha.
31147         * README: Update listing for alpha-*-linux-gnu.
31149 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31151         * include/features.h: Update comment documenting feature test
31152         macros.
31153         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31154         _DEFAULT_SOURCE.
31155         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31156         (_SVID_SOURCE): Likewise.
31157         (_DEFAULT_SOURCE): Update description of default features.
31158         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31159         with _GNU_SOURCE.
31160         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31161         (S_ISVTX): Likewise.
31162         * manual/math.texi (Mathematical Constants): Likewise.
31163         * manual/signal.texi (Interrupted Primitives): Likewise.
31164         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31165         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31166         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31167         Don't refer to _SVID_SOURCE in warning text.
31169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31171         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31172         already defined.
31173         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31174         * sysdeps/mips/dl-lookup.c: Remove.
31175         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31177 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31179         [BZ #16447]
31180         * math/auto-libm-test-in: Add testcase for expl.
31181         * math/auto-libm-test-out: Regenerate.
31182         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31183         calculation of unsafe.
31184         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31186 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31188         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31189         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31190         ports/sysdeps/unix/sysv/linux/aarch64.
31191         * README: Update listing for aarch64*-*-linux-gnu.
31193 2014-02-11  Will Newton  <will.newton@linaro.org>
31195         * manual/probes.texi (Mathematical Function Probes): Use
31196         "triggered" instead of "hit".
31198         * manual/probes.texi (Internal Probes): Add documentation
31199         of setjmp, longjmp and longjmp_target probes.
31201         * include/stap-probe.h: Add comment about probe argument
31202         format.
31204         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31205         definition.  (tr_where, tr_freehook, tr_mallochook,
31206         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31208 2014-02-11  David S. Miller  <davem@davemloft.net>
31210         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31211         processing int_tests.
31213 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31215         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31216         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31217         * sysdeps/unix/sysv/linux/mips: Move directory from
31218         ports/sysdeps/unix/sysv/linux/mips.
31219         * README: Update listing for mips-*-linux-gnu and
31220         mips64-*-linux-gnu.
31222 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31224         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31225         * sysdeps/unix/sysv/linux/m68k: Move directory from
31226         ports/sysdeps/unix/sysv/linux/m68k.
31227         * README: Update listing for m68k-*-linux-gnu.
31229 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31231         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31232         * sysdeps/unix/sysv/linux/generic: Move directory from
31233         ports/sysdeps/unix/sysv/linux/generic.
31234         * sysdeps/unix/sysv/linux/tile: Move directory from
31235         ports/sysdeps/unix/sysv/linux/tile.
31236         * README: Update listing for tile*-*-linux-gnu.
31238 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31240         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31241         __builtin_expect.
31242         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31243         * catgets/open_catalog.c (__open_catalog): Likewise.
31244         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31245         * debug/confstr_chk.c: Likewise.
31246         * debug/fread_chk.c (__fread_chk): Likewise.
31247         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31248         * debug/getgroups_chk.c: Likewise.
31249         * debug/mbsnrtowcs_chk.c: Likewise.
31250         * debug/mbsrtowcs_chk.c: Likewise.
31251         * debug/mbstowcs_chk.c: Likewise.
31252         * debug/memcpy_chk.c: Likewise.
31253         * debug/memmove_chk.c: Likewise.
31254         * debug/mempcpy_chk.c: Likewise.
31255         * debug/memset_chk.c: Likewise.
31256         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31257         * debug/strcat_chk.c (__strcat_chk): Likewise.
31258         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31259         * debug/strncat_chk.c (__strncat_chk): Likewise.
31260         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31261         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31262         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31263         * debug/wcpncpy_chk.c: Likewise.
31264         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31265         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31266         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31267         * debug/wcsncpy_chk.c: Likewise.
31268         * debug/wcsnrtombs_chk.c: Likewise.
31269         * debug/wcsrtombs_chk.c: Likewise.
31270         * debug/wcstombs_chk.c: Likewise.
31271         * debug/wmemcpy_chk.c: Likewise.
31272         * debug/wmemmove_chk.c: Likewise.
31273         * debug/wmempcpy_chk.c: Likewise.
31274         * debug/wmemset_chk.c: Likewise.
31275         * dirent/scandirat.c (SCANDIRAT): Likewise.
31276         * dlfcn/dladdr1.c (dladdr1): Likewise.
31277         * dlfcn/dladdr.c (dladdr): Likewise.
31278         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31279         * dlfcn/dlerror.c (__dlerror): Likewise.
31280         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31281         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31282         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31283         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31284         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31285         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31286         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31287         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31288         Likewise.
31289         * elf/dl-conflict.c: Likewise.
31290         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31291         * elf/dl-dst.h: Likewise.
31292         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31293         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31294         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31295         * elf/dl-init.c (call_init, _dl_init): Likewise.
31296         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31297         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31298         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31299         Likewise.
31300         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31301         Likewise.
31302         * elf/dl-minimal.c (__libc_memalign): Likewise.
31303         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31304         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31305         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31306         * elf/dl-sym.c (do_sym): Likewise.
31307         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31308         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31309         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31310         * elf/dl-writev.h (_dl_writev): Likewise.
31311         * elf/ldconfig.c (search_dir): Likewise.
31312         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31313         (dl_main): Likewise.
31314         * elf/setup-vdso.h (setup_vdso): Likewise.
31315         * grp/compat-initgroups.c (compat_call): Likewise.
31316         * grp/fgetgrent.c (fgetgrent): Likewise.
31317         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31318         * grp/putgrent.c (putgrent): Likewise.
31319         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31320         Likewise.
31321         * hurd/hurdinit.c: Likewise.
31322         * iconvdata/8bit-gap.c (struct): Likewise.
31323         * iconvdata/ansi_x3.110.c : Likewise.
31324         * iconvdata/big5.c : Likewise.
31325         * iconvdata/big5hkscs.c : Likewise.
31326         * iconvdata/cp1255.c: Likewise.
31327         * iconvdata/cp1258.c : Likewise.
31328         * iconvdata/cp932.c : Likewise.
31329         * iconvdata/euc-cn.c: Likewise.
31330         * iconvdata/euc-jisx0213.c : Likewise.
31331         * iconvdata/euc-jp.c: Likewise.
31332         * iconvdata/euc-jp-ms.c : Likewise.
31333         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31334         * iconvdata/gb18030.c : Likewise.
31335         * iconvdata/gbbig5.c (const): Likewise.
31336         * iconvdata/gbgbk.c: Likewise.
31337         * iconvdata/gbk.c : Likewise.
31338         * iconvdata/ibm1364.c : Likewise.
31339         * iconvdata/ibm930.c : Likewise.
31340         * iconvdata/ibm932.c: Likewise.
31341         * iconvdata/ibm933.c : Likewise.
31342         * iconvdata/ibm935.c : Likewise.
31343         * iconvdata/ibm937.c : Likewise.
31344         * iconvdata/ibm939.c : Likewise.
31345         * iconvdata/ibm943.c: Likewise.
31346         * iconvdata/iso_11548-1.c: Likewise.
31347         * iconvdata/iso-2022-cn.c : Likewise.
31348         * iconvdata/iso-2022-cn-ext.c : Likewise.
31349         * iconvdata/iso-2022-jp-3.c: Likewise.
31350         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31351         * iconvdata/iso-2022-kr.c : Likewise.
31352         * iconvdata/iso646.c (gconv_end): Likewise.
31353         * iconvdata/iso_6937-2.c : Likewise.
31354         * iconvdata/iso_6937.c : Likewise.
31355         * iconvdata/iso8859-1.c: Likewise.
31356         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31357         * iconvdata/shift_jisx0213.c : Likewise.
31358         * iconvdata/sjis.c : Likewise.
31359         * iconvdata/t.61.c : Likewise.
31360         * iconvdata/tcvn5712-1.c : Likewise.
31361         * iconvdata/tscii.c: Likewise.
31362         * iconvdata/uhc.c : Likewise.
31363         * iconvdata/unicode.c (gconv_end): Likewise.
31364         * iconvdata/utf-16.c (gconv_end): Likewise.
31365         * iconvdata/utf-32.c (gconv_end): Likewise.
31366         * iconvdata/utf-7.c (base64): Likewise.
31367         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31368         * iconv/gconv_close.c (__gconv_close): Likewise.
31369         * iconv/gconv_open.c (__gconv_open): Likewise.
31370         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31371         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31372         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31373         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31374         (ucs4le_internal_loop_single): Likewise.
31375         * iconv/iconv.c (iconv): Likewise.
31376         * iconv/iconv_close.c: Likewise.
31377         * iconv/loop.c (SINGLE): Likewise.
31378         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31379         * include/atomic.h: Likewise.
31380         * inet/inet6_option.c (option_alloc): Likewise.
31381         * intl/bindtextdom.c (set_binding_values): Likewise.
31382         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31383         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31384         * intl/localealias.c (read_alias_file): Likewise.
31385         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31386         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31387         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31388         * libio/fmemopen.c (fmemopen): Likewise.
31389         * libio/iofgets.c (_IO_fgets): Likewise.
31390         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31391         * libio/iofgetws.c (fgetws): Likewise.
31392         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31393         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31394         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31395         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31396         * locale/findlocale.c (_nl_find_locale): Likewise.
31397         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31398         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31399         Likewise.
31400         * locale/setlocale.c (setlocale): Likewise.
31401         * login/programs/pt_chown.c (main): Likewise.
31402         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31403         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31404         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31405         (mmap, mmap64, mremap, munmap): Likewise.
31406         * math/e_exp2l.c: Likewise.
31407         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31408         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31409         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31410         * math/s_catan.c (__catan): Likewise.
31411         * math/s_catanf.c (__catanf): Likewise.
31412         * math/s_catanh.c (__catanh): Likewise.
31413         * math/s_catanhf.c (__catanhf): Likewise.
31414         * math/s_catanhl.c (__catanhl): Likewise.
31415         * math/s_catanl.c (__catanl): Likewise.
31416         * math/s_ccosh.c (__ccosh): Likewise.
31417         * math/s_ccoshf.c (__ccoshf): Likewise.
31418         * math/s_ccoshl.c (__ccoshl): Likewise.
31419         * math/s_cexp.c (__cexp): Likewise.
31420         * math/s_cexpf.c (__cexpf): Likewise.
31421         * math/s_cexpl.c (__cexpl): Likewise.
31422         * math/s_clog10.c (__clog10): Likewise.
31423         * math/s_clog10f.c (__clog10f): Likewise.
31424         * math/s_clog10l.c (__clog10l): Likewise.
31425         * math/s_clog.c (__clog): Likewise.
31426         * math/s_clogf.c (__clogf): Likewise.
31427         * math/s_clogl.c (__clogl): Likewise.
31428         * math/s_csin.c (__csin): Likewise.
31429         * math/s_csinf.c (__csinf): Likewise.
31430         * math/s_csinh.c (__csinh): Likewise.
31431         * math/s_csinhf.c (__csinhf): Likewise.
31432         * math/s_csinhl.c (__csinhl): Likewise.
31433         * math/s_csinl.c (__csinl): Likewise.
31434         * math/s_csqrt.c (__csqrt): Likewise.
31435         * math/s_csqrtf.c (__csqrtf): Likewise.
31436         * math/s_csqrtl.c (__csqrtl): Likewise.
31437         * math/s_ctan.c (__ctan): Likewise.
31438         * math/s_ctanf.c (__ctanf): Likewise.
31439         * math/s_ctanh.c (__ctanh): Likewise.
31440         * math/s_ctanhf.c (__ctanhf): Likewise.
31441         * math/s_ctanhl.c (__ctanhl): Likewise.
31442         * math/s_ctanl.c (__ctanl): Likewise.
31443         * math/w_pow.c: Likewise.
31444         * math/w_powf.c: Likewise.
31445         * math/w_powl.c: Likewise.
31446         * math/w_scalb.c (sysv_scalb): Likewise.
31447         * math/w_scalbf.c (sysv_scalbf): Likewise.
31448         * math/w_scalbl.c (sysv_scalbl): Likewise.
31449         * misc/error.c (error_tail): Likewise.
31450         * misc/pselect.c (__pselect): Likewise.
31451         * nis/nis_callback.c (__nis_create_callback): Likewise.
31452         * nis/nis_call.c (__nisfind_server): Likewise.
31453         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31454         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31455         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31456         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31457         * nis/nis_lookup.c (nis_lookup): Likewise.
31458         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31459         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31460         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31461         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31462         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31463         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31464         * nis/nss_compat/compat-initgroups.c (add_group)
31465         (internal_getgrent_r): Likewise.
31466         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31467         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31468         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31469         (internal_getspnam_r): Likewise.
31470         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31471         (_nss_nis_getaliasbyname_r): Likewise.
31472         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31473         (_nss_nis_getntohost_r): Likewise.
31474         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31475         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31476         (_nss_nis_getgrgid_r): Likewise.
31477         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31478         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31479         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31480         (_nss_nis_gethostbyname4_r): Likewise.
31481         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31482         (initgroups_netid): Likewise.
31483         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31484         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31485         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31486         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31487         (_nss_nis_getprotobynumber_r): Likewise.
31488         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31489         (_nss_nis_getsecretkey): Likewise.
31490         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31491         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31492         (_nss_nis_getpwuid_r): Likewise.
31493         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31494         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31495         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31496         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31497         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31498         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31499         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31500         Likewise.
31501         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31502         (_nss_nisplus_getntohost_r): Likewise.
31503         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31504         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31505         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31506         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31507         Likewise.
31508         * nis/nss_nisplus/nisplus-initgroups.c
31509         (_nss_nisplus_initgroups_dyn): Likewise.
31510         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31511         (_nss_nisplus_getnetbyaddr_r): Likewise.
31512         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31513         (_nss_nisplus_getprotobynumber_r): Likewise.
31514         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31515         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31516         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31517         Likewise.
31518         * nis/nss_nisplus/nisplus-service.c
31519         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31520         (_nss_nisplus_getservbyport_r): Likewise.
31521         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31522         (_nss_nisplus_getspnam_r): Likewise.
31523         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31524         Likewise.
31525         * nscd/aicache.c (addhstaiX): Likewise.
31526         * nscd/cache.c (cache_search, prune_cache): Likewise.
31527         * nscd/connections.c (register_traced_file, send_ro_fd)
31528         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31529         (main_loop_epoll): Likewise.
31530         * nscd/grpcache.c (addgrbyX): Likewise.
31531         * nscd/hstcache.c (addhstbyX): Likewise.
31532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31533         * nscd/mem.c (gc, mempool_alloc): Likewise.
31534         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31535         (addinnetgrX): Likewise.
31536         * nscd/nscd-client.h (__nscd_acquire_maplock)
31537         (__nscd_drop_map_ref): Likewise.
31538         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31539         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31540         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31541         Likewise.
31542         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31543         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31544         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31545         (__nscd_get_map_ref): Likewise.
31546         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31547         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31548         Likewise.
31549         * nscd/pwdcache.c (addpwbyX): Likewise.
31550         * nscd/selinux.c (preserve_capabilities): Likewise.
31551         * nscd/servicescache.c (addservbyX): Likewise.
31552         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31553         * posix/fnmatch.c (fnmatch): Likewise.
31554         * posix/getopt.c (_getopt_internal_r): Likewise.
31555         * posix/glob.c (glob, glob_in_dir): Likewise.
31556         * posix/wordexp.c (exec_comm_child): Likewise.
31557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31558         (getanswer_r, gaih_getanswer_slice): Likewise.
31559         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31560         * resolv/res_init.c: Likewise.
31561         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31562         * resolv/res_query.c (__libc_res_nquery): Likewise.
31563         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31564         Likewise.
31565         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31566         * stdio-common/perror.c (perror): Likewise.
31567         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31568         * stdio-common/tmpnam.c (tmpnam): Likewise.
31569         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31570         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31571         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31572         Likewise.
31573         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31574         * stdlib/putenv.c (putenv): Likewise.
31575         * stdlib/setenv.c (__add_to_environ): Likewise.
31576         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31577         * stdlib/strtol_l.c (INTERNAL): Likewise.
31578         * string/memmem.c (memmem): Likewise.
31579         * string/strerror.c (strerror): Likewise.
31580         * string/strnlen.c (__strnlen): Likewise.
31581         * string/test-memmem.c (simple_memmem): Likewise.
31582         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31583         * sunrpc/pm_getport.c (__get_socket): Likewise.
31584         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31585         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31586         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31587         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31588         Likewise.
31589         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31591         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31592         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31593         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31594         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31595         Likewise.
31596         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31597         Likewise.
31598         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31599         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31601         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31602         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31604         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31605         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31606         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31607         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31608         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31609         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31610         Likewise.
31611         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31612         Likewise.
31613         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31614         Likewise.
31615         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31618         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31619         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31620         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31621         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31622         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31624         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31625         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31626         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31627         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31628         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31630         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31631         Likewise.
31632         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31633         Likewise.
31634         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31635         Likewise.
31636         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31637         Likewise.
31638         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31639         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31640         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31641         Likewise.
31642         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31643         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31644         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31645         * sysdeps/posix/sleep.c: Likewise.
31646         * sysdeps/posix/tempname.c: Likewise.
31647         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31648         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31649         Likewise.
31650         * sysdeps/powerpc/powerpc32/dl-machine.h
31651         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31652         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31653         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31654         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31655         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31656         Likewise.
31657         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31658         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31659         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31660         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31661         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31662         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31663         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31664         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31665         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31666         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31668         (elf_machine_lazy_rel): Likewise.
31669         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31670         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31671         (elf_machine_lazy_rel): Likewise.
31672         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31673         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31674         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31675         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31676         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31677         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31678         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31680         Likewise.
31681         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31682         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31683         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31684         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31685         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31686         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31687         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31688         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31689         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31690         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31691         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31692         Likewise.
31693         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31694         (__posix_fallocate64_l64): Likewise.
31695         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31696         (posix_fallocate): Likewise.
31697         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31698         Likewise.
31699         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31700         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31701         (getifaddrs_internal): Likewise.
31702         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31703         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31704         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31705         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31706         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31707         (__posix_fallocate64_l64): Likewise.
31708         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31709         Likewise.
31710         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31711         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31712         (__get_clockfreq): Likewise.
31713         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31714         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31715         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31718         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31719         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31720         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31721         Likewise.
31722         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31723         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31724         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31726         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31727         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31728         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31729         Likewise.
31730         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31731         (posix_fallocate): Likewise.
31732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31733         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31734         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31735         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31736         (elf_machine_rela, elf_machine_rela_relative)
31737         (elf_machine_lazy_rel): Likewise.
31738         * time/asctime.c (asctime_internal): Likewise.
31739         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31740         * time/tzset.c (__tzset_parse_tz): Likewise.
31741         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31742         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31743         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31744         * wcsmbs/wcsmbsload.h: Likewise.
31746         [BZ #15894]
31747         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31749         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31750         (arena_get2): Remove THREAD_STATS conditionals.
31751         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31752         (__malloc_stats, int): Likewise.
31754 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31756         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31757         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31759         * manual/setjmp.texi: Fix typos/grammar errors.
31761         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31762         Only return early when n is <= 0.  Delete unused return statement.
31764         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31765         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31766         * debug/tst-longjmp_chk3.c: New file.
31768         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31769         (test_main): Replace code with set_fortify_handler call.
31770         * debug/test-strcpy_chk.c: Likewise.
31771         * debug/tst-chk1.c: Likewise.
31772         * debug/tst-longjmp_chk.c: Likewise.
31773         * test-skeleton.c: Include fcntl.h & paths.h
31774         (set_fortify_handler): Define.
31776         * debug/tst-longjmp_chk.c: Add header comment and include
31777         ../test-skeleton.c.
31778         (do_test): Mark static.
31779         (TEST_FUNCTION): Define.
31781         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31782         (IP_PMTUDISC_INTERFACE): Likewise.
31783         (IP_MULTICAST_IF): Likewise.
31784         (IP_MULTICAST_TTL): Likewise.
31785         (IP_MULTICAST_LOOP): Likewise.
31786         (IP_ADD_MEMBERSHIP): Likewise.
31787         (IP_DROP_MEMBERSHIP): Likewise.
31788         (IP_UNBLOCK_SOURCE): Likewise.
31789         (IP_BLOCK_SOURCE): Likewise.
31790         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31791         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31792         (IP_MSFILTER): Likewise.
31793         (MCAST_JOIN_GROUP): Likewise.
31794         (MCAST_BLOCK_SOURCE): Likewise.
31795         (MCAST_UNBLOCK_SOURCE): Likewise.
31796         (MCAST_LEAVE_GROUP): Likewise.
31797         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31798         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31799         (MCAST_MSFILTER): Likewise.
31800         (IP_MULTICAST_ALL): Likewise.
31801         (IP_UNICAST_IF): Likewise.
31803         * timezone/Makefile: Delete $(have-ksh) check.
31804         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31805         * timezone/tzselect.ksh: Add +x mode bits.
31807         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31808         (ANON_INODE_FS_MAGIC): Likewise.
31809         (BDEVFS_MAGIC): Likewise.
31810         (BINFMTFS_MAGIC): Likewise.
31811         (BTRFS_TEST_MAGIC): Likewise.
31812         (CRAMFS_MAGIC_WEND): Likewise.
31813         (DEBUGFS_MAGIC): Likewise.
31814         (ECRYPTFS_SUPER_MAGIC): Likewise.
31815         (EXT3_SUPER_MAGIC): Likewise.
31816         (EXT4_SUPER_MAGIC): Likewise.
31817         (FUTEXFS_SUPER_MAGIC): Likewise.
31818         (HOSTFS_SUPER_MAGIC): Likewise.
31819         (HUGETLBFS_MAGIC): Likewise.
31820         (MINIX3_SUPER_MAGIC): Likewise.
31821         (MTD_INODE_FS_MAGIC): Likewise.
31822         (NILFS_SUPER_MAGIC): Likewise.
31823         (OPENPROM_SUPER_MAGIC): Likewise.
31824         (PIPEFS_MAGIC): Likewise.
31825         (PSTOREFS_MAGIC): Likewise.
31826         (QNX6_SUPER_MAGIC): Likewise.
31827         (RAMFS_MAGIC): Likewise.
31828         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31829         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31830         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31831         (SECURITYFS_MAGIC): Likewise.
31832         (SELINUX_MAGIC): Likewise.
31833         (SMACK_MAGIC): Likewise.
31834         (SOCKFS_MAGIC): Likewise.
31835         (SQUASHFS_MAGIC): Likewise.
31836         (STACK_END_MAGIC): Likewise.
31837         (TMPFS_MAGIC): Likewise.
31838         (USBDEVICE_SUPER_MAGIC): Likewise.
31839         (V9FS_MAGIC): Likewise.
31840         (XENFS_SUPER_MAGIC): Likewise.
31841         (CRAMFS_MAGIC): Fix typo in comment.
31842         (EXT2_SUPER_MAGIC): Update comment.
31843         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31845 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31847         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31848         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31849         * sysdeps/unix/sysv/linux/arm: Move directory from
31850         ports/sysdeps/unix/sysv/linux/arm.
31851         * README: Update listing for arm-*-linux-gnueabi.
31853         * README: Remove mention of am33.
31855 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31857         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31858         than the comma operator, to avoid "rhs of comma has no effect"
31859         compiler warnings.
31860         (__sigfillset, __sigandset, __sigorset): Likewise.
31861         * include/signal.h (__sigemptyset): Likewise.
31862         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31864 2014-02-07  Allan McRae  <allan@archlinux.org>
31866         * version.h (RELEASE): Set to "development".
31867         (VERSION): Set to "2.19.90"
31868         * NEWS: Add 2.20 section.
31870 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31872         [BZ #16529]
31873         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31875 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31877         * manual/contrib.texi: Update entry for Carlos O'Donell,
31878         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31880 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31882         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31884         * sysdeps/unix/sysv/linux/kernel-features.h
31885         [__LINUX_KERNEL_VERSION >= 0x020621]
31886         (__ASSUME_PROC_PID_TASK_COMM): Define.
31888 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31890         [BZ #16398]
31891         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31892         conversion when destination buffer does not have enough space.
31893         * libio/tst-ftell-partial-wide.c: New test case.
31894         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31896         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31897         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31898         Leonard and Allan McRae.
31900 2014-02-04  David S. Miller  <davem@davemloft.net>
31902         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31903         32-bit.
31905 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31908         New file
31909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31910         New file
31911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31912         New file.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31914         New file.
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31916         New file.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31918         New file.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31920         New file.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31922         New file.
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31924         New file.
31925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31926         New file.
31927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31928         New file.
31929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31930         New file.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31932         New file.
31934 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31936         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31937         * shlib-versions: Likewise.
31939 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31940             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31942         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31943         (abilist-pattern): New variable, set to %-le.abilist.
31945         * Makerules (abilist-pattern): New variable.
31946         (vpath): Use $(abilist-pattern) in place of %.abilist.
31947         (check-abi-% pattern rule): Likewise.
31948         (check-abi, update-abi): Likewise.
31950 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31954 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31956         * manual/startup.texi: Add next, previous, and top entries for
31957         the `Program Arguments' and `Environment Variables' nodes.
31959 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31961         * manual/macros.texi: Add comments before MTASC-safety macros.
31963         * manual/users.texi: Document MTASC-safety properties.
31965         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31966         (pthread_getspecific, pthread_setspecific): Format with
31967         @deftypefun, and add @safety note.
31968         * manual/signal.texi: Move comments that analyze the above
31969         functions to their home place.
31971 2014-02-03  Allan McRae  <allan@archlinux.org>
31973         * po/sl.po: Update Slovenian translation from translation project.
31975 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31977         * manual/time.texi (timegm): Add missing blank after @c.
31978         Reported by Joseph Myers <joseph@codesourcery.com>.
31980 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31982         * manual/check-safety.sh: New.
31983         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31985         * manual/terminal.texi: Document MTASC-safety properties.
31987         * manual/filesys.texi: Document MTASC-safety properties.
31989         * manual/errno.texi: Document MTASC-safety properties.
31991         * manual/intro.texi: Document safety identifiers and
31992         conditionals.
31994         * manual/string.texi (wcstok): Fix prototype.
31995         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31997         * manual/time.texi: Document MTASC-safety properties.
31999         * manual/string.texi: Document MTASC-safety properties.
32001         * manual/threads.texi: Document MTASC-safety properties.
32003         * manual/stdio.texi: Document MTASC-safety properties.
32005         * manual/syslog.texi: Document MTASC-safety properties.
32007         * manual/sysinfo.texi: Document MTASC-safety properties.
32009         * manual/startup.texi: Document MTASC-safety properties.
32011         * manual/socket.texi: Document MTASC-safety properties.
32013         * manual/signal.texi: Document MTASC-safety properties.
32015 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32017         * manual/setjmp.texi: Document MTASC-safety properties.
32019         * manual/search.texi: Document MTASC-safety properties.
32021         * manual/resource.texi: Document MTASC-safety properties.
32023         * manual/process.texi: Document MTASC-safety properties.
32025         * manual/platform.texi: Document MTASC-safety properties.
32027         * manual/pipe.texi: Document MTASC-safety properties.
32029         * manual/pattern.texi: Document MTASC-safety properties.
32031         * manual/message.texi: Document MTASC-safety properties.
32033         [BZ #12751]
32034         * manual/memory.texi: Document MTASC-safety properties.
32036         * manual/math.texi: Document MTASC-safety properties.
32038         * manual/locale.texi: Document MTASC-safety properties.
32040         * manual/llio.texi: Document MTASC-safety properties.
32042         * manual/libdl.texi: New.
32044         * manual/lang.texi: Document MTASC-safety properties.
32046         * manual/job.texi: Document MTASC-safety properties.
32048         * manual/getopt.texi: Document MTASC-safety properties.
32050         * manual/ctype.texi: Document MTASC-safety properties.
32052 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32054         [BZ #16046]
32055         * csu/libc-tls.c (static_map): Remove variable.
32056         (__libc_setup_tls): Use main executable's link map for TLS data.
32057         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32058         casing for LM_ID_BASE and GL(dl_nns).
32059         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32060         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32061         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32062         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32063         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32064         member.
32065         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32066         l_phnum members.
32068 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32070         * manual/debug.texi: Document MTASC-safety properties.
32072 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32074         [BZ #16510]
32075         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32076         of __x86_64__ when disabling x87 inline functions.
32078 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32080         * manual/charset.texi: Document MTASC-safety properties.
32082         * manual/crypt.texi: Document MTASC-safety properties.
32084         * manual/conf.texi: Document MTASC-safety properties.
32086         * manual/arith.texi: Document MTASC-safety properties.
32088         * manual/argp.texi: Document MTASC-safety properties.
32090         * manual/macros.texi: Introduce macros to document multi
32091         thread, asynchronous signal and asynchronous cancellation
32092         safety properties.
32093         * manual/intro.texi: Introduce the properties themselves.
32095 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32097         * sysdeps/sh/sh4/Makefile: New file.
32099 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32101         * math/gen-libm-test.pl ($srcdir): New variable.
32102         ($auto_input): Use it.
32104 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32106         [BZ #16506]
32107         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32108         access beyond array bounds when parsing netgroups file.
32110         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32111         the old buffer before realloc.
32113 2014-01-27  Allan McRae  <allan@archlinux.org>
32115         * po/fr.po: Update French translation from translation project.
32117 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32119         * sysdeps/sh/libm-test-ulps: Regenerate.
32121 2014-01-24  David S. Miller  <davem@davemloft.net>
32123         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32125 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32127         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32128         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32130 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32132         [BZ #16474]
32133         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32134         string pointers after reallocation.
32136 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32138         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32139         __SH4A__ instead of __SH_FPU_ANY__.
32141 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32143         * sysdeps/sh/fpu_control.h: New file.
32144         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32145         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32146         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32147         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32148         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32149         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32150         * sysdeps/sh/sys/ucontext.h: Remove.
32151         * sysdeps/sh/sys: Remove directory.
32153 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32155         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32156         s390/sys/ucontext.h.
32157         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32158         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32160 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32162         [BZ #15605]
32163         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32165 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32167         [BZ#16431]
32168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32169         Adjust the vDSO correctly for internal calls.
32170         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32172 2014-01-20  Allan McRae  <allan@archlinux.org>
32174         * po/ca.po: Update Catalan translation from translation project.
32176 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32178         * sysdeps/s390/sotruss-lib.c: New file.
32180 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32182         [BZ#16430]
32183         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32184         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32185         local calls issues by not having a PLT stub required for IFUNC calls.
32186         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32188 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32190         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32191         * math/test-fpucw-static.c: Likewise.
32193 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32195         [BZ #16453]
32196         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32198 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32200         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32201         implementation for powerpc.
32203 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32205         [BZ #14782]
32206         * sysdeps/posix/system.c (__libc_system): Do not enable
32207         asynchronous cancellation.
32209 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32211         [BZ #16427]
32212         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32213         handling only for numbers special also in the IEEE case.
32215 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32217         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32219 2014-01-11  Allan McRae  <allan@archlinux.org>
32221         * po/bg.po: Update Bulgarian translation from translation project.
32223         * po/de.po: Update German translation from translation project.
32225 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32227         * sysdeps/generic/gcc-compat.h: New file.
32229 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32231         * benchtests/asin-inputs: Correct slow inputs.
32232         * benchtests/acos-inputs: Likewise.
32234 2014-01-10  Allan McRae  <allan@archlinux.org>
32236         * po:sv.po: Update Swedish translation from translation project.
32238         * po/vi.po: Update Vietnamese translation from translation project.
32240         * po/eo.po: Update Esperanto translation from translation project.
32242         * po/cs.po: Update Czech translation from translation project.
32244         * po/nl.po: Update Dutch translation from translation project.
32246         * po/pl.po: Update Polish translation from translation project.
32248         * po/ru.po: Update Russian translation from translation project.
32250         * po/uk.po: Update Ukrainian translation from translation project.
32252 2014-01-08  Brooks Moses  <bmoses@google.com>
32254         * elf/dl-load.c: Fix comment typo.
32256 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32258         * po/header.pot: Rename to...
32259         * po/pot.header: ... this.
32260         * po/Makefile: Use pot.header.
32262 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32263             Maxim Kuvyrkov  <maxim@kugelworks.com>
32265         [BZ #16394]
32266         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32267         SRC and DEST against LEN.
32269 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32271         [BZ #16414]
32272         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32273         implementation.
32274         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32276 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32280 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32282         [BZ #16408]
32283         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32284         for large positive arguments.
32286 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32288         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32290         * math/auto-libm-test-in: Mark various tests with
32291         xfail-rounding:ldbl-128ibm.
32292         * math/auto-libm-test-out: Regenerated.
32294         [BZ #16407]
32295         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32296         Increase overflow threshold.
32298 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32300         [BZ #14286]
32301         * stdio-common/vfprintf.c: Check for integer overflow.
32303 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32305         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32306         the first argument and return value of __tls_get_addr_internal.
32308 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32310         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32311         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32313 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32315         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32316         * sysdeps/s390/rtld-global-offsets.sym: New file.
32317         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32318         GLIBC_2.19 symbol.
32319         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32320         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32321         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32322         ... this.
32323         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32324         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32325         ... this.
32326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32327         Regenerate.
32328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32329         Regenerate.
32330         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32331         halfs of GPRs for high_gprs contexts.
32332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32333         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32334         field.
32335         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32336         uc_flags field.
32337         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32338         64 bit versions:
32339         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32340         for high GPRs (uc_high_gprs) and for future extensions
32341         (__reserved).
32342         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32343         for future extensions (__reserved).
32344         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32345         64 bit versions:
32346         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32347         SC_HIGHGPRS offset definition.
32348         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32349         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32351         * Versions.def: Add GLIBC_2.19 for libpthread.
32352         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32353         siglongjmp for libpthread with GLIBC_2.19 symver.
32354         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32355         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32356         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32357         * sysdeps/s390/__longjmp.c: New file.
32358         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32359         * sysdeps/s390/longjmp.c: New file.
32360         * sysdeps/s390/setjmp.S: New file.
32361         * sysdeps/s390/sigjmp.S: New file.
32362         * sysdeps/s390/v1-longjmp.c: New file.
32363         * sysdeps/s390/v1-setjmp.h: New file.
32364         * sysdeps/s390/v1-sigjmp.c: New file.
32365         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32366         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32367         GLIBC_2.19 version.
32368         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32369         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32370         versioned symbols for ____longjmp_chk.
32371         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32372         Likewise.
32373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32374         Regenerate.
32375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32376         Regenerate.
32377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32378         Regenerate.
32379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32380         Regenerate.
32381         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32382         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32383         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32384         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32385         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32386         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32387         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32388         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32389         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32390         * sysdeps/s390/rtld-__longjmp.c: New file.
32391         * sysdeps/s390/rtld-setjmp.S: New file.
32393 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32395         [BZ #16400]
32396         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32397         Return -__logl (x) for small positive arguments without evaluating
32398         a polynomial.
32400 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32402         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32403         Rename to ...
32404         (__ptrace_peeksiginfo_args): ... this.
32405         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32406         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32407         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32409 2014-01-06  Allan McRae  <allan@archlinux.org>
32411         * inet/netinet/in.h: Fix typo in comment.
32413 2014-01-05  Andreas Jaeger  <aj@suse.de>
32415         * sysdeps/i386/fpu/libm-test-ulps: Update.
32417 2014-01-05  Allan McRae  <allan@archlinux.org>
32419         * po/libc.pot: Regenerated.
32421         * malloc/memusagestat.c: Fix gettext call formatting.
32423 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32425         * nscd/nscd.c: Improve usage() output.
32427 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32429         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32430         * sysdeps/unix/sysv/linux/configure: Regenerated.
32431         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32432         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32434 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32436         [BZ #16390]
32437         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32438         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32440 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32443         extra tokens at end of #undef directive.
32444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32445         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32446         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32448 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32450         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32452         * math/auto-libm-test-in: Mark various tests with
32453         xfail-rounding:ldbl-128ibm.
32454         * math/auto-libm-test-out: Regenerated.
32456 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32458         [BZ #16386]
32459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32460         numbers with subnormal high part when calculating exponent.
32462         [BZ #16385]
32463         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32464         fabs.
32466         [BZ #16384]
32467         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32468         M_LN2l.
32469         (__ieee754_acoshl): Use __log1pl not __log1p.
32471 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32473         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32474         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32475         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32476         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32477         (reused_arena, arena_get2): Convert to GNU style.
32478         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32479         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32480         (memalign_check, __malloc_set_state): Likewise.
32481         * malloc/mallocbug.c (main): Likewise.
32482         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32483         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32484         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32485         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32486         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32487         (__posix_memalign, malloc_info): Likewise.
32488         * malloc/malloc.h: Likewise.
32489         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32490         (mallochook, memalignhook, reallochook, mabort): Likewise.
32491         * malloc/mcheck.h: Likewise.
32492         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32493         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32494         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32495         * malloc/morecore.c (__default_morecore): Likewise.
32496         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32497         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32498         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32499         (print_and_abort): Likewise.
32500         * malloc/obstack.h: Likewise.
32501         * malloc/set-freeres.c (__libc_freeres): Likewise.
32502         * malloc/tst-mallocstate.c (main): Likewise.
32503         * malloc/tst-mtrace.c (main): Likewise.
32504         * malloc/tst-realloc.c (do_test): Likewise.
32506 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32508         [BZ #16366]
32509         * nscd/netgroupcache.c (do_notfound): New function.
32510         (addgetnetgrentX): Use it.
32512         [BZ # 16365]
32513         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32514         NSS_STATUS_NOTFOUND.
32516 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32518         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32521 2014-01-01  Allan McRae  <allan@archlinux.org>
32523         * scripts/update-copyrights: Update configure input file suffix.
32525         * NEWS: Update copyright year.
32526         * catgets/gencat.c: Likewise.
32527         * csu/version.c: Likewise.
32528         * debug/catchsegv.sh: Likewise.
32529         * debug/pcprofiledump.c: Likewise.
32530         * debug/xtrace.sh: Likewise.
32531         * elf/ldconfig.c: Likewise.
32532         * elf/ldd.bash.in: Likewise.
32533         * elf/pldd.c: Likewise.
32534         * elf/sotruss.ksh: Likewise.
32535         * elf/sprof.c: Likewise.
32536         * iconv/iconv_prog.c: Likewise.
32537         * iconv/iconvconfig.c: Likewise.
32538         * locale/programs/locale.c: Likewise.
32539         * locale/programs/localedef.c: Likewise.
32540         * login/programs/pt_chown.c: Likewise.
32541         * malloc/memusage.sh: Likewise.
32542         * malloc/memusagestat.c: Likewise.
32543         * malloc/mtrace.pl: Likewise.
32544         * manual/libc.texinfo: Likewise.
32545         * nscd/nscd.c: Likewise.
32546         * nss/getent.c: Likewise.
32547         * nss/makedb.c: Likewise.
32548         * posix/getconf.c: Likewise.
32549         * scripts/test-installation.pl: Likewise.
32551         * All files with FSF copyright notices: Update copyright dates
32552         using scripts/update-copyrights.
32553         * intl/plural.c: Regenerated.
32554         * locale/programs/charmap-kw.h: Likewise.
32555         * locale/programs/locfile-kw.h: Likewise.
32557 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32559         * sysdeps/unix/sysv/linux/configure: Regenerated.
32560         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32561         the linux/fanotify.h header.
32562         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32563         HAVE_LINUX_FANOTIFY_H is defined.
32565 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32567         * benchtests/cos-inputs: New inputs.
32568         * benchtests/sin-inputs: Likewise.
32570         * benchtests/atan-inputs: New inputs. Fix name of multiple
32571         precision fallback inputs.
32573         * benchtests/atanh-inputs: New inputs.
32574         * benchtests/tanh-inputs: Likewise.
32576         * benchtests/acosh-inputs: New inputs.
32577         * benchtests/asinh-inputs: Likewise.
32579         * benchtests/cosh-inputs: New inputs.
32580         * benchtests/sinh-inputs: Likewise.
32582         * benchtests/acos-inputs: Add more inputs.
32583         * benchtests/asin-inputs: Likewise.
32585 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32587         [BZ #16375]
32588         * manual/arith.texi: Fix spelling.
32589         * manual/charset.texi: Likewise.
32590         * manual/errno.texi: Likewise.
32591         * manual/filesys.texi: Likewise.
32592         * manual/lang.texi: Likewise.
32593         * manual/llio.texi: Likewise.
32594         * manual/locale.texi: Likewise.
32595         * manual/message.texi: Likewise.
32596         * manual/resource.texi: Likewise.
32597         * manual/search.texi: Likewise.
32598         * manual/setjmp.texi: Likewise.
32599         * manual/stdio.texi: Likewise.
32600         * manual/string.texi: Likewise.
32601         * manual/sysinfo.texi: Likewise.
32602         * manual/time.texi: Likewise.
32604 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32606         * po/sl.po: New file.
32608 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32610         * .gitignore: Add core/.gdbinit/.gdb_history.
32612 2013-12-27  Allan McRae  <allan@archlinux.org>
32614         [BZ #16369]
32615         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32616         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32618 2013-12-24  Brooks Moses  <bmoses@google.com>
32620         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32621         all compilers that claim C++98 compliance, not just GCC.
32622         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32623         Likewise.
32625 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32627         * NEWS: Restore accidentally deleted bug-fix entries.
32629 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32630             Ondřej Bílka  <neleai@seznam.cz>
32632         [BZ #15073]
32633         * malloc/malloc.c (_int_free): Perform sanity check only if we
32634         have_lock.
32636 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32638         [BZ #12986]
32639         * manual/stdio.texi (String Input Conversions): Clarify that character
32640         classes are not supported.
32642 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32646 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #16337]
32649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32650         Calculate results for small negative arguments directly rather
32651         than using reflection formula with special underflow handling.
32653         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32654         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32655         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32656         (fchflags): Likewise.
32657         (revoke): Likewise.
32658         (setlogin): Likewise.
32659         (sigaltstack): Likewise.
32660         (wait4): Likewise.
32661         (sigblock): Remove.
32662         (sigsetmask): Likewise.
32663         (wait3): Likewise.
32664         (waitpid): Likewise.
32665         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32666         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32667         file.
32668         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32669         * sysdeps/unix/bsd/Makefile: ... here.
32670         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32671         * sysdeps/unix/bsd/Versions: ... here.
32672         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32673         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32674         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32675         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32676         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32677         * sysdeps/unix/bsd/sigblock.c: ... here.
32678         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32679         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32680         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32681         * sysdeps/unix/bsd/sigvec.c: ... here.
32682         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32683         * sysdeps/unix/bsd/tcdrain.c: ... here.
32684         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32685         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32686         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32687         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32688         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32689         * sysdeps/unix/bsd/wait.c: ... here.
32690         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32691         * sysdeps/unix/bsd/wait3.c: ... here.
32692         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32693         * sysdeps/unix/bsd/waitpid.c: ... here.
32695 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32697         [BZ #16356]
32698         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32699         round-to-nearest for [!USE_AS_EXPM1L].
32700         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32701         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32702         more tests of exp and exp10.  Expect some exp10 tests to miss
32703         exceptions or fail in directed rounding modes.
32704         * math/auto-libm-test-out: Regenerated.
32705         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32706         (exp10_test_tonearest): New function.
32707         (exp10_towardzero_test_data): New array.
32708         (exp10_test_towardzero): New function.
32709         (exp10_downward_test_data): New array.
32710         (exp10_test_downward): New function.
32711         (exp10_upward_test_data): New array.
32712         (exp10_test_upward): New function.
32713         (main): Call the new functions.
32714         * sysdeps/i386/fpu/libm-test-ulps: Update.
32715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32717 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32719         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32720         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32721         * math/auto-libm-test-out: Regenerated.
32722         * math/libm-test.inc (acosh_test_data): Add more tests.
32723         (atanh_test_data): Likewise.
32724         (ceil_test_data): Likewise.
32725         (copysign_test_data): Likewise.
32726         * sysdeps/i386/fpu/libm-test-ulps: Update.
32727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729         * timezone/checktab.awk: Update from tzcode 2013i.
32730         * timezone/private.h: Likewise.
32731         * timezone/scheck.c: Likewise.
32732         * timezone/tzfile.h: Likewise.
32733         * timezone/tzselect.ksh: Likewise.
32734         * timezone/zdump.c: Likewise.
32735         * timezone/zic.c: Likewise.
32737         * math/auto-libm-test-in: Add tests of cpow.
32738         * math/auto-libm-test-out: Regenerated.
32739         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32741         mpc_cc_c.
32742         (func_calc_desc): Add mpc_cc_c union field.
32743         (test_functions): Add cpow.
32744         (special_fill_2pi): New function.
32745         (special_real_inputs): Add 2pi.
32746         (calc_generic_results): Handle mpc_cc_c.
32747         * sysdeps/i386/fpu/libm-test-ulps: Update.
32748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32750         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32751         csqrt, ctan and ctanh.
32752         * math/auto-libm-test-out: Regenerated.
32753         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32754         (TEST_COND_x86): Likewise.
32755         (ccos_test_data): Use AUTO_TESTS_c_c.
32756         (ccosh_test_data): Likewise.
32757         (cexp_test_data): Likewise.
32758         (clog_test_data): Likewise.
32759         (csqrt_test_data): Likewise.
32760         (ctan_test_data): Likewise.
32761         (ctan_tonearest_test_data): Likewise.
32762         (ctan_towardzero_test_data): Likewise.
32763         (ctan_downward_test_data): Likewise.
32764         (ctan_upward_test_data): Likewise.
32765         (ctanh_test_data): Likewise.
32766         (ctanh_tonearest_test_data): Likewise.
32767         (ctanh_towardzero_test_data): Likewise.
32768         (ctanh_downward_test_data): Likewise.
32769         (ctanh_upward_test_data): Likewise.
32770         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32771         mpc_c_c.
32772         (func_calc_desc): Add mpc_c_c union field.
32773         (FUNC_mpc_c_c): New macro.
32774         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32775         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32776         ctanh.
32777         (special_fill_min_subnorm_p120): New function.
32778         (special_real_inputs): Add min_subnorm_p120.
32779         (calc_generic_results): Handle mpc_c_c.
32780         * sysdeps/i386/fpu/libm-test-ulps: Update.
32781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32783 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32785         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32786         (do_sin_slow): New functions.
32787         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32788         (cslow2, csloww1, csloww2): Use the new functions.
32790         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32791         Use M to change sign of result instead of X.  Assume X is
32792         positive.
32793         (csloww1): Likewise.
32794         (__sin): Adjust.
32795         (__cos): Adjust.
32797         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32798         arguments A and DA.
32799         (__sin): Adjust.
32800         (__cos): Likewise.
32802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32803         (__cos): Likewise.
32804         (sloww1): Don't adjust sign of DX.
32805         (csloww1): Likewise.
32806         (sloww2): Use X directly and don't adjust sign of DX.
32807         (csloww2): Likewise.
32809 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32811         * math/auto-libm-test-in: Add tests of cabs and carg.
32812         * math/auto-libm-test-out: Regenerated.
32813         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32814         (carg_test_data): Likewise.
32815         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32816         mpc_c_f.
32817         (func_calc_desc): Add mpc_c_f union field.
32818         (test_functions): Add cabs and carg.
32819         (calc_generic_results): Handle mpc_c_f.
32821         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32822         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32823         as a macro and a compat symbol.
32824         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32825         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32826         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32827         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32828         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32829         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32830         not use .hidden.
32831         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32832         Likewise.
32833         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32834         Likewise.
32835         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32836         Likewise.
32837         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32838         Likewise.
32839         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32840         Likewise.
32841         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32842         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32843         from GLIBC_2.3.2.
32845 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32851         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32852         trailing whitespace removed.
32853         * scripts/config.guess: Update to version 2013-11-29.
32854         * scripts/config.sub: Update to version 2013-10-01.
32856         * math/auto-libm-test-in: Add tests of sincos.
32857         * math/auto-libm-test-out: Regenerated.
32858         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32860         mpfr_f_11.
32861         (func_calc_desc): Add mpfr_f_11 union field.
32862         (test_functions): Add sincos.
32863         (calc_generic_results): Handle mpfr_f_11.
32864         * sysdeps/i386/fpu/libm-test-ulps: Update.
32865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32867 2013-12-19  Andreas Schwab  <schwab@suse.de>
32869         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32870         CALL_MCOUNT.
32871         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32872         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32873         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32875 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32877         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32878         * sysdeps/i386/fpu/libm-test-ulps: Update.
32879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32881         [BZ #16293]
32882         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32883         round-to-nearest mode when using frndint.
32884         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32885         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32887         Likewise.
32888         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32889         sinh test to fail.
32890         * math/auto-libm-test-out: Regenerated.
32891         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32892         (TEST_COND_x86): Likewise.
32893         (expm1_tonearest_test_data): New array.
32894         (expm1_test_tonearest): New function.
32895         (expm1_towardzero_test_data): New array.
32896         (expm1_test_towardzero): New function.
32897         (expm1_downward_test_data): New array.
32898         (expm1_test_downward): New function.
32899         (expm1_upward_test_data): New array.
32900         (expm1_test_upward): New function.
32901         (main): Run the new test functions.
32902         * sysdeps/i386/fpu/libm-test-ulps: Update.
32903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32905         * include/features.h: Update comment documenting feature test
32906         macros.  Mention _DEFAULT_SOURCE in comment.
32907         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32908         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32909         _BSD_SOURCE and _SVID_SOURCE.
32910         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32911         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32912         !_SVID_SOURCE]: Likewise.
32913         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32914         (__USE_POSIX_IMPLICITLY): Define.
32915         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32916         (_POSIX_SOURCE): Undefine and redefine.
32917         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32918         (_POSIX_C_SOURCE): Likewise.
32919         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32920         (Feature Test Macros): Update documentation of default features.
32922 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32924         * benchtests/Makefile: Add bench-strtok.
32925         * benchtests/bench-strtok.c: New file: strtok benchtest.
32927 2013-12-19  Allan McRae  <allan@archlinux.org>
32929         * manual/install.texi: Suppress menu for plain text output.
32930         * INSTALL: Regenerated.
32932 2013-12-18  Brooks Moses  <bmoses@google.com>
32934         [BZ #15846]
32935         * misc/getauxval.c: Include errno.h.
32936         (__getauxval): Set errno to ENOENT if the requested type is not
32937         found.
32938         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32939         don't declare with __attribute_const__.
32940         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32941         * manual/startup.texi: Document that getauxval sets errno.
32943 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32945         * math/auto-libm-test-in: Add tests of jn and yn.
32946         * math/auto-libm-test-out: Regenerated.
32947         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32948         (yn_test_data): Likewise.
32949         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32950         mpfr_if_f.
32951         (func_calc_desc): Add mpfr_if_f union field.
32952         (FUNC_mpfr_if_f): New macro.
32953         (test_functions): Add jn and yn.
32954         (calc_generic_results): Assert type of second input for
32955         mpfr_ff_f.  Handle mpfr_if_f.
32956         (output_for_one_input_case): Disable all checking for arguments
32957         fitting floating-point types in case of an integer argument.
32958         * sysdeps/i386/fpu/libm-test-ulps: Update.
32959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32962         Don't expect fegetround reference in libm.so.
32964 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32966         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32967         $(config-cflags-nofma).
32969 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32971         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32972         * math/auto-libm-test-out: Regenerated.
32974         [BZ #16338]
32975         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32976         to determine exponent and adjust argument to have exponent of -1.
32977         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32978         log2.
32979         * math/auto-libm-test-out: Regenerated.
32980         * sysdeps/i386/fpu/libm-test-ulps: Update.
32981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32983 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32985         * manual/probes.texi: Remove cases when per-thread arenas are
32986         disabled.
32988 2013-12-18  Andreas Schwab  <schwab@suse.de>
32990         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32991         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32992         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32993         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32994         * sysdeps/i386/i686/multiarch/Makefile: Update.
32995         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32997 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32999         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33000         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33002 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33004         [BZ #15968]
33005         Support TZ transition times < 00:00:00.
33006         This is needed for version-3 tz-format files; it supports time
33007         stamps past 2037 for America/Godthab (the only entry in the tz
33008         database for which this change is relevant).
33009         * manual/time.texi (TZ Variable): Document transition times
33010         from -167:59:59 through -00:00:01.
33011         * time/tzset.c (tz_rule): Time of day is now signed.
33012         (__tzset_parse_tz): Parse negative time of day.
33014         Document TZ transition times >= 25:00:00.
33015         * manual/time.texi (TZ Variable): Document transition times from
33016         25:00:00 through 167:59:59.  These are already supported, and this
33017         support will help with version-3 tz-format files.
33019         * manual/time.texi (TZ Variable): Modernize North America example
33020         to reflect current (i.e., 2007-and-later) daylight saving rules.
33022         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33024 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33026         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33027         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33028         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33030         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33031         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33032         * sysdeps/unix/bsd/clock.c: Likewise.
33033         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33034         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33035         * sysdeps/unix/bsd/init-posix.c: Likewise.
33036         * sysdeps/unix/bsd/poll.c: Likewise.
33037         * sysdeps/unix/bsd/ptsname.c: Likewise.
33038         * sysdeps/unix/bsd/seekdir.c: Likewise.
33039         * sysdeps/unix/bsd/setegid.c: Likewise.
33040         * sysdeps/unix/bsd/seteuid.c: Likewise.
33041         * sysdeps/unix/bsd/setgid.c: Likewise.
33042         * sysdeps/unix/bsd/setrgid.c: Likewise.
33043         * sysdeps/unix/bsd/setruid.c: Likewise.
33044         * sysdeps/unix/bsd/setsid.c: Likewise.
33045         * sysdeps/unix/bsd/setuid.c: Likewise.
33046         * sysdeps/unix/bsd/sigaction.c: Likewise.
33047         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33048         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33049         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33050         * sysdeps/unix/bsd/telldir.c: Likewise.
33051         * sysdeps/unix/bsd/times.c: Likewise.
33052         * sysdeps/unix/bsd/usleep.c: Likewise.
33054         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33055         ($(objpfx)libbsd-compat.a): Remove rule.
33057         * include/features.h (__FAVOR_BSD): Do not define.
33058         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33059         features conflicting with POSIX.
33060         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33061         (_BSD_SOURCE): Remove description of not being a subset of other
33062         feature test macros.
33063         * manual/job.texi (getpgrp): Do not document BSD version.
33064         (getpgid): Do not document by reference to BSD getpgrp.
33065         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33066         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33067         * signal/signal.h [__FAVOR_BSD]: Likewise.
33068         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33069         instead of making contents conditional on [__FAVOR_BSD].
33070         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33072 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33076 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33078         [BZ #16314]
33079         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33080         values below 2**-450, not 2**-500.
33081         * math/auto-libm-test-in: Don't allow spurious underflow from
33082         hypot.
33083         * math/auto-libm-test-out: Regenerated.
33085         [BZ #16316]
33086         [BZ #16330]
33087         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33088         values of ha and hb and sort them after adjusting subnormal
33089         arguments.
33090         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33091         Likewise.
33092         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33093         values of ea and eb and sort them after adjusting subnormal
33094         arguments.
33095         * math/auto-libm-test-in: Do not expect some hypot tests of
33096         subnormals to fail.  Add more hypot tests.
33097         * math/auto-libm-test-out: Regenerated.
33099 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33101         [BZ #13304]
33102         * sysdeps/sh/s_fma.c: New file.
33103         * sysdeps/sh/s_fmaf.c: New file.
33104         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33105         version.
33106         * sysdeps/sh/Implies: Add sh/soft-fp.
33108 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33110         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33111         level of indirection to members `objname', `errstring', `malloced'.
33112         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33113         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33114         it as the __longjmp argument (just pass 1 instead).
33115         (_dl_catch_error): Initialize C with argument pointers and address of
33116         volatile local ERRCODE rather than copying values out of C at return.
33118 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33120         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33121         * math/auto-libm-test-out: Regenerated.
33122         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33123         (hypot_test_data): Likewise.
33124         (pow_test_data): Likewise.
33125         (pow_tonearest_test_data): Likewise.
33126         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33127         mpfr_ff_f.
33128         (func_calc_desc): Add mpfr_ff_f union field.
33129         (FUNC_mpfr_ff_f): New macro.
33130         (test_functions): Add atan2, hypot and pow.
33131         (special_fill_min): New function.
33132         (special_fill_minus_min): Likewise.
33133         (special_fill_min_subnorm): Likewise.
33134         (special_fill_minus_min_subnorm): Likewise.
33135         (special_real_inputs): Add min, -min, min_subnorm and
33136         -min_subnorm.
33137         (calc_generic_results): Handle mpfr_ff_f.
33138         * sysdeps/i386/fpu/libm-test-ulps: Update.
33139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141 2013-12-16  Will Newton  <will.newton@linaro.org>
33143         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33144         (Aligned Memory Blocks): Add documentation for aligned_alloc
33145         and suggest it as an alternative to posix_memalign.
33146         (Hooks for Malloc): Document __memalign_hook is also called
33147         for aligned_alloc.  (Summary of Malloc): Add summary for
33148         aligned alloc.  Document __memalign_hook is also called
33149         for aligned_alloc.
33151 2013-12-16  Will Newton  <will.newton@linaro.org>
33153         * manual/memory.texi (Malloc Examples): Clarify default
33154         alignment documentation.  Suggest posix_memalign rather
33155         than memalign or valloc.
33156         (Aligned Memory Blocks): Remove suggestion to use memalign
33157         or valloc.  Remove obsolete comment about BSD.
33158         Document memalign errno values and mark the function obsolete.
33159         Document posix_memalign returned error codes.  Mark valloc
33160         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33161         called for posix_memalign and valloc.
33162         (Summary of Malloc): Add posix_memalign to function summary.
33163         __memalign_hook is also called for posix_memalign and valloc.
33165 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33167         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33168         TAYLOR_SIN.
33169         (__sin): Adjust.
33170         (__cos): Likewise.
33171         (sloww): Use mynumber union.  Expand ternary operator into
33172         if-else statements.
33173         (cslow): use mynumber union.
33175 2013-12-16  Allan McRae  <allan@archlinux.org>
33177         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33178         * configure: Regenerated.
33180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33182         [BZ #14120]
33183         * configure.ac: Added --enable-maintainer-mode. Check for
33184         autoconf when enabled.
33185         * configure: Regenerated.
33187         * nscd/nscd.service: New file.
33188         * nscd/nscd.tmpfiles: New file.
33190 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33192         [BZ #12100]
33193         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33194         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33195         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33196         (strstr): Add __strstr_sse2_unaligned ifunc.
33197         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33198         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33199         (strcasestr): Remove __strcasestr_sse42 ifunc.
33200         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33204 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33206         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33207         * sysdeps/sh/bits/fenv.h: ... here.
33208         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33210 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33212         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33215         hypotf multiarch implementations.
33216         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33217         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33218         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33219         multiarch hypot for PPC64.
33220         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33221         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33222         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33223         multiarch hypotf for PPC64.
33225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33226         modff multiarch implementations.
33227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33230         multiarch modf for PPC64.
33231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33234         multiarch modff for PPC64.
33236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33237         and logl multiarch implementations.
33238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33241         multiarch logb for PPC64.
33242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33245         multiarch logb for PPC64.
33246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33249         multiarch logb for PPC64.
33251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33252         isinff multiarch implementation.
33253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33254         file.
33255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33257         multiarch isinf for PPC64.
33258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33259         file.
33260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33261         multiarch isinff for PPC64.
33263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33264         finitef multiarch implementation.
33265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33266         file.
33267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33269         multiarch finite for PPC64.
33270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33271         file.
33272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33273         multiarch finitef for PPC64.
33275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33276         lrint multiarch implementation.
33277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33278         file.
33279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33281         multiarch llrint for PPC64.
33282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33283         multiarch lrint for PPC64.
33285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33286         copysignf multiarch implementation.
33287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33288         file.
33289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33290         file.
33291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33292         multiarch copysign for PPC64.
33293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33294         multiarch copysignf for PPC64.
33296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33297         multiarch implementation.
33298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33299         file.
33300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33301         file.
33302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33303         file.
33304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33305         file.
33306         multiarch llround for PPC64.
33307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33308         multiarch trunc for PPC64.
33309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33310         multiarch truncf for PPC64.
33312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33313         multiarch implementation.
33314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33315         file.
33316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33317         file.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33319         file.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33321         file.
33322         multiarch llround for PPC64.
33323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33324         multiarch round for PPC64.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33326         multiarch roundf for PPC64.
33328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33329         multiarch implementation.
33330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33331         file.
33332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33333         file.
33334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33335         file.
33336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33337         file.
33338         multiarch llround for PPC64.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33340         multiarch floor for PPC64.
33341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33342         multiarch floorf for PPC64.
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33345         multiarch implementation.
33346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33347         file.
33348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33349         file.
33350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33351         file.
33352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33353         file.
33354         multiarch llround for PPC64.
33355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33356         multiarch ceil for PPC64.
33357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33358         multiarch ceilf for PPC64.
33360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33361         multiarch implementation.
33362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33363         file.
33364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33365         file.
33366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33367         file.
33368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33369         multiarch llround for PPC64.
33370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33371         multiarch lround for PPC64.
33373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33374         multiarch implementation.
33375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33378         file.
33379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33382         multiarch isnan for PPC64.
33383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33384         multiarch isnanf for PPC64.
33386         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33387         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33388         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33389         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33390         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33393         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33394         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33395         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33399         multiarch implementations.
33400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33401         (__libc_ifunc_impl_list): Likewise.
33402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33403         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33404         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33405         multiarch stpcpy for PPC64.
33407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33408         multiarch implementations.
33409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33410         (__libc_ifunc_impl_list): Likewise.
33411         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33412         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33413         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33414         multiarch strcpy for PPC64.
33416         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33417         redefine function name.
33418         (_wordcopy_fwd_dest_aligned): Likewise.
33419         (_wordcopy_bwd_aligned): Likewise.
33420         (_wordcopy_bwd_dest_aligned): Likewise.
33421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33422         multiarch implementations.
33423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33424         (__libc_ifunc_impl_list): Likewise.
33425         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33426         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33427         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33428         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33429         multiarch wcscpy for PPC64.
33431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33432         multiarch implementations.
33433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33434         (__libc_ifunc_impl_list): Likewise.
33435         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33436         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33437         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33438         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33439         multiarch wcscpy for PPC64.
33441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33442         multiarch implementations.
33443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33444         (__libc_ifunc_impl_list): Likewise.
33445         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33446         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33447         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33448         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33449         multiarch wcsrchr for PPC64.
33451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33452         multiarch implementations.
33453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33454         (__libc_ifunc_impl_list): Likewise.
33455         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33456         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33457         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33458         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33459         multiarch wcschr for PPC64.
33461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33462         multiarch implementations.
33463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33464         (__libc_ifunc_impl_list): Likewise.
33465         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33466         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33467         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33468         multiarch strchrnul for PPC64.
33470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33471         implementations.
33472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33473         (__libc_ifunc_impl_list): Likewise.
33474         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33475         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33476         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33477         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33478         strchr for PPC64.
33480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33481         implementations.
33482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33483         (__libc_ifunc_impl_list): Likewise.
33484         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33485         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33486         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33487         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33488         strncmp for PPC64.
33490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33491         multiarch implementations.
33492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33493         (__libc_ifunc_impl_list): Likewise.
33494         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33495         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33496         strncasecmp for PPC64.
33497         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33498         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33499         multiarch strncasecmp_l for PPC64.
33501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33502         multiarch implementations.
33503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33504         (__libc_ifunc_impl_list): Likewise.
33505         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33507         multiarch strcasecmp for PPC64.
33508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33509         file.
33510         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33511         multiarch strcasecmp_l for PPC64.
33513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33514         implementations.
33515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33516         (__libc_ifunc_impl_list): Likewise.
33517         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33518         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33519         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33520         strnlen for PPC64.
33522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33523         implementations.
33524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33525         (__libc_ifunc_impl_list): Likewise.
33526         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33527         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33528         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33529         strlen for PPC64.
33531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33532         implementations.
33533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33534         (__libc_ifunc_impl_list): Likewise.
33535         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33536         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33537         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33538         rawmemrchr for PPC64.
33540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33541         implementation.
33542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33543         (__libc_ifunc_impl_list): Likewise.
33544         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33545         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33546         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33547         memrchr for PPC64.
33549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33550         implementation.
33551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33552         (__libc_ifunc_impl_list): Likewise.
33553         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33554         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33555         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33556         memchr for PPC64.
33558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33559         implementation.
33560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33561         (__libc_ifunc_impl_list): Likewise.
33562         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33563         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33564         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33565         mempcpy for PPC64.
33567         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33568         avoid cretion of __bzero symbol.
33569         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33570         Likewise.
33571         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33572         Likewise.
33573         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33574         Likewise.
33575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33576         multiarch implementations.
33577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33578         (__libc_ifunc_impl_list): Likewise.
33579         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33580         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33581         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33582         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33583         bzero for PPC32.
33584         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33585         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33586         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33587         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33588         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33589         memset for PPC64.
33590         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33592         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33594         implementations.
33595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33596         (__libc_ifunc_impl_list): Likewise.
33597         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33598         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33599         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33600         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33601         memcmp for PPC64.
33603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33604         multiarch for POWER/PPC64.
33605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33606         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33608         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33611         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33613         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33614         memcpy for PPC64.
33616         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33617         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33618         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33619         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33620         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33621         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33622         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33623         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33624         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33625         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33626         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33627         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33628         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33629         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33630         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33639 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33641         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33643 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33645         * benchtests/Makefile (bench): Add exp2 and log2.
33646         (LDLIBS-bench-exp2): Add -lm.
33647         (LDLIBS-bench-log2): Likewise.
33648         * benchtests/exp2-inputs: New inputs file.
33649         * benchtests/log2-inputs: New inputs file.
33650         * benchtests/log-inputs: Add new inputs.
33651         * benchtests/tan-inputs: Likewise.
33653 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33655         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33656         definition...
33657         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33658         (csloww2): ... from here.
33660         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33661         instead of structures.
33662         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33663         (POLYNOMIAL): Likewise.
33664         (TAYLOR_SLOW): Likewise.
33665         (__sin): Likewise.
33666         (__cos): Likewise.
33667         (slow1): Likewise.
33668         (slow2): Likewise.
33669         (sloww): Likewise.
33670         (sloww1); Likewise.
33671         (sloww2): Likewise.
33672         (bsloww1): Likewise.
33673         (bsloww2): Likewise.
33674         (cslow2): Likewise.
33675         (csloww): Likewise.
33676         (csloww1): Likewise.
33677         (csloww2): Likewise.
33679 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33681         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33682         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33683         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33684         * malloc/hooks.c (realloc_check): Likewise.
33686         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33687         * malloc/arena.c: Remove PER_THREAD conditional.
33688         [!PER_THREAD]: Remove code.
33689         (ptmalloc_unlock_all2): Likewise.
33690         (ptmalloc_init): Likewise.
33691         (_int_new_arena): Likewise.
33692         (arena_get2): Likewise.
33693         * malloc/hooks.c (__malloc_get_state): Likewise.
33694         (__malloc_set_state): Likewise.
33695         * malloc/malloc.c: Likewise.
33696         (struct malloc_state): Likewise.
33697         (struct malloc_par): Likewise.
33698         (__libc_realloc): Likewise.
33699         (__libc_mallopt): Likewise.
33701 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33703         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33705 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33707         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33708         macro to a function.  Check for zero perturb_byte.
33709         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33711         * malloc/malloc.c: (force_reg): Remove.
33712         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33713         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33714         force_reg by atomic_forced_read.
33715         * malloc/arena.c (ptmalloc_init): Likewise.
33716         * malloc/hooks.c (top_check): Likewise.
33718 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33722 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33726 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33728         * math/auto-libm-test-in: Add tests of lgamma.
33729         * math/auto-libm-test-out: Regenerated.
33730         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33731         (M_LOG_2_SQRT_PIl): Likewise.
33732         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33733         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33734         mpfr_f_f1.
33735         (func_calc_desc): Add mpfr_f_f1 union field.
33736         (ARGS1): New macro.
33737         (ARGS2): Likewise.
33738         (ARGS3): Likewise.
33739         (ARGS4): Likewise.
33740         (RET1): Likewise.
33741         (RET2): Likewise.
33742         (CALC): Likewise.
33743         (FUNC): Likewise.
33744         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33745         (test_functions): Add lgamma.
33746         (calc_generic_results): Handle mpfr_f_f1.
33747         * sysdeps/i386/fpu/libm-test-ulps: Update.
33748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33750 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33752         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33753         __mpn_add_n for PowerPC64/POWER7.
33754         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33755         __mpn_sub_n for PowerPC64/POWER7.
33757         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33758         __mpn_addmul_1 for PowerPC64.
33759         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33760         __mpn_submul_1 for PowerPC64.
33761         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33762         for PowerPC64.
33763         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33764         for PowerPC64.
33766 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33768         [BZ #15089]
33769         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33771 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33773         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33775         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33776         add multiarch folders.
33777         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33778         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33779         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33780         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33781         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33782         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33783         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33784         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33785         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33786         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33787         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33796         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33798         New file.
33799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33800         New file.
33801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33802         multiarch __ieee754_hypot for PowerPC32.
33803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33804         New file.
33805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33806         New file.
33807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33808         multiarch __ieee754_hypotf for PowerPC32.
33810         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33811         long_double_symbol only if __logbl is defined.
33812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33813         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33815         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33816         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33817         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33818         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33819         path for implementation.
33820         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33821         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33823         logb, and logbl multiarch implementations for PowerPC32.
33824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33825         file.
33826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33827         file.
33828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33829         multiarch logb for PowerPC32.
33830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33831         file.
33832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33833         file.
33834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33835         multiarch logbf for PowerPC32.
33836         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33838         file.
33839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33840         multiarch logbl implementation for PowerPC32.
33842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33843         and modff multiarch implementations.
33844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33845         New file.
33846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33847         New file.
33848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33849         multiarch modf for PowerPC32.
33850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33851         New file.
33852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33853         New file.
33854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33855         multiarch modff for PowerPC32.
33857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33858         and lrintf multiarch implementations.
33859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33860         New file.
33861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33862         New file.
33863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33864         multiarch lrint for PowerPC32.
33865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33866         file: multiarch lrintf for PowerPC32.
33868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33869         and lroundf multiarch implementations.
33870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33871         New file.
33872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33873         New file.
33874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33875         New file.
33876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33877         multiarch lround for PowerPC32.
33878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33879         file: multiarch lroundf for PowerPC32.
33881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33882         copysign and copysignf multiarch implementations.
33883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33884         New file.
33885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33886         New file.
33887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33888         file: multiarch copysign for PowerPC32.
33889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33890         file: multiarch copysignf for PowerPC32.
33892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33893         and truncf multiarch implementations.
33894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33895         New file.
33896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33897         file.
33898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33899         multiarch trunc for PowerPC32.
33900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33901         New file.
33902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33903         New file.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33905         multiarch truncf for PowerPC32.
33907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33908         and roundf multiarch implementations.
33909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33910         New file.
33911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33912         file.
33913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33914         multiarch round for PowerPC32.
33915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33916         New file.
33917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33918         New file.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33920         multiarch roundf for PowerPC32.
33922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33923         and floorf multiarch implementations.
33924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33925         New file.
33926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33927         file.
33928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33929         multiarch floor for PowerPC32.
33930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33931         New file.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33933         New file.
33934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33935         multiarch floorf for PowerPC32.
33937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33938         and ceilf multiarch implementations.
33939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33940         New file.
33941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33942         file.
33943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33944         multiarch ceil for PowerPC32.
33945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33946         New file.
33947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33948         file.
33949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33950         multiarch ceilf for PowerPC32.
33952         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33953         is defined.
33954         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33955         FINITEF is defined.
33956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33957         and finitef multiarch implementations.
33958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33959         New file.
33960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33961         file.
33962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33963         multiarch finite for PowerPC32.
33964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33965         New file.
33966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33967         file: multiarch finitef for PowerPC32.
33969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33970         and isinff multiarch implementations.
33971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33972         file.
33973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33974         file.
33975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33976         multiarch isinf for PowerPC32.
33977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33978         New file.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33980         multiarch isinff for PowerPC32.
33982         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33983         alias when __isnan is defined.
33984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33985         and isnanf multiarch implementations.
33986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33987         file.
33988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33989         file.
33990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33991         file.
33992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33993         file.
33994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33995         multiarch isnan for PowerPC32.
33996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33997         New file.
33998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33999         New file.
34000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34001         multiarch isnanf for PowerPC32.
34003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34004         and sqrtf multiarch implementations.
34005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34006         file.
34007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34008         file.
34009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34010         multiarch sqrt for PowerPC32.
34011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34012         file.
34013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34014         file.
34015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34016         multiarch sqrtf for PowerPC32.
34018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34019         and llroundf multiarch implementations.
34020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34021         New file.
34022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34023         New file.
34024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34025         New file.
34026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34027         file: multiarch llround for PowerPC32.
34028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34029         file: multiarch llroundf for PowerPC32.
34031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34032         multiarch PowerPC32 fpu implementations.
34033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34034         New file.
34035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34036         New file.
34037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34038         multiarch llrint for PowerPC32.
34039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34040         New file.
34041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34042         New file.
34043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34044         file.
34046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34048         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34049         file.
34050         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34051         file.
34052         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34053         file.
34054         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34055         multiarch wordcopy for PPC32.
34056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34057         wordcopy objects.
34058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34059         (__libc_ifunc_impl_list): Likewise.
34060         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34061         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34062         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34063         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34064         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34065         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34067         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34069         file.
34070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34071         file.
34072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34073         file.
34074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34075         multiarch wcscpy for PPC32.
34076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34077         multiarch objects.
34078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34079         (__libc_ifunc_impl_list): Likewise.
34080         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34081         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34082         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34083         sysdeps/powerpc/power6/wcscpy.c.
34085         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34087         file.
34088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34089         file.
34090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34091         file.
34092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34093         multiarch wcsrchr for PPC32.
34094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34095         multiarch objects.
34096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34097         (__libc_ifunc_impl_list): Likewise.
34098         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34099         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34100         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34101         sysdeps/powerpc/power6/wcsrchr.c.
34103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34104         file.
34105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34106         file.
34107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34109         multiarch wcschr for PPc32.
34110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34111         multiarch objects.
34112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34113         (__libc_ifunc_impl_list): Likewise.
34114         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34115         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34116         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34117         sysdeps/powerpc/power6/wcschr.c.
34119         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34120         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34121         file.
34122         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34123         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34124         file: multiarch strchr for PPC32.
34125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34126         multiarch objects.
34127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34128         (__libc_ifunc_impl_list): Likewise.
34130         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34131         name.
34132         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34133         file.
34134         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34135         file.
34136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34137         multiarch strchrnul for PPC32.
34138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34139         multiarch objects.
34140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34141         (__libc_ifunc_impl_list): Likewise.
34143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34144         file.
34145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34146         multiarch strncasecmp for PPC32.
34147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34148         file.
34149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34150         multiarch strncasecmp_l for PPC32.
34151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34152         strncasecmp multiarch objects.
34153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34154         (__libc_ifunc_impl_list): Likewise.
34156         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34157         file.
34158         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34159         multiarch strncasecmp for PPC32.
34160         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34161         New file.
34162         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34163         multiarch strcasecmp_l for PPC32.
34164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34165         multiarch objects.
34166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34167         (__libc_ifunc_impl_list): Likewise.
34169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34170         file.
34171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34172         file.
34173         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34174         multiarch strncmp for PPC32.
34175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34176         multiarch objects.
34177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34178         (__libc_ifunc_impl_list): Likewise.
34180         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34181         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34182         file.
34183         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34184         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34186         multiarch objects.
34187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34188         (__libc_ifunc_impl_list): Likewise.
34190         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34191         file.
34192         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34193         file.
34194         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34196         multiarch objects.
34197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34198         (__libc_ifunc_impl_list): Likewise.
34200         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34201         file.
34202         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34203         file.
34204         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34205         multiarch rawmemchr for PPC32.
34206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34207         multiarch objects.
34208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34209         (__libc_ifunc_impl_list): Likewise.
34211         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34212         file.
34213         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34214         file.
34215         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34216         file: memrchr multiarch for PPC32.
34217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34218         multiarch objects.
34219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34220         (__libc_ifunc_impl_list): Likewise.
34222         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34223         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34224         file.
34225         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34226         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34227         multiarch memchr for PPC32.
34228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34229         multiarch objects.
34230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34231         (__libc_ifunc_impl_list): Likewise.
34233         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34234         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34235         file.
34236         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34237         file.
34238         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34239         file: multiarch mempcpy for PPC32.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34241         multiarch objects.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34243         (__libc_ifunc_impl_list): Likewise.
34245         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34246         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34248         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34249         multiarch bzero for PPC32.
34250         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34251         file.
34252         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34253         file.
34254         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34255         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34256         file: multiarch memset for PPC32.
34257         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34259         memset multiarch objects.
34260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34261         (__libc_ifunc_impl_list): Likewise.
34263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34264         file.
34265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34267         memcmp for PPC32.
34268         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34270         multiarch objects.
34271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34272         (__libc_ifunc_impl_list): Likewise.
34274         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34275         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34277         file.
34278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34279         file.
34280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34281         file.
34282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34283         multiarch memcpy for PPC32.
34284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34285         multiarch objects.
34286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34287         (__libc_ifunc_impl_list): Likewise.
34289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34290         support multiarch for POWER/PPC32.
34291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34292         Likewise.
34293         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34295         Implies file to make multiarch folder appers before the fpu and
34296         default folder for power4 configuration.
34298 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34300         * scripts/bench.pl: Append volatile keyword to type.
34302 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34304         * sysdeps/sh/sotruss-lib.c: New file.
34305         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34307 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34311 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34313         [BZ #6810]
34314         * math/w_tgamma.c: Include <errno.h>.
34315         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34316         * math/w_tgammaf.c: Include <errno.h>.
34317         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34318         * math/w_tgammal.c: Include <errno.h>.
34319         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34320         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34321         underflow.  Add more tgamma tests.
34322         * math/auto-libm-test-out: Regenerated.
34323         * sysdeps/i386/fpu/libm-test-ulps: Update.
34324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34326         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34327         sin, sinh, tan, tanh, tgamma, y0 and y1.
34328         * math/auto-libm-test-out: Regenerated.
34329         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34330         (TEST_COND_x86): Likewise.
34331         (M_E2l): Remove macro.
34332         (M_E3l): Likewise.
34333         (M_2_SQRT_PIl): Likewise.
34334         (M_SQRT_PIl): Likewise.
34335         (M_1_DIV_El): Likewise.
34336         (log_test_data): Use AUTO_TESTS_f_f.
34337         (log10_test_data): Likewise.
34338         (log1p_test_data): Likewise.
34339         (log2_test_data): Likewise.
34340         (sin_test_data): Likewise.
34341         (sin_tonearest_test_data): Likewise.
34342         (sin_towardzero_test_data): Likewise.
34343         (sin_downward_test_data): Likewise.
34344         (sin_upward_test_data): Likewise.
34345         (sinh_test_data): Likewise.
34346         (sinh_tonearest_test_data): Likewise.
34347         (sinh_towardzero_test_data): Likewise.
34348         (sinh_downward_test_data): Likewise.
34349         (sinh_upward_test_data): Likewise.
34350         (tan_test_data): Likewise.
34351         (tan_tonearest_test_data): Likewise.
34352         (tan_towardzero_test_data): Likewise.
34353         (tan_downward_test_data): Likewise.
34354         (tan_upward_test_data): Likewise.
34355         (tanh_test_data): Likewise.
34356         (tgamma_test_data): Likewise.
34357         (y0_test_data): Likewise.
34358         (y1_test_data): Likewise.
34359         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34360         (special_real_inputs): Add pi/4.
34361         * sysdeps/i386/fpu/libm-test-ulps: Update.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34364 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34366         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34367         "longjmp_target" static probes.
34368         (__longjmp): Rename to __longjmp_symbol.
34369         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34370         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34371         on which longjmp to generate.
34372         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34373         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34374         probe.
34375         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34376         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34377         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34378         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34379         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34380         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34382         __longjmp_symbol based on which __longjmp to generate.
34383         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34384         probe.
34385         (setjmp): Rename to setjmp_symbol.
34386         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34387         (_setjmp): Rename to _setjmp_symbol.
34388         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34389         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34390         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34391         which setjmp to generate.
34392         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34393         "longjmp_target" static probes.
34395 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34397         * benchtests/README: Add note about output arguments.
34398         * benchtests/bench-sincos.c: Remove file.
34399         * benchtests/sincos-inputs: New file.
34400         * scripts/bench.pl: Identify output arguments and define
34401         static variables for them.
34403         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34405         [BZ #15941]
34406         * Makefile (INSTALL): Add install-plain.texi as the primary
34407         dependency.
34408         * manual/install-plain.texi: New file.
34409         * manual/install.texi: Include node directive only for
34410         non-plaintext output.
34412 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34414         * stdlib/longlong.h: Update from GCC.
34416         [BZ #6807]
34417         [BZ #15901]
34418         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34419         * math/w_j0f.c (y0f): Likewise.
34420         * math/w_j0l.c (__y0l): Likewise.
34421         * math/w_j1.c (y1): Likewise.
34422         * math/w_j1f.c (y1f): Likewise.
34423         * math/w_j1l.c (__y1l): Likewise
34424         * math/w_jn.c (yn): Likewise.
34425         * math/w_jnf.c (ynf): Likewise.
34426         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34427         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34428         value for Bessel function domain errors outside _SVID_ mode.
34429         Adjust sign of return value for yn (negative integer, 0).
34430         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34431         by zero in return for negative x and set sign appropriately for
34432         negative n.
34433         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34434         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34435         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34436         expectations in error cases.
34437         (y1_test_data): Likewise.
34438         (yn_test_data): Likewise.
34439         * sysdeps/i386/fpu/libm-test-ulps: Update.
34440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34442 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34444         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34445         "64" to "64-v1".  Add "64-v2".
34446         (abi-64-options): Rename to ...
34447         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34448         (abi-64-condition): Rename to ...
34449         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34450         (abi-64-ld-soname): Rename to ...
34451         (abi-64-v1-ld-soname): ... this.
34452         (abi-64-v2-options): Define.
34453         (abi-64-v2-condition): Likewise.
34454         (abi-64-v2-ld-soname): Likewise.
34455         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34456         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34461 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34462             Alan Modra  <amodra@gmail.com>
34464         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34465         New versions for use with the ELFv2 ABI.
34466         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34467         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34468         declaration.
34469         (struct La_ppc64v2_retval): Likewise.
34470         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34471         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34472         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34473         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34474         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34475         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34476         Do not save or restore CR.
34477         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34478         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34479         return values for ELFv2 ABI.  Fix location of FPR return registers.
34480         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34481         updated values for _CALL_ELF == 2.
34482         (La_regs, La_retval, int_retval): Likewise.
34484 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34486         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34487         (FRAME_MIN_SIZE_PARM): Likewise.
34488         (FRAME_BACKCHAIN): Likewise.
34489         (FRAME_CR_SAVE): Likewise.
34490         (FRAME_LR_SAVE): Likewise.
34491         (FRAME_TOC_SAVE): Likewise.
34492         (FRAME_PARM_SAVE): Likewise.
34493         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34494         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34495         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34496         (call_mcount_parm_offset): New macro.
34497         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34498         (PROF): Use symbolic stack frame offsets.
34499         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34500         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34501         Redefine in terms of FRAME_MIN_SIZE.
34502         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34503         (_dl_profile_resolve): Likewise.  Update comment.
34504         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34505         symbols stack frame offsets.
34506         (__sigsetjmp): Likewise.
34507         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34508         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34509         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34510         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34513         (FRAME_BACKCHAIN): Remove.
34514         (FRAME_CR_SAVE): Likewise.
34515         (FRAME_LR_SAVE): Likewise.
34516         (FRAME_COMPILER_DW): Likewise.
34517         (FRAME_LINKER_DW): Likewise.
34518         (FRAME_TOC_SAVE): Likewise.
34519         (FRAME_PARM_SAVE): Likewise.
34520         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34521         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34522         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34524         (CHECK_SP): Use symbolic stack frame offsets.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34526         zone" instead of caller's parameter save area for temp storage.
34527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34528         Likewise.  Also, use symbolic stack frame offsets.
34529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34530         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34531         our own stack frame instead of the caller's.
34532         (__socket): Use symbolic stack frame offsets.
34534 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34535             Alan Modra  <amodra@gmail.com>
34537         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34538         Define.
34539         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34540         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34541         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34542         New function.
34543         (elf_machine_fixup_plt): Call it.
34544         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34545         reloc arguments.
34546         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34547         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34548         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34549         r2 before calling target.
34551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34552             Alan Modra  <amodra@gmail.com>
34554         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34555         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34556         versions of macros to support ELFv2 ABI.
34557         (LOCALENTRY): New macro.
34558         (ENTRY, EALIGN): Use it.
34559         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34560         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34561         fall through into ENTRY entry point.
34562         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34563         Only define if _CALL_ELF != 2.
34565         (elf_machine_matches_host): Verify ABI version matches.
34566         (RTLD_START): Use LOCALENTRY.
34567         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34568         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34569         (PLT_ENTRY_WORDS): New macro.
34570         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34571         (elf_machine_runtime_setup): Support ELFv2 ABI.
34572         (elf_machine_fixup_plt): Likewise.
34573         (elf_machine_plt_conflict): Likewise.
34574         (resolve_ifunc): Likewise.
34575         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34576         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34577         Likewise.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34579         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34581         (makecontext): Support ELFv2 ABI.
34582         * elf/elf.h (EF_PPC64_ABI): Define.
34584 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34586         * sysdeps/powerpc/powerpc64/sysdep.h
34587         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34588         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34589         (ENTRY) [ASSEMBLER]: ... but instead here ...
34590         (EALIGN) [ASSEMBLER]: ... and here.
34591         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34592         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34593         (ENTRY_2) [!ASSEMBLER]: Use it.
34594         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34595         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34596         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34597         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34598         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34600         Use PPC64_LOAD_FUNCPTR.
34602         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34604 2013-12-04  Alan Modra  <amodra@gmail.com>
34606         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34607         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34608         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34609         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34612         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34613         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34614         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34615         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34616         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34618 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34621         (__makecontext): Fix incorrect CFI when backtracing out of
34622         context created via makecontext.
34623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34624         (__setcontext): Fix incorrect CFI during switch to new context.
34625         (__novec_setcontext): Likewise.
34627 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34629         [BZ #4772]
34630         * time/strptime_l.c (__strptime_internal): Allow modifiers
34631         in strptime.
34632         * time/tst-strptime.c (day_tests): Add testcase.
34634 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34636         * scripts/bench.pl: Skip over blank lines.
34638 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34640         [BZ #926]
34641         * manual/time.texi (Calendar Time): Clarify what timezone functions
34642         use.
34644 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34648 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34650         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34651         implementation.
34652         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34653         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34654         * debug/memset_chk.c (__memset_chk): Likewise.
34655         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34656         * debug/strncpy_chk.c: Likewise.
34658 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34660         [BZ #15268]
34661         [BZ #15425]
34662         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34663         (__ieee754_exp): For possibly underflowing results, check size of
34664         result and force underflow exception if required.
34665         * math/auto-libm-test-in: Add more tests of exp.
34666         * math/auto-libm-test-out: Regenerated.
34667         * sysdeps/i386/fpu/libm-test-ulps: Update.
34668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34670         [BZ #16283]
34671         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34672         * math/w_exp2f.c (__exp2f): Likewise.
34673         * math/w_exp2l.c (__exp2l): Likewise.
34674         * math/auto-libm-test-in: Do not allow missing errno on exp2
34675         underflow.
34676         * math/auto-libm-test-out: Regenerated.
34678 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34680         [BZ #16274]
34681         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34682         handle filename validation.
34683         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34684         (do_open): Delete.
34686 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34688         [BZ #6786]
34689         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34690         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34691         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34692         <float.h>.
34693         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34694         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34695         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34696         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34697         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34698         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34699         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34700         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34701         Add more erfc tests.
34702         * math/auto-libm-test-out: Regenerated.
34703         * sysdeps/i386/fpu/libm-test-ulps: Update.
34704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34706         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34707         exp2, expm1, j0 and j1.
34708         * math/auto-libm-test-out: Regenerated.
34709         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34710         (erfc_test_data): Likewise.
34711         (exp_test_data): Likewise.
34712         (exp_tonearest_test_data): Likewise.
34713         (exp_towardzero_test_data): Likewise.
34714         (exp_downward_test_data): Likewise.
34715         (exp_upward_test_data): Likewise.
34716         (exp10_test_data): Likewise.
34717         (exp2_test_data): Likewise.
34718         (expm1_test_data): Likewise.
34719         (j0_test_data): Likewise.
34720         (j1_test_data): Likewise.
34721         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34722         (input_flag_type): Add flag_xfail_rounding.
34723         (input_flags): Add xfail-rounding.
34724         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34725         (output_for_one_input_case): Handle flag_xfail_rounding.
34726         * sysdeps/i386/fpu/libm-test-ulps: Update.
34727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34731         [BZ #16289]
34732         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34733         division by 0.
34735 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34737         [BZ #16195]
34738         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34739         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34740         (STAP_PROBE0): New macro.
34741         (STAP_PROBE1): Likewise.
34742         (STAP_PROBE2): Likewise.
34743         (STAP_PROBE3): Likewise.
34744         (STAP_PROBE4): Likewise.
34746 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34748         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34750 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34752         * benchtests/Makefile (bench): Add sqrt.
34753         (LDLIBS-bench-sqrt): New.
34754         * benchtests/sqrt-input: New.
34756 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34758         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34759         (GAIH_EAI): Likewise.
34760         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34761         (gaih_inet): Likewise.
34762         (getaddrinfo): Don't use GAIH_EAI.
34764         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34765         (struct gaih): Remove definition.
34767 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34769         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34770         Use HERRNOP directly.
34772 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34776 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34778         * math/gen-auto-libm-tests.c (test_functions): Add more
34779         single-argument functions.
34780         (special_fill_pi_2): New function.
34781         (special_fill_minus_pi_2): Likewise.
34782         (special_fill_pi_6): Likewise.
34783         (special_fill_minus_pi_6): Likewise.
34784         (special_fill_pi_3): Likewise.
34785         (special_fill_2pi_3): Likewise.
34786         (special_fill_e): Likewise.
34787         (special_fill_1_e): Likewise.
34788         (special_fill_e_minus_1): Likewise.
34789         (special_real_inputs): Add more special inputs.
34790         (output_for_one_input_case): Do not require ERANGE on underflow to
34791         zero if round-to-nearest result does not underflow to zero, unless
34792         exact results required.
34793         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34794         atan, atanh, cbrt, cos and cosh.
34795         * math/auto-libm-test-out: Regenerated.
34796         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34797         (acos_tonearest_test_data): Likewise.
34798         (acos_towardzero_test_data): Likewise.
34799         (acos_downward_test_data): Likewise.
34800         (acos_upward_test_data): Likewise.
34801         (acosh_test_data): Likewise.
34802         (asin_test_data): Likewise.
34803         (asin_tonearest_test_data): Likewise.
34804         (asin_towardzero_test_data): Likewise.
34805         (asin_upward_test_data): Likewise.
34806         (asinh_test_data): Likewise.
34807         (atan_test_data): Likewise.
34808         (atanh_test_data): Likewise.
34809         (cbrt_test_data): Likewise.
34810         (cos_test_data): Likewise.
34811         (cos_tonearest_test_data): Likewise.
34812         (cos_towardzero_test_data): Likewise.
34813         (cos_downward_test_data): Likewise.
34814         (cos_upward_test_data): Likewise.
34815         (cosh_test_data): Likewise.
34816         (cosh_tonearest_test_data): Likewise.
34817         (cosh_towardzero_test_data): Likewise.
34818         (cosh_downward_test_data): Likewise.
34819         (cosh_upward_test_data): Likewise.
34820         * sysdeps/i386/fpu/libm-test-ulps: Update.
34821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34823 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34825         [BZ #6787]
34826         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34827         * math/w_exp10f.c (__exp10f): Likewise.
34828         * math/w_exp10l.c (__exp10l): Likewise.
34829         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34830         errno settings in existing tests.
34832         [BZ #14032]
34833         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34834         precision control set to double precision.
34835         * sysdeps/i386/fpu/w_sqrt.c: New file.
34836         * math/auto-libm-test-in: Add more tests.
34837         * math/auto-libm-test-out: Update.
34839         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34840         (sqrt_test_tonearest): New function.
34841         (sqrt_towardzero_test_data): New variable.
34842         (sqrt_test_towardzero): New function.
34843         (sqrt_downward_test_data): New variable.
34844         (sqrt_test_downward): New function.
34845         (sqrt_upward_test_data): New variable.
34846         (sqrt_test_upward): New function.
34847         (main): Call the new functions.
34849         * math/gen-auto-libm-tests.c: New file.
34850         * math/auto-libm-test-in: Likewise.
34851         * math/auto-libm-test-out: New generated file.
34852         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34853         variables.
34854         (%beautify): Add generated representations of zero.
34855         (top level): Set $auto_input and call parse_auto_input.
34856         (beautify): Remove trailing "f" from hex float constants.
34857         (parse_args): Handle XFAIL_TEST.
34858         (convert_condition): New function.
34859         (or_value): Likewise.
34860         (or_cond_value): Likewise.
34861         (generate_testfile): Handle AUTO_TESTS_* lines.
34862         (parse_auto_input): New function.
34863         * math/libm-test.inc (XFAIL_TEST): New macro.
34864         (ERRNO_UNCHANGED): Update value.
34865         (ERRNO_EDOM): Likewise.
34866         (ERRNO_ERANGE): Likewise.
34867         (IGNORE_RESULT): Likewise.
34868         (TEST_COND_flt_32): New macro.
34869         (TEST_COND_dbl_64): Likewise.
34870         (TEST_COND_ldbl_96_intel): Likewise.
34871         (TEST_COND_ldbl_96_m68k): Likewise.
34872         (TEST_COND_ldbl_128): Likewise.
34873         (TEST_COND_ldbl_128ibm): Likewise.
34874         (TEST_COND_long32): Likewise.
34875         (TEST_COND_long64): Likewise.
34876         (TEST_COND_before_rounding): Likewise.
34877         (TEST_COND_after_rounding): Likewise.
34878         (enable_test): Handle XFAIL_TEST flag.
34879         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34880         with finite results.
34881         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34882         auto-libm-test-out.
34884 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34887         [BZ #16214]
34888         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34889         __tls_get_addr_internal instead of __tls_get_offset in order to
34890         avoid GOT pointer dependency.  Make rtld export
34891         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34892         __tls_get_addr since we are a __tls_get_offset platform.
34893         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34894         GOT pointer being set up before.
34895         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34897 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34899         * manual/math.texi (Errors in Math Functions): Document accuracy
34900         goals.
34902         [BZ #15004]
34903         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34904         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34905         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34906         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34907         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34908         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34909         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34910         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34911         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34912         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34913         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34914         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34915         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34916         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34917         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34918         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34920         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34921         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34922         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34923         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34924         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34925         Likewise.
34926         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34927         Likewise.
34928         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34929         Likewise.
34930         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34931         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34932         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34933         atomic-feupdateenv and flt-rounds.
34934         * sysdeps/powerpc/nofpu/Versions (libc): Add
34935         __atomic_feholdexcept, __atomic_feclearexcept,
34936         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34937         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34938         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34939         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34940         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34941         here.
34942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34943         Update.
34945         * manual/arith.texi (FP Exceptions): Document that exceptions may
34946         not be raised when matherr is used.
34947         (Math Error Reporting): Document overflow in directed rounding
34948         modes.  Document that errno may not be set when finite values are
34949         returned on overflow.  Document intent to set errno on underflow
34950         only for underflow to zero.
34952         [BZ #16271]
34953         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34954         round-to-nearest then adjust result for other rounding modes.
34955         * include/fenv.h (fegetround): Use libm_hidden_proto.
34956         * math/fegetround.c (fegetround): Use libm_hidden_def.
34957         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34958         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34959         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34960         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34961         Likewise.
34962         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34963         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34964         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34965         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34967 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34969         [BZ #16077]
34970         * nss/Versions (libnss_files): Add
34971         _nss_files_gethostbyname3_r.
34972         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34973         New function.
34974         (HOST_DB_LOOKUP): Remove macro.
34975         (_nss_files_gethostbyname_r): Implement function without the
34976         HOST_DB_LOOKUP macro.
34977         (_nss_files_gethostbyname2_r): Likewise.
34979 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34981         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34983 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34985         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34986         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34987         warning.
34989 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34991         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34992         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34993         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34994         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34995         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34996         __fe_nomask_env_priv and attribute_hidden.
34997         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34998         (libc_feupdateenv_test_ppc): Likewise.
34999         (libc_feresetround_ppc): Likewise.
35000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35001         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35002         compat_symbol macro.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35004         (__fe_nomask_env): Likewise.
35005         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35007 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35009         * string/Makefile: Remove ifunc tests.
35010         * string/test-string.h: Define TEST_IFUNC.
35011         * string/test-bcopy-ifunc.c: Remove.
35012         * string/test-bzero-ifunc.c: Likewise.
35013         * string/test-memccpy-ifunc.c: Likewise.
35014         * string/test-memchr-ifunc.c: Likewise.
35015         * string/test-memcmp-ifunc.c: Likewise.
35016         * string/test-memcpy-ifunc.c: Likewise.
35017         * string/test-memmem-ifunc.c: Likewise.
35018         * string/test-memmove-ifunc.c: Likewise.
35019         * string/test-mempcpy-ifunc.c: Likewise.
35020         * string/test-memrchr-ifunc.c: Likewise.
35021         * string/test-memset-ifunc.c: Likewise.
35022         * string/test-rawmemchr-ifunc.c: Likewise.
35023         * string/test-stpcpy-ifunc.c: Likewise.
35024         * string/test-stpncpy-ifunc.c: Likewise.
35025         * string/test-strcasecmp-ifunc.c: Likewise.
35026         * string/test-strcasestr-ifunc.c: Likewise.
35027         * string/test-strcat-ifunc.c: Likewise.
35028         * string/test-strchr-ifunc.c: Likewise.
35029         * string/test-strchrnul-ifunc.c: Likewise.
35030         * string/test-strcmp-ifunc.c: Likewise.
35031         * string/test-strcpy-ifunc.c: Likewise.
35032         * string/test-strcspn-ifunc.c: Likewise.
35033         * string/test-strlen-ifunc.c: Likewise.
35034         * string/test-strncasecmp-ifunc.c: Likewise.
35035         * string/test-strncat-ifunc.c: Likewise.
35036         * string/test-strncmp-ifunc.c: Likewise.
35037         * string/test-strncpy-ifunc.c: Likewise.
35038         * string/test-strnlen-ifunc.c: Likewise.
35039         * string/test-strpbrk-ifunc.c: Likewise.
35040         * string/test-strrchr-ifunc.c: Likewise.
35041         * string/test-strspn-ifunc.c: Likewise.
35042         * string/test-strstr-ifunc.c: Likewise.
35044 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35046         * benchtests/Makefile: Remove ifunc tests.
35047         * benchtests/bench-string.h: Define TEST_IFUNC.
35048         * benchtests/bench-bcopy-ifunc.c: Remove.
35049         * benchtests/bench-bzero-ifunc.c: Likewise.
35050         * benchtests/bench-memccpy-ifunc.c: Likewise.
35051         * benchtests/bench-memchr-ifunc.c: Likewise.
35052         * benchtests/bench-memcmp-ifunc.c: Likewise.
35053         * benchtests/bench-memcpy-ifunc.c: Likewise.
35054         * benchtests/bench-memmem-ifunc.c: Likewise.
35055         * benchtests/bench-memmove-ifunc.c: Likewise.
35056         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35057         * benchtests/bench-memrchr-ifunc.c: Likewise.
35058         * benchtests/bench-memset-ifunc.c: Likewise.
35059         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35060         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35061         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35062         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35063         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35064         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35065         * benchtests/bench-strcat-ifunc.c: Likewise.
35066         * benchtests/bench-strchr-ifunc.c: Likewise.
35067         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35068         * benchtests/bench-strcmp-ifunc.c: Likewise.
35069         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35070         * benchtests/bench-strcpy-ifunc.c: Likewise.
35071         * benchtests/bench-strcspn-ifunc.c: Likewise.
35072         * benchtests/bench-strlen-ifunc.c: Likewise.
35073         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35074         * benchtests/bench-strncat-ifunc.c: Likewise.
35075         * benchtests/bench-strncmp-ifunc.c: Likewise.
35076         * benchtests/bench-strncpy-ifunc.c: Likewise.
35077         * benchtests/bench-strnlen-ifunc.c: Likewise.
35078         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35079         * benchtests/bench-strrchr-ifunc.c: Likewise.
35080         * benchtests/bench-strsep-ifunc.c: Likewise.
35081         * benchtests/bench-strspn-ifunc.c: Likewise.
35082         * benchtests/bench-strstr-ifunc.c: Likewise.
35084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35086         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35088 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35090         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35091         * rt/aio.h: Likewise.
35092         * sysdeps/gnu/bits/utmp.h: Likewise.
35093         * sysdeps/gnu/bits/utmpx.h: Likewise.
35094         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35095         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35096         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35097         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35098         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35099         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35100         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35101         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35102         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35103         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35104         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35105         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35106         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35108         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35109         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35110         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35111         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35112         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35113         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35114         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35115         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35116         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35117         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35118         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35120         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35121         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35122         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35123         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35124         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35125         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35126         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35127         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35128         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35129         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35130         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35131         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35132         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35133         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35134         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35135         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35137 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35139         [BZ #16245]
35140         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35141         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35143 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35145         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35146         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35147         Likewise.
35149 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35152         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35153         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35154         (__fesetround): Remove define.
35155         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35156         rounding and exceptions handling.
35157         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35158         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35159         (__fe_nomask_env): Likewise.
35160         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35161         __fegetround instead of fegetround.
35162         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35163         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35165 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35167         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35168         it's there.
35170         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35172 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35174         [BZ #11157]
35175         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35176         (encrypt_r): Likewise.
35177         * malloc/obstack.h (obstack_free): Likewise.
35178         * posix/unistd.h (encrypt): Likewise.
35180 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35182         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35183         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35184         DL_CALL_DT_FINI() that call the functions directly.
35185         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35186         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35187         * elf/dl-fini.c: Likewise.
35189 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35191         * malloc/hooks.c (memalign_check): Add alignment rounding.
35192         * malloc/malloc.c (_mid_memalign): New function.
35193         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35194         Implement by calling _mid_memalign.
35195         * manual/probes.texi (Memory Allocation Probes): Remove
35196         memory_valloc_retry and memory_pvalloc_retry.
35198 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35200         * locale/programs/locarchive.c (open_archive): Add const
35201         qualifier to ARCHIVEFNAME and copy default fname to
35202         DEFAULT_FNAME.
35204         [BZ #15601]
35205         * libio/tst-widetext.input: Rename Oriya to Odia.
35206         * locale/iso-639.def: Likewise.
35208         * manual/probes.texi (Mathematical Function Probes): Add
35209         documentation for sin, cos, asin and acos probes.
35210         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35211         (__sin32): Add slowasin probe.
35212         (__cos32): Add slowacos probe.
35213         (__mpsin): Add slowsin probe.
35214         (__mpcos): Add slowcos probe.
35216 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35218         [BZ #15483]
35219         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35220         thread-local __sim_exceptions_thread and global
35221         __sim_exceptions_global.
35222         (__sim_disabled_exceptions): Change to thread-local
35223         __sim_disabled_exceptions_thread and global
35224         __sim_disabled_exceptions_global.
35225         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35226         and global __sim_round_mode_global.
35227         (__simulate_exceptions): Use thread-local floating-point state and
35228         set global state from it as needed.
35229         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35230         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35231         __sim_round_mode_thread.
35232         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35233         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35234         and global __sim_exceptions_global.
35235         (__sim_disabled_exceptions): Change to thread-local
35236         __sim_disabled_exceptions_thread and global
35237         __sim_disabled_exceptions_global.
35238         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35239         and global __sim_round_mode_global.
35240         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35241         (SIM_SET_GLOBAL): Likewise.
35242         * sysdeps/powerpc/soft-fp/sfp-machine.h
35243         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35244         __sim_round_mode_thread.
35245         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35246         __sim_disabled_exceptions_thread.
35247         (__sim_exceptions): Change to __sim_exceptions_thread.
35248         (__sim_disabled_exceptions): Change to
35249         __sim_disabled_exceptions_thread.
35250         (__sim_round_mode): Change to __sim_round_mode_thread.
35251         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35252         thread-local floating-point state and set global state from it as
35253         needed.
35254         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35255         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35256         (__sim_disabled_exceptions): Remove extern declaration.
35257         (feenableexcept): Use thread-local floating-point state and set
35258         global state from it as needed.
35259         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35260         extern declaration.
35261         (__sim_disabled_exceptions): Likewise.
35262         (__sim_round_mode): Likewise.
35263         (__fegetenv): Use thread-local floating-point state.
35264         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35265         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35266         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35267         floating-point state and set global state from it as needed.
35268         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35269         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35270         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35271         Likewise.
35272         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35273         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35274         Likewise.
35275         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35276         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35277         Use __sim_round_mode_thread.
35278         * math/test-fenv-tls.c: New file.
35279         * math/Makefile (tests): Add test-fenv-tls.
35280         ($(objpfx)test-fenv-tls): Depend on
35281         $(common-objpfx)nptl/libpthread.so.
35283 2013-11-19  Andreas Schwab  <schwab@suse.de>
35285         * locale/programs/locale.c (show_info): Decode wordarray elements.
35286         * locale/categories.def (LC_MONETARY): Add element for
35287         _NL_MONETARY_CRNCYSTR.
35288         * locale/C-monetary.c (conversion_rate): New variable.
35289         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35290         element.
35292 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35294         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35295         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35297 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35299         * elf/Makefile (tst-auxv): New test.
35300         * elf/tst-auxv.c: New
35301         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35303 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35305         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35306         (hidden_proto): Caller changed.
35307         (hidden_tls_proto): New macro.
35308         (libc_hidden_tls_proto): Likewise.
35309         (rtld_hidden_tls_proto): Likewise.
35310         (libm_hidden_tls_proto): Likewise.
35311         (libresolv_hidden_tls_proto): Likewise.
35312         (librt_hidden_tls_proto): Likewise.
35313         (libdl_hidden_tls_proto): Likewise.
35314         (libnss_files_hidden_tls_proto): Likewise.
35315         (libnsl_hidden_tls_proto): Likewise.
35316         (libnss_nisplus_hidden_tls_proto): Likewise.
35317         (libutil_hidden_tls_proto): Likewise.
35319 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35321         [BZ #10253]
35322         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35323         (decompose_rpath): Defer expansion to fillin_rpath.
35324         (_dl_init_paths): Pass linkmap to fillin_rpath.
35326 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35328         * benchtests/Makefile: Add strsep.
35329         * benchtests/bench-strsep.c: New file: strsep benchtest.
35330         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35332 2013-11-18  Andreas Schwab  <schwab@suse.de>
35334         * locale/programs/locale.c (show_info) [case byte]: Check for
35335         '\377' instead of '\177'.
35336         * locale/C-monetary.c (not_available): Always use "\377".
35337         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35338         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35339         detect unavailable sign_posn locale elements.
35340         * locale/localeconv.c (__localeconv): For grouping and
35341         mon_grouping handle "\177" and "\377" like no grouping.
35342         (INT_ELEM): New macro.  Use it to set all numeric members.
35343         * locale/programs/ld-monetary.c (monetary_read)
35344         <tok_mon_grouping>: Normalize single -1 to the empty string.
35345         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35346         Likewise.
35348 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35350         [BZ #16055]
35351         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35352         when we match (nil).
35353         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35355 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35357         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35358         (NO_TEST_INLINE): Update value.
35359         (ERRNO_UNCHANGED): Likewise.
35360         (ERRNO_EDOM): Likewise.
35361         (ERRNO_ERANGE): Likewise.
35362         (IGNORE_RESULT): Likewise.
35363         (check_float_internal): Check signs of NaN results if
35364         TEST_NAN_SIGN used.
35365         (check_complex): Pass TEST_NAN_SIGN flag through to second
35366         check_float_internal call.
35367         (copysign_test_data): Add tests with quiet NaNs as second
35368         argument.  Use TEST_NAN_SIGN.
35369         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35370         TEST_NAN_SIGN.
35371         (signbit_test_data): Add tests of quiet NaN argument.
35372         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35374         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35375         $ignore_result.
35376         (parse_args): Handle function results specified as IGNORE.
35377         * math/libm-test.inc (IGNORE_RESULT): New macro.
35378         (check_float_internal): Do not check numerical result if flag
35379         IGNORE_RESULT set.
35380         (check_complex): Pass through IGNORE_RESULT to second
35381         check_float_internal call.
35382         (check_int): Do not check numerical result if flag IGNORE_RESULT
35383         set.
35384         (check_long): Likewise.
35385         (check_bool): Likewise.
35386         (check_longlong): Likewise.
35387         (lrint_test_data): Add tests of infinite and NaN arguments.
35388         (lrint_tonearest_test_data): Likewise.
35389         (lrint_towardzero_test_data): Likewise.
35390         (lrint_downward_test_data): Likewise.
35391         (lrint_upward_test_data): Likewise.
35392         (llrint_test_data): Likewise.
35393         (llrint_tonearest_test_data): Likewise.
35394         (llrint_towardzero_test_data): Likewise.
35395         (llrint_downward_test_data): Likewise.
35396         (llrint_upward_test_data): Likewise.
35397         (lround_test_data): Likewise.
35398         (llround_test_data): Likewise.
35400         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35401         (ERRNO_UNCHANGED): Update value.
35402         (ERRNO_EDOM): Likewise.
35403         (ERRNO_ERANGE): Likewise.
35404         (NO_TEST_INLINE_FLOAT): New macro.
35405         (NO_TEST_INLINE_DOUBLE): Likewise.
35406         (enable_test): New function.
35407         (RUN_TEST_f_f): Check enable_test before running test.
35408         (RUN_TEST_2_f): Likewise.
35409         (RUN_TEST_fff_f): Likewise.
35410         (RUN_TEST_c_f): Likewise.
35411         (RUN_TEST_f_f1): Likewise.
35412         (RUN_TEST_fF_f1): Likewise.
35413         (RUN_TEST_fI_f1): Likewise.
35414         (RUN_TEST_ffI_f1): Likewise.
35415         (RUN_TEST_c_c): Likewise.
35416         (RUN_TEST_cc_c): Likewise.
35417         (RUN_TEST_f_i): Likewise.
35418         (RUN_TEST_f_i_tg): Likewise.
35419         (RUN_TEST_ff_i_tg): Likewise.
35420         (RUN_TEST_f_b): Likewise.
35421         (RUN_TEST_f_b_tg): Likewise.
35422         (RUN_TEST_f_l): Likewise.
35423         (RUN_TEST_f_L): Likewise.
35424         (RUN_TEST_fFF_11): Likewise.
35425         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35426         conditionals.
35427         (cosh_test_data): Likewise.
35428         (exp_test_data): Likewise.
35429         (expm1_test_data): Likewise.
35430         (hypot_test_data): Likewise.
35431         (pow_test_data): Likewise.
35432         (sinh_test_data): Likewise.
35433         (tanh_test_data): Likewise.
35434         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35435         flags argument.
35437         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35438         tests with quiet NaN input and output.
35439         (acosh_test_data): Likewise.
35440         (asin_test_data): Likewise.
35441         (asinh_test_data): Likewise.
35442         (atan_test_data): Likewise.
35443         (atanh_test_data): Likewise.
35444         (atan2_test_data): Likewise.
35445         (cbrt_test_data): Likewise.
35446         (cos_test_data): Likewise.
35447         (cosh_test_data): Likewise.
35448         (erf_test_data): Likewise.
35449         (erfc_test_data): Likewise.
35450         (exp_test_data): Likewise.
35451         (exp10_test_data): Likewise.
35452         (exp2_test_data): Likewise.
35453         (expm1_test_data): Likewise.
35454         (hypot_test_data): Likewise.
35455         (j0_test_data): Likewise.
35456         (j1_test_data): Likewise.
35457         (jn_test_data): Likewise.
35458         (lgamma_test_data): Likewise.
35459         (log_test_data): Likewise.
35460         (log10_test_data): Likewise.
35461         (log1p_test_data): Likewise.
35462         (log2_test_data): Likewise.
35463         (pow_test_data): Likewise.
35464         (scalb_test_data): Likewise.
35465         (sin_test_data): Likewise.
35466         (sincos_test_data): Likewise.
35467         (sinh_test_data): Likewise.
35468         (tan_test_data): Likewise.
35469         (tanh_test_data): Likewise.
35470         (tgamma_test_data): Likewise.
35471         (y0_test_data): Likewise.
35472         (y1_test_data): Likewise.
35473         (yn_test_data): Likewise.
35475         [BZ #16167]
35476         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35477         argument being NaN and avoid computations with second argument in
35478         that case.
35479         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35480         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35481         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35483 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35485         * locale/iso-639.def: Add Chitwani Tharu (the).
35487 2013-11-14  Andreas Schwab  <schwab@suse.de>
35489         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35490         word instead of empty string.
35492 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35495         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35497         (__fe_nomask_env): Likewise.
35499 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35501         * benchtests/bench-timing.h: Include time.h.
35503 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35505         [BZ #15997]
35506         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35507         to 3.4.0 for x32.
35508         * sysdeps/unix/sysv/linux/configure: Regenerated.
35510 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35512         [BZ #16151]
35513         * stdlib/strtod_l.c (round_and_return): Do not consider
35514         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35515         exponent one less than half the least subnormal exponent.
35516         * stdlib/test-strtod-round-data: Add more tests.
35517         * stdlib/tst-strtod-round.c (tests): Regenerated.
35519 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35521         [BZ #14143]
35522         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35523         (__fe_mask_env): Likewise.
35524         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35525         libm_hidden_proto and add function prototype.
35526         (__fe_mask_env): Add function prototype.
35527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35528         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35530         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35532         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35534 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35536         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35537         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35539 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35541         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35542         of htab_find_slot().
35544 2013-11-11  David S. Miller  <davem@davemloft.net>
35546         [BZ #16150]
35547         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35548         symbol in the non-vis3 case in static builds.
35549         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35550         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35551         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35552         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35554 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35556         [BZ #387]
35557         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35558         it is empty.
35560 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         * benchtests/Makefile: Add bench-strtod.
35563         * benchtests/bench-strtod.c: New file: strtod benchtest
35565 2013-11-11  Andreas Schwab  <schwab@suse.de>
35567         [BZ #16153]
35568         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35569         terminating NUL in key length.
35571 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35574         Add artificial ODP entry for vDSO symbol for PPC64.
35575         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35576         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35578 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35580         [BZ #15374]
35581         * nss/getent.c (services_keys): Recognize services starting with digit.
35583 2013-11-06  David S. Miller  <davem@davemloft.net>
35585         [BZ #15985]
35586         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35587         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35589 2013-11-06  Will Newton  <will.newton@linaro.org>
35591         * manual/memory.texi (Malloc Examples): Remove register
35592         keyword from examples.
35594 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35596         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35598 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35600         [BZ #6981]
35601         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35602         depending on [__GCC_IEC_559 > 0].
35603         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35604         depending on [__GCC_IEC_559_COMPLEX > 0].
35606 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35608         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35609         to iso-639.def.
35611 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35613         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35615 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35617         [BZ #16112]
35618         * malloc/malloc (malloc_info): Do not handle first bin as
35619         special case.
35621 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35623         * locale/iso-639.def: Add Central Nahuatl (nhn).
35625 2013-11-01  Bruno Haible  <bruno@clisp.org>
35627         [BZ #7003]
35628         * manual/math.texi (BSD Random): Specify range upper bound as
35629         in POSIX.
35631 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35633         * locale/iso-639.def: Add Meadow Mari (mhr).
35635 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35637         [BZ #14752], [BZ #15763]
35638         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35639         Validate name.
35640         * rt/tst_shm.c: Add test for escaping directory.
35642 2013-10-31  Andreas Schwab  <schwab@suse.de>
35644         [BZ #15917]
35645         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35646         followed by 'x' as part of digit sequence.
35647         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35649 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35651         [BZ #16037]
35652         * configure.ac: allow GNU Make 4.0 and greater.
35653         * configure: Regenerated.
35655 2013-10-30  Will Newton  <will.newton@linaro.org>
35657         [BZ #16038]
35658         * malloc/hooks.c (memalign_check): Limit alignment to the
35659         maximum representable power of two.
35660         * malloc/malloc.c (__libc_memalign): Likewise.
35661         * malloc/tst-memalign.c (do_test): Add test for very
35662         large alignment values.
35663         * malloc/tst-posix_memalign.c (do_test): Likewise.
35665 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35667         [BZ #11087]
35668         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35669         (munmap_chunk): Likewise.
35670         (mremap_chunk): Likewise.
35672 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35674         [BZ #15799]
35675         * stdlib/div.c (div): Remove obsolete code.
35676         * stdlib/ldiv.c (ldiv): Likewise.
35677         * stdlib/lldiv.c (lldiv): Likewise.
35679 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35681         [BZ #16071]
35682         * nss/nss_files/files-XXX.c (get_contents_ret): New
35683         enumerator.
35684         (get_contents): New function.
35685         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35687 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35689         * configure.in: Moved to ...
35690         * configure.ac: ... here. Change reference to configure.in
35691         to configure.ac.
35692         * sysdeps/arm/preconfigure.ac: ... here.
35693         configure.in to configure.ac.
35694         * sysdeps/gnu/configure.in: Moved to ...
35695         * sysdeps/gnu/configure.ac: ... here.
35696         * sysdeps/i386/configure.in: Moved to ...
35697         * sysdeps/i386/configure.ac: ... here.
35698         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35699         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35700         * sysdeps/mach/configure.in: Moved to ...
35701         * sysdeps/mach/configure.ac: ... here.
35702         * sysdeps/mach/hurd/configure.in: Moved to ...
35703         * sysdeps/mach/hurd/configure.ac: ... here.
35704         * sysdeps/powerpc/configure.in: Moved to ...
35705         * sysdeps/powerpc/configure.ac: ... here.
35706         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35707         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35708         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35709         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35710         * sysdeps/s390/s390-32/configure.in: Moved to ...
35711         * sysdeps/s390/s390-32/configure.ac: ... here.
35712         * sysdeps/s390/s390-64/configure.in: Moved to ...
35713         * sysdeps/s390/s390-64/configure.ac: ... here.
35714         * sysdeps/sh/configure.in: Moved to ...
35715         * sysdeps/sh/configure.ac: ... here.
35716         * sysdeps/sparc/configure.in: Moved to ...
35717         * sysdeps/sparc/configure.ac: ... here.
35718         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35719         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35720         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35721         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35722         * sysdeps/x86_64/configure.in: Moved to ...
35723         * sysdeps/x86_64/configure.ac: ... here.
35724         * sysdeps/x86_64/preconfigure.in: Moved to ...
35725         * sysdeps/x86_64/preconfigure.ac: ... here.
35726         * aclocal.m4: Change reference to configure.in to configure.ac.
35727         * config.h.in: Likewise.
35728         * manual/install.texi: Likewise.
35729         * manual/maint.texi: Likewise.
35730         * Makefile: Likewise.
35731         * malloc/Makefile: Likewise.
35732         * nscd/Makefile: Likewise.
35733         * Makeconfig: Change reference to configure.in and
35734         preconfigure.in to configure.ac and preconfigure.ac
35735         respectively.
35736         * INSTALL: Regenerated.
35737         * configure: Likewise.
35738         * sysdeps/gnu/configure: Likewise.
35739         * sysdeps/i386/configure: Likewise.
35740         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35741         * sysdeps/mach/configure: Likewise.
35742         * sysdeps/mach/hurd/configure: Likewise.
35743         * sysdeps/powerpc/configure: Likewise.
35744         * sysdeps/powerpc/powerpc32/configure: Likewise.
35745         * sysdeps/powerpc/powerpc64/configure: Likewise.
35746         * sysdeps/s390/s390-32/configure: Likewise.
35747         * sysdeps/s390/s390-64/configure: Likewise.
35748         * sysdeps/sh/configure: Likewise.
35749         * sysdeps/sparc/configure: Likewise.
35750         * sysdeps/unix/sysv/linux/configure: Likewise.
35751         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35752         * sysdeps/x86_64/configure: Likewise.
35753         * sysdeps/x86_64/preconfigure: Likewise.
35755 2013-10-29  Andreas Schwab  <schwab@suse.de>
35757         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35759 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35761         * benchtests/pow-inputs: Add new inputs.
35763         * benchtests/exp-inputs: Add new inputs.
35765         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35766         conditional check for return value.
35767         (__cos32): Likewise.
35769 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35771         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35772         to provide a boost for large inputs with word alignment.
35773         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35774         implementation based on optimized PPC64 strcpy.
35775         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35776         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35777         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35778         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35780 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35782         [BZ #2801]
35783         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35785 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35787         [BZ #14876]
35788         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35789         * time/tst-strptime.c (day_tests): Add testcase.
35791 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35793         [BZ #14029]
35794         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35796 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35798         [BZ #16074]
35799         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35800         MAP_FAILED on error.
35802 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35804         [BZ #16072]
35805         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35806         heap for large requests.
35808 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35810         [BZ #9954]
35811         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35812         result if the result has no associated interface.
35813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35814         interface for all 127.X.Y.Z addresses.
35816 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35818         * locale/iso-639.def: Add Ligurian (lij)
35820 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35822         [BZ #15825]
35823         * sunrpc/rpc_main.c: Document rpcgen -5.
35825 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35827         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35829 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35831         [BZ #10278]
35832         * posix/glob.c: Match only directories when trailing slash is present.
35833         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35834         (main): Add testcase.
35836 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35838         [BZ #15670]
35839         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35841 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35843         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35844         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35845         AUTH_DES and cindex for FIPS 140-2.
35846         (DES Encryption): Add cindex FIPS 46-3.
35848         * locale/locarchive.h (struct locarhandle): Add fname.
35849         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35850         if an optional argument was specified to --list-archive,
35851         otherwise NULL.
35852         * locale/programs/locarchive.c (show_archive_content): Take new
35853         argument fname and pass it via ah.fname to open_archive.
35854         * locale/programs/localedef.h: Update decl.
35855         (open_archive): If AH->fname is non-null, open that file
35856         rather than the default file name, and don't ignore ENOENT.
35857         (create_archive): Set AH.fname to NULL.
35858         (delete_locales_from_archive): Likewise.
35859         (add_locales_to_archive): Likewise.
35860         * locale/programs/locfile.c (write_all_categories): Likewise.
35862 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35863             Aldy Hernandez  <aldyh@redhat.com>
35865         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35866         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35867         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35868         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35869         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35871         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35872         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35873         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35874         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35875         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35876         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35877         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35878         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35879         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35880         Likewise.
35881         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35882         Likewise.
35883         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35884         Likewise.
35885         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35886         Likewise.
35887         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35888         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35889         Likewise.
35890         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35891         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35892         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35893         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35894         Likewise.
35895         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35896         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35897         * sysdeps/powerpc/preconfigure: Likewise.
35898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35899         Likewise.
35900         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35901         Replace contents of file by #include of <fenv_libc.h>.
35902         * sysdeps/powerpc/soft-fp/sfp-machine.h
35903         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35904         and <sys/prctl.h>.
35905         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35910         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35914         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35918         Allow copysignl PLT reference to be missing.
35920 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35921             Joseph Myers  <joseph@codesourcery.com
35923         [BZ #15948]
35924         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35925         single character.
35926         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35928 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35930         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35931         * elf/tst-tls1.c: Likewise.
35932         * elf/tst-tls10.h: Likewise.
35933         * elf/tst-tls14.c: Likewise.
35934         * elf/tst-tls2.c: Likewise.
35935         * elf/tst-tls3.c: Likewise.
35936         * elf/tst-tls4.c: Likewise.
35937         * elf/tst-tls5.c: Likewise.
35938         * elf/tst-tls6.c: Likewise.
35939         * elf/tst-tls7.c: Likewise.
35940         * elf/tst-tls8.c: Likewise.
35941         * elf/tst-tls9.c: Likewise.
35942         * elf/tst-tlsmod1.c: Likewise.
35943         * elf/tst-tlsmod13.c: Likewise.
35944         * elf/tst-tlsmod13a.c: Likewise.
35945         * elf/tst-tlsmod14a.c: Likewise.
35946         * elf/tst-tlsmod16a.c: Likewise.
35947         * elf/tst-tlsmod16b.c: Likewise.
35948         * elf/tst-tlsmod2.c: Likewise.
35949         * elf/tst-tlsmod3.c: Likewise.
35950         * elf/tst-tlsmod4.c: Likewise.
35951         * elf/tst-tlsmod5.c: Likewise.
35952         * elf/tst-tlsmod6.c: Likewise.
35954 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35956         [BZ #12486]
35957         * malloc/malloc.c: remove checks for statistics.
35959 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35961         [BZ #15277]
35962         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35963         * inet/tst-network.c: Add testcase.
35965 2013-10-17  Andreas Schwab  <schwab@suse.de>
35967         [BZ #15218]
35968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35969         to determine canonical name.
35971 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35973         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35974         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35976         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35978         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35979         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35980         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35981         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35982         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35983         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35984         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35985         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35986         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35987         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35988         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35990         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35991         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35992         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35993         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35995         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35996         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35997         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35998         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35999         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36000         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36001         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36002         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36003         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36005         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36006         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36007         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36008         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36009         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36010         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36011         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36012         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36014         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36015         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36016         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36017         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36018         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36019         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36020         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36021         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36022         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36023         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36024         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36025         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36026         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36027         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36028         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36030         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36032 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36034         [BZ #16041]
36035         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36036         make result into a quiet NaN.
36038 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36040         * soft-fp/adddf3.c: Fix horizontal whitespace.
36041         * soft-fp/addsf3.c: Likewise.
36042         * soft-fp/addtf3.c: Likewise.
36043         * soft-fp/divdf3.c: Likewise.
36044         * soft-fp/divsf3.c: Likewise.
36045         * soft-fp/divtf3.c: Likewise.
36046         * soft-fp/double.h: Likewise.
36047         * soft-fp/eqdf2.c: Likewise.
36048         * soft-fp/eqsf2.c: Likewise.
36049         * soft-fp/eqtf2.c: Likewise.
36050         * soft-fp/extenddftf2.c: Likewise.
36051         * soft-fp/extended.h: Likewise.
36052         * soft-fp/extendsfdf2.c: Likewise.
36053         * soft-fp/extendsftf2.c: Likewise.
36054         * soft-fp/extendxftf2.c: Likewise.
36055         * soft-fp/fixdfdi.c: Likewise.
36056         * soft-fp/fixdfsi.c: Likewise.
36057         * soft-fp/fixdfti.c: Likewise.
36058         * soft-fp/fixsfdi.c: Likewise.
36059         * soft-fp/fixsfsi.c: Likewise.
36060         * soft-fp/fixsfti.c: Likewise.
36061         * soft-fp/fixtfdi.c: Likewise.
36062         * soft-fp/fixtfsi.c: Likewise.
36063         * soft-fp/fixtfti.c: Likewise.
36064         * soft-fp/fixunsdfdi.c: Likewise.
36065         * soft-fp/fixunsdfsi.c: Likewise.
36066         * soft-fp/fixunsdfti.c: Likewise.
36067         * soft-fp/fixunssfdi.c: Likewise.
36068         * soft-fp/fixunssfsi.c: Likewise.
36069         * soft-fp/fixunssfti.c: Likewise.
36070         * soft-fp/fixunstfdi.c: Likewise.
36071         * soft-fp/fixunstfsi.c: Likewise.
36072         * soft-fp/fixunstfti.c: Likewise.
36073         * soft-fp/floatdidf.c: Likewise.
36074         * soft-fp/floatdisf.c: Likewise.
36075         * soft-fp/floatditf.c: Likewise.
36076         * soft-fp/floatsidf.c: Likewise.
36077         * soft-fp/floatsisf.c: Likewise.
36078         * soft-fp/floatsitf.c: Likewise.
36079         * soft-fp/floattidf.c: Likewise.
36080         * soft-fp/floattisf.c: Likewise.
36081         * soft-fp/floattitf.c: Likewise.
36082         * soft-fp/floatundidf.c: Likewise.
36083         * soft-fp/floatundisf.c: Likewise.
36084         * soft-fp/floatunditf.c: Likewise.
36085         * soft-fp/floatunsidf.c: Likewise.
36086         * soft-fp/floatunsisf.c: Likewise.
36087         * soft-fp/floatunsitf.c: Likewise.
36088         * soft-fp/floatuntidf.c: Likewise.
36089         * soft-fp/floatuntisf.c: Likewise.
36090         * soft-fp/floatuntitf.c: Likewise.
36091         * soft-fp/fmadf4.c: Likewise.
36092         * soft-fp/fmasf4.c: Likewise.
36093         * soft-fp/fmatf4.c: Likewise.
36094         * soft-fp/gedf2.c: Likewise.
36095         * soft-fp/gesf2.c: Likewise.
36096         * soft-fp/getf2.c: Likewise.
36097         * soft-fp/ledf2.c: Likewise.
36098         * soft-fp/lesf2.c: Likewise.
36099         * soft-fp/letf2.c: Likewise.
36100         * soft-fp/muldf3.c: Likewise.
36101         * soft-fp/mulsf3.c: Likewise.
36102         * soft-fp/multf3.c: Likewise.
36103         * soft-fp/negdf2.c: Likewise.
36104         * soft-fp/negsf2.c: Likewise.
36105         * soft-fp/negtf2.c: Likewise.
36106         * soft-fp/op-1.h: Likewise.
36107         * soft-fp/op-2.h: Likewise.
36108         * soft-fp/op-4.h: Likewise.
36109         * soft-fp/op-8.h: Likewise.
36110         * soft-fp/op-common.h: Likewise.
36111         * soft-fp/quad.h: Likewise.
36112         * soft-fp/single.h: Likewise.
36113         * soft-fp/soft-fp.h: Likewise.
36114         * soft-fp/sqrtdf2.c: Likewise.
36115         * soft-fp/sqrtsf2.c: Likewise.
36116         * soft-fp/sqrttf2.c: Likewise.
36117         * soft-fp/subdf3.c: Likewise.
36118         * soft-fp/subsf3.c: Likewise.
36119         * soft-fp/subtf3.c: Likewise.
36120         * soft-fp/truncdfsf2.c: Likewise.
36121         * soft-fp/trunctfdf2.c: Likewise.
36122         * soft-fp/trunctfsf2.c: Likewise.
36123         * soft-fp/trunctfxf2.c: Likewise.
36124         * soft-fp/unorddf2.c: Likewise.
36125         * soft-fp/unordsf2.c: Likewise.
36126         * soft-fp/unordtf2.c: Likewise.
36128 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36130         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36131         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36133 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36135         * elf/dl-libc.c: Clear initfini list after freeing.
36137 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36139         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36140         * soft-fp/addsf3.c: Likewise.
36141         * soft-fp/addtf3.c: Likewise.
36142         * soft-fp/divdf3.c: Likewise.
36143         * soft-fp/divsf3.c: Likewise.
36144         * soft-fp/divtf3.c: Likewise.
36145         * soft-fp/double.h: Likewise.
36146         * soft-fp/eqdf2.c: Likewise.
36147         * soft-fp/eqsf2.c: Likewise.
36148         * soft-fp/eqtf2.c: Likewise.
36149         * soft-fp/extenddftf2.c: Likewise.
36150         * soft-fp/extended.h: Likewise.
36151         * soft-fp/extendsfdf2.c: Likewise.
36152         * soft-fp/extendsftf2.c: Likewise.
36153         * soft-fp/extendxftf2.c: Likewise.
36154         * soft-fp/fixdfdi.c: Likewise.
36155         * soft-fp/fixdfsi.c: Likewise.
36156         * soft-fp/fixdfti.c: Likewise.
36157         * soft-fp/fixsfdi.c: Likewise.
36158         * soft-fp/fixsfsi.c: Likewise.
36159         * soft-fp/fixsfti.c: Likewise.
36160         * soft-fp/fixtfdi.c: Likewise.
36161         * soft-fp/fixtfsi.c: Likewise.
36162         * soft-fp/fixtfti.c: Likewise.
36163         * soft-fp/fixunsdfdi.c: Likewise.
36164         * soft-fp/fixunsdfsi.c: Likewise.
36165         * soft-fp/fixunsdfti.c: Likewise.
36166         * soft-fp/fixunssfdi.c: Likewise.
36167         * soft-fp/fixunssfsi.c: Likewise.
36168         * soft-fp/fixunssfti.c: Likewise.
36169         * soft-fp/fixunstfdi.c: Likewise.
36170         * soft-fp/fixunstfsi.c: Likewise.
36171         * soft-fp/fixunstfti.c: Likewise.
36172         * soft-fp/floatdidf.c: Likewise.
36173         * soft-fp/floatdisf.c: Likewise.
36174         * soft-fp/floatditf.c: Likewise.
36175         * soft-fp/floatsidf.c: Likewise.
36176         * soft-fp/floatsisf.c: Likewise.
36177         * soft-fp/floatsitf.c: Likewise.
36178         * soft-fp/floattidf.c: Likewise.
36179         * soft-fp/floattisf.c: Likewise.
36180         * soft-fp/floattitf.c: Likewise.
36181         * soft-fp/floatundidf.c: Likewise.
36182         * soft-fp/floatundisf.c: Likewise.
36183         * soft-fp/floatunsidf.c: Likewise.
36184         * soft-fp/floatunsisf.c: Likewise.
36185         * soft-fp/floatuntidf.c: Likewise.
36186         * soft-fp/floatuntisf.c: Likewise.
36187         * soft-fp/floatuntitf.c: Likewise.
36188         * soft-fp/fmadf4.c: Likewise.
36189         * soft-fp/fmasf4.c: Likewise.
36190         * soft-fp/fmatf4.c: Likewise.
36191         * soft-fp/gedf2.c: Likewise.
36192         * soft-fp/gesf2.c: Likewise.
36193         * soft-fp/getf2.c: Likewise.
36194         * soft-fp/ledf2.c: Likewise.
36195         * soft-fp/lesf2.c: Likewise.
36196         * soft-fp/letf2.c: Likewise.
36197         * soft-fp/muldf3.c: Likewise.
36198         * soft-fp/mulsf3.c: Likewise.
36199         * soft-fp/multf3.c: Likewise.
36200         * soft-fp/negdf2.c: Likewise.
36201         * soft-fp/negsf2.c: Likewise.
36202         * soft-fp/negtf2.c: Likewise.
36203         * soft-fp/op-1.h: Likewise.
36204         * soft-fp/op-2.h: Likewise.
36205         * soft-fp/op-4.h: Likewise.
36206         * soft-fp/op-8.h: Likewise.
36207         * soft-fp/op-common.h: Likewise.
36208         * soft-fp/quad.h: Likewise.
36209         * soft-fp/single.h: Likewise.
36210         * soft-fp/soft-fp.h: Likewise.
36211         * soft-fp/sqrtdf2.c: Likewise.
36212         * soft-fp/sqrtsf2.c: Likewise.
36213         * soft-fp/sqrttf2.c: Likewise.
36214         * soft-fp/subdf3.c: Likewise.
36215         * soft-fp/subsf3.c: Likewise.
36216         * soft-fp/subtf3.c: Likewise.
36217         * soft-fp/truncdfsf2.c: Likewise.
36218         * soft-fp/trunctfdf2.c: Likewise.
36219         * soft-fp/trunctfsf2.c: Likewise.
36220         * soft-fp/trunctfxf2.c: Likewise.
36221         * soft-fp/unorddf2.c: Likewise.
36222         * soft-fp/unordsf2.c: Likewise.
36223         * soft-fp/unordtf2.c: Likewise.
36225 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36227         [BZ #15672]
36228         * misc/error.c (error_tail): Fix possible buffer overflow.
36230 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36232         [BZ #13028]
36233         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36234         address.
36236 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36238         [BZ #832]
36239         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36240         testing pipefail option.
36242 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36244         * soft-fp/double.h: Indent preprocessor directives inside #if.
36245         * soft-fp/extended.h: Likewise.
36246         * soft-fp/op-2.h: Likewise.
36247         * soft-fp/op-4.h: Likewise.
36248         * soft-fp/op-common.h: Likewise.
36249         * soft-fp/quad.h: Likewise.
36250         * soft-fp/single.h: Likewise.
36251         * soft-fp/soft-fp.h: Likewise.
36253 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36255         * iconv/iconv_prog.c: Fix typos.
36256         * stdio-common/psiginfo-data.h: Likewise.
36258 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36260         [BZ #15764]
36261         * locale/setlocale.c: Fix typo.
36263 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #16036]
36266         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36267         signaling NaN arguments.
36268         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36269         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36271         [BZ #14910]
36272         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36273         unordered operands.
36274         * soft-fp/gesf2.c (__gesf2): Likewise.
36275         * soft-fp/getf2.c (__getf2): Likewise.
36276         * soft-fp/ledf2.c (__ledf2): Likewise.
36277         * soft-fp/lesf2.c (__lesf2): Likewise.
36278         * soft-fp/letf2.c (__letf2): Likewise.
36280         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36281         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36282         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36283         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36284         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36285         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36286         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36287         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36288         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36289         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36290         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36291         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36292         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36293         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36294         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36295         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36296         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36297         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36298         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36299         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36300         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36301         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36302         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36303         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36304         * soft-fp/floattidf.c (__floattidf): Likewise.
36305         * soft-fp/floattisf.c (__floattisf): Likewise.
36306         * soft-fp/floattitf.c (__floattitf): Likewise.
36307         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36308         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36309         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36310         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36311         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36312         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36313         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36314         * soft-fp/gesf2.c (__gesf2): Likewise.
36315         * soft-fp/getf2.c (__getf2): Likewise.
36316         * soft-fp/ledf2.c (__ledf2): Likewise.
36317         * soft-fp/lesf2.c (__lesf2): Likewise.
36318         * soft-fp/letf2.c (__letf2): Likewise.
36320         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36321         Undefine and redefine.
36322         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36323         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36324         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36325         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36326         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36327         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36328         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36329         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36330         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36331         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36332         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36333         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36334         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36335         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36336         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36338         [BZ #16032]
36339         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36340         without decrementing exponent if mantissa >= that for the
36341         denominator, not >.
36342         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36343         denominator, not >.  Decrement exponent in < case instead of
36344         incrementing in >= case.
36345         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36346         without decrementing exponent if mantissa >= that for the
36347         denominator, not >.
36349         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36350         computing saturated result for unsigned overflow.
36352 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36353             Jeff Law  <law@redhat.com>
36355         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36356         (atan2Mp): Add systemtap probe marker.
36357         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36358         (__ieee754_log): Add systemtap probe marker.
36359         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36360         (atanMp): Add systemtap probe marker.
36361         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36362         (tanMp): Add systemtap probe marker.
36363         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36364         (__slowexp): Add systemtap probe marker.
36365         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36366         (__slowpow): Add systemtap probe marker.
36367         * manual/probes.texi: Document probes.
36369 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36371         [BZ #15362]
36372         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36373         written.
36374         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36375         written.
36376         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36377         written to buffer but not flushed.
36378         * libio/iofwrite_u.c:  Likewise.
36379         * libio/iopadn.c:  Return bytes returned even if EOF was
36380         encountered.
36381         * libio/iowpadn.c:  Likewise.
36382         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36383         if _IO_padn does not write the whole buffer.
36384         [!COMPILE_WPRINTF] (PAD): Likewise.
36386 2013-10-10  David S. Miller  <davem@davemloft.net>
36388         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36389         directory block.
36391 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36393         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36394         instead of FSF address.
36395         * soft-fp/fixdfti.c: Likewise.
36396         * soft-fp/fixsfti.c: Likewise.
36397         * soft-fp/fixtfti.c: Likewise.
36398         * soft-fp/fixunsdfti.c: Likewise.
36399         * soft-fp/fixunssfti.c: Likewise.
36400         * soft-fp/fixunstfti.c: Likewise.
36401         * soft-fp/floattidf.c: Likewise.
36402         * soft-fp/floattisf.c: Likewise.
36403         * soft-fp/floattitf.c: Likewise.
36404         * soft-fp/floatuntidf.c: Likewise.
36405         * soft-fp/floatuntisf.c: Likewise.
36406         * soft-fp/floatuntitf.c: Likewise.
36407         * soft-fp/trunctfxf2.c: Likewise.
36409         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36410         * soft-fp/fixdfti.c: Likewise.
36411         * soft-fp/fixsfti.c: Likewise.
36412         * soft-fp/fixtfti.c: Likewise.
36413         * soft-fp/fixunsdfti.c: Likewise.
36414         * soft-fp/fixunssfti.c: Likewise.
36415         * soft-fp/fixunstfti.c: Likewise.
36416         * soft-fp/floattidf.c: Likewise.
36417         * soft-fp/floattisf.c: Likewise.
36418         * soft-fp/floattitf.c: Likewise.
36419         * soft-fp/floatuntidf.c: Likewise.
36420         * soft-fp/floatuntisf.c: Likewise.
36421         * soft-fp/floatuntitf.c: Likewise.
36422         * soft-fp/trunctfxf2.c: Likewise.
36424 2013-10-10  David S. Miller  <davem@davemloft.net>
36426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36428 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36430         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36431         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36432         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36433         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36434         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36435         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36436         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36439         for NaNs before doing comparisons on argument.
36440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36441         Likewise.
36443 2013-10-10  Will Newton  <will.newton@linaro.org>
36445         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36446         passed to _int_memalign does not overflow.
36448 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36450         * scripts/bench.pl: Add include-sources directive.
36451         * benchtests/README: Update documentation.
36453 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36455         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36456         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36457         instead of FP_INIT_ROUNDMODE.
36458         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36459         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36461         [BZ #16034]
36462         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36463         copy class of input value.
36464         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36465         not handle exceptions.
36466         * soft-fp/negsf2.c (__negsf2): Likewise.
36467         * soft-fp/negtf2.c (__negtf2): Likewise.
36468         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36470 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36472         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36473         semicolon.  From Linux kernel.
36475 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36477         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36479 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36481         [BZ #156]
36482         * manual/socket.texi: Added statement about buffer
36483         for gethostbyname2_r.
36485 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36487         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36488         Use .p2align directive instead, throughout.
36489         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36490         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36491         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36492         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36494         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36495         * sysdeps/x86_64/strchr.S: Likewise.
36496         * sysdeps/x86_64/strrchr.S: Likewise.
36498 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36500         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36502         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36504         * sysdeps/generic/math_private.h (__mpsin1): Remove
36505         declaration.
36506         (__mpcos1): Likewise.
36507         (__mpsin): New argument __range_reduce.
36508         (__mpcos): Likewise.
36509         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36510         (slow): Use __mpsin and __mpcos.
36511         (slow1): Likewise.
36512         (slow2): Likewise.
36513         (sloww): Likewise.
36514         (sloww1): Likewise.
36515         (sloww2): Likewise.
36516         (bsloww): Likewise.
36517         (bsloww1): Likewise.
36518         (bsloww2): Likewise.
36519         (cslow2): Likewise.
36520         (csloww): Likewise.
36521         (csloww1): Likewise.
36522         (csloww2): Likewise.
36523         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36524         range_reduce.  Merge in __mpsin1.
36525         (__mpcos): Likewise.
36526         (__mpsin1): Remove.
36527         (__mpcos1): Likewise.
36529 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36531         * locale/loadlocale.c (_nl_intern_locale_data): Use
36532         LOCFILE_ALIGNED_P.
36533         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36534         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36535         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36536         obstack data is appropriately aligned.
36537         (obstack_int32_grow_fast): Likewise.
36538         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36539         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36540         (add_locale_uint32_array): Likewise.
36542 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36544         * benchtests/Makefile: Remove ARGLIST and RET variables.
36545         ($(objpfx)bench-%.c): Pass only function name to the script.
36546         * benchtests/README: Update documentation.
36547         * benchtests/acos-inputs: Add new directives.
36548         * benchtests/acosh-inputs: Likewise.
36549         * benchtests/asin-inputs: Likewise.
36550         * benchtests/asinh-inputs: Likewise.
36551         * benchtests/atan-inputs: Likewise.
36552         * benchtests/atanh-inputs: Likewise.
36553         * benchtests/cos-inputs: Likewise.
36554         * benchtests/cosh-inputs: Likewise.
36555         * benchtests/exp-inputs: Likewise.
36556         * benchtests/log-inputs: Likewise.
36557         * benchtests/pow-inputs: Likewise.
36558         * benchtests/rint-inputs: Likewise.
36559         * benchtests/sin-inputs: Likewise.
36560         * benchtests/sinh-inputs: Likewise.
36561         * benchtests/tan-inputs: Likewise.
36562         * benchtests/tanh-inputs: Likewise.
36563         * scripts/bench.pl: Add support for new directives.
36565 2013-10-07  Alan Modra  <amodra@gmail.com>
36567         * README: Fix careless merge.
36569 2013-10-05  Alan Modra  <amodra@gmail.com>
36571         * NEWS: Mention powerpc64le support and bugs fixed.
36572         * README: Both big-endian and little-endian powerpc64 supported.
36574 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36576         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36577         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36578         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36579         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36581 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36583         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36584         match prototype.
36586 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36588         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36589         Move -mhard-float appending from
36590         ports/sysdeps/powerpc/powerpc32/Makefile.
36591         [$(with-fp) = yes] (ASFLAGS): Likewise.
36592         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36593         * sysdeps/powerpc/nofpu: Move directory from
36594         ports/sysdeps/powerpc/nofpu.
36595         * sysdeps/powerpc/soft-fp: Move directory from
36596         ports/sysdeps/powerpc/soft-fp.
36597         * sysdeps/powerpc/powerpc32/405: Move directory from
36598         ports/sysdeps/powerpc/powerpc32/405.
36599         * sysdeps/powerpc/powerpc32/440: Move directory from
36600         ports/sysdeps/powerpc/powerpc32/440.
36601         * sysdeps/powerpc/powerpc32/464: Move directory from
36602         ports/sysdeps/powerpc/powerpc32/464.
36603         * sysdeps/powerpc/powerpc32/476: Move directory from
36604         ports/sysdeps/powerpc/powerpc32/476.
36605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36606         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36608         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36610         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36612         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36614         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36615         * README: Update for powerpc-*-linux-gnu software floating point
36616         support in libc.
36618         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36619         case to powerpc/powerpc32*.
36620         * sysdeps/unix/sysv/linux/configure: Regenerated.
36622         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36623         (_FPU_MASK_OM): Define as 0x04.
36624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36626         0x00c10080.
36627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36628         0x0000003c.
36629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36632         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36633         getcontext_e500.
36634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36635         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36636         setcontext_e500.
36637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36638         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36639         and setcontext_e500.
36641 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36643         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36645 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36647         * manual/threads.texi (Default Thread Attributes): Fix typo.
36649 2013-10-04  Will Newton  <will.newton@linaro.org>
36651         * malloc/Makefile: Add tst-memalign.
36652         * malloc/tst-memalign.c: New file.
36654         * malloc/tst-posix_memalign.c: Add comments.
36655         (do_test): Add comments and call free on all potentially
36656         allocated pointers. Add space after cast.
36658         * malloc/tst-pvalloc.c: Add comments.
36659         (do_test): Add comments and call free on all potentially
36660         allocated pointers. Remove duplicate check for NULL pointer.
36661         Add space after cast.
36663         * malloc/tst-valloc.c: Add comments.
36664         (do_test): Add comments and call free on all potentially
36665         allocated pointers. Remove duplicate check for NULL pointer.
36666         Add space after cast.
36668 2013-10-04  Alan Modra  <amodra@gmail.com>
36670         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36671         Use stdint types in rather than __attribute__((mode())).
36672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36674 2013-10-04  Alan Modra  <amodra@gmail.com>
36676         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36677         Correct handling of unaligned relocs for little-endian.
36678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36680 2013-10-04  Alan Modra  <amodra@gmail.com>
36682         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36683         * configure: Regenerate.
36684         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36685         * shlib-versions: Likewise.
36687 2013-10-04  Alan Modra  <amodra@gmail.com>
36689         * string/tester.c (test_memrchr): Increment reported test cycle.
36691 2013-10-04  Alan Modra  <amodra@gmail.com>
36693         * string/test-memcpy.c (do_one_test): When reporting errors, print
36694         string address and don't overrun end of string.
36696 2013-10-04  Alan Modra  <amodra@gmail.com>
36698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36699         insrdi.  Make better use of reg selection to speed exit slightly.
36700         Schedule entry path a little better.  Remove useless "are we done"
36701         checks on entry to main loop.  Handle wrapping around zero address.
36702         Correct main loop count.  Handle single left-over word from main
36703         loop inline rather than by using loop_small.  Remove extra word
36704         case in loop_small caused by wrong loop count.  Add little-endian
36705         support.
36706         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36707         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36708         cache hint.
36709         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36710         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36711         support.  Avoid rlwimi.
36712         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36714 2013-10-04  Alan Modra  <amodra@gmail.com>
36716         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36717         insrdi.  Formatting.
36718         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36719         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36720         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36721         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36722         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36723         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36725 2013-10-04  Alan Modra  <amodra@gmail.com>
36727         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36728         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36729         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36730         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36731         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36732         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36733         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36734         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36735         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36736         use of regs.  Use power7 mtocrf.  Tidy function tails.
36738 2013-10-04  Alan Modra  <amodra@gmail.com>
36740         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36741         Formatting.  Consistently use rXXX register defines or rN defines.
36742         Use early exit labels that avoid restoring unused non-volatile regs.
36743         Make cr field use more consistent with rWORDn compares.  Rename
36744         regs used as shift registers for unaligned loop, using rN defines
36745         for short lifetime/multiple use regs.
36746         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36747         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36748         addi 1,1,64 to pop stack frame.  Simplify return value code.
36749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36751 2013-10-04  Alan Modra  <amodra@gmail.com>
36753         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36754         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36755         rather than rlwimi.
36756         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36757         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36758         little-endian support.  Correct typos.
36759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36760         rather than rlwimi.
36761         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36762         in loop and entry code to keep "and." results.
36763         (strchr): Add little-endian support.  Comment.  Move cntlzd
36764         earlier in tail.
36765         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36767 2013-10-04  Alan Modra  <amodra@gmail.com>
36769         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36770         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36771         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36772         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36774 2013-10-04  Alan Modra  <amodra@gmail.com>
36776         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36777         (rTMP): Define as r11.
36778         (strcmp): Add little-endian support.  Optimise tail.
36779         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36780         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36781         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36782         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36783         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36784         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36785         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36787 2013-10-04  Alan Modra  <amodra@gmail.com>
36789         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36790         little-endian support.  Remove unnecessary "are we done" tests.
36791         Handle "s" wrapping around zero and extremely large "size".
36792         Correct main loop count.  Handle single left-over word from main
36793         loop inline rather than by using small_loop.  Correct comments.
36794         Delete "zero" tail, use "end_max" instead.
36795         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36797 2013-10-04  Alan Modra  <amodra@gmail.com>
36799         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36800         support.  Don't branch over align.
36801         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36802         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36803         support.  Rearrange tmp reg use to suit.  Comment.
36804         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36806 2013-10-04  Alan Modra  <amodra@gmail.com>
36808         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36810 2013-10-04  Alan Modra  <amodra@gmail.com>
36812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36813         conditional form of branch and link when obtaining pc.
36814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36816 2013-10-04  Alan Modra  <amodra@gmail.com>
36818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36819         HIWORD/LOWORD.
36820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36823 2013-10-04  Alan Modra  <amodra@gmail.com>
36825         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36826         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36827         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36828         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36829         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36830         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36831         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36832         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36833         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36834         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36836 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36837             Alistair Popple <alistair@ozlabs.au.ibm.com>
36838             Alan Modra <amodra@gmail.com>
36840         [BZ #15723]
36841         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36842         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36843         _dl_hwcap access for little-endian.
36844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36845         destroy vmx regs when saving unaligned.
36846         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36847         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36848         destroy vmx regs when saving unaligned.
36850 2013-10-04  Alan Modra  <amodra@gmail.com>
36852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36853         Don't use a union to pack hi/low value.
36855 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36857         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36858         for little-endian.
36859         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36861         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36862         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36863         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36865 2013-10-04  Alan Modra  <amodra@gmail.com>
36867         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36868         constants to usual value for .cst8 section, and remove redundant
36869         high address load.
36870         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36871         constant for 0x1p52.  Load little-endian words of double from
36872         correct stack offsets.
36874 2013-10-04  Alan Modra  <amodra@gmail.com>
36876         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36877         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36878         words of double from correct stack offsets.
36879         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36880         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36881         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36882         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36883         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36884         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36885         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36886         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36887         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36888         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36889         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36890         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36891         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36892         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36893         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36894         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36895         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36897 2013-10-04  Alan Modra  <amodra@gmail.com>
36899         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36900         64-bit int/double union.
36901         (_FPU_SETCW): Likewise.
36902         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36903         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36905 2013-10-04  Alan Modra  <amodra@gmail.com>
36907         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36908         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36910 2013-10-04  Alan Modra  <amodra@gmail.com>
36912         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36913         use vector int constants.
36914         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36916 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36918         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36919         array with long long.
36920         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36921         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36922         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36923         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36924         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36925         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36926         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36927         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36928         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36929         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36930         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36931         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36932         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36934 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36936         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36937         (__signbit): Likewise.  Correct for little-endian.
36938         (__signbitl): Call __signbit.
36939         (lrint): Correct for little-endian.
36940         (lrintf): Call lrint.
36942 2013-10-04  Alan Modra  <amodra@gmail.com>
36944         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36945         union 32-bit int array member with 64-bit int array.
36946         (t515, tm256): Double rather than long double.
36947         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36949 2013-10-04  Alan Modra  <amodra@gmail.com>
36951         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36952         Delete.
36953         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36955         version of math_ldbl.h.
36957 2013-10-04  Alan Modra  <amodra@gmail.com>
36959         [BZ #15734], [BZ #15735]
36960         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36961         all uses of ieee875 long double macros and unions.  Simplify test
36962         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36963         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36964         normalize after ldbl_extract_mantissa, and don't add hidden bit
36965         already handled.  Don't treat low word of ieee854 mantissa like
36966         low word of IBM long double and mask off bit when testing for
36967         zero.
36968         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36969         all uses of ieee875 long double macros and unions.  Simplify tests
36970         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36971         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36972         two1022, instead use their values.  Recognise that tests for large
36973         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36974         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36975         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36976         test for 0.0L and nan.  Correct negation.
36977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36978         ieee875 long double macros and unions.  Correct output for large
36979         magnitude x.  Correct absolute value calculation.
36980         (__erfcl): Likewise.
36981         * math/libm-test.inc: Add tests for errors discovered in IBM long
36982         double versions of fmodl, remainderl, erfl and erfcl.
36984 2013-10-04  Alan Modra  <amodra@gmail.com>
36986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36987         all uses of ieee854 long double macros and unions.  Simplify tests
36988         for long doubles that are fully specified by the high double.
36989         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36990         Likewise.
36991         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36992         Remove dead code too.
36993         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36994         (__ieee754_ynl): Likewise.
36995         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36996         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36997         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36998         Remove dead code too.
36999         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37002         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37003         Simplify.
37004         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37005         Simplify.
37006         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37007         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37008         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37009         Comment on variable precision.
37010         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37012         Likewise.
37013         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37014         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37015         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37016         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37017         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37019 2013-10-04  Alan Modra  <amodra@gmail.com>
37021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37022         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37023         all uses of ieee854 long double macros and unions.
37024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37026         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37027         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37028         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37029         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37030         Likewise.
37031         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37032         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37033         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37034         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37035         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37036         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37037         Simplify sign and nan test too.
37038         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37039         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37040         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37041         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37042         Likewise.
37043         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37045         Likewise.
37046         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37047         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37048         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37049         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37050         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37053 2013-10-04  Alan Modra  <amodra@gmail.com>
37055         * stdio-common/printf_size.c (__printf_size): Don't use
37056         union ieee854_long_double in fpnum union.
37057         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37058         signbit macro to retrieve sign from long double.
37059         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37060         retrieve sign from long double.
37061         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37062         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37063         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37064         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37065         * math/test-misc.c (main): Don't use union ieee854_long_double.
37067 2013-10-04  Alan Modra  <amodra@gmail.com>
37069         [BZ #15680]
37070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37071         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37072         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37073         calculation.  Remove unnecessary test for denormal exponent.
37074         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37075         Correct handling of denormals.  Avoid undefined shift behaviour.
37076         Correct normalisation of low mantissa when low double is denormal.
37077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37078         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37079         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37080         Correct normalisation of low mantissa.  Test for overflow of high
37081         mantissa and normalise.
37082         (ldbl_nearbyint): Use more readable constant for two52.
37083         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37084         (__mpn_construct_long_double): Fix test for overflow of high
37085         mantissa and correct normalisation.  Avoid undefined shift.
37087 2013-10-04  Alan Modra  <amodra@gmail.com>
37089         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37090         (union ibm_extended_long_double): Define as an array of ieee754_double.
37091         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37092         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37093         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37096         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37098         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37099         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37100         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37103 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37105         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37106         page size instead of calling getpagesize.
37108         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37109         (LOCFILE_ALIGN_MASK): Likewise.
37110         (LOCFILE_ALIGN_UP): Likewise.
37111         (LOCFILE_ALIGNED_P): Likewise.
37112         * locale/programs/ld-collate.c (collate_output): Use the new
37113         macros instead of __alignof__ (int32_t).
37114         * locale/weight.h (findidx): Likewise.
37116 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37118         [BZ #431]
37119         * manual/string.texi: Fix strncat and wcsncat.
37121 2013-10-03  Brooks Moses  <bmoses@google.com>
37123         [BZ #15915]
37124         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37125         * Makerules: ...here, and adjust associated comments.
37127 2013-10-02  Will Newton  <will.newton@linaro.org>
37129         * malloc/Makefile: Add tst-pvalloc.
37130         * malloc/tst-pvalloc.c: New file.
37132 2013-10-02  Will Newton  <will.newton@linaro.org>
37134         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37135         improve test coverage.
37137 2013-10-02  Will Newton  <will.newton@linaro.org>
37139         * malloc/Makefile: Add tst-posix_memalign.
37140         * malloc/tst-posix_memalign.c: New file.
37142 2013-10-01  Eric Blake  <eblake@redhat.com>
37144         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37145         Use __THROWNL rather than __THROW on static functions.
37147 2013-09-30  Petr Machata  <pmachata@redhat.com>
37149         * elf/elf.h (R_AARCH64_ABS16): New macro.
37150         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37151         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37152         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37153         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37154         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37155         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37156         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37157         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37158         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37159         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37160         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37161         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37162         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37163         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37164         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37165         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37166         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37167         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37168         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37169         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37170         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37171         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37172         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37173         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37174         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37175         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37176         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37177         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37178         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37179         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37180         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37181         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37182         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37183         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37184         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37185         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37186         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37187         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37188         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37189         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37190         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37191         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37192         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37193         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37194         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37195         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37196         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37197         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37198         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37199         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37200         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37201         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37202         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37203         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37204         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37205         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37206         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37207         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37208         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37209         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37210         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37211         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37212         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37213         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37214         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37215         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37216         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37217         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37218         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37219         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37220         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37221         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37222         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37223         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37224         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37225         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37226         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37227         (R_AARCH64_TLSDESC_LDR): Likewise.
37228         (R_AARCH64_TLSDESC_ADD): Likewise.
37229         (R_AARCH64_TLSDESC_CALL): Likewise.
37231 2013-09-30  Andreas Schwab  <schwab@suse.de>
37233         [BZ #15048]
37234         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37235         the nss database lookup.
37236         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37239 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37241         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37243 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37245         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37246         ${Bash-specific parameter/pattern/string} parameter expansion.
37247         * sysdeps/unix/make-syscalls.sh: Likewise.
37249 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37251         * sysdeps/sh/stackguard-macros.h: New file.
37253 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37257         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37258         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37259         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37260         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37262 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37264         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37265         Fix thread ID register.
37267 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37269         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37270         [POSIX || UNIX98]: Require rather than permitting all symbols from
37271         <time.h>.
37272         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37273         element of struct sched_param.
37274         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37275         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37276         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37277         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37278         constant.
37280 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37282         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37283         argument calculation.
37285 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37287         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37288         Expect macro.
37289         [POSIX] (pthread_attr_t): Do not require type.
37290         [POSIX] (pthread_cond_t): Likewise.
37291         [POSIX] (pthread_condattr_t): Likewise.
37292         [POSIX] (pthread_key_t): Likewise.
37293         [POSIX] (pthread_mutex_t): Likewise.
37294         [POSIX] (pthread_mutexattr_t): Likewise.
37295         [POSIX] (pthread_once_t): Likewise.
37296         [POSIX] (pthread_t): Likewise.
37297         [POSIX-based standards] (pthread_atfork): Expect function.
37299 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37300             Richard Sandiford  <richard@codesourcery.com>
37302         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37303         (swap_endianness_p): New extern variable.
37304         (set_big_endian): New inline function.
37305         (maybe_swap_uint32): Likewise.
37306         (maybe_swap_uint32_array): Likewise.
37307         (maybe_swap_uint32_obstack): Likewise.
37308         * locale/programs/locfile.c: Include <stdbool.h>.
37309         (swap_endianness_p): New variable.
37310         (add_locale_uint32): Call maybe_swap_uint32.
37311         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37312         (write_locale_data): Call maybe_swap_uint32_array.
37313         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37314         maybe_swap_uint32.
37315         (obstack_int32_grow_fast): Likewise.
37316         (output_weightwc): Call maybe_swap_uint32_obstack.
37317         (collate_output): Likewise.
37318         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37319         (OPT_LITTLE_ENDIAN): Likewise.
37320         (options): Add --little-endian and --big-endian options.
37321         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37322         * locale/programs/locarchive.c: Include "locfile.h".
37323         (GET): New macro.
37324         (SET): Likewise.
37325         (INC): Likewise.
37326         (create_archive): Use the new macros to access fields of
37327         structures directly mapped from or written to locale archives.
37328         (oldlocrecentcmp): Likewise.
37329         (enlarge_archive): Likewise.
37330         (insert_name): Likewise.
37331         (add_alias): Likewise.
37332         (add_locale): Likewise.
37333         (delete_locales_from_archive): Likewise.
37334         (show_archive_content): Likewise.
37335         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37336         locale data.
37338 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37340         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37341         http://www.gnu.org/doc/freemanuals.texi.
37342         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37344 2013-09-24  Will Newton  <will.newton@linaro.org>
37346         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37347         macro.
37349 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37351         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37352         unsigned char.
37354 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37356         * manual/threads.texi (POSIX Threads): Fix a typo.
37358 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37360         [BZ #14547]
37361         * string/tst-strcoll-overflow.c: New test case.
37362         * string/Makefile (xtests): Add tst-strcoll-overflow.
37363         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37364         cache if string sizes may cause integer overflow.
37366         [BZ #14547]
37367         * string/strcoll_l.c (coll_seq): New members rule, idx,
37368         save_idx and back_us.
37369         (get_next_seq_nocache): New function.
37370         (do_compare_nocache): New function.
37371         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37372         when malloc fails.
37374 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37376         [BZ #15754]
37377         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37378         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37379         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37381         [BZ #15754]
37382         * elf/Makefile (tests): Add tst-ptrguard1.
37383         (tests-static): Add tst-ptrguard1-static.
37384         (tst-ptrguard1-ARGS): Define.
37385         (tst-ptrguard1-static-ARGS): Define.
37386         * elf/tst-ptrguard1.c: New file.
37387         * elf/tst-ptrguard1-static.c: New file.
37388         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37389         * sysdeps/i386/stackguard-macros.h: Likewise.
37390         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37391         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37392         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37393         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37394         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37395         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37397 2013-09-23  Hector Marco  <hecmargi@upv.es>
37398             Ismael Ripoll  <iripoll@disca.upv.es>
37399             Carlos O'Donell  <carlos@redhat.com>
37401         [BZ #15754]
37402         * sysdeps/generic/stackguard-macros.h: Define
37403         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37404         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37405         Define __pointer_chk_guard_local.
37406         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37407         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37409 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37411         [BZ #15859]
37412         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37414 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37416         * include/string.h (__ffs): Declare as hidden.
37417         * string/ffs.c (__ffs): Define as hidden.
37418         * sysdeps/i386/ffs.c (__ffs): Likewise.
37419         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37420         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37421         * sysdeps/s390/ffs.c (__ffs): Likewise.
37422         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37424 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37426         * NEWS: Mention malloc probes.
37428         * malloc/arena.c (new_heap): New memory_heap_new probe.
37429         (grow_heap): New memory_heap_more probe.
37430         (shrink_heap): New memory_heap_less probe.
37431         (heap_trim): New memory_heap_free probe.
37432         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37433         (systrim): New memory_sbrk_less probe.
37434         * manual/probes.texi: Document them.
37436         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37437         * manual/probes.texi: Document it.
37439         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37440         (__libc_realloc): Add memory_realloc_retry probe.
37441         (__libc_memalign): Add memory_memalign_retry probe.
37442         (__libc_valloc): Add memory_valloc_retry probe.
37443         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37444         (__libc_calloc): Add memory_calloc_retry probe.
37445         * manual/probes.texi: Document them.
37447         * malloc/arena.c (get_free_list): Add probe
37448         memory_arena_reuse_free_list.
37449         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37450         and memory_arena_reuse.
37451         (arena_get2) [!PER_THREAD]: Likewise.
37452         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37453         memory_arena_reuse_realloc.
37454         * manual/probes.texi: Document them.
37456         * malloc/malloc.c (__libc_free): Add
37457         memory_mallopt_free_dyn_thresholds probe.
37458         (__libc_mallopt): Add multiple memory_mallopt probes.
37459         * manual/probes.texi: Document them.
37461         * malloc/malloc.c: Include stap-probe.h.
37462         (__libc_mallopt): Add memory_mallopt probe.
37463         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37464         * manual/probes.texi: New.
37465         * manual/Makefile (chapters): Add probes.
37466         * manual/threads.texi: Set next node.
37468 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37470         [BZ #15963, #13985]
37471         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37472         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37473         Add `Chinese' to `nan' entry name.
37475 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37477         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37478         (POLYNOMIAL): Likewise.
37479         (TAYLOR_SINCOS): Likewise.
37480         (TAYLOR_SLOW): Likewise.
37481         (__sin): Use TAYLOR_SINCOS.
37482         (__cos): Likewise.
37483         (slow): Use TAYLOR_SLOW.
37484         (sloww): Likewise.
37485         (bsloww): Likewise.
37486         (csloww): Likewise.
37488 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37490         * stdlib/strtod_l.c: Fix buffer overrun.
37492 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37494         * benchtests/Makefile (bench): Add sincos.
37495         * benchtests/bench-sincos.c: New file.
37497         * math/libm-test.inc (cos_test_data): New test inputs.
37498         (sin_test_data): Likewise.
37500         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37501         macro.
37502         (__sin): Use it.
37503         (__cos): Likewise.
37504         (slow1): Likewise.
37505         (slow2): Likewise.
37506         (sloww1): Likewise.
37507         (sloww2): Likewise.
37508         (bsloww1): Likewise.
37509         (bsloww2): Likewise.
37510         (cslow2): Likewise.
37511         (csloww1): Likewise.
37512         (csloww2): Likewise.
37514         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37515         function.
37516         (__sin): Use it.
37517         (__cos): Likewise.
37519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37520         gotos.
37521         (__cos): Likewise.
37523 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37525         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37526         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37527         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37528         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37529         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37530         * elf/cache.c (print_entry): Handle the new cache flags.
37532 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37533             Aldy Hernandez  <aldyh@redhat.com>
37535         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37536         Change condition to [_SOFT_FLOAT].
37537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37549         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37552         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37553         declaration.
37555 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37557         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37558         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37559         (__longjmp): Use LOAD_GP to load saved GPRs.
37560         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37561         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37562         (__sigsetjmp): Use SAVE_GP to save GPRs.
37564         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37565         Do not append -msoft-float.
37566         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37568 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37570         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37572 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37574         [BZ #15966]
37575         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37576         (_FPU_GETCW): Use initial "__" on variable and field names but not
37577         on macro parameter name.
37578         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37579         parentheses around reference to macro parameter.
37581 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37583         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37584         prototype.
37585         (ctype_startup): Use uint32_t in cast and sizeof for
37586         ctype->charnames.
37588 2013-09-11  Jia Liu  <proljc@gmail.com>
37590         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37591         __daddr_t_defined.
37592         [__FreeBSD__]: Likewise.
37594 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37597         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37598         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37599         (strchr): Remove __strchr_sse42 ifunc selection.
37600         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37601         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37603 2013-09-11  Will Newton  <will.newton@linaro.org>
37605         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37606         parameter to RES. Remove hardcoded 1000 value.
37607         * benchtests/bench-skeleton.c (main): Pass RES parameter
37608         to TIMING_INIT and multiply result by 1000.
37610 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37614 2013-09-11  Andreas Schwab  <schwab@suse.de>
37616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37617         if not defined.
37618         (O_TMPFILE) [__USE_GNU]: Define.
37619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37620         Define.
37622 2013-09-11  Will Newton  <will.newton@linaro.org>
37624         [BZ #15857]
37625         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37626         does not overflow.
37628 2013-09-11  Will Newton  <will.newton@linaro.org>
37630         [BZ #15856]
37631         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37632         does not overflow.
37634 2013-09-11  Will Newton  <will.newton@linaro.org>
37636         [BZ #15855]
37637         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37638         does not overflow.
37640 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37642         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37643         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37645         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37646         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37648 2013-09-10  Allan McRae  <allan@archlinux.org>
37650         [BZ #15748]
37651         * manual/arith.texi (Parsing of Floats): Clarify
37652         cross-reference.
37654         [BZ #15849]
37655         * manual/install.texi (Running make install): Mention
37656         --enable-pt-chown.
37657         * INSTALL: Regenerated.
37659 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37661         * csu/init-first.c (_init): Remove the !SHARED condition around
37662         FPU control word initialization.
37663         * elf/dl-support.c (_dl_fpu_control): New variable.
37664         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37665         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37666         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37667         * math/test-fpucw-static.c: New file.
37668         * math/test-fpucw-ieee.c: New file.
37669         * math/test-fpucw-ieee-static.c: New file.
37670         * math/Makefile (tests): Add `test-fpucw-ieee' and
37671         `$(tests-static)'.
37672         (tests-static): New variable.
37673         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37674         dependency to...
37675         [($(build-shared),yes)]
37676         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37677         ... this.
37678         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37679         New dependency.
37681 2013-09-09  Allan McRae  <allan@archlinux.org>
37683         [BZ #15939]
37684         * manual/string.texi (Collation Functions): Fix typo in
37685         strcoll example.
37686         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37688         [BZ #15893]
37689         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37691         [BZ #15892]
37692         * libio/memstream.c (open_memstream): Fix memory leak.
37693         * libio/wmemstream.c (open_wmemstream): Likewise.
37695         [BZ #15895]
37696         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37698 2013-09-09  Will Newton  <will.newton@linaro.org>
37700         * malloc/Makefile: Add tst-realloc to tests.
37701         * malloc/tst-realloc.c: New file.
37703 2013-09-09  Allan McRae  <allan@archlinux.org>
37705         [BZ #15844]
37706         * COPYING: Update from GNU website to fix FSF address.
37707         * COPYING.LIB: Likewise.
37709 2013-09-06  David S. Miller  <davem@davemloft.net>
37711         * po/zh_TW.po: Update Chinese (traditional) translation from
37712         translation project.
37714 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37715             Joseph Myers  <joseph@codesourcery.com>
37717         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37718         "localeinfo.h".
37719         (obstack_chunk_alloc): New macro.
37720         (obstack_chunk_free): Likewise.
37721         (record_offset): New function.
37722         (init_locale_data): Likewise.
37723         (align_locale_data): Likewise.
37724         (add_locale_empty): Likewise.
37725         (add_locale_raw_data): Likewise.
37726         (add_locale_raw_obstack): Likewise.
37727         (add_locale_string): Likewise.
37728         (add_locale_wstring): Likewise.
37729         (add_locale_uint32): Likewise.
37730         (add_locale_uint32_array): Likewise.
37731         (add_locale_char): Likewise.
37732         (start_locale_structure): Likewise.
37733         (end_locale_structure): Likewise.
37734         (start_locale_prelude): Likewise.
37735         (end_locale_prelude): Likewise.
37736         (write_locale_data): Take locale_file structure rather than an
37737         iovec.
37738         * locale/programs/locfile.h: Include "obstack.h".
37739         (struct locale_file): Change to store locale file contents instead
37740         of header.
37741         (init_locale_data): New prototype.
37742         (align_locale_data): Likewise.
37743         (add_locale_empty): Likewise.
37744         (add_locale_raw_data): Likewise.
37745         (add_locale_raw_obstack): Likewise.
37746         (add_locale_string): Likewise.
37747         (add_locale_wstring): Likewise.
37748         (add_locale_uint32): Likewise.
37749         (add_locale_uint32_array): Likewise.
37750         (add_locale_char): Likewise.
37751         (start_locale_structure): Likewise.
37752         (end_locale_structure): Likewise.
37753         (start_locale_prelude): Likewise.
37754         (end_locale_prelude): Likewise.
37755         (write_locale_data): Update prototype.
37756         * locale/programs/3level.h (struct TABLE): Remove result field.
37757         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37758         Use new locale_file interface.
37759         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37760         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37761         * locale/programs/ld-address.c (address_output): Use new
37762         locale_file interface.
37763         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37764         NO_ADD_LOCALE.
37765         (collate_finish): Don't call collseq_table_finalize.
37766         (collate_output): Use new locale_file interface.
37767         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37768         in file.
37769         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37770         (TABLE): Move defines earlier in file.
37771         (ELEMENT): Likewise.
37772         (DEFAULT): Likewise.
37773         (wctrans_table_add): Move macro and inline function earlier in
37774         file.
37775         (struct wctype_table): Move type earlier in file.
37776         (add_locale_wctype_table): New static prototype.
37777         (struct locale_ctype_t): Use logical types instead of struct iovec
37778         pointers for members.
37779         (ctype_output): Use new locale_file interface.
37780         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37781         new locale_file interface.
37782         (allocate_arrays): Update for use of new locale_file interface.
37783         * locale/programs/ld-identification.c (identification_output): Use
37784         new locale_file interface.
37785         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37786         * locale/programs/ld-messages.c (messages_output): Likewise.
37787         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37788         * locale/programs/ld-name.c (name_output): Likewise.
37789         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37790         * locale/programs/ld-paper.c (paper_output): Likewise.
37791         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37792         * locale/programs/ld-time.c (time_output): Likewise.
37794 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37796         * benchtests/Makefile: Add memrchr benchmark.
37797         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37798         benchmark as memrchr.
37799         * benchtests/bench-memrchr-ifunc.c: New file.
37800         * benchtests/bench-memrchr.c: New file.
37802 2013-09-06   Will Newton  <will.newton@linaro.org>
37804         * benchtests/Makefile (string-bench): Add memcpy.
37806 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37807             Cong Wang  <amwang@redhat.com>
37809         [BZ #15850]
37810         * sysdeps/unix/sysv/linux/bits/in.h
37811         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37812         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37813         before __USE_KERNEL_IPV6_DEFS uses.
37814         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37815         IPPROTO_BEETPH.
37816         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37817         sockaddr_in6, or ipv6_mreq.
37819 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37821         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37822         memory access for final bytes in some large inputs.
37823         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37825 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37827         * string/test-memrchr.c: New file.
37828         * string/test-memrchr-ifunc.c: New file.
37829         * string/Makefile: Add new memrchr testcase.
37831 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37833         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37834         fanotify_init returns EPERM.
37836 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37838         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37839         errors.
37840         (top level): Treat second token from macro or constant entries for
37841         allowed headers as allowed.
37842         * include/complex.h: Condition internal declarations on
37843         [!_ISOMAC].
37844         * include/fenv.h: Condition include of <stdbool.h> and internal
37845         declarations on [!_ISOMAC].
37847 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37849         [BZ #15923]
37850         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37852 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37854         * configure.in (--enable-versioning): Remove configure option.
37855         (libc_cv_asm_symver_directive): Remove configure test.
37856         (libc_cv_ld_version_script_option): Likewise.
37857         (VERSIONING): Remove variable and AC_SUBST.
37858         (DO_VERSIONING): Remove AC_DEFINE.
37859         * configure: Regenerated.
37860         * config.h.in (DO_VERSIONING): Remove macro.
37861         * Makerules [$(versioning) = yes]: Change conditionals to
37862         [$(build-shared) = yes].
37863         * config.make.in (versioning): Remove variable.
37864         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37865         [$(build-shared) = yes].
37866         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37867         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37868         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37869         [$(build-shared) = yes].
37870         * extra-lib.mk [$(versioning) = yes]: Likewise.
37871         * hurd/Makefile [$(versioning) = yes]: Likewise.
37872         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37873         [SHARED].
37874         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37875         [SHARED].
37876         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37877         [SHARED && !NO_HIDDEN].
37878         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37879         [SHARED].
37880         [SHARED && DO_VERSIONING]: Likewise..
37881         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37882         [$(build-shared) = yes].
37883         * manual/install.texi (--disable-versioning): Remove
37884         documentation.
37885         * INSTALL: Regenerated.
37886         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37887         to [SHARED].
37888         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37889         [$(build-shared) = yes].
37890         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37891         * sysdeps/i386/i686/multiarch/strstr-c.c
37892         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37893         [SHARED && !NO_HIDDEN].
37894         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37895         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37896         * sysdeps/powerpc/powerpc32/dl-machine.c
37897         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37898         * sysdeps/powerpc/powerpc32/sysdep.h
37899         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37900         to [SHARED && PIC && !NO_HIDDEN].
37901         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37902         conditional to [SHARED].
37904 2013-09-04   Will Newton  <will.newton@linaro.org>
37906         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37907         * benchtests/bench-string.h: Include bench-timing.h instead
37908         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37909         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37910         call to HP_TIMING_DIFF_INIT.
37911         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37912         instead of hp-timing.h macros.
37913         * benchtests/bench-memchr.c: Likewise.
37914         * benchtests/bench-memcmp.c: Likewise.
37915         * benchtests/bench-memcpy.c: Likewise.
37916         * benchtests/bench-memmem.c: Likewise.
37917         * benchtests/bench-memmove.c: Likewise.
37918         * benchtests/bench-memset.c: Likewise.
37919         * benchtests/bench-rawmemchr.c: Likewise.
37920         * benchtests/bench-strcasecmp.c: Likewise.
37921         * benchtests/bench-strcasestr.c: Likewise.
37922         * benchtests/bench-strcat.c: Likewise.
37923         * benchtests/bench-strchr.c: Likewise.
37924         * benchtests/bench-strcmp.c: Likewise.
37925         * benchtests/bench-strcpy.c: Likewise.
37926         * benchtests/bench-strcpy_chk.c: Likewise.
37927         * benchtests/bench-strlen.c: Likewise.
37928         * benchtests/bench-strncasecmp.c: Likewise.
37929         * benchtests/bench-strncat.c: Likewise.
37930         * benchtests/bench-strncmp.c: Likewise.
37931         * benchtests/bench-strncpy.c: Likewise.
37932         * benchtests/bench-strnlen.c: Likewise.
37933         * benchtests/bench-strpbrk.c: Likewise.
37934         * benchtests/bench-strrchr.c: Likewise.
37935         * benchtests/bench-strspn.c: Likewise.
37936         * benchtests/bench-strstr.c: Likewise.
37938 2013-09-04  Will Newton  <will.newton@linaro.org>
37940         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37942 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37944         [BZ #15427]
37945         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37946         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37947         * math/libm-test.inc (lgamma_test_data): Add more tests.
37948         * sysdeps/i386/fpu/libm-test-ulps: Update.
37949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37951 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37953         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37955         Add ifunc.
37956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37957         Add strcmp-sse2-unaligned
37958         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37960 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37962         * Versions.def (libc): Add GLIBC_2.19.
37964 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37966         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37967         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37969 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37971         [BZ #14155]
37972         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37973         intermediate calculations in recurrence.
37974         (__ieee754_ynf): Likewise.
37975         * math/libm-test.inc (jn_test_data): Do not allow spurious
37976         underflow exception.  Add more tests.
37977         (yn_test_data): Add more tests.
37978         * sysdeps/i386/fpu/libm-test-ulps: Update.
37979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37981 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37983         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37985 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37987         * csu/init-first.c: Fix then/than typos.
37988         * locale/programs/ld-collate.c: Likewise.
37989         * locale/programs/linereader.h: Likewise.
37990         * manual/charset.texi: Likewise.
37991         * manual/filesys.texi: Likewise.
37992         * manual/stdio.texi: Likewise.
37993         * manual/string.texi: Likewise.
37994         * stdlib/fmtmsg.c: Likewise.
37995         * sysdeps/i386/stpncpy.S: Likewise.
37996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37997         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37998         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37999         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38001 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38003         * elf/dl-open.c: Fix typos.
38004         * iconvdata/gbbig5.c: Likewise.
38005         * iconvdata/iso-2022-jp.c: Likewise.
38006         * iconv/gconv_int.h: Likewise.
38007         * iconv/loop.c: Likewise.
38008         * nis/rpcsvc/nis.h: Likewise.
38009         * resolv/ns_name.c: Likewise.
38010         * stdio-common/vfscanf.c: Likewise.
38011         * streams/stropts.h: Likewise.
38012         * sunrpc/rpc_thread.c: Likewise.
38013         * sysdeps/i386/strpbrk.S: Likewise.
38014         * sysdeps/ieee754/k_standard.c: Likewise.
38015         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38016         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38017         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38018         * sysdeps/mach/hurd/profil.c: Likewise.
38019         * sysdeps/s390/dl-procinfo.h: Likewise.
38020         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38021         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38022         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38023         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38026 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38028         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38031 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38033         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38034         aix specific files.
38035         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38036         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38037         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38038         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38039         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38040         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38041         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38042         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38044 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38045             Roland McGrath  <roland@hack.frob.com>
38047         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38048         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38050 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38052         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38053         __executable_start symbol instead of _start.
38055 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38057         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38058         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38059         Move macros to...
38060         * sysdeps/gnu/ldsodefs.h: ... this new file.
38062         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38063         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38064         instead of ELFOSABI_LINUX.
38066         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38067         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38068         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38069         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38070         Likewise.
38071         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38072         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38073         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38074         Likewise.
38075         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38076         (ibm_extended_long_double): Add ieee_nan member.
38077         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38078         (do_test): New function.
38080         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38081         TEST_TRUNC.
38082         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38083         functions, renamed from truncdfsf_test, trunctfsf_test,
38084         trunctfdf_test.
38085         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38086         functions.
38087         (do_test): Run all these.
38089 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38091         * argp/argp-help.c: Fix typos.
38092         * argp/argp-parse.c: Likewise.
38093         * debug/backtracesyms.c: Likewise.
38094         * elf/elf.h: Likewise.
38095         * malloc/malloc.c: Likewise.
38096         * nis/nis_print.c: Likewise.
38097         * resolv/res_comp.c: Likewise.
38098         * stdlib/stdlib.h: Likewise.
38099         * sunrpc/clnt_tcp.c: Likewise.
38100         * sunrpc/clnt_udp.c: Likewise.
38101         * sunrpc/clnt_unix.c: Likewise.
38102         * sysdeps/unix/bsd/ptsname.c: Likewise.
38103         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38106         Likewise.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38108         Likewise.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38110         Likewise.
38111         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38113 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38115         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38118 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38120         [BZ #15897]
38121         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38122         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38123         ($(objpfx)bug-dl-leaf): New rule.
38124         ($(objpfx)bug-dl-leaf.so): Likewise.
38125         ($(objpfx)bug-dl-leaf.out): Likewise.
38126         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38127         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38128         * dlfcn/bug-dl-leaf.c: New test.
38129         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38130         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38131         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38132         (dlclose): Likewise.
38133         (dlmopen): Likewise.
38135 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38137         * include/netdb.h [!_ISOMAC]:
38138         Don't include <tls.h>.
38139         (h_errno, __libc_h_errno): Move declaration and macros out of
38140         [_LIBC_REENTRANT].
38142         * include/resolv.h [_RESOLV_H_]:
38143         Don't include <tls.h>.
38144         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38145         * resolv/res_libc.c: Don't include <tls.h>.
38146         (_res): Use __attribute__ ((nocommon)) in place of
38147         __attribute__ ((section (".bss"))).
38149         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38150         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38152         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38154         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38155         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38157         * resolv/res_mkquery.c: Include <sys/time.h>.
38159         * inet/ifreq.c: Moved to ...
38160         * sysdeps/unix/ifreq.c: ... here.
38161         * inet/ifreq.c: New file, true stub version.
38163         * socket/sa_len.c: New file.
38164         * socket/Makefile (aux): Add it.
38165         * sysdeps/unix/sysv/linux/Makefile
38166         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38167         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38168         and #include <socket/sa_len.c>.
38169         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38170         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38172         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38173         * bits/socket.h: ... here.
38175         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38176         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38177         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38179 2013-08-27  Andreas Schwab  <schwab@suse.de>
38181         [BZ #15736]
38182         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38183         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38184         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38185         * string/test-strcasecmp.c (test_main): Run tests in several
38186         locales.
38187         * string/test-strncasecmp.c (test_main): Likewise.
38189         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38190         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38191         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38192         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38193         (__strncasecmp_ssse3) [PIC]: Likewise.
38195 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38197         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38199         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38200         instead of explicitly declaring xdecrypt.
38201         * nis/nss_nis/nis-publickey.c: Likewise.
38203 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38205         [BZ #15890]
38206         * nscd/aicache.c: Include res_hconf.h.
38207         (addhstaiX): Initialize res_hconf.
38209 2013-08-26  Andreas Schwab  <schwab@suse.de>
38211         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38212         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38214 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216         * nscd/aicache.c (addhstaiX): Fix indentation.
38218 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38220         * configure.ac: Quote $build_pt_chown test.
38221         * configure: Regenerated.
38223 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38225         [BZ #15532]
38226         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38227         * math/s_cexpf.c (__cexpf): Likewise.
38228         * math/s_cexpl.c (__cexpl): Likewise.
38229         * math/libm-test.inc (cexp_test_data): Correct expected return
38230         value for NaN + i0.  Add another test.
38232 2013-08-22  David S. Miller  <davem@davemloft.net>
38234         * po/ca.po: Update Catalan translation from translation project.
38235         * po/uk.po: Add Ukrainian translations from translation project.
38237 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38239         [BZ #15797]
38240         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38241         is infinite, not alongside NaN test.
38242         * math/s_fdimf.c (__fdimf): Likewise.
38243         * math/s_fdiml.c (__fdiml): Likewise.
38244         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38245         errno is unchanged.
38247 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38249         * argp/argp-help.c: Fix typos.
38250         * crypt/speeds.c: Likewise.
38251         * csu/check_fds.c: Likewise.
38252         * elf/dl-load.c: Likewise.
38253         * elf/dl-open.c: Likewise.
38254         * elf/reldep3.c: Likewise.
38255         * elf/reldep.c: Likewise.
38256         * elf/sprof.c: Likewise.
38257         * iconv/iconv_charmap.c: Likewise.
38258         * iconv/skeleton.c: Likewise.
38259         * iconv/strtab.c: Likewise.
38260         * io/lockf64.c: Likewise.
38261         * libio/libioP.h: Likewise.
38262         * resolv/gai_notify.c: Likewise.
38263         * resolv/ns_name.c: Likewise.
38264         * resolv/ns_samedomain.c: Likewise.
38265         * resolv/res_send.c: Likewise.
38266         * stdlib/random.c: Likewise.
38267         * sunrpc/rpc/xdr.h: Likewise.
38268         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38269         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38270         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38271         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38272         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38273         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38274         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38275         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38276         * sysdeps/mach/hurd/check_fds.c: Likewise.
38277         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38278         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38280         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38281         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38282         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38283         * sysdeps/pthread/aio_notify.c: Likewise.
38284         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38285         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38286         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38288         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38290 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38292         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38293         version if bit_Slow_SSE4_2 is set.
38294         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38295         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38297 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38299         [BZ #15867]
38300         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38301         trampoline stack frame information.
38302         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38304         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38305         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38306         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38307         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38308         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38309         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38310         sa_flags value.
38311         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38312         interrupting a syscall and set with option SA_SIGINFO.
38314 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38316         [BZ #15531]
38317         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38318         argument is infinite.
38319         * math/s_cprojf.c (__cprojf): Likewise.
38320         * math/s_cprojl.c (__cprojl): Likewise.
38321         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38322         * math/libm-test.inc (cproj_test_data): Add more tests.
38324         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38326         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38327         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38328         size.  Use __ffs to determine corresponding shift.
38330 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38331             Roland McGrath  <roland@hack.frob.com>
38333         * Makefile (INSTALL): Remove trailing blank lines from output of
38334         makeinfo.
38336 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38338         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38339         Align 32 bit compat elf_greg to 8 bytes.
38341 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38343         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38345 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38347         * string/strcoll_l.c (coll_seq): New structure.
38348         (get_next_seq_cached): New function.
38349         (get_next_seq): New function.
38350         (do_compare): New function.
38351         (STRCOLL): Use GNU style definition.  Simplify implementation
38352         by using get_next_seq, get_next_seq_cached and do_compare.
38354 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38356         [BZ #14699]
38357         CVE-2013-4237
38358         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38359         member.
38360         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38361         member.
38362         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38363         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38364         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38365         conditional.
38366         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38367         GETDENTS_64BIT_ALIGNED.
38368         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38369         * manual/filesys.texi (Reading/Closing Directory): Document
38370         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38371         strongly.
38372         * manual/conf.texi (Limits for Files): Add portability note to
38373         NAME_MAX, PATH_MAX.
38374         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38376 2013-08-13  Andreas Schwab  <schwab@suse.de>
38378         [BZ #15749]
38379         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38380         of fabs.
38381         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38382         LDBL_MAX_EXP >= 16384]: Add tests for it.
38384 2013-08-12  David S. Miller  <davem@davemloft.net>
38386         * version.h (RELEASE): Set to "development".
38387         (VERSION): Set to "2.18.90".
38388         * NEWS: Add 2.19 section.
38390 2013-08-03  David S. Miller  <davem@davemloft.net>
38392         * po/ko.po: Update Korean translation from translation project.
38394 2013-08-01  David S. Miller  <davem@davemloft.net>
38396         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38397         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38398         Bilka.
38400 2013-07-30  David S. Miller  <davem@davemloft.net>
38402         * po/fr.po: Update French translation from translation project.
38404 2013-07-28  David S. Miller  <davem@davemloft.net>
38406         * po/cs.po: Update Czech translation from translation project.
38408         * po/sv.po: Update Swedish translation from translation project.
38410 2013-07-27  David S. Miller  <davem@davemloft.net>
38412         * po/eo.po: Update Esperanto translation from translation project.
38414         * po/vi.po: Update Vietnamese translation from translation project.
38416         * po/de.po: Update German translation from translation project.
38418 2013-07-26  David S. Miller  <davem@davemloft.net>
38420         * po/bg.po: Update Bulgarian translation from translation project.
38422         * po/nl.po: Update Dutch translation from translation project.
38423         * po/pl.po: Update Polish translation from translation project.
38424         * po/ru.po: Update Russian translation from translation project.
38426 2013-07-24  David S. Miller  <davem@davemloft.net>
38428         * po/libc.pot: Update.
38430 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38432         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38433         variable page size.
38434         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38435         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38436         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38438 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38440         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38442 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38443             Andreas Schwab  <schwab@suse.de>
38444             Roland McGrath  <roland@hack.frob.com>
38445             Joseph Myers  <joseph@codesourcery.com>
38446             Carlos O'Donell  <carlos@redhat.com>
38448         [BZ #15755]
38449         * config.h.in: Define HAVE_PT_CHOWN.
38450         * config.make.in (build-pt-chown): New variable.
38451         * configure.in (--enable-pt_chown): New configure option.
38452         * configure: Regenerate.
38453         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38454         build-pt-chown is enabled.
38455         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38456         pt_chown to fix pty ownership.
38457         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38458         CLOSE_ALL_FDS.
38459         * manual/install.texi (Configuring and compiling): Mention
38460         --enable-pt_chown. Add @findex for grantpt.
38461         * INSTALL: Regenerate.
38463 2013-07-20  David S. Miller  <davem@davemloft.net>
38465         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38466         difference between 32-bit and 64-bit.
38468 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38470         [BZ #15711]
38471         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38472         Avoid system header dependency with -ffreestanding.
38473         ($(objpfx)bits/syscall%d): Likewise.
38475 2013-07-13  David S. Miller  <davem@davemloft.net>
38477         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38478         underflows from atanl/atan2l due to bug 15319.
38479         (casinh_test_data): Likewise.
38481 2013-07-07  David S. Miller  <davem@davemloft.net>
38483         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38485 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38487         * sysdeps/i386/fpu/libm-test-ulps: Update.
38488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38490 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38492         * configure.in (--enable-lock-elision): Fix message text.
38493         * INSTALL: Regenerate.
38494         * configure: Regenerate.
38496 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38500 2013-07-03  Andreas Jaeger  <aj@suse.de>
38502         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38503         define.
38504         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38505         (ptrace_peeksiginfo_args): Add.
38506         (__ptrace_peeksiginfo_flags): Add.
38507         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38508         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38509         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38511 2013-07-03  Allan McRae  <allan@archlinux.org>
38513         * sysdeps/i386/fpu/libm-test-ulps: Update.
38515 2013-07-02  David S. Miller  <davem@davemloft.net>
38517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38519 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38523 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38525         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38528 2013-07-02  Andi Kleen <ak@linux.intel.com>
38530         * config.h.in (ENABLE_LOCK_ELISION): Add.
38531         * configure.in (--enable-lock-elision): Add option.
38532         * manual/install.texi: Document --enable lock elision.
38533         * configure: Regenerate
38534         * INSTALL: Regenerate.
38536 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38538         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38539         SSE4.2 strcasecmp for libc.a.
38540         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38542 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38544         [BZ #13304]
38545         * soft-fp/op-common.h (_FP_FMA): New macro.
38546         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38547         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38548         (_FP_MUL_MEAT_1_imm): ... here.
38549         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38550         (_FP_MUL_MEAT_1_wide): ... here.
38551         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38552         (_FP_MUL_MEAT_1_hard): ... here.
38553         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38554         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38555         (_FP_MUL_MEAT_2_wide): ... here.
38556         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38557         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38558         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38559         (_FP_MUL_MEAT_2_gmp): ... here.
38560         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38561         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38562         (_FP_MUL_MEAT_4_wide): ... here.
38563         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38564         (_FP_MUL_MEAT_4_gmp): ... here.
38565         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38566         (_FP_WFRACBITS_DW_S): Likewise.
38567         (_FP_WFRACXBITS_DW_S): Likewise.
38568         (_FP_HIGHBIT_DW_S): Likewise.
38569         (FP_FMA_S): Likewise.
38570         (_FP_FRAC_HIGH_DW_S): Likewise.
38571         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38572         (_FP_WFRACBITS_DW_D): Likewise.
38573         (_FP_WFRACXBITS_DW_D): Likewise.
38574         (_FP_HIGHBIT_DW_D): Likewise.
38575         (FP_FMA_D): Likewise.
38576         (_FP_FRAC_HIGH_DW_D): Likewise.
38577         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38578         (_FP_WFRACBITS_DW_E): Likewise.
38579         (_FP_WFRACXBITS_DW_E): Likewise.
38580         (_FP_HIGHBIT_DW_E): Likewise.
38581         (FP_FMA_E): Likewise.
38582         (_FP_FRAC_HIGH_DW_E): Likewise.
38583         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38584         (_FP_WFRACBITS_DW_Q): Likewise.
38585         (_FP_WFRACXBITS_DW_Q): Likewise.
38586         (_FP_HIGHBIT_DW_Q): Likewise.
38587         (FP_FMA_Q): Likewise.
38588         (_FP_FRAC_HIGH_DW_Q): Likewise.
38589         * soft-fp/fmasf4.c: New file.
38590         * soft-fp/fmadf4.c: Likewise.
38591         * soft-fp/fmatf4.c: Likewise.
38593 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38596         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38597         Silvermont.
38598         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38599         macro.
38600         (index_Slow_SSE4_2): Likewise.
38601         (index_Prefer_PMINUB_for_stringop): Likewise.
38602         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38603         bit_Slow_SSE4_2 is set.
38604         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38605         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38607 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38609         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38610         rtld_global._dl_hwcap2.
38611         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38612         POWER8.
38613         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38614         POWER8 feature descriptions defined in _dl_hwcap2.
38615         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38616         string handling for POWER8 feature bits.
38617         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38618         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38619         _dl_powerpc_cap_flags.
38620         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38621         * sysdeps/powerpc/rtld-global-offsets.sym
38622         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38623         _dl_hwcap2 in the rtld_global_ro structure.
38625 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38627         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38628         hardware capabilities in support of AT_HWCAP2.
38629         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38630         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38631         GLRO(dl_hwcap2).
38632         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38633         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38634         explicitly the unknown a_type display mechanism is used.
38635         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38636         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38637         struct member.
38638         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38639         to macro prototype for AT_HWCAP2 support.
38640         * sysdeps/i386/dl-procinfo.h: Likewise.
38641         * sysdeps/s390/dl-procinfo.h: Likewise.
38642         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38643         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38644         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38645         return -1 for unknown a_type display fallback.
38646         * sysdeps/sparc/dl-procinfo.h: Likewise.
38647         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38648         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38650 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38652         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38653         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38655 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38657         [BZ #12492]
38658         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38659         mprotect making __stack_prot writable.
38661 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38662             Joseph Myers  <joseph@codesourcery.com>
38664         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38665         as being properly aligned.
38667 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38669         * dlfcn/modstatic5.c: New file.
38670         * dlfcn/tststatic5.c: New file.
38671         * dlfcn/Makefile (tests): Add tststatic5.
38672         (tests-static): Likewise.
38673         (modules-names): Add modstatic5.
38674         (tststatic5-ENV): New variable.
38675         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38677         [BZ #15022]
38678         * elf/dl-support.c (_dl_main_map): New variable.
38679         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38680         (_dl_nns, _dl_load_adds): Set to 1.
38681         (_dl_initial_searchlist): Refer to _dl_main_map.
38682         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38683         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38684         call to _dl_get_origin.
38685         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38686         around call_map.
38687         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38688         * dlfcn/modstatic3.c: New file.
38689         * dlfcn/tststatic3.c: New file.
38690         * dlfcn/tststatic4.c: New file.
38691         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38692         (tests-static): Likewise.
38693         (modules-names): Add modstatic3.
38694         (tststatic3-ENV, tststatic4-ENV): New variables.
38695         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38696         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38698 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38700         * configure.in (CC): Require GCC version 4.4 or later.
38701         * configure: Regenerated.
38702         * manual/install.texi (Tools for Compilation): Update GCC version
38703         requirement.
38704         * INSTALL: Regenerated.
38706 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38708         [BZ #15674]
38709         * string/test-memcmp.c (check2): New.
38710         (main): Call check2.
38712         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38714 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38716         [BZ #15022]
38717         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38718         over to...
38719         (dl_open_worker) [!SHARED]: ... here.
38721 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38723         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38725 2013-06-25  Richard Henderson  <rth@redhat.com>
38727         * locale/programs/locarchive.c: Include <libc-internal.h>
38729 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38731         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38732         trailing whitespace removed.
38734 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38736         [BZ #10283]
38737         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38738         * locale/programs/locarchive.c: Include libc-mmap.h.
38739         (prepare_address_space): Take two new outputs (the mmap base and len).
38740         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38741         values.
38742         (create_archive): Declare new mmap base and len values for
38743         prepare_address_space, and store the result in ah.
38744         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38745         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38746         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38747         Declare new mmap base and len values for
38748         prepare_address_space, and store the result in new_ah.
38749         (open_archive): Declare new mmap base and len values for
38750         prepare_address_space, and store the result in ah.
38751         (close_archive): If ah->mmap_base is not NULL, use that and
38752         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38753         * sysdeps/generic/libc-mmap.h: New file.
38755 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38757         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38758         (ALIGN_UP): Likewise.
38759         (PTR_ALIGN_DOWN): Likewise.
38760         (PTR_ALIGN_UP): Likewise.
38762 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38764         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38765         entry mapped to PPC_PLATFORM_POWER8.
38766         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38767         POWER8.
38768         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38769         (_dl_string_platform): Add case for exporting platform position for
38770         POWER8.
38771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38772         search path to sysdeps/powerpc/powerpc32/power8 directory.
38773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38774         search path to sysdeps/powerpc/powerpc64/power8 directory.
38775         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38776         power7 directories.
38777         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38778         power7 directories.
38780 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38782         * INSTALL: Regenerate.
38784         * nscd/connections.c (nscd_init): Fix comment.
38786 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38788         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38790         [BZ #15667]
38791         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38792         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38794 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38796         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38797         DL_DST_REQ_STATIC.
38798         (DL_DST_REQ_STATIC): Remove macro.
38800 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38802         [BZ #7006]
38803         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38804         with a shift of 0 bits.
38806 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38808         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38809         $(tststatic-ENV).
38811 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38813         [BZ #15655]
38814         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38816 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38818         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38819         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38820         accepts -fno-tree-loop-distribute-patterns.
38821         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38822         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38823         recursive call.
38824         * string/memset.c (memset): Likewise.
38825         * string/test-memmove.c (simple_memmove): Disable loop transformation
38826         to library calls.
38827         * string/test-memset.c (simple_memset): Likewise.
38828         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38829         * benchtests/bench-memset.c (simple_memset): Likewise.
38830         * configure: Regenerated.
38832 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38834         * math/test-misc.c (main): Ignore fesetround failure when failures
38835         of subsequent rounding tests would be ignored.
38837         [BZ #15654]
38838         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38839         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38840         * math/fegetenv.c (__fegetenv): Return 0.
38841         * math/fegetexcept.c (fegetexcept): Return 0.
38842         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38843         FE_TONEAREST.
38844         * math/feholdexcpt.c (feholdexcept): Return 0.
38845         * math/fesetenv.c (__fesetenv): Return 0.
38846         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38847         argument FE_TONEAREST.
38848         * math/feupdateenv.c (__feupdateenv): Return 0.
38849         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38851 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38853         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38854         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38855         ($(objpfx)rtld-%.os rules): Use them.
38857 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38859         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38860         fields.
38862 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38864         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38865         length of target pattern, then descending length of dependency pattern.
38866         * configure.in (AWK): Require gawk 3.1.2 or newer.
38867         * manual/install.texi (Tools for Compilation): Say that we do.
38868         * configure: Regenerated.
38870         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38871         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38872         * scripts/sysd-rules.awk: ... this new script.
38873         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38874         than a glob-style pattern.
38876 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38878         * math/test-misc.c (main): Do not treat incorrectly rounded
38879         conversions as failure unless ROUNDING_TESTS passes.
38881 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38883         [BZ #15631]
38884         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38885         restore exception state around main square root computation, then
38886         check for inexactness explicitly.
38888         * math/libm-test.inc (fma_test_data): Add another test.
38890 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38892         * manual/threads.texi (Non-POSIX Extensions): New document
38893         node.  Document pthread_getattr_default_np and
38894         pthread_setattr_default_np.
38896         * Versions.def (libpthread): Add GLIBC_2.18.
38897         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38899         Likewise.
38900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38901         Likewise.
38902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38903         Likewise.
38904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38905         Likewise.
38906         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38907         Likewise.
38908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38909         Likewise.
38910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38911         Likewise.
38912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38913         Likewise.
38914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38915         Likewise.
38917 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38920         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38922 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38923             H.J. Lu  <hjl.tools@gmail.com>
38925         [BZ #15627]
38926         * sysdeps/x86_64/rtld-memset.c: Remove file.
38927         * sysdeps/x86_64/rtld-memset.S: New file.
38929 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38931         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38932         (test_in_one_mode): Take arguments for whether the rounding mode
38933         is supported for each floating-point type.
38934         (do_test): Pass new arguments to test_in_one_mode using
38935         ROUNDING_TESTS.
38937 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38939         * posix/tst-waitid.c (do_test): Distinguish different instances of
38940         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38941         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38942         before entering the kernel for waitpid.
38944 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38946         * NEWS: Fix note on clock function precision.  Text by Roland
38947         McGrath.
38949 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38951         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38952         it into place only when and if the sanity check passes.
38954 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38956         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38957         output for whether conversion result is exact.  Take argument
38958         indicating whether type is IBM long double.
38959         (round_for_all): Change need_exact field to ibm_ld.
38960         * stdlib/tst-strtod-round.c (struct exactness): New type.
38961         (struct test): Change bool ld_ok field to struct exactness exact.
38962         (TEST): Update all definitions for change to field.
38963         (tests): Regenerate array contents.
38964         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38965         field value.  Check for IBM long double here.
38966         (do_test): Update calls to test_in_one_mode.
38968 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38970         [BZ #12515]
38971         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38972         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38974 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38976         [BZ #15605]
38977         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38978         generated by the compiler on loop optimizations.
38979         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38980         general definitions.
38982 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38984         * math/bug-nextafter.c: Include <math-tests.h>.
38985         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38986         the relevant type.
38987         * math/bug-nexttoward.c: Include <math-tests.h>.
38988         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38989         the relevant type.
38990         * math/test-misc.c: Include <math-tests.h>.
38991         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38992         the relevant type.
38994 2013-06-12  Andreas Jaeger  <aj@suse.de>
38996         * po/ia.po: Update Interlingua translation from translation
38997         project.
38999 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39001         * include/fenv.h: Include stdbool.h.
39002         (struct rm_ctx): New structure.
39003         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39004         Define macro.
39005         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39006         (SET_RESTORE_ROUNDF): Likewise.
39007         (SET_RESTORE_ROUNDL): Likewise.
39008         (SET_RESTORE_ROUND_NOEX): Likewise.
39009         (SET_RESTORE_ROUND_NOEXF): Likewise.
39010         (SET_RESTORE_ROUND_NOEXL): Likewise.
39011         (SET_RESTORE_ROUND_53BIT): Likewise.
39012         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39013         (libc_feresetround_noexf_ctx): Likewise.
39014         (libc_feresetround_noexl_ctx): Likewise.
39015         (libc_feholdsetround_53bit_ctx): Likewise.
39016         (libc_feresetround_53bit_ctx): Likewise.
39017         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39018         (libc_feholdexcept_setround_sse_ctx): New function.
39019         (libc_fesetenv_sse_ctx): Likewise.
39020         (libc_feupdateenv_sse_ctx): Likewise.
39021         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39022         (libc_feholdexcept_setround_387_ctx): Likewise.
39023         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39024         (libc_feholdsetround_387_prec_ctx): Likewise.
39025         (libc_feholdsetround_387_ctx): Likewise.
39026         (libc_feholdsetround_387_53bit_ctx): Likewise.
39027         (libc_feholdsetround_sse_ctx): Likewise.
39028         (libc_feresetround_sse_ctx): Likewise.
39029         (libc_feresetround_387_ctx): Likewise.
39030         (libc_feupdateenv_387_ctx): Likewise.
39031         (libc_feholdexcept_setroundf_ctx): Define macro.
39032         (libc_fesetenvf_ctx): Likewise.
39033         (libc_feupdateenvf_ctx): Likewise.
39034         (libc_feholdsetroundf_ctx): Likewise.
39035         (libc_feresetroundf_ctx): Likewise.
39036         (libc_feholdexcept_setround_ctx): Likewise.
39037         (libc_fesetenv_ctx): Likewise.
39038         (libc_feupdateenv_ctx): Likewise.
39039         (libc_feholdsetround_ctx): Likewise.
39040         (libc_feresetround_ctx): Likewise.
39041         (libc_feholdexcept_setroundl_ctx): Likewise.
39042         (libc_feupdateenvl_ctx): Likewise.
39043         (libc_feholdsetroundl_ctx): Likewise.
39044         (libc_feresetroundl_ctx): Likewise.
39045         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39046         (libc_feresetround_53bit_ctx): Likewise.
39048 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39050         * locale/iso-639.def: Convert to UTF-8.
39052 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39054         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39055         (EXCEPTION_TESTS_double): Likewise.
39056         (EXCEPTION_TESTS_long_double): Likewise.
39057         (EXCEPTION_TESTS): Likewise.
39058         * math/libm-test.inc (test_exceptions): Only test exceptions if
39059         EXCEPTION_TESTS (FLOAT).
39061 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39063         * benchtests/Makefile (string-bench): Add strcpy_chk and
39064         stpcpy_chk.
39065         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39066         * benchtests/bench-stpcpy_chk.c: New file.
39067         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39068         * benchtests/bench-strcpy_chk.c: New file.
39069         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39070         code.
39071         (do_test): Likewise.
39073 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39075         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39076         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39077         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39078         with tabs where appropriate.
39079         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39080         dl-procinfo.h.
39081         [PPC_PLATFORM_PPC440]: Likewise.
39082         [PPC_PLATFORM_PPC464]: Likewise.
39083         [PPC_PLATFORM_PPC476]: Likewise.
39084         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39085         ppc464, and ppc476 platform strings merging from ports/
39086         dl-procinfo.h.
39088 2013-06-11  Andreas Schwab  <schwab@suse.de>
39090         [BZ #14991]
39091         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39092         (from_ucs4_idx): Regenerate.
39093         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39094         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39095         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39096         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39097         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39098         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39099         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39100         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39101         from FROM_LOOP and TO_LOOP specific macros.
39102         (BODY): Handle combining characters.
39103         * iconvdata/BIG5HKSCS.irreversible: Update.
39104         * iconvdata/BIG5HKSCS.precomposed: New file.
39105         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39106         characters.
39107         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39109 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39111         * include/sys/time.h: Fix indentation and add copyright header.
39113         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39114         (do_test): Likewise.
39115         * string/test-memchr.c (do_one_test): Likewise.
39116         (do_test): Likewise.
39117         * string/test-memcmp.c (do_one_test): Likewise.
39118         (do_test): Likewise.
39119         * string/test-memcpy.c (do_one_test): Likewise.
39120         (do_test): Likewise.
39121         * string/test-memmem.c (do_one_test): Likewise.
39122         (do_test): Likewise.
39123         (do_random_tests): Likewise.
39124         * string/test-memmove.c (do_one_test): Likewise.
39125         (do_test): Likewise.
39126         * string/test-memset.c (do_one_test): Likewise.
39127         (do_test): Likewise.
39128         * string/test-rawmemchr.c (do_one_test): Likewise.
39129         (do_test): Likewise.
39130         * string/test-strcasecmp.c (do_one_test): Likewise.
39131         (do_test): Likewise.
39132         * string/test-strcasestr.c (do_one_test): Likewise.
39133         (do_test): Likewise.
39134         * string/test-strcat.c (do_one_test): Likewise.
39135         (do_test): Likewise.
39136         * string/test-strchr.c (do_one_test): Likewise.
39137         (do_test): Likewise.
39138         * string/test-strcmp.c (do_one_test): Likewise.
39139         (do_test): Likewise.
39140         * string/test-strcpy.c (do_one_test): Likewise.
39141         (do_test): Likewise.
39142         * string/test-string.h: Likewise.
39143         (test_init): Likewise.
39144         * string/test-strlen.c (do_one_test): Likewise.
39145         (do_test): Likewise.
39146         * string/test-strncasecmp.c (do_one_test): Likewise.
39147         (do_test): Likewise.
39148         * string/test-strncat.c (do_one_test): Likewise.
39149         (do_test): Likewise.
39150         * string/test-strncmp.c (do_one_test): Likewise.
39151         (do_test_limit): Likewise.
39152         (do_test): Likewise.
39153         * string/test-strncpy.c (do_one_test): Likewise.
39154         (do_test): Likewise.
39155         * string/test-strnlen.c (do_one_test): Likewise.
39156         (do_test): Likewise.
39157         * string/test-strpbrk.c (do_one_test): Likewise.
39158         (do_test): Likewise.
39159         * string/test-strrchr.c (do_one_test): Likewise.
39160         (do_test): Likewise.
39161         * string/test-strspn.c (do_one_test): Likewise.
39162         (do_test): Likewise.
39163         * string/test-strstr.c (do_one_test): Likewise.
39164         (do_test): Likewise.
39166         * benchtests/Makefile (string-bench): Add string benchmarks.
39167         * benchtests/bench-bcopy-ifunc.c: New file.
39168         * benchtests/bench-bcopy.c: New file.
39169         * benchtests/bench-bzero-ifunc.c: New file.
39170         * benchtests/bench-bzero.c: New file.
39171         * benchtests/bench-memccpy-ifunc.c: New file.
39172         * benchtests/bench-memccpy.c: New file.
39173         * benchtests/bench-memchr-ifunc.c: New file.
39174         * benchtests/bench-memchr.c: New file.
39175         * benchtests/bench-memcmp-ifunc.c: New file.
39176         * benchtests/bench-memcmp.c: New file.
39177         * benchtests/bench-memmem-ifunc.c: New file.
39178         * benchtests/bench-memmem.c: New file.
39179         * benchtests/bench-memmove-ifunc.c: New file.
39180         * benchtests/bench-memmove.c: New file.
39181         * benchtests/bench-mempcpy-ifunc.c: New file.
39182         * benchtests/bench-mempcpy.c: New file.
39183         * benchtests/bench-memset-ifunc.c: New file.
39184         * benchtests/bench-memset.c: New file.
39185         * benchtests/bench-rawmemchr-ifunc.c: New file.
39186         * benchtests/bench-rawmemchr.c: New file.
39187         * benchtests/bench-stpcpy-ifunc.c: New file.
39188         * benchtests/bench-stpcpy.c: New file.
39189         * benchtests/bench-stpncpy-ifunc.c: New file.
39190         * benchtests/bench-stpncpy.c: New file.
39191         * benchtests/bench-strcasecmp-ifunc.c: New file.
39192         * benchtests/bench-strcasecmp.c: New file.
39193         * benchtests/bench-strcasestr-ifunc.c: New file.
39194         * benchtests/bench-strcasestr.c: New file.
39195         * benchtests/bench-strcat-ifunc.c: New file.
39196         * benchtests/bench-strcat.c: New file.
39197         * benchtests/bench-strchr-ifunc.c: New file.
39198         * benchtests/bench-strchr.c: New file.
39199         * benchtests/bench-strchrnul-ifunc.c: New file.
39200         * benchtests/bench-strchrnul.c: New file.
39201         * benchtests/bench-strcmp-ifunc.c: New file.
39202         * benchtests/bench-strcmp.c: New file.
39203         * benchtests/bench-strcpy-ifunc.c: New file.
39204         * benchtests/bench-strcpy.c: New file.
39205         * benchtests/bench-strcspn-ifunc.c: New file.
39206         * benchtests/bench-strcspn.c: New file.
39207         * benchtests/bench-strlen-ifunc.c: New file.
39208         * benchtests/bench-strlen.c: New file.
39209         * benchtests/bench-strncasecmp-ifunc.c: New file.
39210         * benchtests/bench-strncasecmp.c: New file.
39211         * benchtests/bench-strncat-ifunc.c: New file.
39212         * benchtests/bench-strncat.c: New file.
39213         * benchtests/bench-strncmp-ifunc.c: New file.
39214         * benchtests/bench-strncmp.c: New file.
39215         * benchtests/bench-strncpy-ifunc.c: New file.
39216         * benchtests/bench-strncpy.c: New file.
39217         * benchtests/bench-strnlen-ifunc.c: New file.
39218         * benchtests/bench-strnlen.c: New file.
39219         * benchtests/bench-strpbrk-ifunc.c: New file.
39220         * benchtests/bench-strpbrk.c: New file.
39221         * benchtests/bench-strrchr-ifunc.c: New file.
39222         * benchtests/bench-strrchr.c: New file.
39223         * benchtests/bench-strspn-ifunc.c: New file.
39224         * benchtests/bench-strspn.c: New file.
39225         * benchtests/bench-strstr-ifunc.c: New file.
39226         * benchtests/bench-strstr.c: New file.
39228         * benchtests/Makefile: Disable parallel execution of targets.
39229         (string-bench): Add memcpy.
39230         (benchset): New variable to store a list of benchmark sets.
39231         (bench-func): Renamed from bench.
39232         (bench-set): New target.
39233         (bench): Depend on bench-func and bench-set.
39234         * benchtests/README: Add section on benchmark sets.
39235         * benchtests/bench-memcpy-ifunc.c: New file.
39236         * benchtests/bench-memcpy.c: New file.
39237         * benchtests/bench-string.h: New file.
39239 2013-06-11  Andreas Schwab  <schwab@suse.de>
39241         [BZ #15577]
39242         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39243         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39244         values in the triple.
39245         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39246         terminator in the group key.
39248 2013-06-11  Andreas Jaeger  <aj@suse.de>
39250         * po/zh_TW.po: Update Chinese (traditional) translation from
39251         translation project.
39253 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39255         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39256         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39257         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39258         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39259         (clock_getcpuclockid): Likewise.
39260         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39261         Add weak_alias and libc_hidden_def.
39262         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39263         * rt/clock_gettime.c (clock_gettime): Rename to
39264         __clock_gettime.  Add weak_alias and libc_hidden_def.
39265         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39266         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39267         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39268         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39269         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39270         Likewise.
39271         * rt/clock_settime.c (clock_settime): Rename to
39272         __clock_settime.  Add weak_alias and libc_hidden_def.
39273         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39275 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39277         * mach/err_boot.sub: Remove trailing whitespace.
39278         * mach/err_ipc.sub: Likewise.
39279         * mach/err_mach.sub: Likewise.
39281         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39282         (ROUNDING_TESTS_double): Likewise.
39283         (ROUNDING_TESTS_long_double): Likewise.
39284         (ROUNDING_TESTS): Likewise.
39285         * math/libm-test.inc: Include <math-tests.h>.
39286         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39287         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39288         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39289         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39291 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39293         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39294         of assigning.
39296 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39298         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39299         otherwise empty TRANS lines.
39300         * sysdeps/gnu/errlist.c: Regenerated.
39302         * catgets/gencat.c (error_print): Use (void) in function
39303         definition.
39304         * crypt/crypt_util.c (__init_des): Likewise.
39305         * crypt/speeds.c (Stop): Likewise.
39306         (main): Likewise.
39307         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39308         * inet/ruserpass.c (token): Likewise.
39309         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39310         * intl/localealias.c (extend_alias_table): Likewise.
39311         * intl/plural-exp.c (init_germanic_plural): Likewise.
39312         * libio/fcloseall.c (__fcloseall): Likewise.
39313         * libio/genops.c (_IO_flush_all): Likewise.
39314         (_IO_flush_all_linebuffered): Likewise.
39315         (_IO_cleanup): Likewise.
39316         (_IO_iter_begin): Likewise.
39317         (_IO_iter_end): Likewise.
39318         (_IO_list_lock): Likewise.
39319         (_IO_list_unlock): Likewise.
39320         (_IO_list_resetlock): Likewise.
39321         * libio/getchar.c (getchar): Likewise.
39322         * libio/getchar_u.c (getchar_unlocked): Likewise.
39323         * libio/getwchar.c (getwchar): Likewise.
39324         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39325         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39326         * login/getpt.c (__getpt): Likewise.
39327         * login/tst-utmp.c (main): Likewise.
39328         * malloc/hooks.c (__malloc_check_init): Likewise.
39329         * malloc/malloc.c (__malloc_stats): Likewise.
39330         * malloc/mtrace.c (tr_break): Likewise.
39331         (mtrace): Likewise.
39332         (muntrace): Likewise.
39333         * misc/fstab.c (endfsent): Likewise.
39334         * misc/getclktck.c (__getclktck): Likewise.
39335         * misc/getdtsz.c (__getdtablesize): Likewise.
39336         * misc/gethostid.c (gethostid): Likewise.
39337         * misc/getpagesize.c (__getpagesize): Likewise.
39338         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39339         (__get_nprocs): Likewise.
39340         (__get_phys_pages): Likewise.
39341         (__get_avphys_pages): Likewise.
39342         * misc/getttyent.c (getttyent): Likewise.
39343         (setttyent): Likewise.
39344         (endttyent): Likewise.
39345         * misc/getusershell.c (getusershell): Likewise.
39346         (endusershell): Likewise.
39347         (setusershell): Likewise.
39348         (initshells): Likewise.
39349         * misc/hsearch.c (__hdestroy): Likewise.
39350         * misc/sync.c (sync): Likewise.
39351         * misc/syslog.c (closelog_internal): Likewise.
39352         (closelog): Likewise.
39353         * misc/ttyslot.c (ttyslot): Likewise.
39354         * misc/vhangup.c (vhangup): Likewise.
39355         * posix/fork.c (__fork): Likewise.
39356         * posix/getegid.c (__getegid): Likewise.
39357         * posix/geteuid.c (__geteuid): Likewise.
39358         * posix/getgid.c (__getgid): Likewise.
39359         * posix/getpid.c (__getpid): Likewise.
39360         * posix/getppid.c (__getppid): Likewise.
39361         * posix/getuid.c (__getuid): Likewise.
39362         * posix/pause.c (pause): Likewise.
39363         * posix/setpgrp.c (setpgrp): Likewise.
39364         * posix/setsid.c (__setsid): Likewise.
39365         * posix/test-vfork.c (noop): Likewise.
39366         * resolv/gethnamaddr.c (_endhtent): Likewise.
39367         (_gethtent): Likewise.
39368         (ht_endhostent): Likewise.
39369         (gethostent): Likewise.
39370         (dns_service): Likewise.
39371         * stdlib/drand48.c (drand48): Likewise.
39372         * stdlib/lrand48.c (lrand48): Likewise.
39373         * stdlib/mrand48.c (mrand48): Likewise.
39374         * stdlib/rand.c (rand): Likewise.
39375         * stdlib/random.c (__random): Likewise.
39376         * stdlib/setenv.c (clearenv): Likewise.
39377         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39378         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39379         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39380         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39381         (__get_nprocs): Likewise.
39382         (__get_phys_pages): Likewise.
39383         (__get_avphys_pages): Likewise.
39384         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39385         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39386         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39387         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39388         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39389         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39390         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39391         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39392         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39393         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39394         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39395         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39396         * sysdeps/posix/clock.c (clock): Likewise.
39397         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39398         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39399         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39400         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39401         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39403         (__get_nprocs_conf): Likewise.
39404         (__get_phys_pages): Likewise.
39405         (__get_avphys_pages): Likewise.
39406         * time/clock.c (clock): Likewise.
39407         * time/tzset.c (__tzname_max): Likewise.
39409 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39411         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39412         (__bswap_32): Do not use "register".
39413         * crypt/crypt.c (_ufc_doit_r): Likewise.
39414         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39415         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39416         * gmon/gmon.c (__monstartup): Likewise.
39417         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39418         * hurd/hurdmalloc.c (more_memory): Likewise.
39419         (malloc): Likewise.
39420         (free): Likewise.
39421         (realloc): Likewise.
39422         (malloc_fork_prepare): Likewise.
39423         (malloc_fork_parent): Likewise.
39424         (malloc_fork_child): Likewise.
39425         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39426         (_svcauth_des): Likewise.
39427         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39428         * inet/inet_net.c (inet_network): Likewise.
39429         * inet/inet_netof.c (inet_netof): Likewise.
39430         * inet/rcmd.c (__validuser2_sa): Likewise.
39431         * io/fts.c (fts_open): Likewise.
39432         (fts_load): Likewise.
39433         (fts_close): Likewise.
39434         (fts_read): Likewise.
39435         (fts_children): Likewise.
39436         (fts_build): Likewise.
39437         (fts_stat): Likewise.
39438         (fts_sort): Likewise.
39439         (fts_alloc): Likewise.
39440         (fts_lfree): Likewise.
39441         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39442         (_IO_file_xsgetn): Likewise.
39443         (_IO_file_xsgetn_mmap): Likewise.
39444         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39445         (_IO_cookie_write): Likewise.
39446         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39447         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39448         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39449         * malloc/obstack.c (_obstack_begin): Likewise.
39450         (_obstack_begin_1): Likewise.
39451         (_obstack_newchunk): Likewise.
39452         (_obstack_allocated_p): Likewise.
39453         (obstack_free): Likewise.
39454         (_obstack_memory_used): Likewise.
39455         * misc/getttyent.c (getttynam): Likewise.
39456         (getttyent): Likewise.
39457         (skip): Likewise.
39458         (value): Likewise.
39459         * misc/getusershell.c (initshells): Likewise.
39460         * misc/syslog.c (__vsyslog_chk): Likewise.
39461         * misc/ttyslot.c (ttyslot): Likewise.
39462         * nis/nis_hash.c (__nis_hash): Likewise.
39463         * posix/fnmatch_loop.c (FCT): Likewise.
39464         * posix/getconf.c (print_all): Likewise.
39465         (main): Likewise.
39466         * posix/getopt.c (exchange): Likewise.
39467         * posix/glob.c (globfree): Likewise.
39468         (prefix_array): Likewise.
39469         (__glob_pattern_type): Likewise.
39470         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39471         (NS_GET32): Likewise.
39472         (NS_PUT16): Likewise.
39473         (NS_PUT32): Likewise.
39474         * resolv/gethnamaddr.c (getanswer): Likewise.
39475         (gethostbyname2): Likewise.
39476         (gethostbyaddr): Likewise.
39477         (_gethtent): Likewise.
39478         (_gethtbyname2): Likewise.
39479         (_gethtbyaddr): Likewise.
39480         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39481         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39482         * resolv/res_init.c (__res_vinit): Likewise.
39483         (net_mask): Likewise.
39484         * resolv/res_mkquery.c (outchar): Likewise.
39485         (PRINT): Likewise.
39486         * stdio-common/printf_fp.c (outchar): Likewise.
39487         (PRINT): Likewise.
39488         * stdio-common/printf_fphex.c (outchar): Likewise.
39489         (PRINT): Likewise.
39490         * stdio-common/printf_size.c (outchar): Likewise.
39491         (PRINT): Likewise.
39492         * stdio-common/test_rdwr.c (main): Likewise.
39493         * stdio-common/tfformat.c (matches): Likewise.
39494         * stdio-common/vfprintf.c (outchar): Likewise.
39495         (printf_unknown): Likewise.
39496         (buffered_vfprintf): Likewise.
39497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39498         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39499         (ReadFile): Likewise.
39500         * stdlib/qsort.c (SWAP): Likewise.
39501         (_quicksort): Likewise.
39502         * stdlib/setenv.c (__add_to_environ): Likewise.
39503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39504         * stdlib/strtol_l.c (__strtol_l): Likewise.
39505         * stdlib/tst-strtod.c (main): Likewise.
39506         * stdlib/tst-strtol.c (main): Likewise.
39507         * stdlib/tst-strtoll.c (main): Likewise.
39508         * string/bits/string2.h (__strcmp_cc): Likewise.
39509         (__strcmp_cg): Likewise.
39510         (__strcspn_c1): Likewise.
39511         (__strcspn_c2): Likewise.
39512         (__strcspn_c3): Likewise.
39513         (__strspn_c1): Likewise.
39514         (__strspn_c2): Likewise.
39515         (__strspn_c3): Likewise.
39516         (__strsep_1c): Likewise.
39517         (__strsep_2c): Likewise.
39518         (__strsep_3c): Likewise.
39519         * string/memccpy.c (__memccpy): Likewise.
39520         * string/stpcpy.c (__stpcpy): Likewise.
39521         * string/strcmp.c (strcmp): Likewise.
39522         * string/strrchr.c (strrchr): Likewise.
39523         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39524         Likewise.
39525         * sysdeps/mach/hurd/getcwd.c
39526         (_hurd_canonicalize_directory_name_internal): Likewise.
39527         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39528         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39529         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39530         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39531         Likewise, in both definitions.
39532         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39533         definitions.
39534         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39535         64] (__bswap_64): Likewise.
39536         * time/test_time.c (main): Likewise.
39537         * time/tzfile.c (__tzfile_read): Likewise.
39538         (__tzfile_compute): Likewise.
39539         * time/tzset.c (__tzset_parse_tz): Likewise.
39540         (tzset_internal): Likewise.
39541         (compute_change): Likewise.
39542         * wcsmbs/wcscat.c (__wcscat): Likewise.
39543         * wcsmbs/wcschr.c (wcschr): Likewise.
39544         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39545         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39546         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39547         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39548         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39549         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39550         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39551         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39552         * wcsmbs/wmemset.c (wmemset): Likewise.
39554 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39556         * scripts/config.guess: Update to version 2013-05-16.
39557         * scripts/config.sub: Update to version 2013-04-24.
39558         * scripts/install-sh: Update to version 2011-11-20.07.
39559         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39560         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39562 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39564         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39565         * elf/sln.c: Likewise.
39566         * hurd/hurd/ioctl.h: Likewise.
39567         * hurd/hurdmalloc.c: Likewise.
39568         * hurd/xattr.c: Likewise.
39569         * include/shlib-compat.h: Likewise.
39570         * inet/ruserpass.c: Likewise.
39571         * libio/iofgets_u.c: Likewise.
39572         * libio/iofgetws_u.c: Likewise.
39573         * locale/programs/ld-identification.c: Likewise.
39574         * locale/programs/ld-time.c: Likewise.
39575         * mach/msg-destroy.c: Likewise.
39576         * nss/nss_files/files-netgrp.c: Likewise.
39577         * resolv/res_data.c: Likewise.
39578         * soft-fp/op-1.h: Likewise.
39579         * soft-fp/op-2.h: Likewise.
39580         * soft-fp/op-4.h: Likewise.
39581         * soft-fp/op-common.h: Likewise.
39582         * stdio-common/printf_fphex.c: Likewise.
39583         * stdlib/strtod_l.c: Likewise.
39584         * sunrpc/rpc/clnt.h: Likewise.
39585         * sysdeps/generic/framestate.c: Likewise.
39586         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39587         * sysdeps/i386/bsd-setjmp.S: Likewise.
39588         * sysdeps/i386/__longjmp.S: Likewise.
39589         * sysdeps/i386/setjmp.S: Likewise.
39590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39591         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39592         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39593         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39595         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39596         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39599         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39600         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39601         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39602         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39603         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39604         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39606         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39607         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39608         * sysdeps/ieee754/support.c: Likewise.
39609         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39610         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39611         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39612         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39613         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39614         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39615         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39616         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39617         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39618         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39619         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39620         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39621         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39622         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39623         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39624         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39625         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39628 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39630         * posix/transbug.c: Remove executable mode.
39632 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39634         * crypt/speeds.c: Remove trailing whitespace.
39635         * dlfcn/default.c: Likewise.
39636         * elf/ifuncdep2.c: Likewise.
39637         * elf/ifuncmain1.c: Likewise.
39638         * elf/ifuncmain1vis.c: Likewise.
39639         * elf/testobj.h: Likewise.
39640         * elf/tst-stackguard1.c: Likewise.
39641         * gmon/sys/gmon.h: Likewise.
39642         * hurd/hurdmsg.c: Likewise.
39643         * hurd/new-fd.c: Likewise.
39644         * hurd/ports-get.c: Likewise.
39645         * iconvdata/ibm1008_420.c: Likewise.
39646         * inet/tst-getni1.c: Likewise.
39647         * inet/tst-getni2.c: Likewise.
39648         * libio/ioungetc.c: Likewise.
39649         * libio/wfiledoalloc.c: Likewise.
39650         * manual/libm-err-tab.pl: Likewise.
39651         * math/w_dremf.c: Likewise.
39652         * misc/ftruncate.c: Likewise.
39653         * posix/bug-glob2.c: Likewise.
39654         * posix/tst-pcre.c: Likewise.
39655         * posix/wait4.c: Likewise.
39656         * resolv/README: Likewise.
39657         * resolv/res_debug.h: Likewise.
39658         * resolv/tst-inet_ntop.c: Likewise.
39659         * setjmp/bug269-setjmp.c: Likewise.
39660         * soft-fp/extended.h: Likewise.
39661         * soft-fp/op-1.h: Likewise.
39662         * soft-fp/op-2.h: Likewise.
39663         * soft-fp/op-4.h: Likewise.
39664         * soft-fp/op-8.h: Likewise.
39665         * soft-fp/testit.c: Likewise.
39666         * stdio-common/bug16.c: Likewise.
39667         * stdlib/random.c: Likewise.
39668         * sunrpc/rpcsvc/rquota.x: Likewise.
39669         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39670         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39672         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39673         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39674         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39675         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39676         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39677         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39678         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39679         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39697         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39698         * sysdeps/ieee754/s_lib_version.c: Likewise.
39699         * sysdeps/mach/hurd/check_fds.c: Likewise.
39700         * sysdeps/mach/hurd/getsockname.c: Likewise.
39701         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39702         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39703         * sysdeps/powerpc/bits/link.h: Likewise.
39704         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39705         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39706         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39707         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39708         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39709         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39710         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39711         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39712         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39714         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39715         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39716         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39717         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39718         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39719         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39721         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39722         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39723         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39724         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39725         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39726         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39727         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39728         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39729         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39730         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39731         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39732         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39733         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39734         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39735         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39736         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39737         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39738         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39739         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39740         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39741         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39742         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39743         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39744         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39745         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39746         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39747         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39748         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39749         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39750         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39751         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39752         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39753         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39754         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39755         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39756         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39757         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39758         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39759         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39760         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39762         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39763         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39764         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39765         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39766         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39767         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39768         * sysdeps/powerpc/sysdep.h: Likewise.
39769         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39770         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39771         * sysdeps/sh/dl-trampoline.S: Likewise.
39772         * sysdeps/sh/memset.S: Likewise.
39773         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39774         * sysdeps/sh/strlen.S: Likewise.
39775         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39776         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39777         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39778         * sysdeps/sparc/sparc32/rem.S: Likewise.
39779         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39780         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39781         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39782         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39783         * sysdeps/sparc/sparc32/urem.S: Likewise.
39784         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39785         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39786         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39787         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39788         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39789         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39790         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39791         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39792         * sysdeps/unix/bsd/times.c: Likewise.
39793         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39794         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39798         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39799         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39800         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39801         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39802         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39803         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39804         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39805         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39806         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39807         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39808         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39809         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39810         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39811         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39812         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39813         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39814         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39815         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39816         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39817         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39818         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39820         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39821         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39822         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39823         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39824         * sysdeps/x86_64/strcspn.S: Likewise.
39826 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39828         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39829         generated file.  Regenerate properly from gen-translit.pl.
39830         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39831         locale/C-translit.h.
39833 2013-06-05  Andreas Schwab  <schwab@suse.de>
39835         [BZ #15100]
39836         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39837         week as 6 instead of -1.
39838         * time/tst-strptime.c (day_tests): Add test case.
39840 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39842         * sysdeps/generic/math_private.h
39843         (libc_feholdexcept_setround_53bit): Replace with
39844         libc_feholdsetround_53bit.
39845         (libc_feupdateenv_53bit): Replace with
39846         libc_feresetround_53bit.
39847         (SET_RESTORE_ROUND_53BIT): Adjust.
39849 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39851         * string/test-strchrnul.c: Add copyright header.
39853         * posix/tst-getaddrinfo4.c: Increase test timeout.
39855 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39857         [BZ #15536]
39858         * math/libm-test.inc (MAX_EXP): Remove
39859         (MIN_EXP): Define.
39860         (ulp): Use MIN_EXP - MANT_DIG.
39861         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39863 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39865         * po/be.po: Revert last change.
39866         * po/zh_CN.po: Likewise.
39867         * po/header.pot: Likewise.
39869 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39871         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39872         link-libc-deps to empty as target-specific variable.
39873         * Makerules (link-libc-args): New variable.
39874         (libc-for-link): Likewise.
39875         (link-libc-deps): Likewise.
39876         (lib%.so): Depend on $(link-libc-deps).  Link with
39877         $(link-libc-args).
39878         (build-module): Link with $(link-libc-args).
39879         (build-module-asneeded): Likewise.
39880         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39881         list of objects.
39882         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39883         target-specific variable.
39884         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39885         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39886         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39887         libc.
39888         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39889         libc and ld.so.
39890         ($(objpfx)libpcprofile.so): Likewise.
39891         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39892         libc_nonshared.a.
39893         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39894         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39895         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39896         $(link-libc-deps).
39897         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39898         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39899         * login/Makefile ($(objpfx)libutil.so): Likewise.
39900         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39901         * math/Makefile ($(objpfx)libm.so): Likewise.
39902         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39903         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39904         variable instead of depending directly on libc.
39905         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39906         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39907         $(link-libc-deps).
39908         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39909         libc.
39910         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39911         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39912         ($(objpfx)libanl.so): Likewise.
39913         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39914         ld.so.
39915         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39916         $(link-libc-deps).
39917         * sysdeps/i386/fpu/Makefile: Remove file.
39918         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39919         ($(objpfx)libm.so): Remove dependency on ld.so.
39921 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39923         [BZ # 15553]
39924         * nis/yp_xdr.c (XDRMAXNAME): Define.
39925         (XDRMAXRECORD): Define.
39926         (xdr_domainname): Use XDRMAXNAME.
39927         (xdr_mapname): Likewise.
39928         (xdr_peername): Likewise.
39929         (xdr_keydat): Use XDRMAXRECORD.
39930         (xdr_valdat): Likewise.
39932 2013-05-30  Jeff Law  <law@redhat.com>
39934         [BZ #14256]
39935         * manual/errno.texi (ESTALE): Update to account for more than
39936         just NFS file systems.
39937         * sysdeps/gnu/errlist.c: Regenerated.
39939 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39941         [BZ #15465]
39942         * elf/Makefile (tests): Add tst-null-argv.
39943         (modules-names):  Add tst-null-argv-lib.
39944         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39945         (tst-null-argv-ENV): Set environment for tst-null-argv.
39946         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39947         (RTLD_PROGNAME): New macro.
39948         * elf/tst-null-argv.c: New test case.
39949         * elf/tst-null-argv-lib.c: Library for test case.
39950         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39951         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39952         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39953         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39954         * elf/dl-init.c (call_init): Likewise.
39955         (_dl_init): Likewise.
39956         * elf/dl-load.c (print_search_path): Likewise.
39957         (_dl_map_object): Likewise.
39958         * elf/dl-lookup.c (do_lookup_x): Likewise.
39959         (add_dependency): Likewise.
39960         (_dl_lookup_symbol_x): Likewise.
39961         (_dl_debug_bindings): Likewise.
39962         * elf/dl-open.c (_dl_show_scope): Likewise.
39963         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39964         * elf/dl-version.c (match_symbol): Likewise.
39965         (_dl_check_map_versions): Likewise.
39966         * elf/rtld.c (dl_main): Likewise.
39967         (print_unresolved): Use RTLD_PROGNAME.
39968         (print_missing_version): Likewise.
39969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39970         (elf_machine_rela): Likewise.
39971         * sysdeps/powerpc/powerpc32/dl-machine.c
39972         (__process_machine_rela): Likewise.
39973         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39974         Likewise.
39975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39976         Likewise.
39977         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39978         Likewise.
39979         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39980         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39981         Likewise.
39982         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39983         Likewise.
39984         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39986 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39988         * po/be.po: Add descriptive title.
39989         * po/zh_CN.po: Likewise.
39990         * po/header.pot: Likewise.
39992 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39994         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39995         error message.
39996         (enlarge_archive): Likewise.
39998 2013-05-28  Ben North  <ben@redfrontdoor.org>
40000         * manual/arith.texi (frexp): It is the magnitude of the return
40001         value which lies in [0.5, 1), not the return value itself.
40003 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40007 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40009         * stdio-common/bug26.c (main): Correct fscanf template.
40011         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40012         declare _dl_skip_args.
40014         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40015         Don't declare.
40017         * manual/platform.texi: Add missing @end deftypefun.
40019 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40021         [BZ #15529]
40022         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40023         bit of mantissa of 2^16382.
40024         * math/libm-test.inc (hypot_test_data): Add more tests.
40026         * math/libm-test.inc: Add drem and pow10 to list of tested
40027         functions.
40028         (pow10_test): New function.
40029         (drem_test): Likewise.
40030         (drem_test_tonearest): Likewise.
40031         (drem_test_towardzero): Likewise.
40032         (drem_test_downward): Likewise.
40033         (drem_test_upward): Likewise.
40034         (main): Call the new functions.
40036         * math/libm-test.inc (finite_test_data): Remove.
40037         (finite_test): Run tests from isfinite_test_data.
40038         (gamma_test_data): Remove.
40039         (gamma_test): Run tests from lgamma_test_data.
40040         * sysdeps/i386/fpu/libm-test-ulps: Update.
40041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40043 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40045         * manual/platform.texi: Add PowerPC PPR function set documentation.
40046         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40047         implementation.
40049 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40051         * math/libm-test.inc (MAX_EXP): Define.
40052         (ULPDIFF): Define.
40053         (ulp): New function.
40054         (check_float_internal): Use ULPDIFF.
40055         (cpow_test): Disable failing test.
40056         (check_ulp): Test ulp() implemetnation.
40057         (main): Call check_ulp before starting tests.
40059 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40061         * math/gen-libm-test.pl (generate_testfile): Do not handle
40062         START_DATA and END_DATA.
40063         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40064         END_DATA.
40065         (acos_tonearest_test_data): Likewise.
40066         (acos_towardzero_test_data): Likewise.
40067         (acos_downward_test_data): Likewise.
40068         (acos_upward_test_data): Likewise.
40069         (acosh_test_data): Likewise.
40070         (asin_test_data): Likewise.
40071         (asin_tonearest_test_data): Likewise.
40072         (asin_towardzero_test_data): Likewise.
40073         (asin_downward_test_data): Likewise.
40074         (asin_upward_test_data): Likewise.
40075         (asinh_test_data): Likewise.
40076         (atan_test_data): Likewise.
40077         (atanh_test_data): Likewise.
40078         (atan2_test_data): Likewise.
40079         (cabs_test_data): Likewise.
40080         (cacos_test_data): Likewise.
40081         (cacosh_test_data): Likewise.
40082         (carg_test_data): Likewise.
40083         (casin_test_data): Likewise.
40084         (casinh_test_data): Likewise.
40085         (catan_test_data): Likewise.
40086         (catanh_test_data): Likewise.
40087         (cbrt_test_data): Likewise.
40088         (ccos_test_data): Likewise.
40089         (ccosh_test_data): Likewise.
40090         (ceil_test_data): Likewise.
40091         (cexp_test_data): Likewise.
40092         (cimag_test_data): Likewise.
40093         (clog_test_data): Likewise.
40094         (clog10_test_data): Likewise.
40095         (conj_test_data): Likewise.
40096         (copysign_test_data): Likewise.
40097         (cos_test_data): Likewise.
40098         (cos_tonearest_test_data): Likewise.
40099         (cos_towardzero_test_data): Likewise.
40100         (cos_downward_test_data): Likewise.
40101         (cos_upward_test_data): Likewise.
40102         (cosh_test_data): Likewise.
40103         (cosh_tonearest_test_data): Likewise.
40104         (cosh_towardzero_test_data): Likewise.
40105         (cosh_downward_test_data): Likewise.
40106         (cosh_upward_test_data): Likewise.
40107         (cpow_test_data): Likewise.
40108         (cproj_test_data): Likewise.
40109         (creal_test_data): Likewise.
40110         (csin_test_data): Likewise.
40111         (csinh_test_data): Likewise.
40112         (csqrt_test_data): Likewise.
40113         (ctan_test_data): Likewise.
40114         (ctan_tonearest_test_data): Likewise.
40115         (ctan_towardzero_test_data): Likewise.
40116         (ctan_downward_test_data): Likewise.
40117         (ctan_upward_test_data): Likewise.
40118         (ctanh_test_data): Likewise.
40119         (ctanh_tonearest_test_data): Likewise.
40120         (ctanh_towardzero_test_data): Likewise.
40121         (ctanh_downward_test_data): Likewise.
40122         (ctanh_upward_test_data): Likewise.
40123         (erf_test_data): Likewise.
40124         (erfc_test_data): Likewise.
40125         (exp_test_data): Likewise.
40126         (exp_tonearest_test_data): Likewise.
40127         (exp_towardzero_test_data): Likewise.
40128         (exp_downward_test_data): Likewise.
40129         (exp_upward_test_data): Likewise.
40130         (exp10_test_data): Likewise.
40131         (exp2_test_data): Likewise.
40132         (expm1_test_data): Likewise.
40133         (fabs_test_data): Likewise.
40134         (fdim_test_data): Likewise.
40135         (finite_test_data): Likewise.
40136         (floor_test_data): Likewise.
40137         (fma_test_data): Likewise.
40138         (fma_towardzero_test_data): Likewise.
40139         (fma_downward_test_data): Likewise.
40140         (fma_upward_test_data): Likewise.
40141         (fmax_test_data): Likewise.
40142         (fmin_test_data): Likewise.
40143         (fmod_test_data): Likewise.
40144         (fpclassify_test_data): Likewise.
40145         (frexp_test_data): Likewise.
40146         (gamma_test_data): Likewise.
40147         (hypot_test_data): Likewise.
40148         (ilogb_test_data): Likewise.
40149         (isfinite_test_data): Likewise.
40150         (isgreater_test_data): Likewise.
40151         (isgreaterequal_test_data): Likewise.
40152         (isinf_test_data): Likewise.
40153         (isless_test_data): Likewise.
40154         (islessequal_test_data): Likewise.
40155         (islessgreater_test_data): Likewise.
40156         (isnan_test_data): Likewise.
40157         (isnormal_test_data): Likewise.
40158         (issignaling_test_data): Likewise.
40159         (isunordered_test_data): Likewise.
40160         (j0_test_data): Likewise.
40161         (j1_test_data): Likewise.
40162         (jn_test_data): Likewise.
40163         (ldexp_test_data): Likewise.
40164         (lgamma_test_data): Likewise.
40165         (lrint_test_data): Likewise.
40166         (lrint_tonearest_test_data): Likewise.
40167         (lrint_towardzero_test_data): Likewise.
40168         (lrint_downward_test_data): Likewise.
40169         (lrint_upward_test_data): Likewise.
40170         (llrint_test_data): Likewise.
40171         (llrint_tonearest_test_data): Likewise.
40172         (llrint_towardzero_test_data): Likewise.
40173         (llrint_downward_test_data): Likewise.
40174         (llrint_upward_test_data): Likewise.
40175         (log_test_data): Likewise.
40176         (log10_test_data): Likewise.
40177         (log1p_test_data): Likewise.
40178         (log2_test_data): Likewise.
40179         (logb_test_data): Likewise.
40180         (logb_downward_test_data): Likewise.
40181         (lround_test_data): Likewise.
40182         (llround_test_data): Likewise.
40183         (modf_test_data): Likewise.
40184         (nearbyint_test_data): Likewise.
40185         (nextafter_test_data): Likewise.
40186         (nexttoward_test_data): Likewise.
40187         (pow_test_data): Likewise.
40188         (pow_tonearest_test_data): Likewise.
40189         (pow_towardzero_test_data): Likewise.
40190         (pow_downward_test_data): Likewise.
40191         (pow_upward_test_data): Likewise.
40192         (remainder_test_data): Likewise.
40193         (remainder_tonearest_test_data): Likewise.
40194         (remainder_towardzero_test_data): Likewise.
40195         (remainder_downward_test_data): Likewise.
40196         (remainder_upward_test_data): Likewise.
40197         (remquo_test_data): Likewise.
40198         (rint_test_data): Likewise.
40199         (rint_tonearest_test_data): Likewise.
40200         (rint_towardzero_test_data): Likewise.
40201         (rint_downward_test_data): Likewise.
40202         (rint_upward_test_data): Likewise.
40203         (round_test_data): Likewise.
40204         (scalb_test_data): Likewise.
40205         (scalbn_test_data): Likewise.
40206         (scalbln_test_data): Likewise.
40207         (signbit_test_data): Likewise.
40208         (sin_test_data): Likewise.
40209         (sin_tonearest_test_data): Likewise.
40210         (sin_towardzero_test_data): Likewise.
40211         (sin_downward_test_data): Likewise.
40212         (sin_upward_test_data): Likewise.
40213         (sincos_test_data): Likewise.
40214         (sinh_test_data): Likewise.
40215         (sinh_tonearest_test_data): Likewise.
40216         (sinh_towardzero_test_data): Likewise.
40217         (sinh_downward_test_data): Likewise.
40218         (sinh_upward_test_data): Likewise.
40219         (sqrt_test_data): Likewise.
40220         (tan_test_data): Likewise.
40221         (tan_tonearest_test_data): Likewise.
40222         (tan_towardzero_test_data): Likewise.
40223         (tan_downward_test_data): Likewise.
40224         (tan_upward_test_data): Likewise.
40225         (tanh_test_data): Likewise.
40226         (tgamma_test_data): Likewise.
40227         (trunc_test_data): Likewise.
40228         (y0_test_data): Likewise.
40229         (y1_test_data): Likewise.
40230         (yn_test_data): Likewise.
40231         (significand_test_data): Likewise.
40233         * math/gen-libm-test.pl (@functions): Remove variable.
40234         (generate_testfile): Don't handle START and END lines.
40235         * math/libm-test.inc (START): New macro.
40236         (END): Likewise.
40237         (END_COMPLEX): Likewise.
40238         (acos_test): Use END macro without arguments.
40239         (acos_test_tonearest): Likewise.
40240         (acos_test_towardzero): Likewise.
40241         (acos_test_downward): Likewise.
40242         (acos_test_upward): Likewise.
40243         (acosh_test): Likewise.
40244         (asin_test): Likewise.
40245         (asin_test_tonearest): Likewise.
40246         (asin_test_towardzero): Likewise.
40247         (asin_test_downward): Likewise.
40248         (asin_test_upward): Likewise.
40249         (asinh_test): Likewise.
40250         (atan_test): Likewise.
40251         (atanh_test): Likewise.
40252         (atan2_test): Likewise.
40253         (cabs_test): Likewise.
40254         (cacos_test): Use END_COMPLEX macro without arguments.
40255         (cacosh_test): Likewise.
40256         (carg_test): Use END macro without arguments.
40257         (casin_test): Use END_COMPLEX macro without arguments.
40258         (casinh_test): Likewise.
40259         (catan_test): Likewise.
40260         (catanh_test): Likewise.
40261         (cbrt_test): Use END macro without arguments.
40262         (ccos_test): Use END_COMPLEX macro without arguments.
40263         (ccosh_test): Likewise.
40264         (ceil_test): Use END macro without arguments.
40265         (cexp_test): Use END_COMPLEX macro without arguments.
40266         (cimag_test): Use END macro without arguments.
40267         (clog_test): Use END_COMPLEX macro without arguments.
40268         (clog10_test): Likewise.
40269         (conj_test): Likewise.
40270         (copysign_test): Use END macro without arguments.
40271         (cos_test): Likewise.
40272         (cos_test_tonearest): Likewise.
40273         (cos_test_towardzero): Likewise.
40274         (cos_test_downward): Likewise.
40275         (cos_test_upward): Likewise.
40276         (cosh_test): Likewise.
40277         (cosh_test_tonearest): Likewise.
40278         (cosh_test_towardzero): Likewise.
40279         (cosh_test_downward): Likewise.
40280         (cosh_test_upward): Likewise.
40281         (cpow_test): Use END_COMPLEX macro without arguments.
40282         (cproj_test): Likewise.
40283         (creal_test): Use END macro without arguments.
40284         (csin_test): Use END_COMPLEX macro without arguments.
40285         (csinh_test): Likewise.
40286         (csqrt_test): Likewise.
40287         (ctan_test): Likewise.
40288         (ctan_test_tonearest): Likewise.
40289         (ctan_test_towardzero): Likewise.
40290         (ctan_test_downward): Likewise.
40291         (ctan_test_upward): Likewise.
40292         (ctanh_test): Likewise.
40293         (ctanh_test_tonearest): Likewise.
40294         (ctanh_test_towardzero): Likewise.
40295         (ctanh_test_downward): Likewise.
40296         (ctanh_test_upward): Likewise.
40297         (erf_test): Use END macro without arguments.
40298         (erfc_test): Likewise.
40299         (exp_test): Likewise.
40300         (exp_test_tonearest): Likewise.
40301         (exp_test_towardzero): Likewise.
40302         (exp_test_downward): Likewise.
40303         (exp_test_upward): Likewise.
40304         (exp10_test): Likewise.
40305         (exp2_test): Likewise.
40306         (expm1_test): Likewise.
40307         (fabs_test): Likewise.
40308         (fdim_test): Likewise.
40309         (finite_test): Likewise.
40310         (floor_test): Likewise.
40311         (fma_test): Likewise.
40312         (fma_test_towardzero): Likewise.
40313         (fma_test_downward): Likewise.
40314         (fma_test_upward): Likewise.
40315         (fmax_test): Likewise.
40316         (fmin_test): Likewise.
40317         (fmod_test): Likewise.
40318         (fpclassify_test): Likewise.
40319         (frexp_test): Likewise.
40320         (gamma_test): Likewise.
40321         (hypot_test): Likewise.
40322         (ilogb_test): Likewise.
40323         (isfinite_test): Likewise.
40324         (isgreater_test): Likewise.
40325         (isgreaterequal_test): Likewise.
40326         (isinf_test): Likewise.
40327         (isless_test): Likewise.
40328         (islessequal_test): Likewise.
40329         (islessgreater_test): Likewise.
40330         (isnan_test): Likewise.
40331         (isnormal_test): Likewise.
40332         (issignaling_test): Likewise.
40333         (isunordered_test): Likewise.
40334         (j0_test): Likewise.
40335         (j1_test): Likewise.
40336         (jn_test): Likewise.
40337         (ldexp_test): Likewise.
40338         (lgamma_test): Likewise.
40339         (lrint_test): Likewise.
40340         (lrint_test_tonearest): Likewise.
40341         (lrint_test_towardzero): Likewise.
40342         (lrint_test_downward): Likewise.
40343         (lrint_test_upward): Likewise.
40344         (llrint_test): Likewise.
40345         (llrint_test_tonearest): Likewise.
40346         (llrint_test_towardzero): Likewise.
40347         (llrint_test_downward): Likewise.
40348         (llrint_test_upward): Likewise.
40349         (log_test): Likewise.
40350         (log10_test): Likewise.
40351         (log1p_test): Likewise.
40352         (log2_test): Likewise.
40353         (logb_test): Likewise.
40354         (logb_test_downward): Likewise.
40355         (lround_test): Likewise.
40356         (llround_test): Likewise.
40357         (modf_test): Likewise.
40358         (nearbyint_test): Likewise.
40359         (nextafter_test): Likewise.
40360         (nexttoward_test): Likewise.
40361         (pow_test): Likewise.
40362         (pow_test_tonearest): Likewise.
40363         (pow_test_towardzero): Likewise.
40364         (pow_test_downward): Likewise.
40365         (pow_test_upward): Likewise.
40366         (remainder_test): Likewise.
40367         (remainder_test_tonearest): Likewise.
40368         (remainder_test_towardzero): Likewise.
40369         (remainder_test_downward): Likewise.
40370         (remainder_test_upward): Likewise.
40371         (remquo_test): Likewise.
40372         (rint_test): Likewise.
40373         (rint_test_tonearest): Likewise.
40374         (rint_test_towardzero): Likewise.
40375         (rint_test_downward): Likewise.
40376         (rint_test_upward): Likewise.
40377         (round_test): Likewise.
40378         (scalb_test): Likewise.
40379         (scalbn_test): Likewise.
40380         (scalbln_test): Likewise.
40381         (signbit_test): Likewise.
40382         (sin_test): Likewise.
40383         (sin_test_tonearest): Likewise.
40384         (sin_test_towardzero): Likewise.
40385         (sin_test_downward): Likewise.
40386         (sin_test_upward): Likewise.
40387         (sincos_test): Likewise.
40388         (sinh_test): Likewise.
40389         (sinh_test_tonearest): Likewise.
40390         (sinh_test_towardzero): Likewise.
40391         (sinh_test_downward): Likewise.
40392         (sinh_test_upward): Likewise.
40393         (sqrt_test): Likewise.
40394         (tan_test): Likewise.
40395         (tan_test_tonearest): Likewise.
40396         (tan_test_towardzero): Likewise.
40397         (tan_test_downward): Likewise.
40398         (tan_test_upward): Likewise.
40399         (tanh_test): Likewise.
40400         (tgamma_test): Likewise.
40401         (trunc_test): Likewise.
40402         (y0_test): Likewise.
40403         (y1_test): Likewise.
40404         (yn_test): Likewise.
40405         (significand_test): Likewise.
40407 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40409         [BZ #15381]
40410         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40412 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40414         [BZ #14894]
40415         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40416         __ppc_mdoio and __ppc_mdoom.
40417         * manual/platform.texi: Document new functions __ppc_yield,
40418         __ppc_mdoio and __ppc_mdoom.
40420 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40422         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40423         (main): Mention "tls" pseudo-hwcap is legacy.
40424         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40426 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40428         * math/gen-libm-test.pl (parse_args): Output only string of
40429         arguments as text for test name, not full call or descriptions of
40430         tests for extra outputs.
40431         (generate_testfile): Do not pass function name to parse_args.
40432         Generate this_func variable from START.
40433         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40434         field to arg_str.
40435         (struct test_ff_f_data): Likewise.
40436         (test_ff_f_data_nexttoward): Likewise.
40437         (struct test_fi_f_data): Likewise.
40438         (struct test_fl_f_data): Likewise.
40439         (struct test_if_f_data): Likewise.
40440         (struct test_fff_f_data): Likewise.
40441         (struct test_c_f_data): Likewise.
40442         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40443         (struct test_fF_f1_data): Likewise.
40444         (struct test_ffI_f1_data): Likewise.
40445         (struct test_c_c_data): Rename test_name field to arg_str.
40446         (struct test_cc_c_data): Likewise.
40447         (struct test_f_i_data): Likewise.
40448         (struct test_ff_i_data): Likewise.
40449         (struct test_f_l_data): Likewise.
40450         (struct test_f_L_data): Likewise.
40451         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40452         and extra2_name.
40453         (COMMON_TEST_SETUP): New macro.
40454         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40455         (COMMON_TEST_CLEANUP): Likewise.
40456         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40457         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40458         macros.
40459         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40460         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40461         macros.
40462         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40463         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40464         cleanup macros.
40465         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40466         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40467         macros.
40468         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40469         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40470         macros.
40471         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40472         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40473         cleanup macros.
40474         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40475         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40476         cleanup macros.
40477         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40478         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40479         cleanup macros.
40480         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40481         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40482         macros.
40483         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40484         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40485         macros.
40486         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40487         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40488         macros.
40489         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40490         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40491         cleanup macros.
40492         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40493         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40494         cleanup macros.
40495         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40496         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40497         macros.
40498         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40499         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40500         cleanup macros.
40501         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40502         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40503         macros.
40504         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40505         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40506         macros.
40507         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40508         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40509         cleanup macros.
40510         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40512 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40514         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40515         to _sifields.sigfault.
40516         (si_addr_lsb): Define new macro.
40517         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40518         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40519         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40521 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40523         [BZ #15441]
40524         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40525         returns -1.
40526         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40527         null return -1.
40528         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40529         loading the domain.
40531 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40533         * math/gen-libm-test.pl (parse_args): Do not include expected
40534         result in test name.
40535         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40536         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40537         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40538         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40539         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40542 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40544         * benchtests/Makefile: Sort function entries.
40546         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40547         tanh, asinh, acosh, atanh.
40548         * benchtests/acos-inputs: New file.
40549         * benchtests/acosh-inputs: New file.
40550         * benchtests/asin-inputs: New file.
40551         * benchtests/asinh-inputs: New file.
40552         * benchtests/atanh-inputs: New file.
40553         * benchtests/cosh-inputs: New file.
40554         * benchtests/log-inputs: New file.
40555         * benchtests/sinh-inputs: New file.
40556         * benchtests/tanh-inputs: New file.
40558 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40560         [BZ #15339]
40561         * posix/tst-getaddrinfo4.c: New test.
40562         * posix/Makefile (tests): Add it.
40564 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         [BZ #15339]
40567         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40568         when no services were used.
40569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40570         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40572 2013-05-21  Andreas Schwab  <schwab@suse.de>
40574         [BZ #15014]
40575         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40576         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40577         successful.
40578         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40579         redundant variable declarations and reallocation of buffer when
40580         parsing as IPv6 address.  Always set NSS status when called from
40581         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40582         buffer too small.  Correct computation of needed size.
40583         * nss/Makefile (tests): Add test-digits-dots.
40584         * nss/test-digits-dots.c: New test.
40586 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40588         * benchtests/Makefile: Remove instructions for adding
40589         benchmark tests.
40590         * benchtests/README: New file to explain how to execute and
40591         enhance the benchmark tests.
40593 2013-05-21  Andreas Schwab  <schwab@suse.de>
40595         [BZ #15493]
40596         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40597         * setjmp/tst-sigsetjmp.c: New test.
40599 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40601         * sysdeps/x86_64/memset.S (memset): New implementation.
40602         (__bzero): Likewise.
40603         (__memset_tail): New function.
40605 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40607         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40608         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40609         __memcpy_sse2_unaligned ifunc selection.
40610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40611         Add memcpy-sse2-unaligned.S.
40612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40613         Add: __memcpy_sse2_unaligned.
40615 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40617         [BZ #15490]
40618         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40619         math_force_eval before restoring floating-point envrionment.
40620         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40622         Likewise.
40623         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40624         <math_private.h>.
40625         (__nearbyintl): Use math_force_eval before restoring
40626         floating-point environment.
40627         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40629         * math/gen-libm-test.pl (special_functions): Remove.
40630         (parse_args): Don't handle TEST_extra.  Handle functions with no
40631         return value.
40632         * math/libm-test.inc (struct test_sincos_data): Replace with
40633         struct test_fFF_11_data.
40634         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40635         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40636         (sincos_test_data): Change element type to struct
40637         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40638         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40639         RUN_TEST_LOOP_sincos.
40640         * math/README.libm-test: Don't mention special handling of
40641         individual functions.
40642         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40643         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40644         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40645         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40646         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40649         * math/gen-libm-test.pl (get_variable): Remove function.
40650         (parse_args): Don't show pointer parameters to call in test
40651         names.  Use "extra output N" in test names for extra outputs
40652         rather than naming variables.
40654 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40656         [BZ #15488]
40657         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40658         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40659         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40660         double tests.
40661         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40662         disable.
40663         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40664         check_long_double.
40666         * math/gen-libm-test.pl (@tests): Remove variable.
40667         ($count): Likewise.
40668         (new_test): Remove function.
40669         (show_exceptions): New function.
40670         (special_functions): Use show_exceptions instead of new_test.
40671         (parse_args): Likewise.
40672         (generate_testfile): Pass only function name in generated call to
40673         print_max_error or print_complex_max_error.
40674         (get_ulps): Do not handle complex tests specially.
40675         (output_test): Rename to ...
40676         (get_all_ulps_for_test): ... this.  Return a string rather than
40677         printing to a file.  Require ulps to be present.
40678         (output_ulps): Generate arrays rather than #defines.
40679         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40680         (struct ulp_data): New type.
40681         (BUILD_COMPLEX_ULP): Remove macro.
40682         (compare_ulp_data): New function.
40683         (find_ulps): Likewise.
40684         (find_test_ulps): Likewise.
40685         (find_function_ulps): Likewise.
40686         (find_complex_function_ulps): Likewise.
40687         (print_max_error): Determine allowed ulps using
40688         find_function_ulps.
40689         (print_complex_max_error): Determine allowed ulps using
40690         find_complex_function_ulps.
40691         (check_float_internal): Determine max ulps using find_test_ulps.
40692         (check_float): Do not take max_ulp parameter.  Update call to
40693         check_float_internal.
40694         (check_complex): Likewise.
40695         (check_int): Do not take max_ulp parameter.
40696         (check_long): Likewise.
40697         (check_bool): Likewise.
40698         (check_longlong): Likewise.
40699         (struct test_f_f_data): Remove max_ulp field.
40700         (struct test_ff_f_data): Likewise.
40701         (struct test_ff_f_data_nexttoward): Likewise.
40702         (struct test_fi_f_data): Likewise.
40703         (struct test_fl_f_data): Likewise.
40704         (struct test_if_f_data): Likewise.
40705         (struct test_fff_f_data): Likewise.
40706         (struct test_c_f_data): Likewise.
40707         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40708         (struct test_fF_f1_data): Likewise.
40709         (struct test_ffI_f1_data): Likewise.
40710         (struct test_c_c_data): Remove max_ulp field.
40711         (struct test_cc_c_data): Likewise.
40712         (struct test_f_i_data): Likewise.
40713         (struct test_ff_i_data): Likewise.
40714         (struct test_f_l_data): Likewise.
40715         (struct test_f_L_data): Likewise.
40716         (struct test_sincos_data): Likewise.
40717         (RUN_TEST_f_f): Do not handle ulps.
40718         (RUN_TEST_LOOP_f_f): Likewise.
40719         (RUN_TEST_2_f): Likewise.
40720         (RUN_TEST_LOOP_2_f): Likewise.
40721         (RUN_TEST_fff_f): Likewise.
40722         (RUN_TEST_LOOP_fff_f): Likewise.
40723         (RUN_TEST_c_f): Likewise.
40724         (RUN_TEST_LOOP_c_f): Likewise.
40725         (RUN_TEST_f_f1): Likewise.
40726         (RUN_TEST_LOOP_f_f1): Likewise.
40727         (RUN_TEST_fF_f1): Likewise.
40728         (RUN_TEST_LOOP_fF_f1): Likewise.
40729         (RUN_TEST_fI_f1): Likewise.
40730         (RUN_TEST_LOOP_fI_f1): Likewise.
40731         (RUN_TEST_ffI_f1): Likewise.
40732         (RUN_TEST_LOOP_ffI_f1): Likewise.
40733         (RUN_TEST_c_c): Likewise.
40734         (RUN_TEST_LOOP_c_c): Likewise.
40735         (RUN_TEST_cc_c): Likewise.
40736         (RUN_TEST_LOOP_cc_c): Likewise.
40737         (RUN_TEST_f_i): Likewise.
40738         (RUN_TEST_LOOP_f_i): Likewise.
40739         (RUN_TEST_f_i_tg): Likewise.
40740         (RUN_TEST_LOOP_f_i_tg): Likewise.
40741         (RUN_TEST_ff_i_tg): Likewise.
40742         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40743         (RUN_TEST_f_b): Likewise.
40744         (RUN_TEST_LOOP_f_b): Likewise.
40745         (RUN_TEST_f_b_tg): Likewise.
40746         (RUN_TEST_LOOP_f_b_tg): Likewise.
40747         (RUN_TEST_f_l): Likewise.
40748         (RUN_TEST_LOOP_f_l): Likewise.
40749         (RUN_TEST_f_L): Likewise.
40750         (RUN_TEST_LOOP_f_L): Likewise.
40751         (RUN_TEST_sincos): Likewise.
40752         (RUN_TEST_LOOP_sincos): Likewise.
40754 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40756         [BZ #15480]
40757         [BZ #15485]
40758         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40759         main case of finite arguments, set rounding mode to FE_TONEAREST
40760         and discard exceptions.
40761         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40762         exceptions.
40763         (remainder_tonearest_test_data): New variable.
40764         (remainder_test_tonearest): New function.
40765         (remainder_towardzero_test_data): New variable.
40766         (remainder_test_towardzero): New function.
40767         (remainder_downward_test_data): New variable.
40768         (remainder_test_downward): New function.
40769         (remainder_upward_test_data): New variable.
40770         (remainder_test_upward): New function.
40771         (main): Call the new test functions.
40773         * math/libm-test.inc (struct test_f_f1_data): Remove field
40774         extra_init.
40775         (struct test_fF_f1_data): Likewise.
40776         (struct test_ffI_f1_data): Likewise.
40777         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40778         based on value of EXTRA_EXPECTED.
40779         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40780         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40781         EXTRA_VAR based on value of EXTRA_EXPECTED.
40782         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40783         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40784         EXTRA_VAR based on value of EXTRA_EXPECTED.
40785         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40786         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40787         EXTRA_VAR based on value of EXTRA_EXPECTED.
40788         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40789         * math/gen-libm-test.pl (parse_args): Don't output initializers
40790         for extra output values.
40792         * math/libm-test.inc (check_int): Expect result to be exactly
40793         equal to expected value and do not handle ulps.
40794         (check_long): Likewise.
40795         (check_longlong): Likewise.
40797         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40798         exceptions.
40799         (cimag_test_data): Likewise.
40800         (conj_test_data): Likewise.
40801         (copysign_test_data): Likewise.
40802         (cproj_test_data): Likewise.
40803         (creal_test_data): Likewise.
40804         (fabs_test_data): Likewise.
40805         (fdim_test_data): Likewise.
40806         (finite_test_data): Likewise.
40807         (floor_test_data): Likewise.
40808         (fmax_test_data): Likewise.
40809         (fmin_test_data): Likewise.
40810         (fmod_test_data): Likewise.
40811         (fpclassify_test_data): Likewise.
40812         (frexp_test_data): Likewise.
40813         (ilogb_test_data): Likewise.
40814         (isfinite_test_data): Likewise.
40815         (isgreater_test_data): Likewise.
40816         (isgreaterequal_test_data): Likewise.
40817         (isinf_test_data): Likewise.
40818         (isless_test_data): Likewise.
40819         (islessequal_test_data): Likewise.
40820         (islessgreater_test_data): Likewise.
40821         (isnan_test_data): Likewise.
40822         (isnormal_test_data): Likewise.
40823         (issignaling_test_data): Likewise.
40824         (isunordered_test_data): Likewise.
40825         (ldexp_test_data): Likewise.
40826         (lrint_test_data): Likewise.
40827         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40828         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40829         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40830         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40831         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40832         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40833         test input.
40834         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40835         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40836         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40837         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40838         that test input.
40839         (lrint_downward_test_data): Test for "inexact" exceptions.
40840         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40841         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40842         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40843         test input.
40844         (lrint_upward_test_data): Test for "inexact" exceptions.
40845         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40846         test input.
40847         (llrint_test_data): Test for "inexact" exceptions.
40848         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40849         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40850         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40851         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40852         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40853         (llrint_downward_test_data): Test for "inexact" exceptions.
40854         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40855         (llrint_upward_test_data): Test for "inexact" exceptions.
40856         (logb_test_data): Likewise.
40857         (logb_downward_test_data): Likewise.
40858         (nextafter_test_data): Likewise.
40859         (nexttoward_test_data): Likewise.
40860         (remainder_test_data): Likewise.
40861         (remquo_test_data): Likewise.
40862         (scalbn_test_data): Likewise.
40863         (scalbln_test_data): Likewise.
40864         (signbit_test_data): Likewise.
40865         (sqrt_test_data): Likewise.
40866         (significand_test_data): Likewise.
40868 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40870         [BZ #15424]
40871         * benchtests/bench-modf.c (struct args): Mark arg0 as
40872         volatile.
40873         * scripts/bench.pl: Mark members of struct args as volatile.
40875 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40877         [BZ # 15497]
40878         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40879         negative infinity on POWER6 or lower.
40880         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40882 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40884         [BZ #15442]
40885         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40886         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40887         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40888         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40889         (_FP_SETQNAN): New macro.
40890         (_FP_SETQNAN_SEMIRAW): Likewise.
40891         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40892         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40893         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40894         (FP_EXTEND): Use _FP_FRAC_SNANP.
40895         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40896         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40897         into account.
40898         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40899         New macro.
40900         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40901         Likewise.
40903 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40905         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40906         with DIVIDE_BY_ZERO_EXCEPTION.
40907         (gamma_test_data): Likewise.
40908         (lgamma_test_data): Likewise.
40909         (log_test_data): Likewise.
40910         (log10_test_data): Likewise.
40911         (log2_test_data): Likewise.
40912         (tgamma_test_data): Likewise.
40914         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40915         (acos_test_tonearest): Likewise.
40916         (acos_test_towardzero): Likewise.
40917         (acos_test_downward): Likewise.
40918         (acos_test_upward): Likewise.
40919         (acosh_test): Likewise.
40920         (asin_test): Likewise.
40921         (asin_test_tonearest): Likewise.
40922         (asin_test_towardzero): Likewise.
40923         (asin_test_downward): Likewise.
40924         (asin_test_upward): Likewise.
40925         (asinh_test): Likewise.
40926         (atan_test): Likewise.
40927         (atanh_test): Likewise.
40928         (atan2_test): Likewise.
40929         (cabs_test): Likewise.
40930         (cacos_test): Likewise.
40931         (cacosh_test): Likewise.
40932         (casin_test): Likewise.
40933         (casinh_test): Likewise.
40934         (catan_test): Likewise.
40935         (catanh_test): Likewise.
40936         (cbrt_test): Likewise.
40937         (ccos_test): Likewise.
40938         (ccosh_test): Likewise.
40939         (cexp_test): Likewise.
40940         (clog_test): Likewise.
40941         (clog10_test): Likewise.
40942         (cos_test): Likewise.
40943         (cos_test_tonearest): Likewise.
40944         (cos_test_towardzero): Likewise.
40945         (cos_test_downward): Likewise.
40946         (cos_test_upward): Likewise.
40947         (cosh_test): Likewise.
40948         (cosh_test_tonearest): Likewise.
40949         (cosh_test_towardzero): Likewise.
40950         (cosh_test_downward): Likewise.
40951         (cosh_test_upward): Likewise.
40952         (cpow_test): Likewise.
40953         (csin_test): Likewise.
40954         (csinh_test): Likewise.
40955         (csqrt_test): Likewise.
40956         (ctan_test): Likewise.
40957         (ctan_test_tonearest): Likewise.
40958         (ctan_test_towardzero): Likewise.
40959         (ctan_test_downward): Likewise.
40960         (ctan_test_upward): Likewise.
40961         (ctanh_test): Likewise.
40962         (ctanh_test_tonearest): Likewise.
40963         (ctanh_test_towardzero): Likewise.
40964         (ctanh_test_downward): Likewise.
40965         (ctanh_test_upward): Likewise.
40966         (erf_test): Likewise.
40967         (erfc_test): Likewise.
40968         (exp_test): Likewise.
40969         (exp_test_tonearest): Likewise.
40970         (exp_test_towardzero): Likewise.
40971         (exp_test_downward): Likewise.
40972         (exp_test_upward): Likewise.
40973         (exp10_test): Likewise.
40974         (exp2_test): Likewise.
40975         (expm1_test): Likewise.
40976         (fmod_test): Likewise.
40977         (gamma_test): Likewise.
40978         (hypot_test): Likewise.
40979         (j0_test): Likewise.
40980         (j1_test): Likewise.
40981         (jn_test): Likewise.
40982         (lgamma_test): Likewise.
40983         (log_test): Likewise.
40984         (log10_test): Likewise.
40985         (log1p_test): Likewise.
40986         (log2_test): Likewise.
40987         (logb_test_downward): Likewise.
40988         (pow_test): Likewise.
40989         (pow_test_tonearest): Likewise.
40990         (pow_test_towardzero): Likewise.
40991         (pow_test_downward): Likewise.
40992         (pow_test_upward): Likewise.
40993         (remainder_test): Likewise.
40994         (remquo_test): Likewise.
40995         (sin_test): Likewise.
40996         (sin_test_tonearest): Likewise.
40997         (sin_test_towardzero): Likewise.
40998         (sin_test_downward): Likewise.
40999         (sin_test_upward): Likewise.
41000         (sincos_test): Likewise.
41001         (sinh_test): Likewise.
41002         (sinh_test_tonearest): Likewise.
41003         (sinh_test_towardzero): Likewise.
41004         (sinh_test_downward): Likewise.
41005         (sinh_test_upward): Likewise.
41006         (sqrt_test): Likewise.
41007         (tan_test): Likewise.
41008         (tan_test_tonearest): Likewise.
41009         (tan_test_towardzero): Likewise.
41010         (tan_test_downward): Likewise.
41011         (tan_test_upward): Likewise.
41012         (tanh_test): Likewise.
41013         (tgamma_test): Likewise.
41014         (y0_test): Likewise.
41015         (y1_test): Likewise.
41016         (yn_test): Likewise.
41018         * math/gen-libm-test.pl (adjust_arg): Remove function.
41019         (special_function): Remove argument $in_func.  Only handle
41020         generating output for tables of tests, not inside functions.
41021         (parse_args): Likewise.
41022         (generate_testfile): Remove variable $in_func.  Update call to
41023         parse_args.
41024         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41025         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41026         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41027         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41028         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41029         (MAX_VALUE_INIT): Rename macro to max_value.
41030         (MIN_VALUE_INIT): Rename macro to min_value.
41031         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41032         (plus_zero): Remove variable.
41033         (minus_zero): Likewise.
41034         (plus_infty): Likewise.
41035         (minus_infty): Likewise.
41036         (qnan_value): Likewise.
41037         (max_value): Likewise.
41038         (min_value): Likewise.
41039         (min_subnorm_value): Likewise.
41041 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41043         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41044         uint64_t or uint32_t usage.
41045         * crypt/sha256-block.c: Likewise.
41046         * crypt/sha256-crypt.c: Likewise.
41047         * crypt/sha256.c: Likewise.
41048         * crypt/sha512-block.c: Likewise.
41049         * crypt/sha512-crypt.c: Likewise.
41050         * crypt/sha512.c: Likewise.
41051         * debug/backtrace-tst.c: Likewise.
41052         * debug/pcprofiledump.c: Likewise.
41053         * elf/cache.c: Likewise.
41054         * elf/dl-cache.c: Likewise.
41055         * elf/dl-misc.c: Likewise.
41056         * elf/dl-profile.c: Likewise.
41057         * elf/dl-support.c: Likewise.
41058         * elf/ldconfig.c: Likewise.
41059         * elf/sprof.c: Likewise.
41060         * iconv/dummy-repertoire.c: Likewise.
41061         * iconv/iconv_charmap.c: Likewise.
41062         * iconv/skeleton.c: Likewise.
41063         * iconvdata/8bit-generic.c: Likewise.
41064         * iconvdata/cp737.h: Likewise.
41065         * iconvdata/cp775.h: Likewise.
41066         * iconvdata/ibm1008.h: Likewise.
41067         * iconvdata/ibm1025.h: Likewise.
41068         * iconvdata/ibm1046.h: Likewise.
41069         * iconvdata/ibm1097.h: Likewise.
41070         * iconvdata/ibm1112.h: Likewise.
41071         * iconvdata/ibm1122.h: Likewise.
41072         * iconvdata/ibm1123.h: Likewise.
41073         * iconvdata/ibm1124.h: Likewise.
41074         * iconvdata/ibm1129.h: Likewise.
41075         * iconvdata/ibm1130.h: Likewise.
41076         * iconvdata/ibm1132.h: Likewise.
41077         * iconvdata/ibm1133.h: Likewise.
41078         * iconvdata/ibm1137.h: Likewise.
41079         * iconvdata/ibm1140.h: Likewise.
41080         * iconvdata/ibm1141.h: Likewise.
41081         * iconvdata/ibm1142.h: Likewise.
41082         * iconvdata/ibm1143.h: Likewise.
41083         * iconvdata/ibm1144.h: Likewise.
41084         * iconvdata/ibm1145.h: Likewise.
41085         * iconvdata/ibm1146.h: Likewise.
41086         * iconvdata/ibm1147.h: Likewise.
41087         * iconvdata/ibm1148.h: Likewise.
41088         * iconvdata/ibm1149.h: Likewise.
41089         * iconvdata/ibm1153.h: Likewise.
41090         * iconvdata/ibm1154.h: Likewise.
41091         * iconvdata/ibm1155.h: Likewise.
41092         * iconvdata/ibm1156.h: Likewise.
41093         * iconvdata/ibm1157.h: Likewise.
41094         * iconvdata/ibm1158.h: Likewise.
41095         * iconvdata/ibm1160.h: Likewise.
41096         * iconvdata/ibm1161.h: Likewise.
41097         * iconvdata/ibm1162.h: Likewise.
41098         * iconvdata/ibm1163.h: Likewise.
41099         * iconvdata/ibm1164.h: Likewise.
41100         * iconvdata/ibm1166.h: Likewise.
41101         * iconvdata/ibm1167.h: Likewise.
41102         * iconvdata/ibm12712.h: Likewise.
41103         * iconvdata/ibm1390.h: Likewise.
41104         * iconvdata/ibm1399.h: Likewise.
41105         * iconvdata/ibm16804.h: Likewise.
41106         * iconvdata/ibm4517.h: Likewise.
41107         * iconvdata/ibm4899.h: Likewise.
41108         * iconvdata/ibm4909.h: Likewise.
41109         * iconvdata/ibm4971.h: Likewise.
41110         * iconvdata/ibm5347.h: Likewise.
41111         * iconvdata/ibm803.h: Likewise.
41112         * iconvdata/ibm856.h: Likewise.
41113         * iconvdata/ibm901.h: Likewise.
41114         * iconvdata/ibm902.h: Likewise.
41115         * iconvdata/ibm9030.h: Likewise.
41116         * iconvdata/ibm9066.h: Likewise.
41117         * iconvdata/ibm921.h: Likewise.
41118         * iconvdata/ibm922.h: Likewise.
41119         * iconvdata/ibm9448.h: Likewise.
41120         * iconvdata/isiri-3342.h: Likewise.
41121         * iconvdata/jis0201.h: Likewise.
41122         * include/link.h: Likewise.
41123         * include/netdb.h: Likewise.
41124         * inet/check_native.c: Likewise.
41125         * inet/check_pf.c: Likewise.
41126         * inet/getipv4sourcefilter.c: Likewise.
41127         * inet/getnameinfo.c: Likewise.
41128         * inet/getsourcefilter.c: Likewise.
41129         * inet/htonl.c: Likewise.
41130         * inet/setipv4sourcefilter.c: Likewise.
41131         * inet/setsourcefilter.c: Likewise.
41132         * inet/test-inet6_opt.c: Likewise.
41133         * inet/tst-network.c: Likewise.
41134         * locale/C-collate.c: Likewise.
41135         * locale/C-ctype.c: Likewise.
41136         * locale/C-time.c: Likewise.
41137         * locale/C-translit.h: Likewise.
41138         * locale/loadarchive.c: Likewise.
41139         * locale/programs/3level.h: Likewise.
41140         * locale/programs/charmap.c: Likewise.
41141         * locale/programs/charmap.h: Likewise.
41142         * locale/programs/ld-address.c: Likewise.
41143         * locale/programs/ld-collate.c: Likewise.
41144         * locale/programs/ld-ctype.c: Likewise.
41145         * locale/programs/ld-identification.c: Likewise.
41146         * locale/programs/ld-measurement.c: Likewise.
41147         * locale/programs/ld-messages.c: Likewise.
41148         * locale/programs/ld-monetary.c: Likewise.
41149         * locale/programs/ld-name.c: Likewise.
41150         * locale/programs/ld-numeric.c: Likewise.
41151         * locale/programs/ld-paper.c: Likewise.
41152         * locale/programs/ld-telephone.c: Likewise.
41153         * locale/programs/ld-time.c: Likewise.
41154         * locale/programs/linereader.c: Likewise.
41155         * locale/programs/locale.c: Likewise.
41156         * locale/programs/locarchive.c: Likewise.
41157         * locale/programs/locfile.h: Likewise.
41158         * locale/programs/repertoire.c: Likewise.
41159         * locale/programs/simple-hash.c: Likewise.
41160         * locale/programs/simple-hash.h: Likewise.
41161         * malloc/memusage.c: Likewise.
41162         * malloc/memusagestat.c: Likewise.
41163         * nis/nis_defaults.c: Likewise.
41164         * nis/nis_hash.c: Likewise.
41165         * nis/nis_print.c: Likewise.
41166         * nis/nis_xdr.c: Likewise.
41167         * nscd/connections.c: Likewise.
41168         * nscd/hstcache.c: Likewise.
41169         * nscd/nscd_gethst_r.c: Likewise.
41170         * nscd/nscd_getserv_r.c: Likewise.
41171         * nscd/nscd_helper.c: Likewise.
41172         * nscd/servicescache.c: Likewise.
41173         * nss/makedb.c: Likewise.
41174         * nss/nss_db/db-XXX.c: Likewise.
41175         * nss/nss_db/db-initgroups.c: Likewise.
41176         * nss/nss_db/db-netgrp.c: Likewise.
41177         * nss/nss_files/files-network.c: Likewise.
41178         * nss/nss_files/files-parse.c: Likewise.
41179         * posix/bug-regex5.c: Likewise.
41180         * posix/fnmatch_loop.c: Likewise.
41181         * posix/regcomp.c: Likewise.
41182         * posix/regexec.c: Likewise.
41183         * posix/tst-rfc3484-2.c: Likewise.
41184         * posix/tst-rfc3484-3.c: Likewise.
41185         * posix/tst-rfc3484.c: Likewise.
41186         * resolv/nss_dns/dns-canon.c: Likewise.
41187         * resolv/nss_dns/dns-network.c: Likewise.
41188         * resolv/res_init.c: Likewise.
41189         * resolv/res_mkquery.c: Likewise.
41190         * resolv/tst-aton.c: Likewise.
41191         * stdlib/cxa_atexit.c: Likewise.
41192         * stdlib/cxa_finalize.c: Likewise.
41193         * stdlib/gen-fpioconst.c: Likewise.
41194         * stdlib/strtol_l.c: Likewise.
41195         * string/tst-endian.c: Likewise.
41196         * sunrpc/auth_des.c: Likewise.
41197         * sunrpc/clnt_udp.c: Likewise.
41198         * sunrpc/rtime.c: Likewise.
41199         * sunrpc/svcauth_des.c: Likewise.
41200         * sunrpc/xdr.c: Likewise.
41201         * sunrpc/xdr_intXX_t.c: Likewise.
41202         * sunrpc/xdr_rec.c: Likewise.
41203         * sysdeps/generic/ldconfig.h: Likewise.
41204         * sysdeps/generic/ldsodefs.h: Likewise.
41205         * sysdeps/generic/memusage.h: Likewise.
41206         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41207         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41208         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41209         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41212         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41213         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41214         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41216         * sysdeps/posix/getaddrinfo.c: Likewise.
41217         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41218         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41219         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41220         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41221         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41222         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41223         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41224         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41225         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41226         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41227         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41228         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41229         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41230         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41231         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41232         * sysdeps/x86_64/dl-tls.h: Likewise.
41233         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41234         * time/alt_digit.c: Likewise.
41235         * time/era.c: Likewise.
41236         * wcsmbs/tst-c16c32-1.c: Likewise.
41238 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41240         * math/libm-test.inc (struct test_sincos_data): New type.
41241         (RUN_TEST_LOOP_sincos): New macro.
41242         (sincos_test_data): New variable.
41243         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41245 2013-05-16  Richard Henderson  <rth@redhat.com>
41247         * math/atest-exp2.c (LIMB64): New macro.
41248         (CONSTSZ): New macro.
41249         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41250         (hexdig): Move ...
41251         (print_mpn_fp): ... to function scope.
41252         (read_mpn_hex): Remove.
41253         (get_log2): Remove.
41254         (exp2_mpn): Use mp_log2.
41255         (main): Use mp_exp1.
41257 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41259         * math/libm-test.inc: Remove comment about not testing "inexact"
41260         exceptions.
41261         (INEXACT_EXCEPTION): New macro.
41262         (NO_INEXACT_EXCEPTION): Likewise.
41263         (INVALID_EXCEPTION_OK): Update value.
41264         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41265         (OVERFLOW_EXCEPTION_OK): Likewise.
41266         (UNDERFLOW_EXCEPTION_OK): Likewise.
41267         (IGNORE_ZERO_INF_SIGN): Likewise.
41268         (ERRNO_UNCHANGED): Likewise.
41269         (ERRNO_EDOM): Likewise.
41270         (ERRNO_ERANGE): Likewise.
41271         (test_exceptions): Handle testing "inexact" exceptions.
41272         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41273         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41274         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41275         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41276         INEXACT_EXCEPTION.
41277         (rint_towardzero_test_data): Likewise.
41278         (rint_downward_test_data): Likewise.
41279         (rint_upward_test_data): Likewise.
41281         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41282         with OVERFLOW_EXCEPTION.
41283         (exp10_test_data): Likewise.
41284         (exp2_test_data): Likewise.
41285         (expm1_test_data): Likewise.
41286         (lgamma_test_data): Likewise.
41287         (pow_test_data): Likewise.
41288         (tgamma_test_data): Likewise.
41289         (yn_test_data): Remove duplicate test of overflow.
41291         * math/libm-test.inc (struct test_cc_c_data): New type.
41292         (RUN_TEST_LOOP_cc_c): New macro.
41293         (cpow_test_data): New variable.
41294         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41296         * math/libm-test.inc (struct test_f_L_data): New type.
41297         (RUN_TEST_LOOP_f_L): New macro.
41298         (llrint_test_data): New variable.
41299         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41300         (llrint_tonearest_test_data): New variable.
41301         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41302         (llrint_towardzero_test_data): New variable.
41303         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41304         (llrint_downward_test_data): New variable.
41305         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41306         (llrint_upward_test_data): New variable.
41307         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41308         (llround_test_data): New variable.
41309         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41311 2013-05-13  Peter Collingbourne  <pcc@google.com>
41313         * math/atest-exp2.c (get_log2): Remove const attribute.
41315 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41317         * math/libm-test.inc (struct test_f_l_data): New type.
41318         (RUN_TEST_LOOP_f_l): New macro.
41319         (lrint_test_data): New variable.
41320         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41321         (lrint_tonearest_test_data): New variable.
41322         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41323         (lrint_towardzero_test_data): New variable.
41324         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41325         (lrint_downward_test_data): New variable.
41326         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41327         (lrint_upward_test_data): New variable.
41328         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41329         (lround_test_data): New variable.
41330         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41332 2013-05-15  Peter Collingbourne  <pcc@google.com>
41334         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41335         (EXTRACT_WORDS64) Use where appropriate.
41336         (INSERT_WORDS64) Likewise.
41338         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41339         constraints with x constraints.
41340         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41342         * malloc/obstack.c (_obstack_compat): Add initializer.
41344 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41346         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41347         si_trapno and add si_addr_lsb to _sifields.sigfault.
41348         (si_trapno): Remove macro.
41349         (si_addr_lsb): Define new macro.
41350         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41352 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41354         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41355         instead of TEST_f_l.
41356         (llrint_test_tonearest): Likewise.
41357         (llrint_test_towardzero): Likewise.
41358         (llrint_test_downward): Likewise.
41359         (llrint_test_upward): Likewise.
41360         (llround_test): Likewise.
41362         * math/libm-test.inc (struct test_f_i_data): Add comment.
41363         (RUN_TEST_LOOP_f_b): New macro.
41364         (RUN_TEST_LOOP_f_b_tg): Likewise.
41365         (finite_test_data): New variable.
41366         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41367         (isfinite_test_data): New variable.
41368         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41369         (isinf_test_data): New variable.
41370         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41371         (isnan_test_data): New variable.
41372         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41373         (isnormal_test_data): New variable.
41374         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41375         (issignaling_test_data): New variable.
41376         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41377         (signbit_test_data): New variable.
41378         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41380         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41381         with INVALID_EXCEPTION.
41382         (acosh_test_data): Likewise.
41383         (asin_test_data): Likewise.
41384         (atanh_test_data): Likewise.
41385         (fmod_test_data): Likewise.
41386         (log_test_data): Likewise.
41387         (log10_test_data): Likewise.
41388         (log2_test_data): Likewise.
41389         (pow_test_data): Likewise.
41390         (sqrt_test_data): Likewise.
41391         (y0_test_data): Likewise.
41392         (y1_test_data): Likewise.
41393         (yn_test_data): Likewise.
41395         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41396         function contents.
41398         * math/libm-test.inc (struct test_ff_i_data): New type.
41399         (RUN_TEST_LOOP_ff_i_tg): New macro.
41400         (isgreater_test_data): New variable.
41401         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41402         (isgreaterequal_test_data): New variable.
41403         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41404         (isless_test_data): New variable.
41405         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41406         (islessequal_test_data): New variable.
41407         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41408         (islessgreater_test_data): New variable.
41409         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41410         (isunordered_test_data): New variable.
41411         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41413 2013-05-14  David S. Miller  <davem@davemloft.net>
41415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41417 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41419         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41421         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41422         extra_test to int.
41423         (struct test_f_i_data): Change type of max_ulp to int.
41425         * math/libm-test.inc (test_ffI_f1_data): New type.
41426         (RUN_TEST_LOOP_ffI_f1): New macro.
41427         (remquo_test_data): New variable.
41428         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41430         * setjmp/tst-setjmp-fp.c: New file.
41431         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41432         (link-libm): New variable.
41433         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41435         * math/libm-test.inc (struct test_f_i_data): New type.
41436         (RUN_TEST_LOOP_f_i): New macro.
41437         (RUN_TEST_LOOP_f_i_tg): Likewise.
41438         (fpclassify_test_data): New variable.
41439         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41440         (ilogb_test_data): New variable.
41441         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41443         * math/libm-test.inc (scalbln_test): Correct function name in END
41444         call.
41446         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41447         (RUN_TEST_LOOP_fI_f1): New macro.
41448         (frexp_test_data): New variable.
41449         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41451         * math/libm-test.inc (struct test_fF_f1_data): New type.
41452         (RUN_TEST_LOOP_fF_f1): New macro.
41453         (modf_test_data): New variable.
41454         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41456         * math/libm-test.inc (struct test_f_f1_data): New type.
41457         (RUN_TEST_LOOP_f_f1): New macro.
41458         (gamma_test_data): New variable.
41459         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41460         (lgamma_test_data): New variable.
41461         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41463 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41465         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41466         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41467         (main): Comment "tls" pseudo-hwcap.
41469 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41471         * math/libm-test.inc (struct test_fl_f_data): New type.
41472         (RUN_TEST_LOOP_fl_f): New variable.
41473         (scalbln_test_data): New variable.
41474         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41476         * math/libm-test.inc (struct test_fi_f_data): New type.
41477         (RUN_TEST_LOOP_fi_f): New macro.
41478         (ldexp_test_data): New variable.
41479         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41480         (scalbn_test_data): New variable.
41481         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41483         * math/libm-test.inc (struct test_c_f_data): New type.
41484         (RUN_TEST_LOOP_c_f): New macro.
41485         (cabs_test_data): New variable.
41486         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41487         (carg_test_data): New variable.
41488         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41489         (cimag_test_data): New variable.
41490         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41491         (creal_test_data): New variable.
41492         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41494         * math/libm-test.inc (struct test_if_f_data): New type.
41495         (RUN_TEST_LOOP_if_f): New macro.
41496         (jn_test_data): New variable.
41497         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41498         (yn_test_data): New variable.
41499         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41501         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41503 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41505         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41506         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41508 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41510         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41511         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41512         (bench-deps): Add bench-timing.h.
41513         * benchtests-bench-skeleton.c: Include bench-timing.h.
41514         (main): Use TIMING_* macros instead of clock_gettime.
41515         * benchtests/bench-timing.h: New file.
41517         [BZ #14582]
41518         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41519         Renamed from _LIB_VERSION.
41520         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41522 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41524         * math/libm-test.inc (struct test_fff_f_data): New type.
41525         (RUN_TEST_LOOP_fff_f): New macro.
41526         (fma_test_data): New variable.
41527         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41528         (fma_towardzero_test_data): New variable.
41529         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41530         (fma_downward_test_data): New variable.
41531         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41532         (fma_upward_test_data): New variable.
41533         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41535         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41536         (struct test_c_c_data): New type.
41537         (RUN_TEST_LOOP_c_c): New macro.
41538         (cacos_test_data): New variable.
41539         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41540         (cacosh_test_data): New variable.
41541         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41542         (casin_test_data): New variable.
41543         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41544         (casinh_test_data): New variable.
41545         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41546         (catan_test_data): New variable.
41547         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41548         (catanh_test_data): New variable.
41549         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41550         (ccos_test_data): New variable.
41551         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41552         (ccosh_test_data): New variable.
41553         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41554         (cexp_test_data): New variable.
41555         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41556         (clog_test_data): New variable.
41557         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41558         (clog10_test_data): New variable.
41559         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41560         (conj_test_data): New variable.
41561         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41562         (cproj_test_data): New variable.
41563         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41564         (csin_test_data): New variable.
41565         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41566         (csinh_test_data): New variable.
41567         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41568         (csqrt_test_data): New variable.
41569         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41570         (ctan_test_data): New variable.
41571         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41572         (ctan_tonearest_test_data): New variable.
41573         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41574         (ctan_towardzero_test_data): New variable.
41575         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41576         (ctan_downward_test_data): New variable.
41577         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41578         (ctan_upward_test_data): New variable.
41579         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41580         (ctanh_test_data): New variable.
41581         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41582         (ctanh_tonearest_test_data): New variable.
41583         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41584         (ctanh_towardzero_test_data): New variable.
41585         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41586         (ctanh_downward_test_data): New variable.
41587         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41588         (ctanh_upward_test_data): New variable.
41589         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41590         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41591         of BUILD_COMPLEX.
41593         * math/libm-test.inc (struct test_ff_f_data): New type.
41594         (struct test_ff_f_data_nexttoward): Likewise.
41595         (RUN_TEST_LOOP_2_f): New macro.
41596         (RUN_TEST_LOOP_ff_f): Likewise.
41597         (atan2_test_data): New variable.
41598         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41599         (copysign_test_data): New variable.
41600         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41601         (fdim_test_data): New variable.
41602         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41603         (fmax_test_data): New variable.
41604         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41605         (fmin_test_data): New variable.
41606         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41607         (fmod_test_data): New variable.
41608         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41609         (hypot_test_data): New variable.
41610         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41611         (nextafter_test_data): New variable.
41612         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41613         (nexttoward_test_data): New variable.
41614         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41615         (pow_test_data): New variable.
41616         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41617         (pow_tonearest_test_data): New variable.
41618         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41619         (pow_towardzero_test_data): New variable.
41620         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41621         (pow_downward_test_data): New variable.
41622         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41623         (pow_upward_test_data): New variable.
41624         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41625         (remainder_test_data): New variable.
41626         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41627         (scalb_test_data): New variable.
41628         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41629         * sysdeps/i386/fpu/libm-test-ulps: Update.
41631 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41633         * math/libm-test.inc (fma_test): Use max_value instead of local
41634         variable fltmax.
41635         (nextafter_test): Likewise.
41637         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41638         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41639         (acos_downward_test_data): New variable.
41640         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41641         (acos_upward_test_data): New variable.
41642         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41643         (acosh_test_data): New variable.
41644         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41645         (asin_test_data): New variable.
41646         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41647         (asin_tonearest_test_data): New variable.
41648         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41649         (asin_towardzero_test_data): New variable.
41650         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41651         (asin_downward_test_data): New variable.
41652         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41653         (asin_upward_test_data): New variable.
41654         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41655         (asinh_test_data): New variable.
41656         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41657         (atan_test_data): New variable.
41658         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41659         (atanh_test_data): New variable.
41660         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41661         (cbrt_test_data): New variable.
41662         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41663         (ceil_test_data): New variable.
41664         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41665         (cos_test_data): New variable.
41666         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41667         (cos_tonearest_test_data): New variable.
41668         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41669         (cos_towardzero_test_data): New variable.
41670         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41671         (cos_downward_test_data): New variable.
41672         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41673         (cos_upward_test_data): New variable.
41674         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41675         (cosh_test_data): New variable.
41676         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41677         (cosh_tonearest_test_data): New variable.
41678         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41679         (cosh_towardzero_test_data): New variable.
41680         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41681         (cosh_downward_test_data): New variable.
41682         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41683         (cosh_upward_test_data): New variable.
41684         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41685         (erf_test_data): New variable.
41686         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41687         (erfc_test_data): New variable.
41688         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41689         (exp_test_data): New variable.
41690         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41691         (exp_tonearest_test_data): New variable.
41692         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41693         (exp_towardzero_test_data): New variable.
41694         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41695         (exp_downward_test_data): New variable.
41696         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41697         (exp_upward_test_data): New variable.
41698         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41699         (exp10_test_data): New variable.
41700         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41701         (exp2_test_data): New variable.
41702         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41703         (expm1_test_data): New variable.
41704         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41705         (fabs_test_data): New variable.
41706         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41707         (floor_test_data): New variable.
41708         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41709         (j0_test_data): New variable.
41710         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41711         (j1_test_data): New variable.
41712         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41713         (log_test_data): New variable.
41714         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41715         (log10_test_data): New variable.
41716         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41717         (log1p_test_data): New variable.
41718         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41719         (log2_test_data): New variable.
41720         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41721         (logb_test_data): New variable.
41722         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41723         (logb_downward_test_data): New variable.
41724         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41725         (nearbyint_test_data): New variable.
41726         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41727         (rint_test_data): New variable.
41728         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41729         (rint_tonearest_test_data): New variable.
41730         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41731         (rint_towardzero_test_data): New variable.
41732         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41733         (rint_downward_test_data): New variable.
41734         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41735         (rint_upward_test_data): New variable.
41736         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41737         (round_test_data): New variable.
41738         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41739         (sin_test_data): New variable.
41740         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41741         (sin_tonearest_test_data): New variable.
41742         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41743         (sin_towardzero_test_data): New variable.
41744         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41745         (sin_downward_test_data): New variable.
41746         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41747         (sin_upward_test_data): New variable.
41748         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41749         (sinh_test_data): New variable.
41750         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41751         (sinh_tonearest_test_data): New variable.
41752         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41753         (sinh_towardzero_test_data): New variable.
41754         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41755         (sinh_downward_test_data): New variable.
41756         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41757         (sinh_upward_test_data): New variable.
41758         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41759         (sqrt_test_data): New variable.
41760         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41761         (tan_test_data): New variable.
41762         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41763         (tan_tonearest_test_data): New variable.
41764         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41765         (tan_towardzero_test_data): New variable.
41766         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41767         (tan_downward_test_data): New variable.
41768         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41769         (tan_upward_test_data): New variable.
41770         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41771         (tanh_test_data): New variable.
41772         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41773         (tgamma_test_data): New variable.
41774         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41775         (trunc_test_data): New variable.
41776         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41777         (y0_test_data): New variable.
41778         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41779         (y1_test_data): New variable.
41780         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41781         (significand_test_data): New variable.
41782         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41784 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41786         [BZ #12387]
41787         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41789 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41791         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41793 2013-05-10  Andreas Jaeger  <aj@suse.de>
41795         [BZ #15448]
41796         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41797         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41799 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41801         * math/gen-libm-test.pl (adjust_arg): New function.
41802         (special_functions): Handle generating output in both functions
41803         and arrays.
41804         (parse_args): Likewise.
41805         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41806         $in_func argument to parse_args.
41807         * math/libm-test.inc (struct test_f_f_data): New type.
41808         (IF_ROUND_INIT_): New macro.
41809         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41810         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41811         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41812         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41813         (ROUND_RESTORE_): Likewise.
41814         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41815         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41816         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41817         (ROUND_RESTORE_FE_UPWARD): Likewise.
41818         (RUN_TEST_LOOP_f_f): New macro.
41819         (acos_test_data): New variable.
41820         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41821         (acos_tonearest_test_data): New variable.
41822         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41824 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41826         * benchtests/bench-skeleton.c (startup): Fix coding style.
41828 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41830         [BZ #6809]
41831         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41832         negative infinity argument.
41833         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41834         negative infinity argument.
41835         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41836         negative infinity argument.
41837         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41838         domain errors.
41840 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41842         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41843         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41844         * iconv/iconv_prog.c (main): Likewise.
41845         * locale/programs/charmap-dir.c (charmap_readdir)
41846         (fopen_uncompressed): Likewise.
41847         * locale/programs/locfile.c (siblings_uncached)
41848         (write_locale_data): Use lstat64 instead of lstat.
41849         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41850         stat.
41852 2013-05-10  Andreas Jaeger  <aj@suse.de>
41854         [BZ #15395]
41855         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41856         localization.
41857         Include <locale.h>.
41859 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41861         * elf/dl-close.c (_dl_close_worker): Add comments.
41863 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41865         [BZ #15359]
41866         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41867         high part of pi/2.
41868         (__ieee754_rem_pio2l): Update comments.
41870         [BZ #15429]
41871         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41872         high part of pi/2.
41873         (__ieee754_rem_pio2l): Update comments.
41875         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41876         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41878         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41879         M_PI_4l.
41881         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41882         (M_PI_34_LOG10El): Likewise.
41883         (M_PI2_LOG10El): Likewise.
41884         (M_PI4_LOG10El): Likewise.
41885         (M_PI_LOG10El): Likewise.
41887 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41891 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41893         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41894         (MINUS_ZERO_INIT): Likewise.
41895         (PLUS_INFTY_INIT): Likewise.
41896         (MINUS_INFTY_INIT): Likewise.
41897         (QNAN_VALUE_INIT): Likewise.
41898         (MAX_VALUE_INIT): Likewise.
41899         (MIN_VALUE_INIT): Likewise.
41900         (MIN_SUBNORM_VALUE_INIT): Likewise.
41901         (plus_zero): Initialize with PLUS_ZERO_INIT.
41902         (minus_zero): Initialize with MINUS_ZERO_INIT.
41903         (plus_infty): Initialize with PLUS_INFTY_INIT.
41904         (minus_infty): Initialize with MINUS_INFTY_INIT.
41905         (qnan_value): Initialize with QNAN_VALUE_INIT.
41906         (max_value): Initialize with MAX_VALUE_INIT.
41907         (min_value): Initialize with MIN_VALUE_INIT.
41908         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41910         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41911         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41912         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41913         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41915         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41916         (RUN_TEST_2_f): Likewise.
41917         (RUN_TEST_ff_f): Likewise.
41918         (RUN_TEST_fi_f): Likewise.
41919         (RUN_TEST_fl_f): Likewise.
41920         (RUN_TEST_fff_f): Likewise.
41921         (RUN_TEST_c_f): Likewise.
41922         (RUN_TEST_f_f1): Likewise.
41923         (RUN_TEST_fF_f1): Likewise.
41924         (RUN_TEST_fI_f1): Likewise.
41925         (RUN_TEST_ffI_f1): Likewise.
41926         (RUN_TEST_c_c): Likewise.
41927         (RUN_TEST_cc_c): Likewise.
41928         (RUN_TEST_f_i): Likewise.
41929         (RUN_TEST_f_i_tg): Likewise.
41930         (RUN_TEST_ff_i_tg): Likewise.
41931         (RUN_TEST_f_b): Likewise.
41932         (RUN_TEST_f_b_tg): Likewise.
41933         (RUN_TEST_f_l): Likewise.
41934         (RUN_TEST_f_L): Likewise.
41935         (RUN_TEST_sincos): Likewise.
41936         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41937         whether to show exceptions.  Do not include ");\n" in return
41938         value.
41939         (special_functions): Output call to RUN_TEST_sincos instead of
41940         check_float calls.  Update calls to new_test.
41941         (parse_args): Output call to single RUN_TEST_* macro instead of
41942         check_* calls and other assignments.  Update calls to new_test.
41944         [BZ #2546]
41945         [BZ #2560]
41946         [BZ #5159]
41947         [BZ #15426]
41948         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41949         input to result for tgamma overflow.
41950         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41951         (gamma_coeff): New variable.
41952         (NCOEFF): New macro.
41953         (gamma_positive): New function.
41954         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41955         underflow here.  Use gamma_positive instead of exp (lgamma) for
41956         other arguments.
41957         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41958         (gamma_coeff): New variable.
41959         (NCOEFF): New macro.
41960         (gammaf_positive): New function.
41961         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41962         underflow here.  Use gamma_positive instead of exp (lgamma) for
41963         other arguments.
41964         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41965         (gamma_coeff): New variable.
41966         (NCOEFF): New macro.
41967         (gammal_positive): New function.
41968         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41969         underflow here.  Use gamma_positive instead of exp (lgamma) for
41970         other arguments.
41971         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41972         (gamma_coeff): New variable.
41973         (NCOEFF): New macro.
41974         (gammal_positive): New function.
41975         (__ieee754_gammal_r): Handle positive infinity, overflow and
41976         underflow here.  Handle NaN the same as positive infinity.  Remove
41977         check x < 0xffffffff for negative integers.  Use gamma_positive
41978         instead of exp (lgamma) for other arguments.
41979         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41980         (gamma_coeff): New variable.
41981         (NCOEFF): New macro.
41982         (gammal_positive): New function.
41983         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41984         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41985         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41986         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41987         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41988         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41989         * sysdeps/generic/math_private.h (__gamma_productf): New
41990         prototype.
41991         (__gamma_product): Likewise.
41992         (__gamma_productl): Likewise.
41993         * math/Makefile (libm-calls): Add gamma_product.
41994         * math/libm-test.inc (tgamma_test): Add more tests.
41995         * sysdeps/i386/fpu/libm-test-ulps: Update.
41996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41998 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42000         * benchtests/bench-skeleton.c (main): Preheat CPU.
42002 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42004         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42006 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42008         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42009         and _dl_skip_args_internal.
42011 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42013         * manual/message.texi (Message Translation): Talk about users.
42014         Message to key mapping impacts design.
42016 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42018         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42020         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42022         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42023         * sysdeps/wordsize-64/glob64.c: ... here.
42025         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42026         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42027         New macros.
42029         * debug/getlogin_r_chk.c: Moved to ...
42030         * login/getlogin_r_chk.c: ... here.
42031         * debug/Makefile (routines): Move getlogin_r_chk to ...
42032         * login/Makefile (routines): ... here.
42033         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42034         * login/Versions (libc: GLIBC_2.4): ... here.
42036         * io/poll.c (__poll): Renamed from poll.
42037         Add libc_hidden_def.
42038         (poll): Define as weak alias.
42040         * debug/ptsname_r_chk.c: Moved to ...
42041         * login/ptsname_r_chk.c: ... here.
42042         * debug/Makefile (routines): Move ptsname_r_chk to ...
42043         * login/Makefile (routines): ... here.
42044         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42045         * login/Versions (libc: GLIBC_2.4): ... here.
42047         * posix/getlogin.c: Moved to ...
42048         * login/getlogin.c: ... here.
42049         * posix/getlogin_r.c: Moved to ...
42050         * login/getlogin_r.c: ... here.
42051         * posix/getlogin_r.c: Moved to ...
42052         * login/getlogin_r.c: ... here.
42053         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42054         * login/Makefile (routines): ... here.
42055         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42056         * login/Versions (libc: GLIBC_2.0): ... here.
42058         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42059         (setrlimit): Define as weak alias.
42061         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42062         Call __ names for open, ftruncate, and close.
42063         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42064         (truncate): Define as weak alias.
42066 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42068         * math/gen-libm-test.pl (parse_args): Initialize x before each
42069         test of frexp, modf and remquo.
42071         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42072         test signgam value.
42074 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42076         [BZ #15418]
42077         [BZ #15419]
42078         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42079         internal tests.
42080         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42082 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42084         * elf/dl-writev.h: New file.
42085         * elf/dl-misc.c: Include it.
42086         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42087         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42089 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42091         * math/libm-test.inc (noXFails): Remove variable.
42092         (noXPasses): Likewise.
42093         (BUILD_COMPLEX_INT): Remove macro.
42094         (print_screen): Remove xfail argument.
42095         (print_screen_max_error): Likewise.
42096         (update_stats): Likewise.
42097         (print_max_error): Likewise.  Update calls to other affected
42098         functions.
42099         (print_complex_max_error): Likewise.
42100         (test_single_exception): Update calls to print_screen.
42101         (test_single_errno): Likewise.
42102         (check_float_internal): Remove xfail argument.  Update calls to
42103         other affected functions.
42104         (check_float): Likewise.
42105         (check_complex): Likewise.
42106         (check_int): Likewise.
42107         (check_long): Likewise.
42108         (check_bool): Likewise.
42109         (check_longlong): Likewise.
42110         (main): Don't print noXFails and noXPasses.
42111         * math/gen-libm-test.pl (top level): Don't mention expected
42112         failure handling in comment.
42113         (new_test): Don't handle expected failures.
42114         (parse_args): Don't mention expected failure handling in comment.
42115         (generate_testfile): Don't handle expected failures.
42116         (parse_ulps): Likewise.
42117         (print_ulps_file): Likewise.
42118         (get_failure): Remove function.
42119         (output_test): Don't handle expected failures.
42120         * make/README.libm-test: Don't mention expected failure handling.
42122         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42123         (minus_zero): Likewise.
42124         (plus_infty): Likewise.
42125         (minus_infty): Likewise.
42126         (qnan_value): Likewise.
42127         (max_value): Likewise.
42128         (min_value): Likewise.
42129         (min_subnorm_value): Likewise.
42130         (initialize): Do not initialize those variables dynamically.
42132 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42134         * io/open.c (__open_2): Moved to ...
42135         * io/open_2.c: ... this new file.
42136         * io/open64.c (__open64_2): Moved to ...
42137         * io/open64_2.c: ... this new file.
42138         * io/openat.c (__openat_2): Moved to ...
42139         * io/openat_2.c: ... this new file.
42140         * io/openat64.c (__openat64_2): Moved to ...
42141         * io/openat64_2.c: ... this new file.
42142         * io/Makefile (routines): Add them.
42143         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42144         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42145         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42146         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42147         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42148         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42149         (__openat64): Add hidden_ver.
42150         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42151         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42153         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42154         Separately conditionalize setting of GLRO(dl_sysinfo) so
42155         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42156         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42158 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42160         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42161         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42162         definition.
42163         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42164         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42165         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42166         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42167         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42169 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42171         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42172         test signgam value.
42174         * math/libm-test.inc (hypot_test): Do not use
42175         IGNORE_ZERO_INF_SIGN.
42177 2013-05-03  Andreas Jaeger  <aj@suse.de>
42179         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42180         Linux 3.9.
42181         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42182         (PF_MAX): Adjust for VSOCK change.
42184 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42188 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42190         [BZ #15264]
42191         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42192         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42193         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42195 2013-05-02  David S. Miller  <davem@davemloft.net>
42197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42199 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42201         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42203 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42205         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42207 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42209         [BZ #14952]
42210         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42211         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42212         Use __attribute__ ((__gnu_inline__)).
42213         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42214         Don't use __attribute__ ((__gnu_inline__)).
42216 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42218         [BZ #15423]
42219         * math/s_catan.c (__catan): Handle small real or imaginary part of
42220         input specially to avoid spurious underflow.
42221         * math/s_catanf.c (__catanf): Likewise.
42222         * math/s_catanh.c (__catanh): Likewise.
42223         * math/s_catanhf.c (__catanhf): Likewise.
42224         * math/s_catanhl.c (__catanhl): Likewise.
42225         * math/s_catanl.c (__catanl): Likewise.
42226         * math/libm-test.inc (catan_test): Add more tests.
42227         (catanh_test): Likewise.
42228         * sysdeps/i386/fpu/libm-test-ulps: Update.
42229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42231 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42235 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42237         [BZ #15416]
42238         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42239         accurately for denominator in atan2.
42240         * math/s_catanf.c (__catanf): Likewise.
42241         * math/s_catanh.c (__catanh): Likewise.
42242         * math/s_catanhf.c (__catanhf): Likewise.
42243         * math/s_catanhl.c (__catanhl): Likewise.
42244         * math/s_catanl.c (__catanl): Likewise.
42245         * math/libm-test.inc (catan_test): Add more tests.
42246         (catanh_test): Likewise.
42247         * sysdeps/i386/fpu/libm-test-ulps: Update.
42248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42250 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42252         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42254         * benchtests/Makefile (bench): Remove slow benchmarks.
42255         * benchtests/atan-inputs: Add slow benchmark inputs.
42256         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42257         (BENCH_FUNC): Accept variant offset.
42258         (VARIANT): Define.
42259         * benchtests/bench-skeleton.c (main): Run benchmark for each
42260         variant.
42261         * benchtests/cos-inputs: Add slow benchmark inputs.
42262         * benchtests/exp-inputs: Likewise.
42263         * benchtests/pow-inputs: Likewise.
42264         * benchtests/sin-inputs: Likewise.
42265         * benchtests/slowatan-inputs: Remove.
42266         * benchtests/slowatan.c: Remove.
42267         * benchtests/slowcos-inputs: Remove.
42268         * benchtests/slowcos.c: Remove.
42269         * benchtests/slowexp-inputs: Remove.
42270         * benchtests/slowexp.c: Remove.
42271         * benchtests/slowpow-inputs: Remove.
42272         * benchtests/slowpow.c: Remove.
42273         * benchtests/slowsin-inputs: Remove.
42274         * benchtests/slowsin.c: Remove.
42275         * benchtests/slowtan-inputs: Remove.
42276         * benchtests/slowtan.c: Remove.
42277         * benchtests/tan-inputs: Add slow benchmark inputs.
42278         * scripts/bench.pl: Parse comments and directives.
42280         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42281         in CPPFLAGS.
42282         ($(objpfx)bench-%.c): Remove *-ITER.
42283         * benchtests/bench-modf.c: Remove definition of ITER.
42284         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42285         (main): Loop for DURATION seconds instead of fixed number of
42286         iterations.
42287         * scripts/bench.pl: Don't expect iterations in parameters.
42289 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42291         * io/fchdir.c (__fchdir): Renamed from fchdir.
42292         (fchdir): Define as weak alias.
42294 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42296         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42297         (ERRNO_EDOM): Likewise.
42298         (ERRNO_ERANGE): Likewise.
42299         (noErrnoTests): New variable.
42300         (init_max_error): Set errno to 0.
42301         (test_single_errno): New function.
42302         (test_errno): Likewise.
42303         (check_float_internal): Call test_errno.  Set errno to 0.
42304         (check_complex): Refer to errno tests in comment.
42305         (check_int): Call test_errno.  Set errno to 0.
42306         (check_long): Likewise.
42307         (check_bool): Likewise.
42308         (check_longlong): Likewise.
42309         (cos_test): Use ERRNO_* flags for errno tests instead of
42310         check_int.
42311         (expm1_test): Likewise.
42312         (fmod_test): Likewise.
42313         (ilogb_test): Likewise.
42314         (lgamma_test): Likewise.
42315         (pow_test): Likewise.
42316         (remainder_test): Likewise.
42317         (sin_test): Likewise.
42318         (tan_test): Likewise.
42319         (yn_test): Likewise.
42320         (initialize): Set errno to 0.
42321         (main): Print number of errno tests.
42322         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42324 2013-04-29  Andreas Jaeger  <aj@suse.de>
42326         [BZ #15084]
42327         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42328         and RES_USEVC.
42330         [BZ #15085]
42331         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42332         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42333         unimplemented.
42335         [BZ #15380]
42336         * stdlib/random.c (__initstate): Return NULL if
42337         __initstate fails.
42339         [BZ #15086]
42340         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42341         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42342         RES_SNGLKUPREOP.
42344 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42348 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42350         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42351         of individual tests.
42352         (casin_test): Likewise.
42353         (casinh_test): Likewise.
42355 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42357         [BZ #15409]
42358         * math/s_catan.c (__catan): Handle arguments with large real or
42359         imaginary part separately without squaring.
42360         * math/s_catanf.c (__catanf): Likewise.
42361         * math/s_catanh.c (__catanh): Likewise.
42362         * math/s_catanhf.c (__catanhf): Likewise.
42363         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42364         and redefine.
42365         (__catanhl): Handle arguments with large real or imaginary part
42366         separately without squaring.
42367         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42368         and redefine.
42369         (__catanl): Handle arguments with large real or imaginary part
42370         separately without squaring.
42371         * math/libm-test.inc (catan_test): Add more tests.
42372         (catanh_test): Likewise.
42373         * sysdeps/i386/fpu/libm-test-ulps: Update.
42374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42376 2013-04-27  Andreas Jaeger  <aj@suse.de>
42378         [BZ #15007]
42379         * stdlib/stdlib.h: Update guards for qecvt.
42380         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42381         <stdlib.h>.
42383 2013-04-27  Allan McRae  <allan@archlinux.org>
42385         * sysdeps/i386/fpu/libm-test-ulps: Update.
42387 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42389         [BZ #15406]
42390         * math/s_catan.c: Include <float.h>.
42391         (__catan): Ensure underflow exception occurs for underflowed
42392         result.
42393         * math/s_catanf.c: Include <float.h>.
42394         (__catanf): Ensure underflow exception occurs for underflowed
42395         result.
42396         * math/s_catanh.c: Include <float.h>.
42397         (__catanh): Ensure underflow exception occurs for underflowed
42398         result.
42399         * math/s_catanhf.c: Include <float.h>.
42400         (__catanhf): Ensure underflow exception occurs for underflowed
42401         result.
42402         * math/s_catanhl.c: Include <float.h>.
42403         (__catanhl): Ensure underflow exception occurs for underflowed
42404         result.
42405         * math/s_catanl.c: Include <float.h>.
42406         (__catanl): Ensure underflow exception occurs for underflowed
42407         result.
42408         * math/libm-test.inc (catan_test): Add more tests.
42409         (catanh_test): Likewise.
42411         [BZ #15405]
42412         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42413         underflowed result.
42414         * math/s_ccoshf.c (__ccoshf): Likewise.
42415         * math/s_ccoshl.c (__ccoshl): Likewise.
42416         * math/s_csin.c (__csin): Likewise.
42417         * math/s_csinf.c (__csinf): Likewise.
42418         * math/s_csinh.c (__csinh): Likewise.
42419         * math/s_csinhf.c (__csinhf): Likewise.
42420         * math/s_csinhl.c (__csinhl): Likewise.
42421         * math/s_csinl.c (__csinl): Likewise.
42422         * math/libm-test.inc (ccos_test): Add more tests.
42423         (ccosh_test): Likewise.
42424         (csin_test): Likewise.
42425         (csinh_test): Likewise.
42427 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42429         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42430         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42431         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42432         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42433         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42434         powerpc/power5+/fpu folders.
42435         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42438 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42442 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42444         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42445         additions to variable.
42446         [$(config-machine) = x86_64] (modules-names): Likewise.
42447         ($(objpfx)tst-audit3): Remove dependency.
42448         ($(objpfx)tst-audit3.out): Likewise.
42449         ($(objpfx)tst-audit4): Likewise.
42450         ($(objpfx)tst-audit4.out): Likewise.
42451         ($(objpfx)tst-audit5): Likewise.
42452         ($(objpfx)tst-audit5.out): Likewise.
42453         ($(objpfx)tst-audit6): Likewise.
42454         ($(objpfx)tst-audit6.out): Likewise.
42455         ($(objpfx)tst-audit7): Likewise.
42456         ($(objpfx)tst-audit7.out): Likewise.
42457         (tst-audit3-ENV): Remove variable.
42458         (tst-audit4-ENV): Likewise.
42459         (tst-audit5-ENV): Likewise.
42460         (tst-audit6-ENV): Likewise.
42461         (tst-audit7-ENV): Likewise.
42462         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42463         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42464         addition to variable.
42465         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42466         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42467         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42468         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42469         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42470         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42471         tst-audit3, tst-audit4 and tst-audit5.
42472         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42473         tst-audit6 and tst-audit7.
42474         [$(subdir) = elf] (modules-names): Add audit modules for those
42475         tests.
42476         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42477         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42478         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42479         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42480         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42481         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42482         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42483         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42484         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42485         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42486         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42487         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42488         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42489         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42490         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42491         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42492         Likewise.
42493         [$(subdir) = elf && $(config-cflags-avx) = yes]
42494         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42495         [$(subdir) = elf && $(config-cflags-avx) = yes]
42496         (CFLAGS-tst-auditmod4a.c): Likewise.
42497         [$(subdir) = elf && $(config-cflags-avx) = yes]
42498         (CFLAGS-tst-auditmod4b.c): Likewise.
42499         [$(subdir) = elf && $(config-cflags-avx) = yes]
42500         (CFLAGS-tst-auditmod6b.c): Likewise.
42501         [$(subdir) = elf && $(config-cflags-avx) = yes]
42502         (CFLAGS-tst-auditmod6c.c): Likewise.
42503         [$(subdir) = elf && $(config-cflags-avx) = yes]
42504         (CFLAGS-tst-auditmod7b.c): Likewise.
42505         * elf/tst-audit3.c: Move to ...
42506         * sysdeps/x86_64/tst-audit3.c: ... here.
42507         * elf/tst-audit4.c: Move to ...
42508         * sysdeps/x86_64/tst-audit4.c: ... here.
42509         * elf/tst-audit5.c: Move to ...
42510         * sysdeps/x86_64/tst-audit5.c: ... here.
42511         * elf/tst-audit6.c: Move to ...
42512         * sysdeps/x86_64/tst-audit6.c: ... here.
42513         * elf/tst-audit7.c: Move to ...
42514         * sysdeps/x86_64/tst-audit7.c: ... here.
42515         * elf/tst-auditmod3a.c: Move to ...
42516         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42517         * elf/tst-auditmod3b.c: Move to ...
42518         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42519         * elf/tst-auditmod4a.c: Move to ...
42520         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42521         * elf/tst-auditmod4b.c: Move to ...
42522         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42523         * elf/tst-auditmod5a.c: Move to ...
42524         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42525         * elf/tst-auditmod5b.c: Move to ...
42526         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42527         * elf/tst-auditmod6a.c: Move to ...
42528         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42529         * elf/tst-auditmod6b.c: Move to ...
42530         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42531         * elf/tst-auditmod6c.c: Move to ...
42532         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42533         * elf/tst-auditmod7a.c: Move to ...
42534         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42535         * elf/tst-auditmod7b.c: Move to ...
42536         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42538 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42540         [BZ #15366]
42541         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42542         define unconditionally.
42543         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42544         define unconditionally.
42545         (INT8_C, INT16_C, etc.): Likewise.
42547 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42549         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42550         __ehdr_start with hidden visibility.
42552         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42554 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42556         * math/libm-test.inc (cos_test): Use accurate hex constants.
42557         (sincost_test): Likewise.
42559 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42561         * math/libm-test.inc (catan_test): Add more tests.
42562         (catanh_test): Likewise.
42564         * math/s_catanf.c (__catanf): Use suffixed floating-point
42565         constants.
42566         * math/s_catanhf.c (__catanhf): Likewise.
42567         * math/s_catanhl.c (__catanhl): Likewise.
42568         * math/s_catanl.c (__catanl): Likewise.
42570         [BZ #15394]
42571         * math/s_catan.c (__catan): Calculate imaginary part of result
42572         with log1p not log unless computing log of number close to 0.
42573         * math/s_catanf.c (__catanf): Likewise.
42574         * math/s_catanl.c (__catanl): Likewise.
42575         * math/s_catanh.c (__catanh): Calculate real part of result with
42576         log1p not log unless computing log of number close to 0.
42577         * math/s_catanhf.c (__catanhf): Likewise.
42578         * math/s_catanhl.c (__catanhl): Likewise.
42579         * math/libm-test.inc (catan_test): Add more tests.
42580         (catanh_test): Likewise.
42581         * sysdeps/i386/fpu/libm-test-ulps: Update.
42582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42584 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42586         * benchtests/Makefile: Mention files in which fast and slow
42587         paths of math functions are implemented.
42589 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42591         * sysdeps/posix/timespec_get.c: New file.
42593 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42595         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42596         POWER.
42597         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42598         for POWER.
42599         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42600         powerpc/power5/fpu folders.
42601         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42602         * benchtests/Makefile: Add modf testcase.
42603         * benchtests/bench-modf.c: New file: Benchmark test for mo
42605 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42607         [BZ #14888]
42608         * time/Makefile (tests): Add tst-strptime-whitespace.
42609         * time/strptime_l.c (get_number): Use ISSPACE.
42610         (__strptime_internal): Likewise.
42611         * time/tst-strptime-whitespace.c: New test case.
42613 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42615         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42616         member.
42617         (_nss_files_init): Set it here.
42619 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42621         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42622         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42623         unsigned.
42625 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42627         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42629 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42632         size just once.
42634 2013-04-21  David S. Miller  <davem@davemloft.net>
42636         * po/ru.po: Update Russion translation from translation project.
42638 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42640         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42641         and setfsgid.
42643 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42645         * configure.in: Remove i386 configure warning. Remove i386 case.
42646         * configure: Regenerate.
42647         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42648         Add example to error message.
42649         * sysdeps/i386/configure: Regenerate.
42651 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42653         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42654         slowtan.
42655         * benchtests/cos-inputs: New file.
42656         * benchtests/slowcos-inputs: New file.
42657         * benchtests/slowcos.c: New file.
42658         * benchtests/slowtan-inputs: New file.
42659         * benchtests/slowtan.c: New file.
42660         * benchtests/tan-inputs: New file.
42662 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42664         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42665         considered kosher.
42667 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42669         * benchtests/Makefile: Include cppflags-iterator.mk to add
42670         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42672         * Makefile.in (bench-clean): New target.
42673         * benchtests/Makefile (bench-clean): Likewise.
42675 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42677         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42679 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42681         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42683 2013-04-15  Andreas Schwab  <schwab@suse.de>
42685         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42687         * nscd/pwdcache.c (cache_addpw): Likewise.
42688         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42689         more than recsize.
42691 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42693         * benchtests/Makefile (bench): Write all output to
42694         bench-out.tmp together.
42696 2013-04-15  Andreas Schwab  <schwab@suse.de>
42698         * nscd/nscd.c (main): Don't fork again after closing files.
42700 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42702         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42704         * benchtests/Rules (bench-deps): Collect dependencies into a
42705         single variable.  Add Makefile to dependencies.
42706         ($(objpfx)bench-%.c): Depend on bench-deps.
42708 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42709             Xavier Roche  <roche+kml2@exalead.com>
42711         [BZ #15361]
42712         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42713         just that it's a file descriptor.
42714         * manual/llio.texi (Synchronizing AIO Operations): Update description
42715         for EBADF error from aio_fsync.
42717 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42719         * Rules (bench): Move target definition...
42720         * benchtests/Makefile: ... here.
42722 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42724         * math/libm-test.inc (cos_test): Fix PI/2 test.
42725         (sincos_test): Likewise.
42726         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42727         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42729 2013-04-11  Andreas Schwab  <schwab@suse.de>
42731         [BZ #13988]
42732         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42733         accept exponent character only when digits were seen.
42734         * stdio-common/Makefile (tests): Add bug26.
42735         * stdio-common/bug26.c: New file.
42737         [BZ #14293]
42738         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42739         non-freeable.
42741 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42743         * Makeconfig (rtld-prefix): Define built linker prefix.
42744         * Rules (run-bench): Use it.
42745         * math/Makefile (run-regen-ulps): Likewise.
42747         * Rules (bench): Remove eval.
42749 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42750             Roland McGrath  <roland@hack.frob.com>
42751             Ondrej Bilka  <neleai@seznam.cz>
42753         [BZ #15346]
42754         * time/getdate.c: Include ctype.h and alloca.h.
42755         (__getdate_r): Trim leading and trailing spaces of input.
42756         * time/tst-getdate.c (tests): Add tests with leading and
42757         trailing spaces.
42759 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42761         [BZ #14280]
42762         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42763         when computing value.
42765 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42767         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42768         Use testrun.sh to run libm tests.
42770         [BZ #15309]
42771         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42773 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42775         [BZ #15264]
42776         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42780         * Makefile.in (regen-ulps): New target.
42781         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42782         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42783         [ifneq (no,$(PERL)] (regen-ulps): New target.
42784         [ifeq (no,$(PERL)] (regen-ulps): New target.
42785         * math/libm-test.inc (ulps_file_name): Define.
42786         (output_dir): New variable.
42787         (options): Add "output-dir" option.
42788         (parse_opt): Handle 'o' case.
42789         (main): If output_dir is non-NULL use it as a prefix
42790         otherwise use "".
42791         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42793 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42795         [BZ #10060, #10062]
42796         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42797         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42798         fail configure if __sync_val_compare_and_swap is not inlined.
42799         * sysdeps/i386/configure: Regenerate.
42800         * configure.in: Build for i686 when configured for i386.
42801         * configure: Regenerate.
42802         * README: Remove i386 reference.
42804 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42806         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42807         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42809 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42811         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42812         (lmsnanval): New variables.
42813         (F): Add conversion tests.
42814         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42815         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42817         * stdio-common/tstdiomisc.c (F): Properly collect individual
42818         tests' results.
42820         [BZ #14686, #15336]
42821         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42822         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42823         Instead, use input NaN values or generate a qNaN by arithmetic
42824         operation.  Also fix bugs to comply with the standard.
42825         * math/libm-test.inc (remainder_test): Add more tests.
42827         [BZ #15335, #15342]
42828         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42830         input NaN values or generate a qNaN by arithmetic operation.
42832         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42833         unreachable code.
42835         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42836         definitions.
42838 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42840         [BZ #14478]
42841         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42842         underflowed result.
42843         * math/s_cexpf.c (__cexpf): Likewise.
42844         * math/s_cexpl.c (__cexpl): Likewise.
42845         * math/libm-test.inc (cexp_test): Add more tests.
42847 2013-04-03  Andreas Schwab  <schwab@suse.de>
42849         [BZ #15330]
42850         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42851         order arrays from heap if bigger than alloca cutoff.
42853 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42855         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42856         (SNAN_TESTS_double): Refer to GCC PR56831.
42857         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42858         GCC PR56828.
42860 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42862         * Rules (bench): Move bench.out after the run is complete.
42864         * Rules (bench): Echo currently running benchmark.
42866         * benchtests/Makefile (bench): Add atan and slowatan.
42867         * benchtests/atan-inputs: New file.
42868         * benchtests/slowatan-inputs: New file.
42869         * benchtests/slowatan.c: New file.
42871         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42873         its value.
42875         [BZ #15305]
42876         * sysdeps/unix/sysv/linux/kernel-features.h
42877         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42878         __ASSUME_XFS_RESTRICTED_CHOWN.
42879         * sysdeps/unix/sysv/linux/pathconf.c
42880         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42881         Save and restore errno.
42883 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42885         [BZ #15327]
42886         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42887         arguments using __kernel_casinh.
42888         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42889         arguments using __kernel_casinhf.
42890         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42891         arguments using __kernel_casinhl.
42892         * math/libm-test.inc (cacosh_test): Add more tests.
42893         * sysdeps/i386/fpu/libm-test-ulps: Update.
42894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42896 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42898         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42899         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42901         * bench/Makefile (bench): Add sin and slowsin.
42902         * benchtests/sin-inputs: New file.
42903         * benchtests/slowsin-inputs: New file.
42904         * benchtests/slowsin.c: New file.
42906         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42907         (bench): Add slowexp and slowpow.
42908         (exp-ITER): Increase iterations.
42909         (pow-ITER): Likewise.
42910         * benchtests/exp-inputs: Change input.
42911         * benchtests/pow-inputs: Likewise.
42912         * benchtests/slowexp-inputs: New file.
42913         * benchtests/slowexp.c: New file.
42914         * benchtests/slowpow-inputs: New file.
42915         * benchtests/slowpow.c: New file.
42917 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42919         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42920         instructions.
42921         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42922         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42923         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42924         * benchtests/Makefile: Add rint benchtest.
42925         * benchtests/rint-inputs: Input for rint benchtest.
42927 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42929         * Versions.def (libm): Add GLIBC_2.18.
42930         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42931         hidden libm prototypes.
42932         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42933         * math/Makefile (libm-calls): Add s_issignaling.
42934         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42935         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42936         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42937         declaration.
42938         * math/math.h [__USE_GNU] (issignaling): New macro.
42939         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42940         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42941         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42942         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42945         * manual/arith.texi (issignaling): New section.
42946         * manual/libm-err-tab.pl (@all_functions): Update comment.
42947         * math/gen-libm-test.pl (parse_args): Apply special handling for
42948         issignaling.
42949         * math/libm-test.inc (print_float, issignaling_test): New
42950         functions.
42951         (check_float_internal): Add issignaling checks.
42952         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42953         default definition.
42954         * sysdeps/powerpc/math-tests.h: New file.
42955         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42956         tests.
42957         * math/test-snan.c (TEST_FUNC): Likewise.
42959 2013-03-30  David S. Miller  <davem@davemloft.net>
42961         * po/de.po: Update from translation team.
42963 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42965         [BZ #10357]
42966         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42967         imaginary part less than 1.0 and real part less than 0.5
42968         specially.
42969         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42970         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42971         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42972         (cacos_test): Add more tests.
42973         (casin_test): Likewise.
42974         (casinh_test): Likewise.
42975         * sysdeps/i386/fpu/libm-test-ulps: Update.
42976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42978 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42980         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42981         ONE with its value.
42983         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42984         (__pow_mp): Replace ONE and MONE with their values.
42985         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42987         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42988         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42989         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42990         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42992         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42994         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42995         (__pow_mp): Replace ZERO and MZERO with their values.
42996         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42998         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43000         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43001         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43002         (__sqr): Likewise.
43004         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43006         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43008 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43010         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43011         Declare with __attribute__ ((weak)).
43012         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43013         Call __call_tls_dtors only if it's not NULL.
43015 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43017         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43018         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43019         magic __ehdr_start linker symbol if it's defined.
43020         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43021         them up here if it was already done.
43023         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43024         (_dl_aux_init): Use const in cast when setting it.
43025         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43026         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43027         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43029         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43030         Declare them here.
43031         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43032         * csu/libc-tls.c: Nor here.
43033         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43035         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43036         (__libc_message): Never call vsyslog.
43038 2013-03-28  Alan Modra  <amodra@gmail.com>
43040         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43041         Define as empty.
43042         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43043         Likewise.
43045 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43047         [BZ #15214]
43048         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43049         underflow.
43050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43052 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43054         [BZ #15304]
43055         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43056         Don't add gid passed as argument.
43058         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43060 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43062         [BZ #15307]
43063         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43064         imaginary part between 1.0 and 1.5 and real part less than 0.5
43065         specially.
43066         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43067         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43068         * math/libm-test.inc (cacos_test): Add more tests.
43069         (casin_test): Likewise.
43070         (casinh_test): Likewise.
43071         * sysdeps/i386/fpu/libm-test-ulps: Update.
43072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43074 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43076         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43077         constants.
43078         (norm): Likewise.
43079         (denorm): Likewise.
43080         (__dbl_mp): Likewise.
43081         (add_magnitudes): Likewise.
43082         (sub_magnitudes): Likewise.
43083         (__add): Likewise.
43084         (__sub): Likewise.
43085         (__mul): Likewise.
43086         (__sqr): Likewise.
43087         (__inv): Likewise.
43088         (__dvd): Likewise.
43090         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43091         commented code.
43092         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43093         (__dubcos): Likewise.
43094         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43095         (__ieee754_acos): Likewise.
43096         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43097         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43098         (__exp1): Likewise.
43099         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43101         (log1): Likewise.
43102         (my_log2): Likewise.
43103         (checkint): Likewise.
43104         * sysdeps/ieee754/dbl-64/e_remainder.c
43105         (__ieee754_remainder): Likewise.
43106         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43108         (bsloww): Likewise.
43109         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43111         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43112         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43113         MANTISSA_STORE_T to store computations on mantissa.  Use
43114         macros for rounding and division.
43115         (denorm): Likewise.
43116         (__dbl_mp): Likewise.
43117         (add_magnitudes): Likewise.
43118         (sub_magnitudes): Likewise.
43119         (__mul): Likewise.
43120         (__sqr): Likewise.
43121         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43122         powers of two in terms of TWOPOW macro.
43123         (mp_no): Make type of mantissa as MANTISSA_T.
43124         [!RADIXI]: Define RADIXI.
43125         [!TWO52]: Define TWO52.
43126         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43128 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43130         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43131         llroundl symbol when building for PPC32.
43133 2013-03-24  Mark H Weaver  <mhw@netris.org>
43135         * manual/arith.texi (Normalization Functions): Fix prototypes for
43136         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43138 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43140         [BZ #13889]
43141         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43142         high value to check if expl overflow.
43143         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43144         to check for underflow and overflow.
43145         * math/libm-test.inc: Add exp test.
43147 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43149         [BZ #11120]
43150         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43151         with NOT_IN_libc.
43153 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43155         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43156         symbol.
43158 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43160         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43161         wrap blocks consisting of several statements.
43163         * sysdeps/generic/math-tests.h: New file.
43164         * sysdeps/i386/fpu/math-tests.h: Likewise.
43165         * math/test-snan.c: Include it.
43166         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43168 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43170         [BZ #15285]
43171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43172         (__ieee754_j0l): Do not improve calculations using cos of twice
43173         input for inputs above LDBL_MAX / 2.0L.
43174         (__ieee754_y0l): Likewise.
43175         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43176         (__ieee754_j1l): Do not improve calculations using cos of twice
43177         input for inputs above LDBL_MAX / 2.0L.
43178         (__ieee754_y1l): Likewise.
43179         * math/libm-test.inc (j0_test): Add another test.
43180         (j1_test): Likewise.
43181         (y0_test): Likewise.
43182         (y1_test): Likewise.
43183         * sysdeps/i386/fpu/libm-test-ulps: Update.
43185 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43187         * Rules ($(objpfx)bench-%.c): Include code from a C source
43188         file.
43190 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43192         [BZ #15287]
43193         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43194         imaginary part 1.0 and real part less than 0.5 specially.
43195         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43196         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43197         * math/libm-test.inc (cacos_test): Add more tests.
43198         (casin_test): Likewise.
43199         (casinh_test): Likewise.
43200         * sysdeps/i386/fpu/libm-test-ulps: Update.
43201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43203 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43205         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43206         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43208 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43210         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43211         * config.make.in (config-cflags-sse4): Remove variable.
43212         (config-cflags-avx): Likewise.
43213         (config-cflags-sse2avx): Likewise.
43214         (config-cflags-novzeroupper): Likewise.
43215         (config-asflags-i686): Likewise.
43216         (have-mfma4): Likewise.
43217         (have-as-vis3): Likewise.
43218         (MIG): Likewise.
43219         * configure.in (MIG): Do not AC_SUBST.
43220         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43221         (libc_cv_cc_sse4): Do not AC_SUBST.
43222         (libc_cv_cc_avx): Likewise.
43223         (libc_cv_cc_sse2avx): Likewise.
43224         (libc_cv_cc_novzeroupper): Likewise.
43225         (libc_cv_cc_fma4): Likewise.
43226         (libc_cv_as_i686): Likewise.
43227         (libc_cv_sparc_as_vis3): Likewise.
43228         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43229         LIBC_CONFIG_VAR.
43230         (config-asflags-i686): Likewise.
43231         (config-cflags-avx): Likewise.
43232         (config-cflags-sse2avx): Likewise.
43233         (have-mfma4): Likewise.
43234         (config-cflags-novzeroupper): Likewise.
43235         * sysdeps/mach/configure.in (MIG): Likewise.
43236         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43237         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43238         LIBC_CONFIG_VAR.
43239         (config-cflags-avx): Likewise.
43240         (config-cflags-sse2avx): Likewise.
43241         (have-mfma4): Likewise.
43242         (config-cflags-novzeroupper): Likewise.
43243         * configure: Regenerated.
43244         * sysdeps/i386/configure: Likewise.
43245         * sysdeps/mach/configure: Likewise.
43246         * sysdeps/sparc/configure: Likewise.
43247         * sysdeps/x86_64/configure: Likewise.
43249 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43251         [BZ #14812]
43252         * locale/programs/localedef.c (options): Put N_ translation marker
43253         on argument names, not just descriptions.
43255 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43257         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43259 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43261         [BZ #14176]
43262         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43264 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43266         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43267         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43268         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43269         [!BEFORE_ABORT] (before_abort): New function.
43270         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43271         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43272         (writev_for_fatal): New function.
43273         (WRITEV_FOR_FATAL): New macro; call that.
43274         (backtrace_and_maps): New function.
43275         (BEFORE_ABORT): New macro; call that.
43276         (struct str_list): Type removed.
43277         (__libc_message, __libc_fatal): Functions removed.
43278         Include <sysdeps/posix/libc_fatal.c> instead.
43280 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43282         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43283         constants.
43284         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43285         double constants.
43287 2013-03-19  Andreas Schwab  <schwab@suse.de>
43289         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43290         * sysdeps/gnu/configure: Regenerate.
43292         * configure.in: Substitute libc_cv_rtlddir.
43293         * configure: Regenerate.
43294         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43295         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43296         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43297         * elf/Makefile (install-others, CFLAGS-interp.c)
43298         (ldso_install, common-ldd-rewrite): Likewise.
43299         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43300         $(inst_slibdir)/$(rtld-installed-name).
43301         * scripts/rellns-sh: Add -p option.
43302         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43303         for source.
43305 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43307         * manual/nptl.texi: Renamed to ...
43308         * manual/threads.texi: ... this.
43309         * manual/Makefile (chapters): Update.
43311 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43313         [BZ #14812]
43314         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43315         on argument names, not just descriptions.
43316         * malloc/memusagestat.c (options): Likewise.
43317         * nss/getent.c (options): Likewise.
43319 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43321         [BZ #14812]
43322         * iconv/iconv_prog.c (options): Put N_ translation marker
43323         on argument names, not just descriptions.
43324         * iconv/iconvconfig.c (options): Likewise.
43326 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43328         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43329         implementation which is faster on all x86_64 architectures.
43330         Tested on AMD, Intel Nehalem, SNB, IVB.
43331         * sysdeps/x86_64/strnlen.S: Likewise.
43333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43334         Remove all multiarch strlen and strnlen versions.
43335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43336         Remove strlen and strnlen related parts.
43338         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43339         Inline strlen part.
43340         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43342         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43343         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43344         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43345         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43346         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43347         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43349 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43351         * manual/memory.texi (Malloc Tunable Parameters):
43352         Sort parameters alphabetically. Add comments for missing entries.
43354 2013-03-17  David S. Miller  <davem@davemloft.net>
43356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43358 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43360         [BZ #15283]
43361         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43362         for arguments at most half maximum finite value.
43363         * math/libm-test.inc (j0_test): Add more tests.
43364         (j1_test): Likewise.
43365         (y0_test): Likewise.
43366         (y1_test): Likewise.
43367         * sysdeps/i386/fpu/libm-test-ulps: Update.
43368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43370         [BZ #14155]
43371         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43372         1 / x and functions P and Q for arguments above 0x1p256L.
43373         (__ieee754_y0l): Likewise.
43374         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43375         (__ieee754_y1l): Likewise.
43376         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43377         (j1_test): Likewise.
43378         (y0_test): Likewise.
43379         (y1_test): Likewise.
43381 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43383         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43384         variable.
43386 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43388         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43389         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43390         zero since it's initialized to EXEC_PAGESIZE.
43392         * sysdeps/unix/sysv/linux/ldsodefs.h
43393         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43394         * sysdeps/generic/ldsodefs.h: ... here.
43396 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43398         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43400         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43401         math/test-snan.c.
43402         * math/test-snan.c: Renamed from
43403         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43404         * math/Makefile (tests): Add test-snan.
43405         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43406         test-powerpc-snan.
43408         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43409         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43410         functions.
43411         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43412         __builtin_nan family of functions.
43413         * math/libm-test.inc (initialize): Initialize qnan_value with
43414         __builtin_nan family of functions.
43415         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43416         Remove variables.
43417         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43418         Remove functions.
43419         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43420         storage class.  Initialize qNaN_var and sNaN_var with
43421         __builtin_nan and __builtin_nans families of functions,
43422         respectively.
43424         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43425         (sqrt_test): Remove duplicate test with qNaN input.
43426         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43427         (round_test, signbit_test, significand_test): Note missing +/-Inf
43428         as well as qNaN tests.
43430         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43431         qNaN_var.  Fix a few strings, too.
43432         * math/libm-test.inc (nan_value): Rename to qnan_value.
43433         * math/gen-libm-test.pl (%beautify): Adjust to that.
43434         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43435         * math/test-misc.c (main): Likewise.
43436         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43437         to __qnan_bytes, and __qnan_union, respectively.
43438         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43439         Likewise.
43440         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43441         and lqnanval, respectively.
43442         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43443         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43444         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43445         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43447         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43448         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43449         doubles.
43451         * math/test-misc.c (main): Fix copy'n'pastos.
43452         * misc/tst-efgcvt.c (special): Likewise.
43454         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43455         Remove declarations.
43457 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43459         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43460         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43461         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43462         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43464 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43467         macro to return vdso values correctly in IFUNC implementations.
43468         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43469         Optimization by using IFUNC.
43471 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43472             Richard Henderson  <rth@redhat.com>
43473             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43475         * Makefile.in (bench): New target.
43476         * NEWS: Mention the benchmark framework.
43477         * Rules (bench): Likewise.
43478         (binaries-bench): Generate binaries for functions to
43479         benchmark.
43480         * benchtests/Makefile: New makefile for benchmark tests.
43481         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43482         programs.
43483         * benchtests/exp-inputs: New input file for EXP function.
43484         * benchtests/pow-inputs: New input file for POW function.
43485         * scripts/bench.pl: New script to generate source files for
43486         benchmark programs.
43488 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43490         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43491         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43492         computations on mantissa.  Use macros for rounding and
43493         division.
43494         (denorm): Likewise.
43495         (__dbl_mp): Likewise.
43496         (add_magnitudes): Likewise.
43497         (sub_magnitudes): Likewise.
43498         (__mul): Likewise.
43499         (__sqr): Likewise.
43500         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43501         powers of two in terms of TWOPOW macro.
43502         (mp_no): Make type of mantissa as MANTISSA_T.
43503         [!RADIXI]: Define RADIXI.
43504         [!TWO52]: Define TWO52.
43505         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43507         * manual/nptl.texi (cindex): Modify threads to pthreads.
43509 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43511         * sysdeps/x86_64/preconfigure: Regenerated.
43513 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43515         [BZ #14155]
43516         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43517         0x1p28 and above.
43518         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43519         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43520         0x1p28 and above.
43521         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43522         * math/libm-test.inc (j0_test): Do not allow one spurious
43523         underflow exception.
43524         (y1_test): Likewise.
43526 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43528         * manual/Makefile (chapters): Add nptl.
43529         * manual/debug.texi (Debugging Support): Add link to Threads
43530         chapter.
43531         * manual/nptl.texi: New file.
43533         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43535 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43537         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43538         for non-NULL pointer before the memory validity test. Pointed
43539         out by Holger Brunck <holger.brunck@keymile.com>.
43541 2013-03-13  Andreas Schwab  <schwab@suse.de>
43543         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43544         instead of .os.
43546 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43548         * timezone/zic.c: Update from tzcode 2013b.
43550 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43552         * manual/install.texi (Configuring and compiling):
43553         Mention i686 and i586.
43554         * INSTALL: Regenerate.
43556 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43558         * sysdeps/init_array/elf-init.c: New file.
43559         * csu/elf-init.c
43560         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43561         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43563         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43564         __gmon_start__ as global, but as static with a .preinit_array pointer.
43565         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43566         * sysdeps/init_array/crti.S: New file, empty except for comments.
43567         * sysdeps/init_array/crtn.S: Likewise.
43569 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43571         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43572         definining bcopy.
43573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43574         Remove Prefer_SSE_for_memop.
43575         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43576         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43577         HAS_PREFER_SSE_FOR_MEMOP.
43578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43579         memset-x86-64.
43580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43581         Remove bzero, memset ifunc support.
43582         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43583         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43584         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43585         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43587 2013-03-11  Andreas Schwab  <schwab@suse.de>
43589         [BZ #15234]
43590         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43591         by SHLIB_COMPAT.
43592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43593         (GLIBC_2.16): Remove pthread_atfork.
43595 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43597         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43598         (ptestcases.h): Likewise.
43600 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43602         * Makeconfig ($(common-objpfx)config.status): Depend on
43603         sysdeps/*/preconfigure{,.in} too.
43605 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43607         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43608         (__free_hook): Use void * instead of __malloc_ptr_t.
43609         (__malloc_hook): Likewise.
43610         (__realloc_hook): Likewise.
43611         (__memalign_hook): Likewise.
43612         (__after_morecore_hook): Likewise.
43613         * malloc/arena.c (save_malloc_hook): Likewise.
43614         (save_free_hook): Likewise.
43615         * malloc/hooks.c (malloc_hook_ini): Likewise.
43616         (realloc_hook_ini): Likewise.
43617         (memalign_hook_ini): Likewise.
43618         * malloc/malloc.c (malloc_hook_ini): Likewise.
43619         (realloc_hook_ini): Likewise.
43620         (memalign_hook_ini): Likewise.
43621         (__free_hook): Likewise.
43622         (__malloc_hook): Likewise.
43623         (__realloc_hook): Likewise.
43624         (__memalign_hook): Likewise.
43625         (__libc_malloc): Likewise.
43626         (__libc_free): Likewise.
43627         (__libc_realloc): Likewise.
43628         (__libc_memalign): Likewise.
43629         (__libc_valloc): Likewise.
43630         (__libc_pvalloc): Likewise.
43631         (__libc_calloc): Likewise.
43632         (__posix_memalign): Likewise.
43633         * malloc/morecore.c (__sbrk): Likewise.
43634         (__default_morecore): Likewise.
43636         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43638         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43639         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43640         __malloc_ptrdiff_t.
43642         * malloc/malloc.h (__malloc_size_t): Remove macro.
43643         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43644         __malloc_size_t.
43645         (old_memalign_hook): Likewise.
43646         (old_realloc_hook): Likewise.
43647         (struct hdr): Likewise.
43648         (flood): Likewise.
43649         (mallochook): Likewise.
43650         (memalignhook): Likewise.
43651         (reallochook): Likewise.
43652         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43653         (tr_old_realloc_hook): Likewise.
43654         (tr_old_memalign_hook): Likewise.
43655         (tr_mallochook): Likewise.
43656         (tr_reallochook): Likewise.
43657         (tr_memalignhook): Likewise.
43659 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43661         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43662         default_ldbl_pack and using as default implementation.
43663         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43664         implementation.
43665         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43666         redundant definition.
43667         (ldbl_insert_mantissa): Likewise.
43668         (ldbl_canonicalize): Likewise.
43669         (ldbl_nearbyint): Likewise.
43670         (ldbl_pack): Rename to ldbl_pack_ppc.
43671         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43672         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43673         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43675 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43678         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43679         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43680         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43682         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43683         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43684         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43686 2013-03-07  Andreas Jaeger  <aj@suse.de>
43688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43689         bits/mman-linux.h.
43691 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43693         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43694         Include mpa.h and declare __MPEXP.
43695         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43696         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43697         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43699         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43700         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43701         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43703         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43704         (__slowpow): Use long double EXPL and LOGL functions to
43705         compute POW.
43706         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43707         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43708         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43709         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43710         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43711         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43714         intermediate variable to calculate exponent.
43715         (__sqr): Likewise.
43716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43717         Likewise.
43718         (__sqr): Likewise.
43720         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43721         [!NO__SQR]: Define __sqr.
43722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43723         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43724         sysdeps/ieee754/dbl-64/mpa.c.
43725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43727         [BZ #12723]
43728         * posix/Makefile (tests): Add tst-pathconf.
43729         * posix/tst-pathconf.c: New test case.
43730         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43731         _PC_PIPE_BUF.
43732         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43734 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43736         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43738 2013-03-06  Andreas Jaeger  <aj@suse.de>
43740         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43741         definition via __MAP_ANONYMOUS.
43743         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43744         it's not part of Linux headers.
43746         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43747         (MAP_HUGE_MASK): Define.
43749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43750         Define.
43751         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43752         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43753         Define.
43754         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43755         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43756         Define.
43757         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43758         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43759         Define.
43760         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43762         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43763         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43764         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43765         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43766         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43767         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43769         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43770         Handle f2fs.
43772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43773         Handle f2fs and efivarfs.
43775         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43776         f2fs.
43778         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43779         (EFIVARFS_MAGIC): Add.
43780         (F2FS_LINK_MAX): Add.
43782 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43784         * stdio-common/vfprintf.c: Replace __builtin_expect with
43785         __glibc_unlikely.
43787 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43789         [BZ #13550]
43790         * sysdeps/generic/bp-sym.h: Remove file.
43791         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43792         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43793         <bp-sym.h> and <bp-asm.h>.
43794         (__longjmp): Don't use BP_SYM.
43795         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43796         and <bp-asm.h>.
43797         (memcpy): Don't use BP_SYM.
43798         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43799         <bp-sym.h> and <bp-asm.h>.
43800         (memcpy): Don't use BP_SYM.
43801         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43802         <bp-asm.h>.
43803         (memcpy): Don't use BP_SYM.
43804         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43805         <bp-asm.h>.
43806         (memset): Don't use BP_SYM.
43807         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43808         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43809         (__bzero): Don't use BP_SYM.
43810         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43811         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43812         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43813         <bp-sym.h> and <bp-asm.h>.
43814         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43815         pointers.
43816         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43817         <bp-sym.h> and <bp-asm.h>.
43818         (memcpy): Don't use BP_SYM.
43819         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43820         <bp-sym.h> and <bp-asm.h>.
43821         (memset): Don't use BP_SYM.
43822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43824         (__bzero): Don't use BP_SYM.
43825         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43826         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43827         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43828         <bp-sym.h> and <bp-asm.h>.
43829         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43830         pointers.
43831         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43832         <bp-sym.h> and <bp-asm.h>.
43833         (memcpy): Don't use BP_SYM.
43834         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43835         <bp-sym.h> and <bp-asm.h>.
43836         (memset): Don't use BP_SYM.
43837         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43838         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43839         (__bzero): Don't use BP_SYM.
43840         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43841         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43842         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43843         <bp-sym.h> and <bp-asm.h>.
43844         (__memchr): Don't use BP_SYM.
43845         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43846         <bp-sym.h> and <bp-asm.h>.
43847         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43848         pointers.
43849         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43850         <bp-sym.h> and <bp-asm.h>.
43851         (memcpy): Don't use BP_SYM.
43852         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43853         <bp-sym.h> and <bp-asm.h>.
43854         (__mempcpy): Don't use BP_SYM.
43855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43856         <bp-sym.h> and <bp-asm.h>.
43857         (__memrchr): Don't use BP_SYM.
43858         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43859         <bp-sym.h> and <bp-asm.h>.
43860         (memset): Don't use BP_SYM.
43861         (__bzero): Likewise.
43862         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43863         <bp-sym.h> and <bp-asm.h>.
43864         (__rawmemchr): Don't use BP_SYM.
43865         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43866         <bp-sym.h> and <bp-asm.h>.
43867         (__STRCMP): Don't use BP_SYM.
43868         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43869         <bp-sym.h> and <bp-asm.h>.
43870         (strchr): Don't use BP_SYM.
43871         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43872         <bp-sym.h> and <bp-asm.h>.
43873         (__strchrnul): Don't use BP_SYM.
43874         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43875         <bp-sym.h> and <bp-asm.h>.
43876         (strlen): Don't use BP_SYM.
43877         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43878         <bp-sym.h> and <bp-asm.h>.
43879         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43880         pointers.
43881         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43882         <bp-sym.h> and <bp-asm.h>.
43883         (__strnlen): Don't use BP_SYM.
43884         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43885         <bp-sym.h> and <bp-asm.h>.
43886         (__GI__setjmp): Don't use BP_SYM.
43887         (_setjmp): Likewise.
43888         (__sigsetjmp): Likewise.
43889         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43890         (L(start_addresses)): Don't use BP_SYM.
43891         (_start): Likewise.
43892         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43893         <bp-asm.h>.
43894         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43895         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43896         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43897         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43898         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43899         <bp-asm.h>.
43900         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43901         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43902         about bounded pointers.
43903         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43904         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43905         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43906         <bp-asm.h>.
43907         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43908         about bounded pointers.  Remove GKM FIXME comments.
43909         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43910         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43911         <bp-asm.h>.
43912         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43913         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43914         Remove GKM FIXME comments.
43915         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43916         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43917         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43918         <bp-asm.h>.
43919         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43920         about bounded pointers.  Remove GKM FIXME comment.
43921         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43922         and <bp-asm.h>.
43923         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43924         pointers.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43926         <bp-sym.h> and <bp-asm.h>.
43927         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43929         <bp-sym.h> and <bp-asm.h>.
43930         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43931         comment.
43933 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43935         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43936         call free(NULL).
43938 2013-03-05  David S. Miller  <davem@davemloft.net>
43940         * po/es.po: Update from translation team.
43942 2013-03-05  Andreas Jaeger  <aj@suse.de>
43944         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43945         <bits/mman-linux.h>.
43946         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43947         is fine.
43948         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43949         <bits/mman-linux.h> to end of file.
43950         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43951         is fine.
43952         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43953         <bits/mman-linux.h> to end of file.
43954         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43955         is fine.
43956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43957         <bits/mman-linux.h> to end of file.
43959         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43960         (MCL_CURRENT, MCL_FUTURE): Define here.
43962 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43964         [BZ #15232]
43965         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43966         attribute_hidden.
43967         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43969 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43972         fourth parameter needed for rt_sigprocmask syscall.
43973         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43974         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43975         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43976         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43977         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43978         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43980 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43982         [BZ #13550]
43983         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43984         comment about bounded pointers.
43985         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43986         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43988 2013-03-04  Andreas Jaeger  <aj@suse.de>
43990         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43991         common definitions.
43993         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43994         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43995         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43996         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43997         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43998         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44000 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44002         [BZ #15055]
44003         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44004         __ieee754_sqrl instead of __sqrl.
44006 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44008         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44009         * sysdeps/powerpc/fpu_control.h: ... here.
44010         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44011         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44012         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44013         * sysdeps/powerpc/bits/mathinline.h: ... here.
44015 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44017         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44018         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44019         to just [NEED_DL_SYSINFO_DSO].
44020         * elf/dl-support.c: Likewise.
44021         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44022         * elf/rtld.c (dl_main): Likewise.
44023         * elf/setup-vdso.h (setup_vdso): Likewise.
44024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44025         * sysdeps/unix/sysv/linux/dl-sysdep.c
44026         (_dl_discover_osversion): Likewise.
44028 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44030         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44031         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44033 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44035         * NEWS: Mention libm performance improvements and non-x86 PI
44036         futex support.
44038         * csu/libc-start.c (__pthread_initialize_minimal): Change
44039         function arguments.
44040         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44042 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44044         [BZ #13550]
44045         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44046         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44047         <bp-sym.h> and <bp-asm.h>.
44048         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44049         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44050         and <bp-asm.h>.
44051         (memcpy): Don't use BP_SYM.
44052         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44053         <bp-asm.h>.
44054         (__mpn_add_n): Don't use BP_SYM.
44055         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44056         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44057         and <bp-asm.h>.
44058         (__mpn_addmul_1): Don't use BP_SYM.
44059         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44060         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44061         <bp-sym.h>.
44062         (_setjmp): Don't use BP_SYM.
44063         (__novmx_setjmp): Likewise.
44064         (__GI__setjmp): Likewise.
44065         (__vmx_setjmp): Likewise.
44066         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44067         <bp-sym.h>.
44068         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44069         (__bzero): Don't use BP_SYM.
44070         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44071         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44072         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44073         <bp-sym.h> and <bp-asm.h>.
44074         (memcpy): Don't use BP_SYM.
44075         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44076         <bp-sym.h> and <bp-asm.h>.
44077         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44078         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44079         <bp-sym.h> and <bp-asm.h>.
44080         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44081         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44082         <bp-asm.h>.
44083         (__mpn_lshift): Don't use BP_SYM.
44084         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44085         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44086         <bp-asm.h>.
44087         (memset): Don't use BP_SYM.
44088         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44089         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44090         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44091         <bp-asm.h>.
44092         (__mpn_mul_1): Don't use BP_SYM.
44093         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44094         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44095         <bp-sym.h> and <bp-asm.h>.
44096         (memcmp): Don't use BP_SYM.
44097         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44098         <bp-sym.h> and <bp-asm.h>.
44099         (memcpy): Don't use BP_SYM.
44100         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44101         <bp-sym.h> and <bp-asm.h>.
44102         (memset): Don't use BP_SYM.
44103         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44104         <bp-sym.h> and <bp-asm.h>.
44105         (strncmp): Don't use BP_SYM.
44106         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44107         <bp-sym.h> and <bp-asm.h>.
44108         (memcpy): Don't use BP_SYM.
44109         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44110         <bp-sym.h> and <bp-asm.h>.
44111         (memset): Don't use BP_SYM.
44112         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44113         <bp-sym.h> and <bp-asm.h>.
44114         (__memchr): Don't use BP_SYM.
44115         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44116         <bp-sym.h> and <bp-asm.h>.
44117         (memcmp): Don't use BP_SYM.
44118         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44119         <bp-sym.h> and <bp-asm.h>.
44120         (memcpy): Don't use BP_SYM.
44121         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44122         <bp-sym.h> and <bp-asm.h>.
44123         (__mempcpy): Don't use BP_SYM.
44124         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44125         <bp-sym.h> and <bp-asm.h>.
44126         (__memrchr): Don't use BP_SYM.
44127         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44128         <bp-sym.h> and <bp-asm.h>.
44129         (memset): Don't use BP_SYM.
44130         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44131         <bp-sym.h> and <bp-asm.h>.
44132         (__rawmemchr): Don't use BP_SYM.
44133         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44134         <bp-sym.h> and <bp-asm.h>.
44135         (__STRCMP): Don't use BP_SYM.
44136         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44137         <bp-sym.h> and <bp-asm.h>.
44138         (strchr): Don't use BP_SYM.
44139         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44140         <bp-sym.h> and <bp-asm.h>.
44141         (__strchrnul): Don't use BP_SYM.
44142         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44143         <bp-sym.h> and <bp-asm.h>.
44144         (strlen): Don't use BP_SYM.
44145         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44146         <bp-sym.h> and <bp-asm.h>.
44147         (strncmp): Don't use BP_SYM.
44148         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44149         <bp-sym.h> and <bp-asm.h>.
44150         (__strnlen): Don't use BP_SYM.
44151         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44152         <bp-asm.h>.
44153         (__mpn_rshift): Don't use BP_SYM.
44154         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44155         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44156         <bp-sym.h> and <bp-asm.h>.
44157         (__sigsetjmp): Don't use BP_SYM.
44158         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44159         (L(start_addresses)): Don't use BP_SYM.
44160         (_start): Likewise.
44161         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44162         <bp-asm.h>.
44163         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44164         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44165         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44166         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44167         <bp-asm.h>.
44168         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44169         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44170         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44171         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44172         <bp-asm.h>.
44173         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44174         comments.
44175         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44176         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44177         <bp-asm.h>.
44178         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44179         FIXME comments.
44180         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44181         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44182         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44183         <bp-asm.h>.
44184         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44185         comment.
44186         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44187         and <bp-asm.h>.
44188         (strncmp): Don't use BP_SYM,
44189         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44190         <bp-asm.h>.
44191         (__mpn_sub_n): Don't use BP_SYM.
44192         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44193         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44194         and <bp-asm.h>.
44195         (__mpn_submul_1): Don't use BP_SYM.
44196         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44198         <bp-sym.h> and <bp-asm.h>.
44199         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44201         <bp-sym.h> and <bp-asm.h>.
44202         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44203         comment.
44205 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44208         Use ZK to minimize writes to Z.
44209         (sub_magnitudes): Simplify code a bit.
44210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44211         Use ZK to minimize writes to Z.
44212         (sub_magnitudes): Simplify code a bit.
44214 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44216         * csu/gmon-start.c: Add special exception to license text.
44218 2013-02-27  Richard Henderson  <rth@redhat.com>
44220         * scripts/config.guess: Update from config.git.
44221         * scripts/config.sub: Likewise.
44223 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44225         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44227         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44229         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44231         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44233         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44235 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44237         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44238         [$(build-shared = yes].
44240 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44242         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44243         (__mul): Reduce iterations for calculating mantissa.
44245         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44246         MPTWO.
44247         (__mpranred): Likewise.
44249         [BZ #15160]
44250         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44251         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44253 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44255         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44256         Define __attribute__.
44258 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44260         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44261         unused.
44262         * posix/regex_internal.h (__attribute): Remove.
44263         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44264         (re_string_context_at): Likewise.
44265         (bitset_not): Use __attribute__ and mark function as possibly
44266         unused.
44267         (bitset_merge): Likewise.
44268         (bitset_mask): Likewise.
44269         (re_string_char_size_at): Likewise.
44270         (re_string_wchar_at): Likewise.
44271         (re_string_elem_size_at): Likewise.
44273 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44275         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44276         code.
44277         (cc32): Likewise.
44279         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44280         (__acr): Likewise.
44281         (__cpy): Likewise.
44282         (norm): Likewise.
44283         (denorm): Likewise.
44284         (__dbl_mp): Likewise.
44285         (add_magnitudes): Likewise.
44286         (sub_magnitudes): Likewise.
44287         (__mul): Likewise.
44288         (__inv): Likewise.
44290         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44291         style.
44293         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44294         style.
44296         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44297         code.
44299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44300         up changes with default code.
44301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44302         Likewise.
44304 2013-02-24  Allan McRae  <allan@archlinux.org>
44306         * manual/socket.texi (The Internet Namespace): Order menu items
44307         to match that in the file.
44309         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44310         node listing of the info page menu.
44312 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #13550]
44315         * sysdeps/i386/bp-asm.h: Remove file.
44316         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44317         (PARMS): Do not use macros from bp-asm.h.
44318         (S1): Likewise.
44319         (S2): Likewise.
44320         (SIZE): Likewise.
44321         (__mpn_add_n): Do not use BP_SYM
44322         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44323         "bp-asm.h".
44324         (PARMS): Do not use macros from bp-asm.h.
44325         (S1): Likewise.
44326         (SIZE): Likewise.
44327         (__mpn_addmul_1): Do not use BP_SYM
44328         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44329         "bp-asm.h".
44330         (PARMS): Do not use macros from bp-asm.h.
44331         (SIGMSK): Likewise.
44332         (_setjmp): Likewise.  Do not use BP_SYM.
44333         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44334         "bp-asm.h".
44335         (PARMS): Do not use macros from bp-asm.h.
44336         (SIGMSK): Likewise.
44337         (setjmp): Likewise.  Do not use BP_SYM.
44338         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44339         "bp-asm.h".
44340         (PARMS): Do not use macros from bp-asm.h.
44341         (__frexp): Do not use BP_SYM.
44342         (frexp): Likewise.
44343         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44344         "bp-asm.h".
44345         (PARMS): Do not use macros from bp-asm.h.
44346         (__frexpf): Do not use BP_SYM.
44347         (frexpf): Likewise.
44348         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44349         "bp-asm.h".
44350         (PARMS): Do not use macros from bp-asm.h.
44351         (__frexpl): Do not use BP_SYM.
44352         (frexpl): Likewise.
44353         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44354         "bp-asm.h".
44355         (PARMS): Do not use macros from bp-asm.h.
44356         (__remquo): Do not use BP_SYM.
44357         (remquo): Likewise.
44358         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44359         "bp-asm.h".
44360         (PARMS): Do not use macros from bp-asm.h.
44361         (__remquof): Do not use BP_SYM.
44362         (remquof): Likewise.
44363         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44364         "bp-asm.h".
44365         (PARMS): Do not use macros from bp-asm.h.
44366         (__remquol): Do not use BP_SYM.
44367         (remquol): Likewise.
44368         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44369         "bp-asm.h".
44370         (PARMS): Do not use macros from bp-asm.h.
44371         (DEST): Likewise.
44372         (SRC): Likewise.
44373         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44374         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44375         "bp-asm.h".
44376         (PARMS): Do not use macros from bp-asm.h.
44377         (strlen): Do not use BP_SYM.
44378         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44379         "bp-asm.h".
44380         (PARMS): Do not use macros from bp-asm.h.
44381         (S1): Likewise.
44382         (S2): Likewise.
44383         (SIZE): Likewise.
44384         (__mpn_add_n): Do not use BP_SYM.
44385         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44386         "bp-asm.h".
44387         (PARMS): Do not use macros from bp-asm.h.
44388         (S1): Likewise.
44389         (SIZE): Likewise.
44390         (__mpn_addmul_1): Do not use BP_SYM.
44391         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44392         weak_alias.
44393         (bzero): Likewise.
44394         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44395         "bp-asm.h".
44396         (PARMS): Do not use macros from bp-asm.h.
44397         (S): Likewise.
44398         (SIZE): Likewise.
44399         (__mpn_lshift): Do not use BP_SYM.
44400         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44401         "bp-asm.h".
44402         (PARMS): Do not use macros from bp-asm.h.
44403         (DEST): Likewise.
44404         (SRC): Likewise.
44405         (LEN): Likewise.
44406         (memcpy): Likewise.  Do not use BP_SYM.
44407         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44408         libc_hidden_def and weak_alias.
44409         (mempcpy): Do not use BP_SYM in weak_alias.
44410         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44411         "bp-asm.h".
44412         (PARMS): Do not use macros from bp-asm.h.
44413         (DEST): Likewise.
44414         (LEN): Likewise.
44415         [!BZERO_P] (CHR): Likewise.
44416         (memset): Likewise.  Do not use BP_SYM.
44417         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44418         "bp-asm.h".
44419         (PARMS): Do not use macros from bp-asm.h.
44420         (S1): Likewise.
44421         (SIZE): Likewise.
44422         (__mpn_mul_1): Do not use BP_SYM.
44423         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44424         "bp-asm.h".
44425         (PARMS): Do not use macros from bp-asm.h.
44426         (S): Likewise.
44427         (SIZE): Likewise.
44428         (__mpn_rshift): Do not use BP_SYM.
44429         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44430         "bp-asm.h".
44431         (PARMS): Do not use macros from bp-asm.h.
44432         (STR): Likewise.
44433         (CHR): Likewise.
44434         (strchr): Likewise.  Do not use BP_SYM.
44435         (index): Do not use BP_SYM in weak_alias.
44436         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44442         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44443         "bp-asm.h".
44444         (PARMS): Do not use macros from bp-asm.h.
44445         (strlen): Do not use BP_SYM.
44446         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44447         "bp-asm.h".
44448         (PARMS): Do not use macros from bp-asm.h.
44449         (S1): Likewise.
44450         (S2): Likewise.
44451         (SIZE): Likewise.
44452         (__mpn_sub_n): Do not use BP_SYM.
44453         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44454         "bp-asm.h".
44455         (PARMS): Do not use macros from bp-asm.h.
44456         (S1): Likewise.
44457         (SIZE): Likewise.
44458         (__mpn_submul_1): Do not use BP_SYM.
44459         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44460         "bp-asm.h".
44461         (PARMS): Do not use macros from bp-asm.h.
44462         (S1): Likewise.
44463         (S2): Likewise.
44464         (SIZE): Likewise.
44465         (__mpn_add_n): Do not use BP_SYM.
44466         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44467         weak_alias.
44468         (bzero): Likewise.
44469         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44470         "bp-asm.h".
44471         (PARMS): Do not use macros from bp-asm.h.
44472         (BLK2): Likewise.
44473         (LEN): Likewise.
44474         (memcmp): Do not use BP_SYM.
44475         (bcmp): Do not use BP_SYM in weak_alias.
44476         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44477         "bp-asm.h".
44478         (PARMS): Do not use macros from bp-asm.h.
44479         (DEST): Likewise.
44480         (SRC): Likewise.
44481         (LEN): Likewise.
44482         (memcpy): Likewise.  Do not use BP_SYM.
44483         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44484         "bp-asm.h".
44485         (PARMS): Do not use macros from bp-asm.h.
44486         (DEST): Likewise.
44487         (SRC): Likewise.
44488         (LEN): Likewise.
44489         (memmove): Likewise.  Do not use BP_SYM.
44490         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44491         "bp-asm.h".
44492         (PARMS): Do not use macros from bp-asm.h.
44493         (DEST): Likewise.
44494         (SRC): Likewise.
44495         (LEN): Likewise.
44496         (__mempcpy): Likewise.  Do not use BP_SYM.
44497         (mempcpy): Do not use BP_SYM in weak_alias.
44498         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44499         "bp-asm.h".
44500         (PARMS): Do not use macros from bp-asm.h.
44501         (DEST): Likewise.
44502         (LEN): Likewise.
44503         [!BZERO_P] (CHR): Likewise.
44504         (memset): Likewise.  Do not use BP_SYM.
44505         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44506         "bp-asm.h".
44507         (PARMS): Do not use macros from bp-asm.h.
44508         (STR2): Likewise.
44509         (strcmp): Do not use BP_SYM.
44510         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44511         "bp-asm.h".
44512         (PARMS): Do not use macros from bp-asm.h.
44513         (STR): Likewise.
44514         (DELIM): Likewise.
44515         [USE_AS_STRTOK_R] (SAVE): Likewise.
44516         (FUNCTION): Likewise.  Do not use BP_SYM.
44517         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44518         aliases.
44519         (strtok_r): Likewise.
44520         (__GI___strtok_r): Likewise.
44521         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (S): Likewise.
44524         (SIZE): Likewise.
44525         (__mpn_lshift): Do not use BP_SYM.
44526         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44527         (PARMS): Do not use macros from bp-asm.h.
44528         (STR): Likewise.
44529         (CHR): Likewise.
44530         (__memchr): Do not use BP_SYM.
44531         (memchr): Do not use BP_SYM in weak_alias.
44532         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44533         (PARMS): Do not use macros from bp-asm.h.
44534         (BLK2): Likewise.
44535         (LEN): Likewise.
44536         (memcmp): Do not use BP_SYM.
44537         (bcmp): Do not use BP_SYM in weak_alias.
44538         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44539         (PARMS): Do not use macros from bp-asm.h.
44540         (S1): Likewise.
44541         (SIZE): Likewise.
44542         (__mpn_mul_1): Do not use BP_SYM.
44543         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44544         "bp-asm.h".
44545         (PARMS): Do not use macros from bp-asm.h.
44546         (STR): Likewise.
44547         (CHR): Likewise.
44548         (__rawmemchr): Do not use BP_SYM.
44549         (rawmemchr): Do not use BP_SYM in weak_alias.
44550         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44551         (PARMS): Do not use macros from bp-asm.h.
44552         (S): Likewise.
44553         (SIZE): Likewise.
44554         (__mpn_rshift): Do not use BP_SYM.
44555         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44556         (PARMS): Do not use macros from bp-asm.h.
44557         (SIGMSK): Likewise.
44558         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44559         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44560         (_start): Do not use BP_SYM.
44561         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44562         (PARMS): Do not use macros from bp-asm.h.
44563         (DEST): Likewise.
44564         (SRC): Likewise.
44565         (__stpcpy): Likewise.  Do not use BP_SYM.
44566         (stpcpy): Do not use BP_SYM in weak_alias.
44567         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44568         "bp-asm.h".
44569         (PARMS): Do not use macros from bp-asm.h.
44570         (DEST): Likewise.
44571         (SRC): Likewise.
44572         (LEN): Likewise.
44573         (__stpncpy): Likewise.  Do not use BP_SYM.
44574         (stpncpy): Do not use BP_SYM in weak_alias.
44575         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44576         (PARMS): Do not use macros from bp-asm.h.
44577         (STR): Likewise.
44578         (CHR): Likewise.
44579         (strchr): Likewise.  Do not use BP_SYM.
44580         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44581         "bp-asm.h".
44582         (PARMS): Do not use macros from bp-asm.h.
44583         (STR): Likewise.
44584         (CHR): Likewise.
44585         (__strchrnul): Likewise.  Do not use BP_SYM.
44586         (strchrnul): Do not use BP_SYM in weak_alias.
44587         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44588         "bp-asm.h".
44589         (PARMS): Do not use macros from bp-asm.h.
44590         (STOP): Likewise.
44591         (strcspn): Do not use BP_SYM.
44592         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44593         "bp-asm.h".
44594         (PARMS): Do not use macros from bp-asm.h.
44595         (STR): Likewise.
44596         (STOP): Likewise.
44597         (strpbrk): Likewise.  Do not use BP_SYM.
44598         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44599         "bp-asm.h".
44600         (PARMS): Do not use macros from bp-asm.h.
44601         (STR): Likewise.
44602         (CHR): Likewise.
44603         (strrchr): Likewise.  Do not use BP_SYM.
44604         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44605         (PARMS): Do not use macros from bp-asm.h.
44606         (SKIP): Likewise.
44607         (strspn): Do not use BP_SYM.
44608         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44609         (PARMS): Do not use macros from bp-asm.h.
44610         (STR): Likewise.
44611         (DELIM): Likewise.
44612         (SAVE): Likewise.
44613         (FUNCTION): Likewise.  Do not use BP_SYM.
44614         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44615         aliases.
44616         (strtok_r): Likewise.
44617         (__GI___strtok_r): Likewise.
44618         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44619         (PARMS): Do not use macros from bp-asm.h.
44620         (S1): Likewise.
44621         (S2): Likewise.
44622         (SIZE): Likewise.
44623         (__mpn_sub_n): Do not use BP_SYM.
44624         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44625         "bp-asm.h".
44626         (PARMS): Do not use macros from bp-asm.h.
44627         (S1): Likewise.
44628         (SIZE): Likewise.
44629         (__mpn_submul_1): Do not use BP_SYM.
44630         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44631         <bp-sym.h>.
44632         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44633         and <bp-asm.h>.
44634         (PARMS): Do not use macros from bp-asm.h.
44635         (FLAGS): Likewise.
44636         (PTID): Likewise.
44637         (TLS): Likewise.
44638         (CTID): Likewise.
44639         (__clone): Do not use BP_SYM.
44640         (clone): Do not use BP_SYM in weak_alias.
44641         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44642         and <bp-asm.h>.
44643         (PARMS): Do not use macros from bp-asm.h.
44644         (LEN): Likewise.
44645         (__mmap64): Do not use BP_SYM.
44646         (mmap64): Do not use BP_SYM in weak_alias.
44647         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44648         <bp-sym.h> and <bp-asm.h>.
44649         (PARMS): Do not use macros from bp-asm.h.
44650         (__posix_fadvise64_l64): Do not use BP_SYM.
44651         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44652         (PARMS): Do not use macros from bp-asm.h.
44653         (NSOPS): Likewise.
44654         (semtimedop): Do not use BP_SYM.
44655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44656         and <bp-asm.h>.
44658 2013-02-21  Allan McRae  <allan@archlinux.org>
44660         * manual/message.texi (Charset conversion in gettext):
44661         Move @end statement to beginning of line.
44663 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44666         static.
44667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44668         Likewise.
44670         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44671         (denorm): Likewise.
44672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44675 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44677         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44678         tail-call to the resolved function if pltexit isn't needed.
44680 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44683         or Y being zero as being unlikely.
44684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44685         Likewise.
44687 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44689         * manual/nss.texi (System Databases and Name Service Switch):
44690         Remove frobnicate @pxref.
44692 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44694         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44695         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44697 2013-02-20  Petr Machata  <pmachata@redhat.com>
44699         * elf/elf.h (R_ARM_TARGET1): New macro.
44700         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44701         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44702         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44703         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44704         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44705         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44706         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44707         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44708         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44709         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44710         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44711         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44712         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44713         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44714         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44715         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44716         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44717         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44718         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44719         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44720         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44721         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44722         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44723         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44724         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44725         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44726         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44727         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44728         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44729         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44730         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44731         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44732         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44733         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44734         (R_ARM_THM_GOT_BREL12): Likewise.
44735         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44736         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44737         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44738         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44739         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44740         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44741         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44742         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44743         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44745 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44747         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44748         __attribute_used__ to __attribute__ ((unused)).
44750 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44752         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44753         powerpc mpa.c.
44754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44755         comment formatting.
44756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44758 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44760         [BZ #13550]
44761         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44762         Remove macro.
44763         (ENTER): Remove both macro definitions.
44764         (LEAVE): Likewise.
44765         (CHECK_BOUNDS_LOW): Likewise.
44766         (CHECK_BOUNDS_HIGH): Likewise.
44767         (CHECK_BOUNDS_BOTH): Likewise.
44768         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44769         (RETURN_BOUNDED_POINTER): Likewise.
44770         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44771         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44772         (POP_ERRNO_LOCATION_RETURN): Likewise.
44773         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44774         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44775         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44776         macros.
44777         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44778         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44779         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44780         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44781         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44782         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44783         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44784         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44785         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44786         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44787         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44788         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44789         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44790         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44791         removed macros.
44792         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44793         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44794         macros.
44795         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44796         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44797         * sysdeps/i386/i586/memset.S (memset): Likewise.
44798         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44799         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44800         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44801         macros.
44802         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44803         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44804         Change uses of L(2) to L(out).
44805         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44806         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44807         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44808         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44809         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44810         removed macros.
44811         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44812         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44813         macros.
44814         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44815         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44816         (RETURN): Do not use macro LEAVE.
44817         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44818         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44819         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44820         * sysdeps/i386/i686/memset.S (memset): Likewise.
44821         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44822         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44823         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44824         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44825         Likewise.
44826         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44827         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44828         L(1_2) and L(1_3) into L(1).
44829         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44830         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44831         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44832         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44833         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44834         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44835         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44836         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44837         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44838         macros.
44839         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44840         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44841         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44842         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44843         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44844         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44845         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44846         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44847         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44848         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44849         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44850         * sysdeps/i386/strspn.S (strspn): Likewise.
44851         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44852         conditional code.
44853         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44854         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44855         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44856         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44857         L(1_3) into L(1_1).
44858         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44859         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44860         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44861         macros.
44862         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44864 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44866         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44867         macro.
44869 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44871         * math/atest-exp.c (exp_mpn): Remove ROUND.
44872         * math/atest-exp2.c (exp_mpn): Likewise.
44873         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44875         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44876         * stdlib/tst-tls-atexit-lib.c: Likewise.
44877         * stdlib/tst-tls-atexit.c: Likewise.
44879 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44881         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44882         and __attribute_alloc_size__.
44884 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44886         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44887         __attribute_alloc_size__.
44888         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44889         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44891 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44893         * include/programs/xmalloc.h: New file.
44894         * catgets/gencat.c: Include it.
44895         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44896         * elf/pldd.c: Likewise.
44897         * iconv/iconv_charmap.c: Likewise.
44898         * iconv/iconvconfig.c: Likewise.
44899         * iconv/strtab.c: Likewise.
44900         * locale/programs/locale.c: Likewise.
44901         * locale/programs/localedef.h: Likewise.
44902         * locale/programs/simple-hash.c: Likewise.
44903         * nscd/nscd.h: Likewise.
44904         * nss/makedb.c: Likewise.
44905         * sysdeps/generic/ldconfig.h: Likewise.
44907 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44909         * Versions.def: Add GLIBC_2.18.
44910         * include/link.h (struct link_map): New member l_tls_dtor_count.
44911         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44912         (__call_tls_dtors): Likewise.
44913         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44914         __cxa_thread_atexit_impl.
44915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44916         Likewise.
44917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44918         Likewise.
44919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44920         Likewise.
44921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44922         Likewise.
44923         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44925         Likewise.
44926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44927         Likewise.
44928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44930         Likewise.
44931         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44932         (tests): Add test case tst-tls-atexit.
44933         (modules-names): Add shared library for tst-tls-atexit.
44934         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44935         (GLIBC_PRIVATE): Add __call_tls_dtors.
44936         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44937         for libstdc++.
44938         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44939         * stdlib/tst-tls-atexit.c: New test case.
44940         * stdlib/tst-tls-atexit-lib.c: New test case.
44942         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44944         * elf/Versions (ld): Add _dl_find_dso_for_object.
44945         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44946         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44947         (dl_open_worker): Use _dl_find_dso_for_object.
44948         * elf/dl-sym.c (do_sym): Likewise.
44949         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44951 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44953         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44954         Syntactic changes only.
44955         (_dl_runtime_profile): Do a tail-call to the resolved function.
44957 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44959         [BZ #13550]
44960         * sysdeps/x86_64/bp-asm.h: Remove file.
44961         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44962         <bp-sym.h> and <bp-asm.h>.
44963         (__clone): Do not use BP_SYM.
44964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44965         <bp-sym.h> and <bp-asm.h>.
44966         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44967         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44968         "bp-asm.h".
44969         (_setjmp): Do not use BP_SYM.
44970         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44971         "bp-asm.h".
44972         (setjmp): Do not use BP_SYM.
44973         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44974         libc_hidden_def.
44975         (mempcpy): Do not use BP_SYM in weak_alias.
44976         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44977         "bp-asm.h".
44978         (strchr): Do not use BP_SYM.
44979         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44980         "bp-asm.h".
44981         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44982         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44983         (_start): Do not use BP_SYM.
44984         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44985         "bp-asm.h".
44986         (strcat): Do not use BP_SYM.
44987         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44988         "bp-asm.h".
44989         (STRCMP): Do not use BP_SYM.
44990         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44991         "bp-asm.h".
44992         (STRCPY): Do not use BP_SYM.
44993         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44994         "bp-asm.h".
44995         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44996         "bp-asm.h".
44997         (FUNCTION): Do not use BP_SYM.
44998         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44999         weak_alias.
45000         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45002 2013-02-17  Andreas Jaeger  <aj@suse.de>
45004         * time/Versions: Sort entries.
45005         * string/Versions: Likewise.
45006         * resolv/Versions: Likewise.
45007         * posix/Versions: Likewise.
45008         * iconv/Versions: Likewise.
45009         * elf/Versions: Likewise.
45010         * wcsmbs/Versions: Likewise.
45012 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45015         loop termination condition.
45017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45018         variable to calculate EZ.
45019         (__sqr): Likewise.
45021         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45022         the lower precision input.
45024 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45026         [BZ #13550]
45027         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45028         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45029         (run-via-rtld-prefix): Do not handle %-bp tests.
45030         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45031         (all-object-suffixes): Remove .ob.
45032         (bppfx): Remove variable.
45033         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45034         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45035         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45036         [$(build-bounded) = yes] (libtype.ob): Likewise.
45037         * Makerules (elide-routines.ob): Remove variable.
45038         (do-tests-clean): Do not handle *-bp.out.
45039         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45040         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45041         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45042         (tests): Do not include $(tests-bp.out).
45043         (xtests): Do not include $(xtests-bp.out).
45044         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45045         [$(build-bounded) = yes] ($(addprefix
45046         $(objpfx),$(binaries-bounded))): Remove rule.
45047         ($(objpfx)%-bp.out): Remove rule.
45048         * config.make.in (build-bounded): Remove variable.
45049         * crypt/Makefile [$(build-bounded) = yes]
45050         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45051         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45052         append to variable.
45053         [$(build-bounded) = yes] (install-lib): Likewise.
45054         [$(build-bounded) = yes] (generated): Likewise.
45055         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45056         Remove rule.
45057         * intl/Makefile [$(build-bounded) = yes]
45058         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45059         * math/Makefile [$(build-bounded) = yes]
45060         ($(tests:%=$(objpfx)%-bp): Likewise.
45061         * misc/Makefile [$(build-bounded) = yes]
45062         ($(objpfx)tst-tsearch-bp): Likewise.
45063         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45064         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45065         Remove dependency.
45066         * string/Makefile (o-objects.ob): Remove variable.
45067         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45068         (CFLAGS-.ob): Remove variable.
45069         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45070         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45071         both definitions of variable.
45072         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45073         (ASFLAGS-.ob): Remove variable.
45075 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45077         [BZ #13550]
45078         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45079         Remove __BOUNDED_POINTERS__ from condition.
45080         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45081         * string/bits/string2.h [!__NO_STRING_INLINES &&
45082         !__BOUNDED_POINTERS__]: Likewise.
45083         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45084         Likewise.
45085         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45086         Remove conditional code.
45087         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45088         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45089         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45090         condition.
45092         [BZ #13550]
45093         * csu/libc-start.c: Do not include <bp-sym.h>.
45094         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45095         * elf/dl-open.c: Do not include <bp-sym.h>.
45096         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45097         * math/fegetenv.c: Do not include <bp-sym.h>.
45098         (fegetenv): Do not use BP_SYM in versioned symbols.
45099         * nptl/sysdeps/pthread/bits/libc-lockP.h
45100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45101         <bp-sym.h>.
45102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45103         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45105         (__pthread_mutex_destroy): Likewise.
45106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45107         (__pthread_mutex_lock): Likewise.
45108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45109         (__pthread_mutex_trylock): Likewise.
45110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45111         (__pthread_mutex_unlock): Likewise.
45112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45113         (__pthread_mutexattr_init): Likewise.
45114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45115         (__pthread_mutexattr_destroy): Likewise.
45116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45117         (__pthread_mutexattr_settype): Likewise.
45118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45119         (__pthread_rwlock_init): Likewise.
45120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45121         (__pthread_rwlock_destroy): Likewise.
45122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45123         (__pthread_rwlock_rdlock): Likewise.
45124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45125         (__pthread_rwlock_tryrdlock): Likewise.
45126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45127         (__pthread_rwlock_wrlock): Likewise.
45128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45129         (__pthread_rwlock_trywrlock): Likewise.
45130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45131         (__pthread_rwlock_unlock): Likewise.
45132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45133         (__pthread_key_create): Likewise.
45134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45135         (__pthread_setspecific): Likewise.
45136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45137         (__pthread_getspecific): Likewise.
45138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45139         Likewise.
45140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45141         (_pthread_cleanup_push_defer): Likewise.
45142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45143         (_pthread_cleanup_pop_restore): Likewise.
45144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45145         (pthread_setcancelstate): Likewise.
45146         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45147         <bp-sym.h>.
45148         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45149         (memchr): Do not use BP_SYM in weak_alias.
45150         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45151         (fegetenv): Do not use BP_SYM in versioned symbols.
45152         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45153         (fesetenv): Do not use BP_SYM in versioned symbols.
45154         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45155         (feupdateenv): Do not use BP_SYM in versioned symbols.
45156         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45157         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45158         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45159         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45160         (open64): Do not use BP_SYM in weak_alias.
45161         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45162         (fegetenv): Do not use BP_SYM in versioned symbols.
45163         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45164         (fesetenv): Do not use BP_SYM in versioned symbols.
45165         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45166         (feupdateenv): Do not use BP_SYM in versioned symbols.
45167         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45168         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45169         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45170         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45171         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45172         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45173         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45174         <bp-sym.h>.
45175         (__libc_start_main): Do not use BP_SYM.
45177 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45180         redundant return line.
45181         (norm): Likewise.
45182         (denorm): Likewise.
45183         (dbl_mp): Likewise.
45184         (sub_magnitudes): Likewise.
45185         (__add): Likewise.
45186         (__sub): Likewise.
45187         (__mul): Likewise.
45188         (__inv): Likewise.
45189         (__dvd): Likewise.
45190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45191         (norm): Likewise.
45192         (denorm): Likewise.
45193         (dbl_mp): Likewise.
45194         (sub_magnitudes): Likewise.
45195         (__add): Likewise.
45196         (__sub): Likewise.
45197         (__mul): Likewise.
45198         (__inv): Likewise.
45199         (__dvd): Likewise.
45201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45202         instead of __mul.
45203         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45204         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45205         (cc32): Likewise.
45207         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45208         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45209         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45210         of __mul for squares.
45211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45212         function
45213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45214         Likewise.
45215         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45216         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45218 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45220         [BZ #13550]
45221         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45222         code.
45223         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45224         prototype or function definition.  Rename ubp_* variables and
45225         parameters.  Remove argv definitions conditional on
45226         [__BOUNDED_POINTERS__].
45227         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45228         * elf/dl-runtime.c (_dl_fixup): Likewise.
45229         * include/set-hooks.h (RUN_HOOK): Likewise.
45230         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45231         definition.
45232         * string/strcpy.c (strcpy): Do not use __unbounded.
45233         * sysdeps/generic/frame.h (struct layout): Likewise.
45234         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45235         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45236         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45237         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45238         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45239         (__backtrace): Likewise.
45240         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45241         use __ptrvalue.
45242         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45243         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45244         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45245         Likewise.
45246         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45247         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45248         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45249         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45250         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45251         Do not use __unbounded.
45252         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45253         Rename __unboundedrlimits parameter to rlimits in prototype.
45254         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45255         Do not use __unbounded.
45256         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45257         not use __ptrvalue.
45258         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45259         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45260         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45261         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45262         __ptrvalue or __unbounded.
45263         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45264         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45265         use __unbounded.
45266         (__new_msgctl): Do not use __ptrvalue.
45267         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45268         __unbounded.
45269         (__libc_msgrcv): Do not use __ptrvalue.
45270         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45271         startup_info): Do not use __unbounded.
45272         (__libc_start_main): Likewise.  Rename ubp_* variables and
45273         parameters.  Remove argv definitions conditional on
45274         [__BOUNDED_POINTERS__].
45275         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45276         __ptrvalue.
45277         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45278         use __unbounded.
45279         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45280         or __ptrvalue.
45281         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45282         use __unbounded.
45283         (__new_shmctl): Do not use __ptrvalue.
45284         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45285         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45286         Likewise.
45287         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45288         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45289         (__libc_sigaction): Likewise.
45290         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45291         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45292         Likewise.
45293         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45295 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45297         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45299         * string/mempcpy.c: Implement by calling memcpy.
45301 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45303         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45306         evaluation.
45308         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45309         values in the mantissa.
45311         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45312         minimize writes to Z.
45313         (sub_magnitudes): Simplify code a bit.
45315 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45317         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45318         from the message.  The linker prefixes all warnings with that already.
45320 2013-02-12  Andreas Schwab  <schwab@suse.de>
45322         [BZ #15078]
45323         * posix/regexec.c (extend_buffers): Add parameter min_len.
45324         (check_matching): Pass minimum needed length.
45325         (clean_state_log_if_needed): Likewise.
45326         (get_subexp): Likewise.
45327         * posix/Makefile (tests): Add bug-regex34.
45328         (bug-regex34-ENV): Define.
45329         * posix/bug-regex34.c: New file.
45331         [BZ #11561]
45332         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45333         elements compare against the byte sequence of it, not its name.
45334         * posix/Makefile (tests): Add bug-regex35.
45335         (bug-regex35-ENV): Define.
45336         * posix/bug-regex35.c: New file.
45338 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45340         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45341         comment.
45342         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45343         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45344         (CHECK_EOL): Add undef.
45346 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45348         * bits/stdlib-bsearch.h: New file.
45349         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45350         * stdlib/stdlib.h: Likewise.
45352 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45354         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45355         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45356         declaration.
45357         * manual/search.texi (Array Search Function): Add missing const in
45358         lfind prototype.
45359         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45360         declaration to use rlim_t.
45361         (Basic Scheduling Functions): Remove erroneous const from
45362         sched_getparam prototype.  Remove erroneous * from
45363         sched_get_priority_max and sched_get_priority_min prototypes.
45364         (Resource Usage): Fix summary @comment on vtimes to refer to
45365         sys/vtimes.h rather than vtimes.h.
45366         Add missing *s in vtimes prototype.
45367         (Limits on Resources): Fix ulimit prototype to return long int.
45368         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45369         prototypes to use long int rather than double.
45370         (BSD Random): Fix initstate and setstate to use char *, not void *.
45371         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45372         prototype to make second argument 'struct aiocb64 *const[]'.
45373         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45374         (Status of AIO Operations): Remove erroneous const in aio_return and
45375         aio_return64 prototypes.
45376         (Synchronizing I/O): Fix sync prototype to return void.
45377         * manual/startup.texi (Suboptions): Remove an erroneous const in
45378         getsubopt prototype.
45379         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45380         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45381         use size_t rather than int.
45382         (Scanning All Users): Likewise for getpwent_r.
45383         (Setting Groups): Add missing const to setgroups prototype.
45384         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45385         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45386         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45387         'const void *' rather than 'const char *'.
45388         (Host Address Functions): Likewise for inet_ntop.
45389         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45390         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45391         ssize_t for return value.
45392         (Sending Data): Likewise for send, sendto, sendmsg.
45393         (Socket Option Functions): Add a missing const in setsockopt prototype.
45394         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45395         use wchar_t for the argument.
45396         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45397         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45398         take no arguments.
45399         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45400         double/float/long double for second argument.
45401         Fix return types of significand, significandf, significandl.
45402         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45403         argument in fchmod prototype.
45404         (File Owner): Use uid_t and gid_t in fchown prototype.
45405         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45406         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45407         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45408         use 'const struct dirent **' as argument types to CMP function pointer
45409         argument.
45410         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45411         (File Times): Fix summary magic @comment for struct utimbuf and utime
45412         to refer to utime.h, not time.h.
45413         * manual/string.texi (Argz Functions): Add missing const in
45414         argz_extract and argz_next prototypes.
45415         (Finding Tokens in a String): Likewise for basename.
45416         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45417         (Copying and Concatenation): Fix typo in wmemmove prototype.
45418         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45419         (Signal Stack): Remove erroneous const in sigstack prototype.
45420         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45421         prototype.
45422         (Simple Calendar Time): Likewise for stime.
45423         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45424         prototype.
45425         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45426         say sys/sysctl.h instead.
45427         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45428         and vsyslog prototypes.
45430 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45432         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45433         Remove.
45435 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45437         * misc/sys/mman.h: Fix typo in mremap comment.
45439 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45441         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45442         the '\0' terminator.
45444 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45446         [BZ #13550]
45447         * debug/segfault.c: Don't include <bp-checks.h>.
45448         * sysdeps/generic/bp-checks.h: Remove file.
45449         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45450         (__GETDENTS): Don't use CHECK_N.
45451         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45452         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45453         (__getgroups): Don't use CHECK_N.
45454         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45455         (setgroups): Don't use CHECK_N.
45456         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45457         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45458         (__libc_msgrcv): Don't use CHECK_N.
45459         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45460         (__libc_msgsnd): Don't use CHECK_N.
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45462         <bp-checks.h>.
45463         (__libc_pread): Don't use CHECK_N.
45464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45465         include <bp-checks.h>.
45466         (__libc_pread64): Don't use CHECK_N.
45467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45468         include <bp-checks.h>.
45469         (__libc_pwrite): Don't use CHECK_N.
45470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45471         include <bp-checks.h>.
45472         (__libc_pwrite64): Don't use CHECK_N.
45473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45474         <bp-checks.h>.
45475         (__libc_pread): Don't use CHECK_N.
45476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45477         include <bp-checks.h>.
45478         (__libc_pread64): Don't use CHECK_N.
45479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45480         include <bp-checks.h>.
45481         (__libc_pwrite): Don't use CHECK_N.
45482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45483         include <bp-checks.h>.
45484         (__libc_pwrite64): Don't use CHECK_N.
45485         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45486         (do_pread): Don't use CHECK_N.
45487         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45488         (do_pread64): Don't use CHECK_N.
45489         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45490         (do_pwrite): Don't use CHECK_N.
45491         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45492         (do_pwrite64): Don't use CHECK_N.
45493         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45494         (__libc_readv): Don't use CHECK_N.
45495         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45496         (semop): Don't use CHECK_N.
45497         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45498         <bp-checks.h>.
45499         (semtimedop): Don't use CHECK_N.
45500         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45501         (__libc_pread): Don't use CHECK_N.
45502         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45503         <bp-checks.h>.
45504         (__libc_pread64): Don't use CHECK_N.
45505         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45506         <bp-checks.h>.
45507         (__libc_pwrite): Don't use CHECK_N.
45508         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45509         <bp-checks.h>.
45510         (__libc_pwrite64): Don't use CHECK_N.
45511         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45512         <bp-checks.h>.
45513         (__libc_msgrcv): Don't use CHECK_N.
45514         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45515         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45516         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45517         (__libc_writev): Don't use CHECK_N.
45519 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45521         * string/strcpy.c: Removed unused variable.
45523         * Makeconfig (+sysdep-includes): Define with := rather than =.
45524         Use an existing include/ subdir of each sysdeps dir before it.
45526 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45528         * nscd/connection.c (register_traced_file): Comment function.
45529         [HAVE_INOTIFY] (union __inev): Define.
45530         [HAVE_INOTIFY] (inotify_check_files): New function.
45531         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45532         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45533         clear_db_cache.
45534         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45536 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45538         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45539         loaded if not already and that a failure is permanent.
45541 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45543         [BZ #15006]
45544         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45545         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45547 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45549         [BZ #13550]
45550         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45551         (CHECK_1_NULL_OK): Likewise.
45552         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45553         (__fxstat): Do not use CHECK_1.
45554         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45555         <bp-checks.h>.
45556         (___fxstat64): Do not use CHECK_1.
45557         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45558         <bp-checks.h>.
45559         (__fxstatat): Do not use CHECK_1.
45560         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45561         <bp-checks.h>.
45562         (__fxstatat64): Do not use CHECK_1.
45563         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45564         <bp-checks.h>.
45565         (__fxstat): Do not use CHECK_1.
45566         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45567         <bp-checks.h>.
45568         (__fxstatat): Do not use CHECK_1.
45569         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45570         <bp-checks.h>.
45571         (__getresgid): Do not use CHECK_1.
45572         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45573         <bp-checks.h>.
45574         (__getresuid): Do not use CHECK_1.
45575         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45576         <bp-checks.h>.
45577         (__lxstat): Do not use CHECK_1.
45578         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45579         <bp-checks.h>.
45580         (__old_msgctl): Do not use CHECK_1.
45581         (__new_msgctl): Likewise.
45582         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45583         <bp-checks.h>.
45584         (__new_setrlimit): Do not use CHECK_1.
45585         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45586         <bp-checks.h>.
45587         (__old_shmctl): Do not use CHECK_1.
45588         (__new_shmctl): Likewise.
45589         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45590         <bp-checks.h>.
45591         (__xstat): Do not use CHECK_1.
45592         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45593         (__lxstat): Do not use CHECK_1.
45594         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45595         <bp-checks.h>.
45596         (___lxstat64): Do not use CHECK_1.
45597         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45598         (__old_msgctl): Do not use CHECK_1.
45599         (__new_msgctl): Likewise.
45600         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45601         <bp-checks.h>.
45602         (__gettimeofday): Do not use CHECK_1.
45603         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45604         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45605         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45606         <bp-checks.h>.
45607         (__gettimeofday): Do not use CHECK_1.
45608         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45609         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45610         (__new_shmctl): Do not use CHECK_1.
45611         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45612         <bp-checks.h>.
45613         (do_sigtimedwait): Do not use CHECK_1.
45614         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45615         <bp-checks.h>.
45616         (do_sigwaitinfo): Do not use CHECK_1.
45617         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45618         <bp-checks.h>.
45619         (msgctl): Do not use CHECK_1.
45620         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45621         <bp-checks.h>.
45622         (shmctl): Do not use CHECK_1.
45623         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45624         (ustat): Do not use CHECK_1.
45625         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45626         <bp-checks.h>.
45627         (__fxstat): Do not use CHECK_1.
45628         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45629         <bp-checks.h>.
45630         (__fxstatat): Do not use CHECK_1.
45631         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45632         <bp-checks.h>.
45633         (__lxstat): Do not use CHECK_1.
45634         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45635         <bp-checks.h>.
45636         (__xstat): Do not use CHECK_1.
45637         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45638         (__xstat): Do not use CHECK_1.
45639         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45640         (___xstat64): Do not use CHECK_1.
45642         [BZ #13550]
45643         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45644         definitions.
45645         (CHECK_BOUNDS_HIGH): Likewise.
45646         * string/strcpy.c: Do not include <bp-checks.h>.
45647         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45649 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45651         * nscd/nscd-client.h (__nscd_drop_map_ref):
45652         Add __attribute__ ((unused)).
45653         * nis/nss-nisplus.h (niserr2nss): Likewise.
45655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45656         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45658         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45659         Remove inline keyword.
45660         * include/rounding-mode.h (round_away): Likewise.
45661         * libio/wfileops.c (adjust_wide_data): Likewise.
45662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45663         (__m128i_strloadu_tolower): Likewise.
45664         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45665         (__m128i_strloadu_tolower): Likewise.
45666         * time/mktime.c (ydhms_diff): Likewise.
45667         * locale/elem-hash.h (elem_hash): Likewise.
45668         * locale/setlocale.c (setdata): Likewise.
45669         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45670         (re_string_wchar_at): Likewise.
45671         (bitset_not, bitset_merge, bitset_mask): Likewise.
45672         [!(__GNUC__ > 3)] (inline): Remove macro.
45673         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45674         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45675         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45676         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45677         * string/memcmp.c (memcmp_bytes): Likewise.
45678         * locale/programs/locarchive.c (compute_hashval): Likewise.
45679         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45680         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45681         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45682         * nss/getent.c (print_rpc, print_protocols): Likewise.
45683         (print_passwd, print_group, print_aliases): Likewise.
45684         * nis/nss-nisplus.h (niserr2nss): Likewise.
45685         * nscd/connections.c (restart_p): Likewise.
45686         Change return type to bool.
45688 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45690         * Makeconfig (all-Depend-files): Add existing
45691         $(sorted-subdirs:=/Depend) files.
45692         (all-subdirs): Remove nss.
45693         * sysdeps/unix/inet/Subdirs: Add it here instead.
45694         * hesiod/Depend: New file.
45696         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45697         instead of calling alloca.
45699         * io/lseek.c (__lseek): Rename to __libc_lseek.
45700         Define __lseek as an alias.
45702         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45704 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45706         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45707         else clause and remove check for non-standard endianness.
45709 2013-02-04  David S. Miller  <davem@davemloft.net>
45711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45713 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45715         [BZ #13550]
45716         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45717         (__ubp_memchr): Remove prototype.
45718         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45719         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45720         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45721         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45722         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45723         Remove alias.
45724         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45725         (__ubp_memchr): Likewise.
45726         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45727         (__ubp_memchr): Likewise.
45728         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45729         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45730         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45731         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45732         CHECK_STRING.
45733         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45734         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45735         (__getcwd): Do not use CHECK_STRING.
45736         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45737         <bp-checks.h>.
45738         (__real_chown): Do not use CHECK_STRING.
45739         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45740         <bp-checks.h>.
45741         (fchownat): Do not use CHECK_STRING.
45742         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45743         CHECK_STRING.
45744         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45745         <bp-checks.h>.
45746         (__lchown): Do not use CHECK_STRING.
45747         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45748         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45749         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45750         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45752         include <bp-checks.h>.
45753         (truncate64): Do not use CHECK_STRING.
45754         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45755         <bp-checks.h>.
45756         (__real_chown): Do not use CHECK_STRING.
45757         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45758         <bp-checks.h>.
45759         (__lchown): Do not use CHECK_STRING.
45760         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45761         <bp-checks.h>.
45762         (__chown): Do not use CHECK_STRING.
45763         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45764         <bp-checks.h>.
45765         (truncate64): Do not use CHECK_STRING.
45766         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45767         Likewise.
45768         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45769         (__xmknod): Do not use CHECK_STRING.
45770         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45771         <bp-checks.h>.
45772         (__xmknodat): Do not use CHECK_STRING.
45773         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45774         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45776 2013-02-04  Andreas Schwab  <schwab@suse.de>
45778         [BZ #14142]
45779         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45780         * include/netdb.h: Likewise for h_errno.
45781         * elf/tst-stackguard1.c: Include <tls.h>.
45783 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45785         * elf/link.h (struct link_map): Extend the l_addr comment.
45786         * include/link.h (struct link_map): Likewise.
45788 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45790         [BZ #13550]
45791         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45792         (BOUNDED_1): Remove macro.
45793         * debug/backtrace.c: Don't include <bp-checks.h>.
45794         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45795         (__backtrace): Likewise.
45796         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45797         <bp-checks.h>.
45798         (__backtrace): Don't use BOUNDED_1.
45799         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45800         <bp-checks.h>.
45801         (__backtrace): Don't use BOUNDED_1.
45802         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45803         (__backtrace): Don't use BOUNDED_1.
45804         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45805         (shmat): Don't use BOUNDED_N.
45807 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45809         [BZ #13550]
45810         * sysdeps/generic/bp-start.h: Remove file.
45811         * csu/libc-start.c: Don't include <bp-start.h>.
45812         (LIBC_START_MAIN): Set up __environ directly instead of using
45813         INIT_ARGV_and_ENVIRON.
45814         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45815         <bp-start.h>.
45817         [BZ #13550]
45818         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45819         definitions.
45820         (CHECK_FCNTL): Likewise.
45821         (CHECK_N_PAGES): Likewise.
45823         [BZ #13550]
45824         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45825         definitions.
45826         (CHECK_SIGSET_NULL_OK): Likewise.
45827         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45828         <bp-checks.h>.
45829         (sigpending): Don't use CHECK_SIGSET.
45830         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45831         <bp-checks.h>.
45832         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45833         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45834         <bp-checks.h>.
45835         (do_sigsuspend): Don't use CHECK_SIGSET.
45836         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45837         use CHECK_SIGSET.
45838         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45839         (do_sigwait): Don't use CHECK_SIGSET.
45840         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45841         use CHECK_SIGSET.
45842         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45843         include <bp-checks.h>.
45844         (sigpending): Don't use CHECK_SIGSET.
45845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45846         include <bp-checks.h>.
45847         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45848         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45849         <bp-checks.h>.
45850         (sigpending): Don't use CHECK_SIGSET.
45851         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45852         <bp-checks.h>.
45853         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45855         [BZ #13550]
45856         * sysdeps/generic/bp-semctl.h: Remove file.
45857         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45858         <bp-checks.h> and <bp-semctl.h>.
45859         (__old_semctl): Don't use CHECK_SEMCTL.
45860         (__new_semctl): Likewise.
45861         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45862         and <bp-semctl.h>.
45863         (__old_semctl): Don't use CHECK_SEMCTL.
45864         (__new_semctl): Likewise.
45865         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45866         <bp-checks.h> and <bp-semctl.h>.
45867         (__old_semctl): Don't use CHECK_SEMCTL.
45868         (__new_semctl): Likewise.
45869         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45870         <bp-checks.h> and <bp-semctl.h>.
45871         (semctl): Don't use CHECK_SEMCTL.
45873         [BZ #13550]
45874         * Makerules (elide-bp-thunks): Remove variable.
45875         (elide-routines.oS): Don't use $(elide-bp-thunks).
45876         (elide-routines.os): Likewise.
45877         (elide-routines.o): Likewise.
45878         (elide-routines.op): Likewise.
45879         (elide-routines.og): Likewise.
45880         (objects): Don't use $(bp-thunks).
45881         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45882         include.
45883         (common-generated): Do not add s-proto-bp.d.
45884         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45885         (int): Likewise.
45886         (typ): Likewise.
45887         Do not generate makefile rules for bounded-pointer thunks.
45888         * sysdeps/generic/bp-thunks.h: Remove file.
45889         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45890         * sysdeps/unix/s-proto-bp.S: Likewise.
45892         [BZ #15062]
45893         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45894         parts of result separately when argument is not close to line from
45895         -i to i and one part of argument is small.
45896         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45897         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45898         * math/libm-test.inc (cacos_test): Add more tests.
45899         (casin_test): Likewise.
45900         (casinh_test): Likewise.
45901         * sysdeps/i386/fpu/libm-test-ulps: Update.
45902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45904 2013-01-31  David S. Miller  <davem@davemloft.net>
45906         * po/de.po: Update from translation team.
45908 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45910         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45912 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45914         * configure.in (_AC_PROG_CC_C89): New definition.
45915         * configure: Regenerate.
45917         * configure.in (AC_PROG_CPP): New definition.
45918         * configure: Regenerate.
45920 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45922         * debug/tst-backtrace.h: New file.
45923         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45924         (ret): Remove variable.
45925         (x): Likewise.
45926         (FAIL): Remove macro.
45927         (NO_INLINE): Likewise.
45928         (fn1): Use match function instead of strstr.
45929         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45930         (ret): Remove variable.
45931         (x): Likewise.
45932         (FAIL): Remove macro.
45933         (NO_INLINE): Likewise.
45934         (fn): Use match function instead of strstr.
45935         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45936         (ret): Remove variable.
45937         (x): Likewise.
45938         (FAIL): Remove macro.
45939         (NO_INLINE): Likewise.
45940         (handle_signal): Use match function instead of strstr.
45941         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45942         (ret): Remove variable.
45943         (x): Likewise.
45944         (FAIL): Remove macro.
45945         (NO_INLINE): Likewise.
45946         (handle_signal): Use match function instead of strstr.
45948 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45950         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45952 2013-01-23  David S. Miller  <davem@davemloft.net>
45954         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45955         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45956         argument of CAS if possible.
45957         * sysdeps/sparc/sparc64/bits/atomic.h
45958         (__arch_compare_and_exchange_val_32_acq): Likewise.
45959         (__arch_compare_and_exchange_val_64_acq): Likewise.
45961 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45963         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45964         * sysdeps/posix/ulimit.c: ... this.
45965         Include <limits.h>.
45966         * sysdeps/unix/bsd/ulimit.c: Remove file.
45968 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45970         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45971         (LDFLAGS-tst-array5): Likewise.
45973 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45975         [BZ #15036]
45976         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45977         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45978         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45979         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45981 2013-01-21  David S. Miller  <davem@davemloft.net>
45983         * sysdeps/sparc/backtrace.c: New file.
45984         * sysdeps/sparc/sparc32/backtrace.h: New file.
45985         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45986         * sysdeps/sparc/sparc64/backtrace.h: New file.
45987         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45988         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45989         -funwind-tables.
45991 2013-01-21  Andreas Schwab  <schwab@suse.de>
45993         [BZ #15020]
45994         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45995         closed its stdout.
45997 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46000         "mpa2.h".
46001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46003 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46004             Mark Mitchell  <mark@codesourcery.com>
46005             Tom de Vries  <tom@codesourcery.com>
46006             Paul Pluzhnikov  <ppluzhnikov@google.com>
46008         * debug/tst-backtrace2.c: New file.
46009         * debug/tst-backtrace3.c: Likewise.
46010         * debug/tst-backtrace4.c: Likewise.
46011         * debug/tst-backtrace5.c: Likewise.
46012         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46013         (CFLAGS-tst-backtrace3.c): Likewise.
46014         (CFLAGS-tst-backtrace4.c): Likewise.
46015         (CFLAGS-tst-backtrace5.c): Likewise.
46016         (LDFLAGS-tst-backtrace2): Likewise.
46017         (LDFLAGS-tst-backtrace3): Likewise.
46018         (LDFLAGS-tst-backtrace4): Likewise.
46019         (LDFLAGS-tst-backtrace5): Likewise.
46020         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46021         tst-backtrace4 and tst-backtrace5.
46023 2013-01-18  Anton Blanchard  <anton@samba.org>
46024             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46026         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46027         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46028         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46029         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46031         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46032         "+r" and remove output regs list as redundant.  Add explicit inline
46033         asm to specify register of return val to work around compiler codegen
46034         bug.  Remove (int) cast on return value.  Add return type parameter to
46035         use in macro so that this macro does not truncate return value for
46036         64-bit values.
46037         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46038         pass to INTERNAL_VSYSCALL_NCS.
46039         (INLINE_VSYSCALL): Add 'long int' as return type to
46040         INTERNAL_VSYSCALL_NCS macro invocation.
46041         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46042         INTERNAL_VSYSCALL_NCS macro invocation.
46043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46045 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46047         [BZ #14496]
46048         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46049         Fix application of SIMD FP exception mask.
46051         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46052         mp_no from a power of two.
46053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46054         __mpexp_twomm1.  Use __pow_mp.
46056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46057         multiplication.
46059 2013-01-17  David S. Miller  <davem@davemloft.net>
46061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46063 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46065         [BZ #15023]
46066         * include/complex.h: Condition contents on [!_COMPLEX_H].
46067         (__kernel_casinhf): New prototype.
46068         (__kernel_casinh): Likewise.
46069         (__kernel_casinhl): Likewise.
46070         * math/Makefile (libm_calls): Add k_casinh.
46071         * math/k_casinh.c: New file.
46072         * math/k_casinhf.c: Likewise.
46073         * math/k_casinhl.c: Likewise.
46074         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46075         finite nonzero arguments.
46076         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46077         finite nonzero arguments.
46078         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46079         finite nonzero arguments.
46080         * math/s_casinh.c: Do not include <float.h>.
46081         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46082         * math/s_casinhf.c: Do not include <float.h>.
46083         (__casinhf): Move code for finite nonzero arguments to
46084         k_casinhf.c.
46085         * math/s_casinhl.c: Do not include <float.h>.
46086         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46087         redefine.
46088         (__casinhl): Move code for finite nonzero arguments to
46089         k_casinhl.c.
46090         * math/libm-test.inc (cacos_test): Add more tests.
46091         * sysdeps/i386/fpu/libm-test-ulps: Update.
46092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46094 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46096         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46097         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46098         [!HAVE_MREMAP]: Remove [defined linux] case.
46099         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46101 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46103         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46105 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46107         * elf/elf.h (R_386_SIZE32): New relocation.
46108         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46109         R_386_SIZE32.
46110         (elf_machine_rela): Likewise.
46111         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46112         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46114 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46116         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46117         (FP_FAST_FMA): Do not define.
46118         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46119         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46120         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46121         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46122         !_SOFT_FLOAT]: Likewise.
46123         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46124         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46125         value.
46126         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46127         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46128         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46129         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46130         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46131         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46132         file.
46134 2013-01-16  Andreas Schwab  <schwab@suse.de>
46136         [BZ #14327]
46137         * include/stdlib.h (__mktemp): Add declaration.
46138         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46139         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46141 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46144         definitions.
46145         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46146         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46147         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46148         definitions here.
46149         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46150         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46151         definitions.
46152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46153         and ONE.
46154         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46155         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46156         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46157         definitions.
46158         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46159         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46160         definitions.
46161         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46163         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46165 2013-01-15  David S. Miller  <davem@davemloft.net>
46167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46168         trunc{,f} to libm-sysdep_routes.
46169         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46171         file.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46174         file.
46175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46176         file.
46177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46179         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46180         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46181         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46182         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46183         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46184         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46187         nearbyint{,f} to libm-sysdep_routes.
46188         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46190         New file.
46191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46192         file.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46194         New file.
46195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46196         file.
46197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46199         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46200         file.
46201         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46202         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46203         file.
46204         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46205         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46206         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46208         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46209         libc_feholdexcept and libc_fesetenv.
46211 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46213         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46215 2013-01-14  David S. Miller  <davem@davemloft.net>
46217         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46218         (SPARC_ASM_VIS2_IFUNC): Likewise.
46219         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46221         use of 'siam' instruction.
46222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46223         Likewise.
46224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46225         Likewise.
46226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46227         Likewise.
46228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46233         file.
46234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46235         file.
46236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46237         file.
46238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46239         file.
46240         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46245         new VIS2 routines.
46246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46249         Likewise.
46250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46255         routines to libm-sysdep_routines.
46256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46259         fdim/fdimf to libm-sysdep_routines.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46261         file.
46262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46264         file.
46265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46268         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46269         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46270         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46271         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46273 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46275         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46276         to optimize copies.
46278         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46283         local variable MPTWO.
46284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46285         Likewise.
46287 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46289         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46290         GLOB_NOESCAPE.
46292 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46294         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46296 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46298         * manual/pattern.texi (glob_t): Document gl_flags.
46299         (glob64_t): Likewise.
46301 2013-01-11  David S. Miller  <davem@davemloft.net>
46303         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46304         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46305         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46306         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46307         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46308         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46309         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46310         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46311         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46312         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46313         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46314         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46315         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46317         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46318         sparc V9 rather than using V8 code.
46319         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46320         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46322         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46323         Move to...
46324         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46325         Here.
46327 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46329         [BZ #14941]
46330         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46331         not in the main loop.
46332         * configure: Regenerated.
46334 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46336         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46337         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46338         to just #else.
46339         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46340         [!__GLIBC_HAVE_LONG_LONG] case.
46341         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46342         condition to just #else.
46343         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46344         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46345         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46346         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46347         unconditional.
46348         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46349         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46350         #elif condition to just #else.
46351         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46352         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46353         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46354         #elif condition to just #else.
46356 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46358         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46359         (EF_MIPS_ARCH_64): Fix value.
46360         (EF_MIPS_ARCH_32R2): New.
46361         (EF_MIPS_ARCH_64R2): New.
46363 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46365         * Makeconfig (+link-pie-before-libc): New.
46366         (+link-pie-after-libc): Likewise.
46367         (+link-pie-tests): Likewise.
46368         (+link-pie): Rewritten.
46369         (link-before-libc): Remove $(config-LDFLAGS).
46370         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46371         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46372         (config-LDFLAGS): Renamed to ...
46373         (rtld-LDFLAGS): This.
46374         (rtld-tests-LDFLAGS): New macro.
46375         (link-libc-rpath-link): Likewise.
46376         (link-libc-tests-rpath-link): Likewise.
46377         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46378         (link-libc): Prepand $(link-libc-rpath-link).
46379         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46380         (test-program-prefix): New macro.
46381         (test-via-rtld-prefix): Likewise.
46382         (test-program-cmd): Likewise.
46383         (host-test-program-cmd): Likewise.
46384         * Makefile ($(common-objpfx)testrun.sh): Replace
46385         $(run-program-prefix) with $(test-program-prefix).
46386         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46387         $(rtld-LDFLAGS).
46388         ($(common-objpfx)shlib.lds): Likewise.
46389         (build-module-helper): Likewise.
46390         ($(common-objpfx)format.lds): Likewise.
46391         * Rules (binaries-pie-tests): New.
46392         (binaries-pie-notests): Likewise.
46393         (binaries-pie): Rewritten.
46394         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46395         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46396         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46397         (make-test-out): Replace $(host-built-program-cmd) with
46398         $(host-test-program-cmd).
46399         * config.make.in (build-hardcoded-path-in-tests): New variable.
46400         * configure.in (--enable-hardcoded-path-in-tests): New configure
46401         option.
46402         (hardcoded_path_in_tests): New AC_SUBST.
46403         * configure: Regenerated.
46404         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46405         $(built-program-cmd) with $(test-program-cmd).
46406         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46407         (test_program_cmd): This.
46408         * elf/Makefile ($(objpfx)order.out): Run test with
46409         $(test-program-prefix).
46410         ($(objpfx)order2.out): Likewise.
46411         ($(objpfx)tst-initorder.out): Likewise.
46412         ($(objpfx)tst-initorder2.out): Likewise.
46413         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46414         $(test-program-cmd).
46415         ($(objpfx)tst-array1-static.out): Likewise.
46416         ($(objpfx)tst-array2.out): Likewise.
46417         ($(objpfx)tst-array3.out): Likewise.
46418         ($(objpfx)tst-array4.out): Likewise.
46419         ($(objpfx)tst-array5.out): Likewise.
46420         ($(objpfx)tst-array5-static.out): Likewise.
46421         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46422         $(test-program-cmd).
46423         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46424         $(run-program-prefix) with $(test-program-prefix).
46425         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46426         (test_program_prefix): This.
46427         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46428         $(run-program-prefix) with $(test-program-prefix).
46429         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46430         (test_program_prefix): This.
46431         * iconvdata/tst-tables.sh: Likewise.
46432         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46433         $(run-program-prefix) with $(test-program-prefix).
46434         ($(objpfx)tst-translit.out): Likewise.
46435         ($(objpfx)tst-gettext2.out): Likewise.
46436         ($(objpfx)tst-gettext4.out): Likewise.
46437         ($(objpfx)tst-gettext6.out): Likewise.
46438         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46439         (test_program_prefix): This.
46440         * intl/tst-gettext2.sh: Likewise.
46441         * intl/tst-gettext4.sh  Likewise.
46442         * intl/tst-gettext6.sh: Likewise.
46443         * intl/tst-translit.sh: Likewise.
46444         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46445         with $(test-program-cmd).
46446         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46447         $(run-program-prefix) with $(test-program-prefix).
46448         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46449         (test_program_prefix): This.
46450         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46451         $(run-program-prefix) with $(test-program-prefix).
46452         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46453         (test_program_prefix): This.
46454         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46455         * posix/Makefile ($(objpfx)globtest.out): Replace
46456         $(run-via-rtld-prefix) and $(test-wrapper) with
46457         $(test-program-prefix) and $(test-via-rtld-prefix).
46458         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46459         $(test-program-prefix).
46460         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46461         $(host-test-program-cmd).
46462         (tst-spawn-ARGS): Likewise.
46463         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46464         $(test-program-prefix).
46465         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46466         (test_via_rtld_prefix): This.
46467         (test_wrapper): Renamed to ...
46468         (test_program_prefix): This.
46469         (run_program_prefix): Replaced by test_program_prefix.
46470         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46471         (test_program_prefix): This.
46472         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46473         with $(host-test-program-cmd).
46474         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46475         $(run-program-prefix) with $(test-program-prefix).
46476         ($(objpfx)tst-printf.out): Likewise.
46477         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46478         $(test-program-cmd).
46479         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46480         (test_program_prefix): This.
46481         * stdio-common/tst-unbputc.sh: Likewise.
46482         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46483         $(run-program-prefix) with $(test-program-prefix).
46484         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46485         (test_program_prefix): This.
46486         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46487         $(built-program-cmd) with $(test-program-cmd).
46489 2013-01-11  Andreas Jaeger  <aj@suse.de>
46491         [BZ #15003]
46492         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46493         value. Sync with Linux 3.7.
46495 2013-01-10  David S. Miller  <davem@davemloft.net>
46497         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46498         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46499         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46501 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46503         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46504         never set.
46505         * configure: Regenerated.
46507 2013-01-10  David S. Miller  <davem@davemloft.net>
46509         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46510         sparc V9 rather than using V8 code.
46511         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46512         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46514 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46516         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46517         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46518         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46519         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46520         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46521         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46522         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46523         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46524         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46525         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46526         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46527         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46528         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46529         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46530         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46531         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46532         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46533         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46534         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46535         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46536         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46537         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46538         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46539         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46540         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46541         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46542         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46544 2013-01-10  David S. Miller  <davem@davemloft.net>
46546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46548 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46550         * posix/Makefile (tests-static): New variable.
46551         (tests): Add $(tests-static).
46552         (tst-exec-static-ARGS): New variable.
46553         (tst-spawn-static-ARGS): Likewise.
46554         * posix/tst-exec-static.c: New file.
46555         * posix/tst-spawn-static.c: Likewise.
46556         * posix/tst-exec.c: Support run directly.
46557         * posix/tst-spawn.c: Likewise.
46559 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46561         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46562         long.
46563         * math/bits/mathcalls.h (llrint): Likewise.
46564         (llround): Likewise.
46565         * stdlib/stdlib.h (struct drand48_data): Likewise.
46566         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46567         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46568         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46569         Likewise.
46570         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46571         Likewise.
46572         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46573         (elf_greg_t): Likewise.
46574         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46575         (__jmp_buf): Likewise.
46576         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46577         definitions.
46578         (llrint): Likewise, for all definitions.
46579         (llrintl): Likewise.
46581         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46582         Remove [__GNUC__] condition.
46583         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46584         condition to just [__USE_ISOC99].
46585         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46587 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46589         [BZ #14200]
46590         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46591         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46592         defined.
46593         (_POSIX_V6_ILP32_OFF32): Likewise.
46594         (_XBS5_ILP32_OFF32): Likewise.
46595         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46596         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46598 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46600         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46602         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46603         doubles __mpexp_twomm1.  Adjust usage.
46604         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46605         Remove.
46607 2013-01-10  Andreas Schwab  <schwab@suse.de>
46609         [BZ #14964]
46610         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46611         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46613 2013-01-09  David S. Miller  <davem@davemloft.net>
46615         [BZ #15003]
46616         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46617         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46618         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46619         (TCP_FASTOPEN): Define.
46620         (tcp_repair_opt): New structure.
46621         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46622         enum values.
46623         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46624         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46625         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46626         (tcp_cookie_transactions): New structure.
46628 2013-01-09  Anton Blanchard  <anton@samba.org>
46630         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46631         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46632         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46633         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46635 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46637         * include/features.h (__USE_ANSI): Remove.
46639 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46641         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46643         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46645 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46647         * sysdeps/s390/fpu/libm-test-ulps: Update.
46649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46651         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46652         (__acr): Likewise.
46653         (__cpy): Likewise.
46654         (norm): Likewise.
46655         (denorm): Likewise.
46656         (__mp_dbl): Likewise.
46657         (__dbl_mp): Likewise.
46658         (add_magnitudes): Likewise.
46659         (sub_magnitudes): Likewise.
46660         (__add): Likewise.
46661         (__sub): Likewise.
46662         (__mul): Likewise.
46663         (__inv): Likewise.
46664         (__dvd): Likewise.
46665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46666         (__acr): Likewise.
46667         (__cpy): Likewise.
46668         (norm): Likewise.
46669         (denorm): Likewise.
46670         (__mp_dbl): Likewise.
46671         (__dbl_mp): Likewise.
46672         (add_magnitudes): Likewise.
46673         (sub_magnitudes): Likewise.
46674         (__add): Likewise.
46675         (__sub): Likewise.
46676         (__mul): Likewise.
46677         (__inv): Likewise.
46678         (__dvd): Likewise.
46679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46680         (__acr): Likewise.
46681         (__cpy): Likewise.
46682         (norm): Likewise.
46683         (denorm): Likewise.
46684         (__mp_dbl): Likewise.
46685         (__dbl_mp): Likewise.
46686         (add_magnitudes): Likewise.
46687         (sub_magnitudes): Likewise.
46688         (__add): Likewise.
46689         (__sub): Likewise.
46690         (__mul): Likewise.
46691         (__inv): Likewise.
46692         (__dvd): Likewise.
46694 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46696         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46697         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46698         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46699         2 && __USE_EXTERN_INLINES]: Likewise.
46701 2013-01-08  Andreas Jaeger  <aj@suse.de>
46703         [BZ# 14985]
46704         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46705         Remove.
46706         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46707         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46709 2013-01-07  Anton Blanchard  <anton@samba.org>
46711         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46712         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46713         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46714         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46715         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46716         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46717         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46718         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46720         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46721         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46722         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46723         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46724         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46725         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46726         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46727         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46728         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46729         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46730         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46731         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46732         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46733         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46734         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46735         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46736         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46737         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46738         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46741         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46743         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46744         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46745         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46746         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46747         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46749         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46750         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46751         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46752         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46753         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46755 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46757         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46758         (__MALLOC_PMT): Likewise.
46759         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46760         [__GNUC__], only on [_LIBC].
46761         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46762         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46763         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46764         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46765         forward declaration.
46766         (realloc_hook_ini): Likewise.
46767         (memalign_hook_ini): Likewise.
46768         (__libc_memalign): Do not use __MALLOC_PMT in variable
46769         declaration.
46770         (__libc_valloc): Likewise.
46771         (__libc_pvalloc): Likewise.
46772         (__libc_calloc): Likewise.
46773         (__posix_memalign): Likewise.
46775         [BZ #14996]
46776         * math/s_casinh.c: Include <float.h>.
46777         (__casinh): Do not do computation with squaring and square root
46778         for large arguments.
46779         * math/s_casinhf.c: Include <float.h>.
46780         (__casinhf): Do not do computation with squaring and square root
46781         for large arguments.
46782         * math/s_casinhl.c: Include <float.h>.
46783         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46784         (__casinhl): Do not do computation with squaring and square root
46785         for large arguments.
46786         * math/libm-test.inc (casin_test): Add more tests.
46787         (casinh_test): Likewise.
46788         * sysdeps/i386/fpu/libm-test-ulps: Update.
46789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46791 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46793         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46794         (__x86_64_raw_data_cache_size): Likewise.
46795         (__x86_64_data_cache_size_half): Likewise.
46796         (__x86_64_raw_data_cache_size_half): Likewise.
46797         (__x86_64_shared_cache_size): Likewise.
46798         (__x86_64_raw_shared_cache_size): Likewise.
46799         (__x86_64_shared_cache_size_half): Likewise.
46800         (__x86_64_raw_shared_cache_size_half): Likewise.
46801         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46802         to ...
46803         (__x86_data_cache_size): This.
46804         (__x86_64_raw_data_cache_size): Renamed to ...
46805         (__x86_raw_data_cache_size): This.
46806         (__x86_64_data_cache_size_half): Renamed to ...
46807         (__x86_data_cache_size_half): This.
46808         (__x86_64_raw_data_cache_size_half): Renamed to ...
46809         (__x86_raw_data_cache_size_half): This.
46810         (__x86_64_shared_cache_size): Renamed to ...
46811         (__x86_shared_cache_size): This.
46812         (__x86_64_raw_shared_cache_size): Renamed to ...
46813         (__x86_raw_shared_cache_size): This.
46814         (__x86_64_shared_cache_size_half): Renamed to ...
46815         (__x86_shared_cache_size_half): This.
46816         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46817         (__x86_raw_shared_cache_size_half): This.
46818         * sysdeps/x86_64/memcpy.S: Updated.
46819         * sysdeps/x86_64/memset.S: Likewise.
46820         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46821         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46822         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46824 2013-01-04  David S. Miller  <davem@davemloft.net>
46826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46828 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46830         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46831         1 to avoid redefinition warning.
46832         (__USE_GNU): Don't define.
46833         (init_signaling_nan): Protoize.
46835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46837 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46839         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46841         (__cpymn): Likewise.
46842         (norm): Remove commented code.
46843         (denorm): Likewise.
46844         (__mp_dbl): Likewise.
46845         (__inv): Likewise.
46846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46847         (__cpymn): Likewise.
46848         (norm): Remove commented code.
46849         (denorm): Likewise.
46850         (__mp_dbl): Likewise.
46851         (__inv): Likewise.
46853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46854         mp_no value for 1.0 and 2.0.
46855         (norm): Use RADIXI instead of radixi.d.
46856         (denorm): Likewise.
46857         (__mul): Use 0.0 instead of zero.d.
46858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46859         mp_no value for 1.0 and 2.0.
46860         (norm): Use RADIXI instead of radixi.d.
46861         (denorm): Likewise.
46862         (__mul): Use 0.0 instead of zero.d.
46864 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46866         [BZ #14994]
46867         * math/s_casinh.c (__casinh): Reduce finite argument to first
46868         quadrant then set signs of results at the end.
46869         * math/s_casinhf.c (__casinhf): Likewise.
46870         * math/s_casinhl.c (__casinhl): Likewise.
46871         * math/libm-test.inc (casin_test): Add more tests.
46872         (casinh_test): Likewise.
46873         * sysdeps/i386/fpu/libm-test-ulps: Update.
46874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46876 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46878         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46880         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46882         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46883         declarations.
46884         (denorm): Likewise.
46885         (__mp_dbl): Likewise.
46886         (__inv): Likewise.
46888         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46889         and adjust the header comment.
46891         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46892         variable name from declaration.
46894 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46897         Initialize COMMON_CPUID_INDEX_7 element.
46898         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46899         (CPUID_RTM): Likewise.
46900         (HAS_RTM): Likewise.
46901         (COMMON_CPUID_INDEX_7): New enum.
46903 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46905         [BZ #14981]
46906         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46907         size is zero, record memory as freed.
46909 2013-01-03  Andreas Jaeger  <aj@suse.de>
46911         * po/ia.po: Add new Interlingua translation.
46913 2012-01-03  Allan McRae  <allan@archlinux.org>
46915         * locale/programs/localedef.c: Fix description of '--posix' flag.
46917 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46919         * NEWS: Update dates in second copyright notice.
46920         * README: Update copyright dates in example.
46921         * manual/libc.texinfo: Update copyright dates.
46922         * scripts/test-installation.pl: Update copyright date in --version
46923         output.
46925         * hurd/ctty-input.c: Fix copyright notice formatting.
46926         * hurd/ctty-output.c: Likewise.
46927         * hurd/dtable.c: Likewise.
46928         * hurd/hurd-raise.c: Likewise.
46929         * hurd/hurdprio.c: Likewise.
46930         * hurd/msgportdemux.c: Likewise.
46931         * misc/sys/file.h: Likewise.
46932         * misc/sys/ioctl.h: Likewise.
46933         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46934         * sysdeps/mach/hurd/chdir.c: Likewise.
46935         * sysdeps/mach/hurd/fchdir.c: Likewise.
46936         * sysdeps/mach/hurd/rename.c: Likewise.
46937         * sysdeps/mach/hurd/rmdir.c: Likewise.
46938         * sysdeps/mach/hurd/seekdir.c: Likewise.
46939         * sysdeps/mach/hurd/setsid.c: Likewise.
46940         * sysdeps/posix/wait3.c: Likewise.
46942         * All files with FSF copyright notices: Update copyright dates
46943         using scripts/update-copyrights.
46944         * intl/plural.c: Regenerated.
46945         * locale/programs/charmap-kw.h: Likewise.
46946         * locale/programs/locfile-kw.h: Likewise.
46948 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46950         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46951         four values.
46953         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46954         calculation loop and add branch prediction.
46956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46957         check access beyond bounds of m1np.
46959         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46960         MPTWO.
46961         (__inv): Remove local variable MPTWO to use the global
46962         constant.
46963         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46965         variable MPTWO.
46966         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46967         MP3HALFS static const.
46969 2013-01-01  David S. Miller  <davem@davemloft.net>
46971         * po/ca.po: Update from translation team.
46973 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46975         * scripts/update-copyrights: New file.
46976         * Makeconfig: Reformat copyright notice.
46977         * ctype/ctype.h: Likewise.
46978         * debug/swprintf_chk.c: Likewise.
46979         * elf/dl-cache.c: Likewise.
46980         * elf/dl-debug.c: Likewise.
46981         * elf/dl-object.c: Likewise.
46982         * grp/initgroups.c: Likewise.
46983         * hurd/Makefile: Likewise.
46984         * hurd/hurd/signal.h: Likewise.
46985         * hurd/hurdfault.c: Likewise.
46986         * hurd/hurdioctl.c: Likewise.
46987         * hurd/hurdlookup.c: Likewise.
46988         * hurd/intr-msg.c: Likewise.
46989         * iconv/gconv_open.c: Likewise.
46990         * libio/swprintf.c: Likewise.
46991         * locale/lc-ctype.c: Likewise.
46992         * locale/nl_langinfo.c: Likewise.
46993         * mach/Machrules: Likewise.
46994         * mach/Makefile: Likewise.
46995         * malloc/obstack.h: Likewise.
46996         * manual/Makefile: Likewise.
46997         * manual/tsort.awk: Likewise.
46998         * misc/bits/stab.def: Likewise.
46999         * nis/nis_print_group_entry.c: Likewise.
47000         * nis/nis_table.c: Likewise.
47001         * nis/nss_compat/compat-pwd.c: Likewise.
47002         * nis/nss_compat/compat-spwd.c: Likewise.
47003         * po/Makefile: Likewise.
47004         * posix/fnmatch.c: Likewise.
47005         * posix/regex.h: Likewise.
47006         * resolv/Makefile: Likewise.
47007         * resolv/nss_dns/dns-network.c: Likewise.
47008         * resolv/res_hconf.c: Likewise.
47009         * scripts/gen-sorted.awk: Likewise.
47010         * soft-fp/soft-fp.h: Likewise.
47011         * stdio-common/printf.h: Likewise.
47012         * stdlib/monetary.h: Likewise.
47013         * stdlib/random.c: Likewise.
47014         * stdlib/random_r.c: Likewise.
47015         * sysdeps/generic/Makefile: Likewise.
47016         * sysdeps/gnu/Makefile: Likewise.
47017         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47035         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47036         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47037         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47038         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47039         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47040         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47041         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47045         * sysdeps/mach/hurd/errnos.awk: Likewise.
47046         * sysdeps/mach/hurd/fork.c: Likewise.
47047         * sysdeps/mach/hurd/getcwd.c: Likewise.
47048         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47049         * sysdeps/mach/hurd/mmap.c: Likewise.
47050         * sysdeps/mach/hurd/utimes.c: Likewise.
47051         * sysdeps/mach/hurd/xmknod.c: Likewise.
47052         * sysdeps/posix/profil.c: Likewise.
47053         * sysdeps/posix/readdir_r.c: Likewise.
47054         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47055         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47056         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47057         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47059         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47060         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47061         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47063         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47064         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47065         * sysdeps/pthread/lio_listio.c: Likewise.
47066         * sysdeps/sparc/dl-procinfo.h: Likewise.
47067         * sysdeps/unix/i386/sysdep.S: Likewise.
47068         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47069         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47070         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47071         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47073         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47074         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47075         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47076         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47077         * sysdeps/wordsize-32/divdi3.c: Likewise.
47078         * time/sys/time.h: Likewise.
47079         * wcsmbs/Makefile: Likewise.
47081 2013-01-01  David S. Miller  <davem@davemloft.net>
47083         * po/fr.po: Update from translation team.
47085         * catgets/gencat.c: Update copyright year.
47086         * csu/version.c: Likewise.
47087         * debug/catchsegv.sh: Likewise.
47088         * debug/pcprofiledump.c: Likewise.
47089         * debug/xtrace.sh: Likewise.
47090         * elf/ldconfig.c: Likewise.
47091         * elf/ldd.bash.in: Likewise.
47092         * elf/pldd.c: Likewise.
47093         * elf/sotruss.ksh: Likewise.
47094         * elf/sprof.c: Likewise.
47095         * iconv/iconv_prog.c: Likewise.
47096         * iconv/iconvconfig.c: Likewise.
47097         * locale/programs/locale.c: Likewise.
47098         * locale/programs/localedef.c: Likewise.
47099         * login/programs/pt_chown.c: Likewise.
47100         * malloc/memusage.sh: Likewise.
47101         * malloc/memusagestat.c: Likewise.
47102         * malloc/mtrace.pl: Likewise.
47103         * nscd/nscd.c: Likewise.
47104         * nss/getent.c: Likewise.
47105         * nss/makedb.c: Likewise.
47106         * posix/getconf.c: Likewise.
47108 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47110         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47111         numbers.
47113 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47115         * math/bits/mathcalls.h (modf): Use __nonnull.
47117 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47119         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47120         (split): Use macro CN instead of the bare value.
47121         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47122         could be used.
47123         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47124         instead of the bare value.
47125         (power1): Likewise.
47127 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47130         __ATAN_TWOM.
47131         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47133         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47134         their values.
47135         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47136         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47137         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47138         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47140 2012-12-28  Andreas Jaeger  <aj@suse.de>
47142         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47143         values are from Linux 3.7.
47145         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47146         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47148 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47150         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47151         TRUE case.
47153         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47154         (norm): Likewise.
47155         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47156         variables with preprocessor constants.
47157         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47158         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47159         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47161 2012-12-27  Bruno Haible  <bruno@clisp.org>
47163         [BZ #14317]
47164         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47165         only if needed.
47167 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47170         and use variable directly.
47171         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47173         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47174         MPONE.
47175         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47176         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47177         variable MPONE.
47178         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47180         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47181         include directive.  Remove local variable MPONE.
47182         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47183         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47184         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47186 2012-12-25  David S. Miller  <davem@davemloft.net>
47188         * version.h (RELEASE): Set to "development".
47189         (VERSION): Set to "2.17.90".
47190         * NEWS: Add 2.18 section.
47192 2012-12-21  David S. Miller  <davem@davemloft.net>
47194         * po/hr.po: Update from translation team.
47196 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47198         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47200 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47202         * NEWS:  Mention new memcpy for MIPS.
47204 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47206         * manual/contrib.texi (Contributors): Spelling correction.
47208 2012-12-15  David S. Miller  <davem@davemloft.net>
47210         * po/ru.po: Update from translation team.
47212 2012-12-13  David S. Miller  <davem@davemloft.net>
47214         * NEWS: Mention IFUNC testsuite enhancements.
47216         * po/pl.po: Update from translation team.
47217         * po/bg.po: Likewise.
47219         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47220         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47222 2012-12-11  David S. Miller  <davem@davemloft.net>
47224         * po/sv.po: Update from translation team.
47226         * po/vi.po: Update from translation team.
47228         * po/cs.po: Update from translation team.
47230         * po/de.po: Update from translation team.
47231         * po/eo.po: Likewise.
47232         * po/nl.po: Likewise.
47234 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47236         [BZ #14246]
47237         * manual/argp.texi (Argp Helper Functions): Move node to follow
47238         Argp Parsing State.
47240         [BZ #14872]
47241         * manual/conf.texi (Limits on File System Capacity): Mention if
47242         terminating null is included in the max size.
47244 2012-12-10  Andreas Jaeger  <aj@suse.de>
47246         * po/cs.po: Update from translation team.
47248 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47250         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47251         void pointer and cast to uintptr_t.
47252         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47253         path.
47254         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47255         * sysdeps/s390/s390-64/memset.S: Likewise.
47257 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47259         [BZ #14833]
47260         * menual/message.texi (Message Translation): Fix typos.
47261         (Helper programs for gettext): Likewise.
47263 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47265         [BZ #14898]
47266         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47267         Change to -1.
47269 2012-12-07  David S. Miller  <davem@davemloft.net>
47271         * po/libc.pot: Update.
47273 2012-12-07  Richard Henderson  <rth@redhat.com>
47275         [BZ #10114]
47276         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47277         normal/normal case to before the switch.
47278         (_FP_DIV): Likewise.
47280 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47281             Mike Frysinger  <vapier@gentoo.org>
47283         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47284         check for __NR_fadvise64_64.
47286 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47288         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47289         0, not just to plain "0" as a statement.
47290         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47291         with cw.
47293 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47295         * NEWS: Use sourceware.org in Bugzilla URL.
47297 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47300         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47302         * stdio-common/tst-put-error.c (do_test): Add newline to the
47303         padded test to ensure flush.
47305 2012-12-05  Jeff Law  <law@redhat.com>
47307         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47309 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47311         * README: Don't refer to ports add-on as distributed separately.
47312         Mention AArch64 in list of systems supported in the ports add-on.
47314         * LICENSES: Add more non-FSF copyright and license notices.
47316         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47317         ((unused)).
47319         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47321         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47322         10000 as width of padded output.
47324 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47326         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47328         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47329         variable LX with __attribute__ ((unused)).
47330         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47331         Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47333         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47335         with __attribute__ ((unused)).
47337 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47339         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47341 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47343         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47344         (CFLAGS-nldbl-acos.c): New variable.
47345         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47346         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47347         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47348         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47349         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47350         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47351         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47352         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47353         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47354         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47355         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47356         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47357         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47358         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47359         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47360         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47361         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47362         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47363         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47364         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47365         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47366         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47367         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47368         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47369         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47370         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47371         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47372         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47373         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47374         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47375         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47376         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47377         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47378         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47379         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47380         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47381         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47382         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47383         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47384         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47385         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47386         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47387         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47388         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47389         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47390         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47391         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47392         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47393         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47394         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47395         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47396         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47397         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47398         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47399         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47400         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47401         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47402         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47403         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47404         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47405         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47406         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47407         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47408         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47409         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47410         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47411         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47412         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47413         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47414         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47415         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47416         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47417         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47418         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47419         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47437         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47438         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47439         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47440         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47441         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47444         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47446         [BZ #14914]
47447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47448         whole low double instead of just low 47 bits when splitting values
47449         into two parts.
47451 2012-12-03  Allan McRae  <allan@archlinux.org>
47453         * manual/stdio.texi (Predefined Printf Handlers): Remove
47454         @hsep and @vsep usage.
47456 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47458         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47459         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47461 2012-12-03  Jeff Law  <law@redhat.com>
47463         * time/sys/time.h (settimeofday): Do not mark TV argument
47464         as __nonnull.
47466 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47468         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47469         when currently writing and seek to current position when not.
47470         * libio/Makefile (tests): Remove bug-fclose1.
47471         * libio/bug-fclose1.c: Delete.
47473 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47475         * manual/arith.texi (feenableexcept): Fix typo.
47476         (fedisableexcept): Likewise.
47478 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47480         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47481         second, differently-typed declaration, rather than a cast.
47483 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47485         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47486         * include/rpc/svc.h: ... here.
47488 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47490         [BZ #13013]
47491         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47492         depending n and resplen2 to catch cases where answer
47493         equals answerp2.
47495 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47497         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47498         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47500 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47502         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47504 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47506         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47508 2012-11-28  Jeff Law  <law@redhat.com>
47510         [BZ #13761]
47511         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47512         dataset_temporary.  Track alloca usage into alloca_used.
47513         If dataset is large allocate and release it via malloc/free.
47515 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47517         [BZ #14197]
47518         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47520 2012-11-28  David S. Miller  <davem@davemloft.net>
47522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47524 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47526         [BZ #14803]
47527         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47528         of pi/2 rounded to nearest to 64 bits.
47529         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47530         nearest to 64 bits.
47531         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47532         bits.
47534 2012-11-28  Jeff Law <law@redhat.com>
47535             Martin Osvald <mosvald@redhat.com>
47537         [BZ #14889]
47538         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47539         * sunrpc/svc.c: Include time.h.
47540         (__svc_accept_failed): New function.
47541         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47542         any reason other than EINTR, call __svc_accept_failed.
47543         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47544         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47546 2012-11-28  Andreas Schwab  <schwab@suse.de>
47548         * scripts/abilist.awk: Also handle indirect functions in .opd
47549         section.
47551 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47553         [BZ #13881]
47554         * sysdeps/x86/fpu/powl_helper.c: New file.
47555         * sysdeps/x86/fpu/Makefile: Likewise.
47556         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47557         (p3): New object.
47558         (__ieee754_powl): Use __powl_helper for finite arguments except
47559         integer exponents below 8.
47560         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47561         (p3): New object.
47562         (__ieee754_powl): Use __powl_helper for finite arguments except
47563         integer exponents below 8.
47564         * math/libm-test.inc (pow_test): Add more tests and enable some
47565         previously disabled tests.
47566         * sysdeps/i386/fpu/libm-test-ulps: Update.
47567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47569 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47570             Carlos O'Donell  <carlos_odonell@mentor.com>
47572         * nss/makedb.c (is_prime): Assert that input is odd and greater
47573         than 4.  Note that fact in a comment too.
47574         (next_prime): Add 4 to input.
47576 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47578         [BZ #11741]
47579         * libio/Makefile (tests): Add test case tst-fwrite-error.
47580         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47581         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47582         * libio/tst-fwrite-error.c: New test case.
47584 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47586         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47587         before casting to void *.
47588         * include/libc-internal.h (__pointer_type): New macro.
47589         (__integer_if_pointer_type_sub): Likewise.
47590         (__integer_if_pointer_type): Likewise.
47591         (cast_to_integer): Likewise.
47592         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47593         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47594         before casting to atomic64_t.
47595         (atomic_exchange_acq): Likewise.
47596         (__arch_exchange_and_add_body): Likewise.
47597         (__arch_add_body): Likewise.
47598         (atomic_add_negative): Likewise.
47599         (atomic_add_zero): Likewise.
47601 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47603         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47604         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47605         (add_fdes): Likewise.
47606         (linear_search_fdes): Likewise.
47607         (binary_search_unencoded_fdes): Likewise.
47609 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47611         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47613 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47615         * configure.in: Autodetect C++ header directories.
47616         * configure: Regenerated.
47618 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47620         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47622 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47626 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47628         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47629         LDBL_MANT_DIG == 106]: Disable some tests.
47630         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47631         Likewise.
47632         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47633         Likewise.
47635         [BZ #14871]
47636         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47637         input for small inputs.  Return +/- pi/2 for large inputs.
47638         * math/libm-test.inc (atan_test): Add more tests.
47640         * sysdeps/generic/unwind-dw2-fde-glibc.c
47641         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47642         __attribute__ ((unused)).
47644         [BZ #14645]
47645         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47646         x * y if x and y are nonzero and z is zero.
47648         [BZ #14811]
47649         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47650         nonzero exponents with absolute value below 0x1p-117 to +/-
47651         0x1p-117.
47653         [BZ #14869]
47654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47655         up arguments below 2**-450, not just those below 2**-500.
47656         * math/libm-test.inc (hypot_test): Add another test.
47658         [BZ #14868]
47659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47660         Return a+b for ratio over 2**120, not 2**60.
47661         * math/libm-test.inc (hypot_test): Add another test.
47663         * math/libm-test.inc (clog_test): Use
47664         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47665         (clog10_test): Likewise.
47667         [BZ #6778]
47668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47670 2012-11-22  Andreas Schwab  <schwab@suse.de>
47672         * sysdeps/i386/fpu/libm-test-ulps: Update.
47674 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47676         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47677         printf output with newline.
47679 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47681         [BZ #14865]
47682         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47683         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47684         -z nodlopen, -z initfirst and -z execstack support.
47685         * configure: Regenerated.
47687         * elf/elf.h (DF_1_NODIRECT): New macro.
47688         (DF_1_IGNMULDEF): Likewise.
47689         (DF_1_NOKSYMS): Likewise.
47690         (DF_1_NOHDR): Likewise.
47691         (DF_1_EDITED): Likewise.
47692         (DF_1_NORELOC): Likewise.
47693         (DF_1_SYMINTPOSE): Likewise.
47694         (DF_1_GLOBAUDIT): Likewise.
47695         (DF_1_SINGLETON): Likewise.
47696         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47697         DT_1_SUPPORTED_MASK bits.
47698         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47700 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47702         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47704 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47706         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47707         macro.
47709         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47710         (sendmmsg): Move declarations...
47711         * socket/sys/socket.h: ... here.
47712         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47713         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47714         include it from...
47715         * socket/recvmmsg.c: ... this new file.
47716         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47717         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47718         definition of __sendmmsg hidden.
47719         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47720         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47721         Move ENOSYS stub into and include it from...
47722         * socket/sendmmsg.c: ... this new file.
47723         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47724         (sysdep_routines): Move recvmmsg and sendmmsg...
47725         * socket/Makefile (routines): ... here.
47726         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47727         (GLIBC_PRIVATE): Add __sendmmsg.
47728         * include/sys/socket.h (__sendmmsg): Add declarations.
47729         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47730         sendmmsg.
47732 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47734         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47735         variable I1 with __attribute__ ((unused)).
47736         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47738 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47740         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47741         DUMMY variables with __attribute__ ((unused)).
47743         * bits/byteswap.h: Include <bits/types.h>.
47744         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47746 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47748         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47749         string_t.  Do not manually set errno.
47750         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47751         length with __strnlen.  Make sure to both set errno and return it on
47752         failure.
47754 2012-11-19  David S. Miller  <davem@davemloft.net>
47756         With help from Joseph Myers.
47757         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47758         very large arguments properly.
47759         * math/libm-test.inc (atan_test): New tests.
47760         (atan2_test): New tests.
47761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47764 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47766         [BZ #14856]
47767         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47768         Define to 3.
47770         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47771         [POSIX] (EADDRNOTAVAIL): Likewise.
47772         [POSIX] (EAFNOSUPPORT): Likewise.
47773         [POSIX] (EALREADY): Likewise.
47774         [POSIX] (ECONNABORTED): Likewise.
47775         [POSIX] (ECONNREFUSED): Likewise.
47776         [POSIX] (ECONNRESET): Likewise.
47777         [POSIX] (EDESTADDRREQ): Likewise.
47778         [POSIX] (EDQUOT): Likewise.
47779         [POSIX] (EHOSTUNREACH): Likewise.
47780         [POSIX] (EIDRM): Likewise.
47781         [POSIX] (EISCONN): Likewise.
47782         [POSIX] (ELOOP): Likewise.
47783         [POSIX] (EMULTIHOP): Likewise.
47784         [POSIX] (ENETDOWN): Likewise.
47785         [POSIX] (ENETUNREACH): Likewise.
47786         [POSIX] (ENOBUFS): Likewise.
47787         [POSIX] (ENODATA): Likewise.
47788         [POSIX] (ENOLINK): Likewise.
47789         [POSIX] (ENOMSG): Likewise.
47790         [POSIX] (ENOPROTOOPT): Likewise.
47791         [POSIX] (ENOSR): Likewise.
47792         [POSIX] (ENOSTR): Likewise.
47793         [POSIX] (ENOTCONN): Likewise.
47794         [POSIX] (ENOTSOCK): Likewise.
47795         [POSIX] (EOPNOTSUPP): Likewise.
47796         [POSIX] (EOVERFLOW): Likewise.
47797         [POSIX] (EPROTO): Likewise.
47798         [POSIX] (EPROTONOSUPPORT): Likewise.
47799         [POSIX] (EPROTOTYPE): Likewise.
47800         [POSIX] (ESTALE): Likewise.
47801         [POSIX] (ETIME): Likewise.
47802         [POSIX] (ETXTBSY): Likewise.
47803         [POSIX] (EWOULDBLOCK): Likewise.
47804         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47805         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47806         [POSIX] (SEEK_CUR): Likewise.
47807         [POSIX] (SEEK_END): Likewise.
47808         [POSIX || UNIX98] (mode_t): Do not require.
47809         [POSIX] (off_t): Likewise.
47810         [POSIX] (pid_t): Likewise.
47811         [POSIX] (sys/stat.h): Do not allow header.
47812         [POSIX] (unistd.h): Likewise.
47813         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47814         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47815         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47816         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47817         require.
47818         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47819         sigevent): Specify elements.
47820         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47821         entry.
47822         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47823         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47825         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47826         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47827         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47828         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47829         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47830         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47831         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47832         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47833         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47834         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47835         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47836         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47837         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47838         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47839         Likewise.
47840         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47841         Likewise.
47842         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47843         Likewise.
47844         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47845         Likewise.
47846         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47847         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47848         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47849         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47850         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47851         Specify lower bound on value.
47852         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47853         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47854         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47855         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47856         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47857         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47858         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47859         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47860         value.
47861         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47862         as optional.
47863         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47864         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47865         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47866         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47867         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47868         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47869         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47870         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47871         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47872         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47873         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47874         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47875         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47876         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47877         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47878         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47879         entry.
47880         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47881         optional.
47882         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47883         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47884         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47885         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47886         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47887         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47888         Likewise.
47889         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47890         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47891         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47892         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47893         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47894         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47895         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47896         as optional.
47897         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47898         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47899         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47900         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47901         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47902         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47903         specify as optional.
47904         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47905         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47906         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47907         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47908         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47909         [XPG3] (NL_LANGMAX): Likewise.
47910         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47911         [POSIX || XPG3] (NL_NMAX): Likewise.
47912         [POSIX || XPG3] (NL_SETMAX): Likewise.
47913         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47914         [XPG3] (NZERO): Likewise.
47915         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47916         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47917         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47918         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47919         (REG_ERANGE): Expect.
47920         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47921         optional-constant.
47922         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47923         Use (void) in prototype.
47924         [POSIX] (*_t): Allow.
47925         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47926         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47927         (WRDE_BADVAL): Expect.
47929         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47930         expect.
47931         [XPG3 || XPG4] (O_RSYNC): Likewise.
47932         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47933         Likewise.
47934         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47935         [XPG3 || XPG4] (sigqueue): Likewise.
47936         [XPG3 || XPG4] (sigtimedwait): Likewise.
47937         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47938         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47939         [XPG3 || XPG4] (vsnprintf): Likewise.
47940         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47941         Likewise.
47942         [XPG3 || XPG4] (blksize_t): Likewise.
47943         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47944         Likewise.
47945         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47946         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47947         [XPG3 || XPG4] (struct itimerspec): Likewise.
47948         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47949         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47950         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47951         [XPG3 || XPG4] (clockid_t): Likewise.
47952         [XPG3 || XPG4] (timer_t): Likewise.
47953         [XPG3 || XPG4] (clock_getres): Likewise.
47954         [XPG3 || XPG4] (clock_gettime): Likewise.
47955         [XPG3 || XPG4] (clock_settime): Likewise.
47956         [XPG3 || XPG4] (nanosleep): Likewise.
47957         [XPG3 || XPG4] (timer_create): Likewise.
47958         [XPG3 || XPG4] (timer_delete): Likewise.
47959         [XPG3 || XPG4] (timer_gettime): Likewise.
47960         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47961         [XPG3 || XPG4] (timer_settime): Likewise.
47962         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47963         [XPG3 || XPG4] (getlogin_r): Likewise.
47964         [XPG3 || XPG4] (pread): Likewise.
47965         [XPG3 || XPG4] (pthread_atfork): Likewise.
47966         [XPG3 || XPG4] (pwrite): Likewise.
47968         [BZ #14835]
47969         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47970         <bits/siginfo.h>.
47972 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47974         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47975         finalizing MALLSTREAM.
47977         * sysdeps/mach/hurd/syncfs.c: New file.
47979 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47981         [BZ #14719]
47982         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47983         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47984         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47985         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47986         (_nss_dns_gethostbyname4_r): Likewise.
47987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47988         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47990 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47992         [BZ #13763]
47993         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47995 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47997         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47998         * elf/cache.c (print_entry): Print ",AArch64" for
47999         FLAG_AARCH64_LIB64
48001         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48002         * elf/cache.c (print_entry): Print ",hard-float" for
48003         FLAG_ARM_LIBHF.
48005 2012-11-18  David S. Miller  <davem@davemloft.net>
48007         With help from Joseph Myers.
48008         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48009         cutoff to 2**-13.
48010         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48011         cutoff to 2**-25.
48012         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48013         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48014         small.
48015         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48016         * math/libm-test.inc (y0_test): New tests.
48017         (y1_test): New tests.
48018         * sysdeps/i386/fpu/libm-test-ulps: Update.
48019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48022 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48024         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48025         64-bit targets.
48026         * configure: Regenerated.
48028 2012-11-17  David S. Miller  <davem@davemloft.net>
48030         [BZ #14811]
48031         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48032         nonzero exponents with absolute value below 0x1p-128 to +/-
48033         0x1p-128.
48035 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48037         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48039         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48041         * posix/getconf-speclist.c: New file.
48042         * posix/posix-envs.def: Likewise.
48043         * posix/confstr.c (START_ENV_GROUP): New macro.
48044         (END_ENV_GROUP): Likewise.
48045         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48046         (KNOWN_PRESENT_ENV_STRING): Likewise.
48047         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48048         (UNKNOWN_ENVIRONMENT): Likewise.
48049         (confstr): Include posix-envs.def instead of handling
48050         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48051         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48052         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48053         (END_ENV_GROUP): Likewise.
48054         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48055         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48056         (UNKNOWN_ENVIRONMENT): Likewise.
48057         (__sysconf): Include posix-envs.def instead of handling associated
48058         cases directly here.
48059         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48060         preprocessing getconf-speclist.c rather than running getconf or
48061         generating empty file.
48063 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48065         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48067 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48069         [BZ #14672]
48070         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48072 2012-11-16  David S. Miller  <davem@davemloft.net>
48074         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48075         smaller than LDBL_EPSILON/2.0L, just return xm1.
48077 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48079         * elf/tst-array1.c (init): Set constructor priority to 1000.
48080         (fini): Set destructor priority to 1000.
48081         * elf/tst-array2dep.c: Likewise.
48083 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48085         [BZ #11741]
48086         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48087         (_IO_new_file_xsputn): Also return EOF if none of the input
48088         data was written when overflow failed.
48089         * libio/iopadn.c (_IO_padn): Likewise.
48090         * libio/iowpadn.c (_IO_wpadn): Likewise.
48091         * stdio-common/tst-put-error.c: Add copyright notice.
48092         (do_test): Add case for printing padded string.
48093         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48094         _IO_padn returned error.
48095         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48096         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48097         return EOF.
48099 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48101         * libio/libioP.h: Add comment note that the references to C++
48102         bits are now obsolete.
48104 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48106         * math/libm-test.inc (check_complex): Use asprintf.
48108 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48110         * debug/pcprofiledump.c (print_version): Update copyright year.
48111         * malloc/memusagestat.c (print_version): Likewise.
48113 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48115         [BZ #14831]
48116         * elf/Makefile (tests): Add tst-audit8.
48117         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48118         ($(objpfx)tst-audit8.out): New target.
48119         (tst-audit8-ENV): New variable.
48120         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48121         audit if l_reloc_result is NULL.
48122         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48123         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48124         * elf/tst-audit8.c: New file.
48126 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48128         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48129         * misc/Makefile (CFLAGS-select.c): Define.
48130         * posix/Makefile (CFLAGS-pause.c): Define.
48132 2012-11-13  David S. Miller  <davem@davemloft.net>
48134         * crypt/Makefile: Move test targets after toplevel Rules
48135         inclusion.  Grab any necessary sysdep routines when linking.
48136         * crypt/md5.c (md5_process_block): Remove define, we will always
48137         name it __md5_process_block.
48138         (md5_finish_ctx): Update md5_process_block call.
48139         (md5_stream): Likewise.
48140         (md5_process_bytes): Likewise.
48141         (md5_process_block): Rename to __md5_process_block and move to ...
48142         * crypt/md5-block.c: ... here.
48143         * crypt/sha256.c (sha256_process_block): Move to ...
48144         * crypt/sha256-block.c: ... here.
48145         * crypt/sha512.c (sha512_process_block): Move to ...
48146         * crypt/sha512-block.c: ... here.
48147         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48148         path.
48149         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48150         * sysdeps/sparc/sparc64/multiarch/Makefile
48151         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48152         crypt subdir.
48153         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48154         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48155         multiarch changes.
48156         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48157         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48158         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48159         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48160         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48161         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48162         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48163         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48164         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48165         file.
48166         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48167         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48168         file.
48169         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48171 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48173         * timezone/tzselect.ksh: Update from tzcode git revision
48174         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48175         * timezone/zdump.c: Likewise.
48176         * timezone/zic.c: Likewise.
48177         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48178         in TZVERSION setting, not $(PKGVERSION).
48179         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48180         REPORT_BUGS_TO settings.
48182         [BZ #14838]
48183         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48184         macro.
48186 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48188         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48189         detection to immediately after _FP_ROUND().
48190         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48191         bits are 0.
48193 2012-11-11  David S. Miller  <davem@davemloft.net>
48195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48196         inttypes.h
48197         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48198         __close rather than their public counterparts.
48200 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48202         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48203         file.
48204         [UNIX98] (sem_timedwait): Do not expect.
48205         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48206         [XPG4 || UNIX98] (sockatmark): Do not expect.
48207         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48208         (clock_getcpuclockid): Do not expect.
48209         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48210         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48211         Do not expect.
48212         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48213         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48214         [UNIX98] (vwscanf): Likewise.
48215         [UNIX98] (vswscanf): Likewise.
48217 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48219         * timezone/version.h: Remove file.
48220         * timezone/README: Do not refer to version.h.
48221         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48222         $(objpfx)version.h.
48223         ($(objpfx)zdump.o): Likewise.
48224         ($(objpfx)version.h): New target.
48226         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48227         2012i.
48228         * timezone/README: Don't mention modification to tzselect.ksh.
48229         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48230         work on unmodified tzselect.ksh.  Substitute version numbers in
48231         tzselect.ksh.
48233         * Makefile (format-me): Remove.
48234         (INSTALL): Adjust indentation.  Use commands directly instead of
48235         using $(format-me).
48237         * aclocal.m4 (ACX_PKGVERSION): New macro.
48238         (ACX_BUGURL): Likewise.
48239         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48240         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48241         (REPORT_BUGS_TO): Likewise.
48242         * configure: Regenerated.
48243         * config.h.in (PKGVERSION): New macro.
48244         (REPORT_BUGS_TO): Likewise.
48245         * config.make.in (PKGVERSION): New variable.
48246         (PKGVERSION_TEXI): Likewise.
48247         (REPORT_BUGS_TO): Likewise.
48248         (REPORT_BUGS_TEXI): Likewise.
48249         * Makefile (format-me): Use -I$(common-objpfx)manual.
48250         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48251         ($(common-objpfx)manual/%): New target.
48252         (manual/%): Remove target.
48253         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48254         (print_version): Use PKGVERSION.
48255         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48256         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48257         and REPORT_BUGS_TO.
48258         ($(objpfx)xtrace): Likewise.
48259         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48260         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48261         (print_version): Use PKGVERSION.
48262         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48263         (do_version): Use PKGVERSION.
48264         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48265         REPORT_BUGS_TO.
48266         (common-ldd-rewrite): Likewise.
48267         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48268         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48269         (print_version): Use PKGVERSION.
48270         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48271         * elf/pldd.c (argp_program_bug_address): Remove variable.
48272         (more_help): New function.
48273         (argp): Use more_help.
48274         (print_version): Use PKGVERSION.
48275         * elf/sln.c (main): Use PKGVERSION.
48276         (usage): Use REPORT_BUGS_TO.
48277         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48278         (top level): Use PKGVERSION.
48279         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48280         (print_version): Use PKGVERSION.
48281         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48282         (print_version): Use PKGVERSION.
48283         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48284         (print_version): Use PKGVERSION.
48285         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48286         (print_version): Use PKGVERSION.
48287         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48288         (print_version): Use PKGVERSION.
48289         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48290         (print_version): Use PKGVERSION.
48291         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48292         and BUGURL.
48293         ($(objpfx)memusage): Likewise.
48294         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48295         (do_version): Use PKGVERSION.
48296         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48297         (print_version): Use PKGVERSION.
48298         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48299         ($PKGVERSION): New variable.
48300         ($REPORT_BUGS_TO): Likewise.
48301         (usage): Use $REPORT_BUGS_TO.
48302         (top level): Use $PKGVERSION.
48303         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48304         ($(objpfx)pkgvers.texi): New rule.
48305         ($(objpfx)stamp-pkgvers): Likewise.
48306         * manual/install.texi: Include pkgvers.texi.
48307         (--with-pkgversion): Document new configure option.
48308         (--with-bugurl): Likewise.
48309         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48310         than necessarily for this particular distribution.  Use
48311         REPORT_BUGS_TO for where to report bugs.
48312         * INSTALL: Regenerated.
48313         * manual/libc.texinfo: Include pkgvers.texi.
48314         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48315         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48316         (print_version): Use PKGVERSION.
48317         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48318         (print_version): Use PKGVERSION.
48319         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48320         (print_version): Use PKGVERSION.
48321         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48322         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48323         macro.
48324         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48325         (print_version): Use PKGVERSION.
48326         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48327         (print_version): Use PKGVERSION.
48328         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48329         and PKGVERSION.
48331         * timezone/checktab.awk: Update from tzcode 2012i.
48332         * timezone/ialloc.c: Likewise.
48333         * timezone/private.h: Likewise.
48334         * timezone/scheck.c: Likewise.
48335         * timezone/tzfile.h: Likewise.
48336         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48337         (TZVERSION): Hardcode tzcode version number.
48338         * timezone/zdump.c: Update from tzcode 2012i.
48339         * timezone/zic.c: Likewise.
48340         * timezone/version.h: New file.
48341         * timezone/README: Describe version.h.  Update upstream location.
48343         [BZ #14824]
48344         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48345         (mktemp): Enable declaration.
48346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48347         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48349         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48350         Likewise.
48351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48352         Likewise.
48353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48354         Likewise.
48355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48356         Likewise.
48357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48358         Likewise.
48359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48360         Likewise.
48362         [BZ #14821]
48363         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48364         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48365         for copies of such integer values.
48366         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48367         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48369 2012-11-09  Andreas Jaeger  <aj@suse.de>
48371         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48372         definitions and declarations that are provided by
48373         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48375 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48377         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48378         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48379         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48380         definition.
48382 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48384         * elf/elf.h: Update comment before AArch64 relocations.
48386 2012-11-07  David S. Miller  <davem@davemloft.net>
48388         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48389         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48390         (__start_context): Declare.
48391         (__makecontext_ret): Delete.
48392         (__makecontext): Hook up __start_context instead of
48393         __makecontext_ret.
48394         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48395         (sysdep_routines): Add __start_context when in stdlib.
48397 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48399         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48400         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48401         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48402         hardcoded "nm".
48403         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48404         (READELF): New variable.  Use it instead of hardcoded "readelf".
48406 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48408         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48409         * sysdeps/x86/Makefile: Here.
48410         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48411         * sysdeps/x86/tst-xmmymm.sh: This.
48413 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48415         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48416         expectations.
48417         [UNIX98] (pthread_barrier_t): Do not expect.
48418         [UNIX98] (pthread_barrierattr_t): Likewise.
48419         [UNIX98] (pthread_spinlock_t): Likewise.
48420         [UNIX98] (pthread_barrier_destroy): Likewise.
48421         [UNIX98] (pthread_barrier_init): Likewise.
48422         [UNIX98] (pthread_barrier_wait): Likewise.
48423         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48424         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48425         [UNIX98] (pthread_barrierattr_init): Likewise.
48426         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48427         [UNIX98] (pthread_getcpuclockid): Likewise.
48428         [UNIX98] (pthread_mutex_timedlock): Likewise.
48429         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48430         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48431         [UNIX98] (pthread_sigmask): Likewise.
48432         [UNIX98] (pthread_spin_destroy): Likewise.
48433         [UNIX98] (pthread_spin_init): Likewise.
48434         [UNIX98] (pthread_spin_lock): Likewise.
48435         [UNIX98] (pthread_spin_trylock): Likewise.
48436         [UNIX98] (pthread_spin_unlock): Likewise.
48437         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48438         Do not expect.
48439         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48440         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48441         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48442         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48443         [XPG3 || XPG4] (pthread_key_t): Likewise.
48444         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48445         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48446         [XPG3 || XPG4] (pthread_once_t): Likewise.
48447         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48448         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48449         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48450         [XPG3 || XPG4] (pthread_t): Likewise.
48452         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48453         not expect.
48454         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48456         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48457         Change function return type to int.
48459         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48460         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48461         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48462         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48463         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48464         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48465         [!POSIX] (posix_madvise): Likewise.
48466         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48467         && !UNIX98].
48468         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48469         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48470         (mode_t): Likewise.
48471         (posix_mem_offset): Likewise.
48472         (posix_typed_mem_get_info): Likewise.
48473         (posix_typed_mem_open): Likewise.
48475         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48476         Change condition to [XOPEN2K8].
48478         * conform/conformtest.pl: Preprocess allow-header data with -x c
48479         instead of from stdin.
48480         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48481         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48482         [C99-based standards] (cerfc): Likewise.
48483         [C99-based standards] (cexp2): Likewise.
48484         [C99-based standards] (cexpm1): Likewise.
48485         [C99-based standards] (clog10): Likewise.
48486         [C99-based standards] (clog1p): Likewise.
48487         [C99-based standards] (clog2): Likewise.
48488         [C99-based standards] (clgamma): Likewise.
48489         [C99-based standards] (ctgamma): Likewise.
48490         [C99-based standards] (cerff): Likewise.
48491         [C99-based standards] (cerfcf): Likewise.
48492         [C99-based standards] (cexp2f): Likewise.
48493         [C99-based standards] (cexpm1f): Likewise.
48494         [C99-based standards] (clog10f): Likewise.
48495         [C99-based standards] (clog1pf): Likewise.
48496         [C99-based standards] (clog2f): Likewise.
48497         [C99-based standards] (clgammaf): Likewise.
48498         [C99-based standards] (ctgammaf): Likewise.
48499         [C99-based standards] (cerfl): Likewise.
48500         [C99-based standards] (cerfcl): Likewise.
48501         [C99-based standards] (cexp2l): Likewise.
48502         [C99-based standards] (cexpm1l): Likewise.
48503         [C99-based standards] (clog10l): Likewise.
48504         [C99-based standards] (clog1pl): Likewise.
48505         [C99-based standards] (clog2l): Likewise.
48506         [C99-based standards] (clgammal): Likewise.
48507         [C99-based standards] (ctgammal): Likewise.
48508         * conform/data/inttypes.h-data [C99-based standards]: Include
48509         stdint.h-data.  Remove all expectations for stdint.h contents.
48510         [C99-based standards] (PRI*): Do not allow.
48511         [C99-based standards] (SCN*): Likewise.
48512         [C99-based standards] (*_t): Likewise.
48513         [C99-based-standards] (PRId8): Expect macro.
48514         [C99-based-standards] (PRIi8): Likewise.
48515         [C99-based-standards] (PRIo8): Likewise.
48516         [C99-based-standards] (PRIu8): Likewise.
48517         [C99-based-standards] (PRIx8): Likewise.
48518         [C99-based-standards] (PRIX8): Likewise.
48519         [C99-based-standards] (SCNd8): Likewise.
48520         [C99-based-standards] (SCNi8): Likewise.
48521         [C99-based-standards] (SCNo8): Likewise.
48522         [C99-based-standards] (SCNu8): Likewise.
48523         [C99-based-standards] (SCNx8): Likewise.
48524         [C99-based-standards] (PRIdLEAST8): Likewise.
48525         [C99-based-standards] (PRIiLEAST8): Likewise.
48526         [C99-based-standards] (PRIoLEAST8): Likewise.
48527         [C99-based-standards] (PRIuLEAST8): Likewise.
48528         [C99-based-standards] (PRIxLEAST8): Likewise.
48529         [C99-based-standards] (PRIXLEAST8): Likewise.
48530         [C99-based-standards] (SCNdLEAST8): Likewise.
48531         [C99-based-standards] (SCNiLEAST8): Likewise.
48532         [C99-based-standards] (SCNoLEAST8): Likewise.
48533         [C99-based-standards] (SCNuLEAST8): Likewise.
48534         [C99-based-standards] (SCNxLEAST8): Likewise.
48535         [C99-based-standards] (PRIdFAST8): Likewise.
48536         [C99-based-standards] (PRIiFAST8): Likewise.
48537         [C99-based-standards] (PRIoFAST8): Likewise.
48538         [C99-based-standards] (PRIuFAST8): Likewise.
48539         [C99-based-standards] (PRIxFAST8): Likewise.
48540         [C99-based-standards] (PRIXFAST8): Likewise.
48541         [C99-based-standards] (SCNdFAST8): Likewise.
48542         [C99-based-standards] (SCNiFAST8): Likewise.
48543         [C99-based-standards] (SCNoFAST8): Likewise.
48544         [C99-based-standards] (SCNuFAST8): Likewise.
48545         [C99-based-standards] (SCNxFAST8): Likewise.
48546         [C99-based-standards] (PRId16): Likewise.
48547         [C99-based-standards] (PRIi16): Likewise.
48548         [C99-based-standards] (PRIo16): Likewise.
48549         [C99-based-standards] (PRIu16): Likewise.
48550         [C99-based-standards] (PRIx16): Likewise.
48551         [C99-based-standards] (PRIX16): Likewise.
48552         [C99-based-standards] (SCNd16): Likewise.
48553         [C99-based-standards] (SCNi16): Likewise.
48554         [C99-based-standards] (SCNo16): Likewise.
48555         [C99-based-standards] (SCNu16): Likewise.
48556         [C99-based-standards] (SCNx16): Likewise.
48557         [C99-based-standards] (PRIdLEAST16): Likewise.
48558         [C99-based-standards] (PRIiLEAST16): Likewise.
48559         [C99-based-standards] (PRIoLEAST16): Likewise.
48560         [C99-based-standards] (PRIuLEAST16): Likewise.
48561         [C99-based-standards] (PRIxLEAST16): Likewise.
48562         [C99-based-standards] (PRIXLEAST16): Likewise.
48563         [C99-based-standards] (SCNdLEAST16): Likewise.
48564         [C99-based-standards] (SCNiLEAST16): Likewise.
48565         [C99-based-standards] (SCNoLEAST16): Likewise.
48566         [C99-based-standards] (SCNuLEAST16): Likewise.
48567         [C99-based-standards] (SCNxLEAST16): Likewise.
48568         [C99-based-standards] (PRIdFAST16): Likewise.
48569         [C99-based-standards] (PRIiFAST16): Likewise.
48570         [C99-based-standards] (PRIoFAST16): Likewise.
48571         [C99-based-standards] (PRIuFAST16): Likewise.
48572         [C99-based-standards] (PRIxFAST16): Likewise.
48573         [C99-based-standards] (PRIXFAST16): Likewise.
48574         [C99-based-standards] (SCNdFAST16): Likewise.
48575         [C99-based-standards] (SCNiFAST16): Likewise.
48576         [C99-based-standards] (SCNoFAST16): Likewise.
48577         [C99-based-standards] (SCNuFAST16): Likewise.
48578         [C99-based-standards] (SCNxFAST16): Likewise.
48579         [C99-based-standards] (PRId32): Likewise.
48580         [C99-based-standards] (PRIi32): Likewise.
48581         [C99-based-standards] (PRIo32): Likewise.
48582         [C99-based-standards] (PRIu32): Likewise.
48583         [C99-based-standards] (PRIx32): Likewise.
48584         [C99-based-standards] (PRIX32): Likewise.
48585         [C99-based-standards] (SCNd32): Likewise.
48586         [C99-based-standards] (SCNi32): Likewise.
48587         [C99-based-standards] (SCNo32): Likewise.
48588         [C99-based-standards] (SCNu32): Likewise.
48589         [C99-based-standards] (SCNx32): Likewise.
48590         [C99-based-standards] (PRIdLEAST32): Likewise.
48591         [C99-based-standards] (PRIiLEAST32): Likewise.
48592         [C99-based-standards] (PRIoLEAST32): Likewise.
48593         [C99-based-standards] (PRIuLEAST32): Likewise.
48594         [C99-based-standards] (PRIxLEAST32): Likewise.
48595         [C99-based-standards] (PRIXLEAST32): Likewise.
48596         [C99-based-standards] (SCNdLEAST32): Likewise.
48597         [C99-based-standards] (SCNiLEAST32): Likewise.
48598         [C99-based-standards] (SCNoLEAST32): Likewise.
48599         [C99-based-standards] (SCNuLEAST32): Likewise.
48600         [C99-based-standards] (SCNxLEAST32): Likewise.
48601         [C99-based-standards] (PRIdFAST32): Likewise.
48602         [C99-based-standards] (PRIiFAST32): Likewise.
48603         [C99-based-standards] (PRIoFAST32): Likewise.
48604         [C99-based-standards] (PRIuFAST32): Likewise.
48605         [C99-based-standards] (PRIxFAST32): Likewise.
48606         [C99-based-standards] (PRIXFAST32): Likewise.
48607         [C99-based-standards] (SCNdFAST32): Likewise.
48608         [C99-based-standards] (SCNiFAST32): Likewise.
48609         [C99-based-standards] (SCNoFAST32): Likewise.
48610         [C99-based-standards] (SCNuFAST32): Likewise.
48611         [C99-based-standards] (SCNxFAST32): Likewise.
48612         [C99-based-standards] (PRId64): Likewise.
48613         [C99-based-standards] (PRIi64): Likewise.
48614         [C99-based-standards] (PRIo64): Likewise.
48615         [C99-based-standards] (PRIu64): Likewise.
48616         [C99-based-standards] (PRIx64): Likewise.
48617         [C99-based-standards] (PRIX64): Likewise.
48618         [C99-based-standards] (SCNd64): Likewise.
48619         [C99-based-standards] (SCNi64): Likewise.
48620         [C99-based-standards] (SCNo64): Likewise.
48621         [C99-based-standards] (SCNu64): Likewise.
48622         [C99-based-standards] (SCNx64): Likewise.
48623         [C99-based-standards] (PRIdLEAST64): Likewise.
48624         [C99-based-standards] (PRIiLEAST64): Likewise.
48625         [C99-based-standards] (PRIoLEAST64): Likewise.
48626         [C99-based-standards] (PRIuLEAST64): Likewise.
48627         [C99-based-standards] (PRIxLEAST64): Likewise.
48628         [C99-based-standards] (PRIXLEAST64): Likewise.
48629         [C99-based-standards] (SCNdLEAST64): Likewise.
48630         [C99-based-standards] (SCNiLEAST64): Likewise.
48631         [C99-based-standards] (SCNoLEAST64): Likewise.
48632         [C99-based-standards] (SCNuLEAST64): Likewise.
48633         [C99-based-standards] (SCNxLEAST64): Likewise.
48634         [C99-based-standards] (PRIdFAST64): Likewise.
48635         [C99-based-standards] (PRIiFAST64): Likewise.
48636         [C99-based-standards] (PRIoFAST64): Likewise.
48637         [C99-based-standards] (PRIuFAST64): Likewise.
48638         [C99-based-standards] (PRIxFAST64): Likewise.
48639         [C99-based-standards] (PRIXFAST64): Likewise.
48640         [C99-based-standards] (SCNdFAST64): Likewise.
48641         [C99-based-standards] (SCNiFAST64): Likewise.
48642         [C99-based-standards] (SCNoFAST64): Likewise.
48643         [C99-based-standards] (SCNuFAST64): Likewise.
48644         [C99-based-standards] (SCNxFAST64): Likewise.
48645         [C99-based-standards] (PRIdMAX): Likewise.
48646         [C99-based-standards] (PRIiMAX): Likewise.
48647         [C99-based-standards] (PRIoMAX): Likewise.
48648         [C99-based-standards] (PRIuMAX): Likewise.
48649         [C99-based-standards] (PRIxMAX): Likewise.
48650         [C99-based-standards] (PRIXMAX): Likewise.
48651         [C99-based-standards] (SCNdMAX): Likewise.
48652         [C99-based-standards] (SCNiMAX): Likewise.
48653         [C99-based-standards] (SCNoMAX): Likewise.
48654         [C99-based-standards] (SCNuMAX): Likewise.
48655         [C99-based-standards] (SCNxMAX): Likewise.
48656         [C99-based-standards] (PRIdPTR): Likewise.
48657         [C99-based-standards] (PRIiPTR): Likewise.
48658         [C99-based-standards] (PRIoPTR): Likewise.
48659         [C99-based-standards] (PRIuPTR): Likewise.
48660         [C99-based-standards] (PRIxPTR): Likewise.
48661         [C99-based-standards] (PRIXPTR): Likewise.
48662         [C99-based-standards] (SCNdPTR): Likewise.
48663         [C99-based-standards] (SCNiPTR): Likewise.
48664         [C99-based-standards] (SCNoPTR): Likewise.
48665         [C99-based-standards] (SCNuPTR): Likewise.
48666         [C99-based-standards] (SCNxPTR): Likewise.
48667         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48668         allow.
48669         * conform/data/stdint.h-data: Update comments to clarify
48670         requirements.
48671         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48672         type.
48673         [C99-based standards] (INT8_MAX): Likewise.
48674         [C99-based standards] (INT16_MIN): Likewise.
48675         [C99-based standards] (INT16_MAX): Likewise.
48676         [C99-based standards] (INT32_MIN): Likewise.
48677         [C99-based standards] (INT32_MAX): Likewise.
48678         [C99-based standards] (INT64_MIN): Likewise.
48679         [C99-based standards] (INT64_MAX): Likewise.
48680         [C99-based standards] (UINT8_MAX): Likewise.
48681         [C99-based standards] (UINT16_MAX): Likewise.
48682         [C99-based standards] (UINT32_MAX): Likewise.
48683         [C99-based standards] (UINT64_MAX): Likewise.
48684         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48685         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48686         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48687         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48688         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48689         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48690         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48691         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48692         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48693         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48694         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48695         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48696         [C99-based standards] (INT_FAST8_MIN): Likewise.
48697         [C99-based standards] (INT_FAST8_MAX): Likewise.
48698         [C99-based standards] (INT_FAST16_MIN): Likewise.
48699         [C99-based standards] (INT_FAST16_MAX): Likewise.
48700         [C99-based standards] (INT_FAST32_MIN): Likewise.
48701         [C99-based standards] (INT_FAST32_MAX): Likewise.
48702         [C99-based standards] (INT_FAST64_MIN): Likewise.
48703         [C99-based standards] (INT_FAST64_MAX): Likewise.
48704         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48705         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48706         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48707         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48708         [C99-based standards] (INTPTR_MIN): Likewise.
48709         [C99-based standards] (INTPTR_MAX): Likewise.
48710         [C99-based standards] (UINTPTR_MAX): Likewise.
48711         [C99-based standards] (INTMAX_MIN): Likewise.
48712         [C99-based standards] (INTMAX_MAX): Likewise.
48713         [C99-based standards] (UINTMAX_MAX): Likewise.
48714         [C99-based standards] (PTRDIFF_MIN): Likewise.
48715         [C99-based standards] (PTRDIFF_MAX): Likewise.
48716         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48717         [C99-based standards] (SIZE_MAX): Likewise.
48718         [C99-based standards] (WCHAR_MAX): Likewise.
48719         [C99-based standards] (WINT_MAX): Likewise.
48720         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48721         constraint on value.
48722         [C99-based standards] (WCHAR_MIN): Likewise.
48723         [C99-based standards] (WINT_MIN): Likewise.
48724         [C99-based standards] (*_t): Allow.
48725         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48726         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48727         Include math.h-data and complex.h-data.  Remove all expectations
48728         of math.h and complex.h contents.
48729         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48730         at end of line.
48731         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48732         (struct tm): Expect tag.
48733         [C99-based-standards] (wcstof): Expect function.
48734         [C99-based-standards] (wcstold): Likewise.
48735         [C99-based-standards] (wcstoll): Likewise.
48736         [C99-based-standards] (wcstoull): Likewise.
48737         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48738         macro-int-constant.  Specify type.
48739         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48740         constraint on value.
48741         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48742         Specify type.
48743         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48744         Specify value.
48745         [ISO C standards]: Do not allow headers.
48746         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48747         wcs[abcdefghijklmnopqrstuvwxyz]*.
48748         [ISO C standards] (*_t): Do not allow.
48749         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48750         Expect function.
48751         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48752         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48753         Specify type.
48754         [ISO C standards]: Do not allow headers.
48755         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48756         is[abcdefghijklmnopqrstuvwxyz]*.
48757         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48758         to[abcdefghijklmnopqrstuvwxyz]*.
48759         [ISO C standards] (*_t): Do not allow.
48760         * conform/data/stdalign.h-data: New file.
48761         * conform/data/stdbool.h-data: Likewise.
48762         * conform/data/stdnoreturn.h-data: Likewise.
48764 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48766         [BZ #14815]
48767         * manual/filesys.texi (Directory Entries): Typo fix.
48768         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48770 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48772         * elf/elf.h (EM_AARCH64): New macro.
48773         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48774         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48775         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48776         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48777         (R_AARCH64_TLSDESC): Likewise.
48778         (NT_ARM_TLS): Likewise.
48779         (NT_ARM_HW_BREAK): Likewise.
48780         (NT_ARM_HW_WATCH): Likewise.
48782 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48784         [BZ #14811]
48785         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48786         (__ieee754_powl): Saturate nonzero exponents with absolute value
48787         below 0x1p-79 to +/- 0x1p-79.
48788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48789         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48790         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48791         nonzero exponents with absolute value below 0x1p-32 to +/-
48792         0x1p-32.
48793         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48794         (__ieee754_powl): Saturate nonzero exponents with absolute value
48795         below 0x1p-79 to +/- 0x1p-79.
48796         * math/libm-test.inc (pow_test): Add more tests.
48798 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48800         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48801         _dl_s390_cap_flags with kernel. Increase string length.
48802         (_dl_s390_platforms): Add z196 and zEC12.
48804 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48806         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48807         Change XOPEN21K to XOPEN2K.
48809 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48811         * string/memmove.c: Use memcpy when possible.
48813 2012-11-06  Andreas Jaeger  <aj@suse.de>
48815         * po/eo.po: Update from translation team.
48817 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48819         [BZ #14793]
48820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48821         exponent and small x and y exponents, scale x or y up.  Increase
48822         by 2 the exponent used in scaling up.
48823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48825         * math/libm-test.inc (fma_test): Add more tests.
48826         (fma_test_towardzero): Likewise.
48827         (fma_test_downward): Likewise.
48828         (fma_test_upward): Likewise.
48830 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48832         [BZ #14805]
48833         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48834         fenv_t *.
48836         [BZ #14801]
48837         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48838         namespace for names of struct fields.
48839         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48840         fenv_t fields.
48841         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48842         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48844 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48846         [BZ #3665]
48847         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48849 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48851         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48852         PTR_DEMANGLE.
48854         [BZ #5246]
48855         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48856         PTR_DEMANGLE.
48858 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48860         [BZ #14797]
48861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48862         definitely overflow as x * y not x * y + z.
48863         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48865         * math/libm-test.inc (fma_test): Add more tests.
48866         (fma_test_towardzero): Likewise.
48867         (fma_test_downward): Likewise.
48868         (fma_test_upward): Likewise.
48870 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48872         [BZ #157]
48874         * include/stub-tag.h: Remove file.
48875         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48876         '#include' of it.
48877         * manual/maint.texi (Porting): Don't reference it.
48878         * Makerules ($(objpfx)stubs): Likewise.
48879         * dirent/closedir.c: Don't include <stub-tag.h>.
48880         * dirent/dirfd.c: Likewise.
48881         * dirent/fdopendir.c: Likewise.
48882         * dirent/getdents.c: Likewise.
48883         * dirent/getdents64.c: Likewise.
48884         * dirent/opendir.c: Likewise.
48885         * dirent/readdir.c: Likewise.
48886         * dirent/readdir64.c: Likewise.
48887         * dirent/readdir64_r.c: Likewise.
48888         * dirent/readdir_r.c: Likewise.
48889         * dirent/rewinddir.c: Likewise.
48890         * dirent/seekdir.c: Likewise.
48891         * dirent/telldir.c: Likewise.
48892         * gmon/profil.c: Likewise.
48893         * grp/setgroups.c: Likewise.
48894         * inet/if_index.c: Likewise.
48895         * io/access.c: Likewise.
48896         * io/chdir.c: Likewise.
48897         * io/chmod.c: Likewise.
48898         * io/chown.c: Likewise.
48899         * io/close.c: Likewise.
48900         * io/dup.c: Likewise.
48901         * io/dup2.c: Likewise.
48902         * io/dup3.c: Likewise.
48903         * io/euidaccess.c: Likewise.
48904         * io/faccessat.c: Likewise.
48905         * io/fchdir.c: Likewise.
48906         * io/fchmod.c: Likewise.
48907         * io/fchmodat.c: Likewise.
48908         * io/fchown.c: Likewise.
48909         * io/fchownat.c: Likewise.
48910         * io/fcntl.c: Likewise.
48911         * io/flock.c: Likewise.
48912         * io/fstatfs.c: Likewise.
48913         * io/fstatfs64.c: Likewise.
48914         * io/fstatvfs.c: Likewise.
48915         * io/fstatvfs64.c: Likewise.
48916         * io/futimens.c: Likewise.
48917         * io/fxstat.c: Likewise.
48918         * io/fxstat64.c: Likewise.
48919         * io/fxstatat.c: Likewise.
48920         * io/fxstatat64.c: Likewise.
48921         * io/getcwd.c: Likewise.
48922         * io/isatty.c: Likewise.
48923         * io/lchmod.c: Likewise.
48924         * io/lchown.c: Likewise.
48925         * io/link.c: Likewise.
48926         * io/linkat.c: Likewise.
48927         * io/lseek.c: Likewise.
48928         * io/lseek64.c: Likewise.
48929         * io/lxstat64.c: Likewise.
48930         * io/mkdir.c: Likewise.
48931         * io/mkdirat.c: Likewise.
48932         * io/mkfifo.c: Likewise.
48933         * io/mkfifoat.c: Likewise.
48934         * io/open.c: Likewise.
48935         * io/open64.c: Likewise.
48936         * io/openat.c: Likewise.
48937         * io/openat64.c: Likewise.
48938         * io/pipe.c: Likewise.
48939         * io/pipe2.c: Likewise.
48940         * io/poll.c: Likewise.
48941         * io/posix_fadvise.c: Likewise.
48942         * io/posix_fadvise64.c: Likewise.
48943         * io/posix_fallocate.c: Likewise.
48944         * io/posix_fallocate64.c: Likewise.
48945         * io/read.c: Likewise.
48946         * io/readlink.c: Likewise.
48947         * io/readlinkat.c: Likewise.
48948         * io/rmdir.c: Likewise.
48949         * io/sendfile.c: Likewise.
48950         * io/sendfile64.c: Likewise.
48951         * io/statfs.c: Likewise.
48952         * io/statfs64.c: Likewise.
48953         * io/statvfs.c: Likewise.
48954         * io/statvfs64.c: Likewise.
48955         * io/symlink.c: Likewise.
48956         * io/symlinkat.c: Likewise.
48957         * io/ttyname.c: Likewise.
48958         * io/ttyname_r.c: Likewise.
48959         * io/umask.c: Likewise.
48960         * io/unlink.c: Likewise.
48961         * io/unlinkat.c: Likewise.
48962         * io/utime.c: Likewise.
48963         * io/utimensat.c: Likewise.
48964         * io/write.c: Likewise.
48965         * io/xmknod.c: Likewise.
48966         * io/xmknodat.c: Likewise.
48967         * io/xstat.c: Likewise.
48968         * io/xstat64.c: Likewise.
48969         * login/getpt.c: Likewise.
48970         * login/grantpt.c: Likewise.
48971         * login/unlockpt.c: Likewise.
48972         * math/e_acoshl.c: Likewise.
48973         * math/e_acosl.c: Likewise.
48974         * math/e_asinl.c: Likewise.
48975         * math/e_atan2l.c: Likewise.
48976         * math/e_atanhl.c: Likewise.
48977         * math/e_coshl.c: Likewise.
48978         * math/e_expl.c: Likewise.
48979         * math/e_fmodl.c: Likewise.
48980         * math/e_gammal_r.c: Likewise.
48981         * math/e_hypotl.c: Likewise.
48982         * math/e_j0l.c: Likewise.
48983         * math/e_j1l.c: Likewise.
48984         * math/e_jnl.c: Likewise.
48985         * math/e_lgammal_r.c: Likewise.
48986         * math/e_log10l.c: Likewise.
48987         * math/e_log2l.c: Likewise.
48988         * math/e_logl.c: Likewise.
48989         * math/e_powl.c: Likewise.
48990         * math/e_rem_pio2l.c: Likewise.
48991         * math/e_sinhl.c: Likewise.
48992         * math/e_sqrtl.c: Likewise.
48993         * math/fclrexcpt.c: Likewise.
48994         * math/fedisblxcpt.c: Likewise.
48995         * math/feenablxcpt.c: Likewise.
48996         * math/fegetenv.c: Likewise.
48997         * math/fegetexcept.c: Likewise.
48998         * math/fegetround.c: Likewise.
48999         * math/feholdexcpt.c: Likewise.
49000         * math/fesetenv.c: Likewise.
49001         * math/fesetround.c: Likewise.
49002         * math/feupdateenv.c: Likewise.
49003         * math/fgetexcptflg.c: Likewise.
49004         * math/fraiseexcpt.c: Likewise.
49005         * math/fsetexcptflg.c: Likewise.
49006         * math/ftestexcept.c: Likewise.
49007         * math/k_cosl.c: Likewise.
49008         * math/k_rem_pio2l.c: Likewise.
49009         * math/k_sinl.c: Likewise.
49010         * math/k_tanl.c: Likewise.
49011         * math/s_asinhl.c: Likewise.
49012         * math/s_atanl.c: Likewise.
49013         * math/s_cbrtl.c: Likewise.
49014         * math/s_erfl.c: Likewise.
49015         * math/s_expm1l.c: Likewise.
49016         * math/s_log1pl.c: Likewise.
49017         * math/s_tanhl.c: Likewise.
49018         * misc/acct.c: Likewise.
49019         * misc/brk.c: Likewise.
49020         * misc/chflags.c: Likewise.
49021         * misc/chroot.c: Likewise.
49022         * misc/fchflags.c: Likewise.
49023         * misc/fgetxattr.c: Likewise.
49024         * misc/flistxattr.c: Likewise.
49025         * misc/fremovexattr.c: Likewise.
49026         * misc/fsetxattr.c: Likewise.
49027         * misc/fsync.c: Likewise.
49028         * misc/ftruncate.c: Likewise.
49029         * misc/futimes.c: Likewise.
49030         * misc/futimesat.c: Likewise.
49031         * misc/getdomain.c: Likewise.
49032         * misc/getdtsz.c: Likewise.
49033         * misc/gethostid.c: Likewise.
49034         * misc/gethostname.c: Likewise.
49035         * misc/getloadavg.c: Likewise.
49036         * misc/getpagesize.c: Likewise.
49037         * misc/getsysstats.c: Likewise.
49038         * misc/getxattr.c: Likewise.
49039         * misc/gtty.c: Likewise.
49040         * misc/ioctl.c: Likewise.
49041         * misc/lgetxattr.c: Likewise.
49042         * misc/listxattr.c: Likewise.
49043         * misc/llistxattr.c: Likewise.
49044         * misc/lremovexattr.c: Likewise.
49045         * misc/lsetxattr.c: Likewise.
49046         * misc/lutimes.c: Likewise.
49047         * misc/madvise.c: Likewise.
49048         * misc/mincore.c: Likewise.
49049         * misc/mlock.c: Likewise.
49050         * misc/mlockall.c: Likewise.
49051         * misc/mmap.c: Likewise.
49052         * misc/mprotect.c: Likewise.
49053         * misc/msync.c: Likewise.
49054         * misc/munlock.c: Likewise.
49055         * misc/munlockall.c: Likewise.
49056         * misc/munmap.c: Likewise.
49057         * misc/preadv.c: Likewise.
49058         * misc/preadv64.c: Likewise.
49059         * misc/ptrace.c: Likewise.
49060         * misc/pwritev.c: Likewise.
49061         * misc/pwritev64.c: Likewise.
49062         * misc/readv.c: Likewise.
49063         * misc/reboot.c: Likewise.
49064         * misc/remap_file_pages.c: Likewise.
49065         * misc/removexattr.c: Likewise.
49066         * misc/revoke.c: Likewise.
49067         * misc/select.c: Likewise.
49068         * misc/setdomain.c: Likewise.
49069         * misc/setegid.c: Likewise.
49070         * misc/seteuid.c: Likewise.
49071         * misc/sethostid.c: Likewise.
49072         * misc/sethostname.c: Likewise.
49073         * misc/setregid.c: Likewise.
49074         * misc/setreuid.c: Likewise.
49075         * misc/setxattr.c: Likewise.
49076         * misc/sstk.c: Likewise.
49077         * misc/stty.c: Likewise.
49078         * misc/swapoff.c: Likewise.
49079         * misc/swapon.c: Likewise.
49080         * misc/sync.c: Likewise.
49081         * misc/syncfs.c: Likewise.
49082         * misc/syscall.c: Likewise.
49083         * misc/truncate.c: Likewise.
49084         * misc/ualarm.c: Likewise.
49085         * misc/usleep.c: Likewise.
49086         * misc/ustat.c: Likewise.
49087         * misc/utimes.c: Likewise.
49088         * misc/vhangup.c: Likewise.
49089         * misc/writev.c: Likewise.
49090         * posix/_exit.c: Likewise.
49091         * posix/alarm.c: Likewise.
49092         * posix/execve.c: Likewise.
49093         * posix/fexecve.c: Likewise.
49094         * posix/fork.c: Likewise.
49095         * posix/fpathconf.c: Likewise.
49096         * posix/getaddrinfo.c: Likewise.
49097         * posix/getegid.c: Likewise.
49098         * posix/geteuid.c: Likewise.
49099         * posix/getgid.c: Likewise.
49100         * posix/getgroups.c: Likewise.
49101         * posix/getlogin.c: Likewise.
49102         * posix/getlogin_r.c: Likewise.
49103         * posix/getpgid.c: Likewise.
49104         * posix/getpid.c: Likewise.
49105         * posix/getppid.c: Likewise.
49106         * posix/getresgid.c: Likewise.
49107         * posix/getresuid.c: Likewise.
49108         * posix/getsid.c: Likewise.
49109         * posix/getuid.c: Likewise.
49110         * posix/glob64.c: Likewise.
49111         * posix/nanosleep.c: Likewise.
49112         * posix/pathconf.c: Likewise.
49113         * posix/pause.c: Likewise.
49114         * posix/posix_madvise.c: Likewise.
49115         * posix/pread.c: Likewise.
49116         * posix/pread64.c: Likewise.
49117         * posix/pwrite.c: Likewise.
49118         * posix/pwrite64.c: Likewise.
49119         * posix/sched_getaffinity.c: Likewise.
49120         * posix/sched_getp.c: Likewise.
49121         * posix/sched_gets.c: Likewise.
49122         * posix/sched_primax.c: Likewise.
49123         * posix/sched_primin.c: Likewise.
49124         * posix/sched_rr_gi.c: Likewise.
49125         * posix/sched_setaffinity.c: Likewise.
49126         * posix/sched_setp.c: Likewise.
49127         * posix/sched_sets.c: Likewise.
49128         * posix/sched_yield.c: Likewise.
49129         * posix/setgid.c: Likewise.
49130         * posix/setlogin.c: Likewise.
49131         * posix/setpgid.c: Likewise.
49132         * posix/setresgid.c: Likewise.
49133         * posix/setresuid.c: Likewise.
49134         * posix/setsid.c: Likewise.
49135         * posix/setuid.c: Likewise.
49136         * posix/sleep.c: Likewise.
49137         * posix/spawni.c: Likewise.
49138         * posix/sysconf.c: Likewise.
49139         * posix/times.c: Likewise.
49140         * posix/wait.c: Likewise.
49141         * posix/wait3.c: Likewise.
49142         * posix/wait4.c: Likewise.
49143         * posix/waitpid.c: Likewise.
49144         * resolv/gai_sigqueue.c: Likewise.
49145         * resource/getpriority.c: Likewise.
49146         * resource/getrlimit.c: Likewise.
49147         * resource/getrusage.c: Likewise.
49148         * resource/nice.c: Likewise.
49149         * resource/setpriority.c: Likewise.
49150         * resource/setrlimit.c: Likewise.
49151         * resource/ulimit.c: Likewise.
49152         * rt/aio_cancel.c: Likewise.
49153         * rt/aio_fsync.c: Likewise.
49154         * rt/aio_read.c: Likewise.
49155         * rt/aio_sigqueue.c: Likewise.
49156         * rt/aio_suspend.c: Likewise.
49157         * rt/aio_write.c: Likewise.
49158         * rt/clock_getres.c: Likewise.
49159         * rt/clock_gettime.c: Likewise.
49160         * rt/clock_nanosleep.c: Likewise.
49161         * rt/clock_settime.c: Likewise.
49162         * rt/lio_listio.c: Likewise.
49163         * rt/mq_close.c: Likewise.
49164         * rt/mq_getattr.c: Likewise.
49165         * rt/mq_notify.c: Likewise.
49166         * rt/mq_open.c: Likewise.
49167         * rt/mq_receive.c: Likewise.
49168         * rt/mq_send.c: Likewise.
49169         * rt/mq_setattr.c: Likewise.
49170         * rt/mq_timedreceive.c: Likewise.
49171         * rt/mq_timedsend.c: Likewise.
49172         * rt/mq_unlink.c: Likewise.
49173         * rt/shm_open.c: Likewise.
49174         * rt/shm_unlink.c: Likewise.
49175         * rt/timer_create.c: Likewise.
49176         * rt/timer_delete.c: Likewise.
49177         * rt/timer_getoverr.c: Likewise.
49178         * rt/timer_gettime.c: Likewise.
49179         * rt/timer_settime.c: Likewise.
49180         * setjmp/__longjmp.c: Likewise.
49181         * setjmp/setjmp.c: Likewise.
49182         * signal/kill.c: Likewise.
49183         * signal/killpg.c: Likewise.
49184         * signal/raise.c: Likewise.
49185         * signal/sigaction.c: Likewise.
49186         * signal/sigaltstack.c: Likewise.
49187         * signal/sigblock.c: Likewise.
49188         * signal/sigignore.c: Likewise.
49189         * signal/sigintr.c: Likewise.
49190         * signal/signal.c: Likewise.
49191         * signal/sigpause.c: Likewise.
49192         * signal/sigpending.c: Likewise.
49193         * signal/sigqueue.c: Likewise.
49194         * signal/sigreturn.c: Likewise.
49195         * signal/sigset.c: Likewise.
49196         * signal/sigsetmask.c: Likewise.
49197         * signal/sigstack.c: Likewise.
49198         * signal/sigsuspend.c: Likewise.
49199         * signal/sigtimedwait.c: Likewise.
49200         * signal/sigvec.c: Likewise.
49201         * signal/sigwait.c: Likewise.
49202         * signal/sigwaitinfo.c: Likewise.
49203         * signal/sysv_signal.c: Likewise.
49204         * socket/accept.c: Likewise.
49205         * socket/accept4.c: Likewise.
49206         * socket/bind.c: Likewise.
49207         * socket/connect.c: Likewise.
49208         * socket/getpeername.c: Likewise.
49209         * socket/getsockname.c: Likewise.
49210         * socket/getsockopt.c: Likewise.
49211         * socket/isfdtype.c: Likewise.
49212         * socket/listen.c: Likewise.
49213         * socket/recv.c: Likewise.
49214         * socket/recvfrom.c: Likewise.
49215         * socket/recvmsg.c: Likewise.
49216         * socket/send.c: Likewise.
49217         * socket/sendmsg.c: Likewise.
49218         * socket/sendto.c: Likewise.
49219         * socket/setsockopt.c: Likewise.
49220         * socket/shutdown.c: Likewise.
49221         * socket/sockatmark.c: Likewise.
49222         * socket/socket.c: Likewise.
49223         * socket/socketpair.c: Likewise.
49224         * stdio-common/ctermid.c: Likewise.
49225         * stdio-common/cuserid.c: Likewise.
49226         * stdio-common/remove.c: Likewise.
49227         * stdio-common/rename.c: Likewise.
49228         * stdio-common/renameat.c: Likewise.
49229         * stdio-common/tempname.c: Likewise.
49230         * stdlib/getcontext.c: Likewise.
49231         * stdlib/makecontext.c: Likewise.
49232         * stdlib/setcontext.c: Likewise.
49233         * stdlib/swapcontext.c: Likewise.
49234         * stdlib/system.c: Likewise.
49235         * streams/fattach.c: Likewise.
49236         * streams/fdetach.c: Likewise.
49237         * streams/getmsg.c: Likewise.
49238         * streams/getpmsg.c: Likewise.
49239         * streams/putmsg.c: Likewise.
49240         * streams/putpmsg.c: Likewise.
49241         * sysdeps/unix/bsd/getpt.c: Likewise.
49242         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49243         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49244         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49246         Likewise.
49247         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49248         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49249         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49250         * sysvipc/msgctl.c: Likewise.
49251         * sysvipc/msgget.c: Likewise.
49252         * sysvipc/msgrcv.c: Likewise.
49253         * sysvipc/msgsnd.c: Likewise.
49254         * sysvipc/semctl.c: Likewise.
49255         * sysvipc/semget.c: Likewise.
49256         * sysvipc/semop.c: Likewise.
49257         * sysvipc/semtimedop.c: Likewise.
49258         * sysvipc/shmat.c: Likewise.
49259         * sysvipc/shmctl.c: Likewise.
49260         * sysvipc/shmdt.c: Likewise.
49261         * sysvipc/shmget.c: Likewise.
49262         * termios/tcdrain.c: Likewise.
49263         * termios/tcflow.c: Likewise.
49264         * termios/tcflush.c: Likewise.
49265         * termios/tcgetattr.c: Likewise.
49266         * termios/tcgetpgrp.c: Likewise.
49267         * termios/tcsendbrk.c: Likewise.
49268         * termios/tcsetattr.c: Likewise.
49269         * termios/tcsetpgrp.c: Likewise.
49270         * time/adjtime.c: Likewise.
49271         * time/clock.c: Likewise.
49272         * time/getitimer.c: Likewise.
49273         * time/gettimeofday.c: Likewise.
49274         * time/setitimer.c: Likewise.
49275         * time/settimeofday.c: Likewise.
49276         * time/stime.c: Likewise.
49277         * time/time.c: Likewise.
49279 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49281         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49282         /usr/old/bin.
49284         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49285         instead of spaces.
49286         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49288 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49290         [BZ #14796]
49291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49292         FE_TONEAREST before applying Dekker multiplication and Knuth
49293         addition.  Clear inexact exceptions and check for exact zero
49294         results afterwards.
49295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49298         * math/libm-test.inc (fma_test): Add more tests.
49299         (fma_test_towardzero): Likewise.
49300         (fma_test_downward): Likewise.
49301         (fma_test_upward): Likewise.
49302         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49303         function.
49304         (libc_fesetround): New macro.
49305         (libc_fesetroundf): Likewise.
49306         (libc_fesetroundl): Likewise.
49307         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49308         function.
49309         (libc_fesetround_387): Likewise.
49310         (libc_fesetroundf): New macro.
49311         (libc_fesetround): Likewise.
49312         (libc_fesetroundl): Likewise.
49313         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49314         function.
49315         (libc_fesetroundf): New macro.
49316         (libc_fesetround): Likewise.
49317         (libc_fesetroundl): Likewise.
49318         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49319         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49320         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49321         libm_hidden_ver.
49322         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49323         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49324         libm_hidden_def.
49325         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49326         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49327         libm_hidden_ver.
49328         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49329         libm_hidden_def.
49331         [BZ #3439]
49332         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49333         integer constant usable in #if and use that to give value to enum
49334         constant.
49335         (FE_DIVBYZERO): Likewise.
49336         (FE_UNDERFLOW): Likewise.
49337         (FE_OVERFLOW): Likewise.
49338         (FE_INVALID): Likewise.
49339         (FE_INVALID_SNAN): Likewise.
49340         (FE_INVALID_ISI): Likewise.
49341         (FE_INVALID_IDI): Likewise.
49342         (FE_INVALID_ZDZ): Likewise.
49343         (FE_INVALID_IMZ): Likewise.
49344         (FE_INVALID_COMPARE): Likewise.
49345         (FE_INVALID_SOFTWARE): Likewise.
49346         (FE_INVALID_SQRT): Likewise.
49347         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49348         (FE_TONEAREST): Likewise.
49349         (FE_TOWARDZERO): Likewise.
49350         (FE_UPWARD): Likewise.
49351         (FE_DOWNWARD): Likewise.
49352         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49353         (FE_DIVBYZERO): Likewise.
49354         (FE_OVERFLOW): Likewise.
49355         (FE_UNDERFLOW): Likewise.
49356         (FE_INEXACT): Likewise.
49357         (FE_TONEAREST): Likewise.
49358         (FE_DOWNWARD): Likewise.
49359         (FE_UPWARD): Likewise.
49360         (FE_TOWARDZERO): Likewise.
49361         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49362         (FE_UNDERFLOW): Likewise.
49363         (FE_OVERFLOW): Likewise.
49364         (FE_DIVBYZERO): Likewise.
49365         (FE_INVALID): Likewise.
49366         (FE_TONEAREST): Likewise.
49367         (FE_TOWARDZERO): Likewise.
49368         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49369         (FE_OVERFLOW): Likewise.
49370         (FE_UNDERFLOW): Likewise.
49371         (FE_DIVBYZERO): Likewise.
49372         (FE_INEXACT): Likewise.
49373         (FE_TONEAREST): Likewise.
49374         (FE_TOWARDZERO): Likewise.
49375         (FE_UPWARD): Likewise.
49376         (FE_DOWNWARD): Likewise.
49377         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49378         (FE_DIVBYZERO): Likewise.
49379         (FE_OVERFLOW): Likewise.
49380         (FE_UNDERFLOW): Likewise.
49381         (FE_INEXACT): Likewise.
49382         (FE_TONEAREST): Likewise.
49383         (FE_DOWNWARD): Likewise.
49384         (FE_UPWARD): Likewise.
49385         (FE_TOWARDZERO): Likewise.
49387 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49389         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49391 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49393         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49394         commands.  Quote $PWD.
49395         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49396         -x" by "export".
49397         (remove_newlines): Remove.
49399 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49401         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49402         * stdlib/stdlib.h (atof): Moved to ...
49403         * include/bits/stdlib-float.h: Here.  New file.
49404         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49405         * stdlib/bits/stdlib-float.h: New file.
49406         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49407         -mno-sse -mno-mmx.
49408         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49409         <xmmintrin.h>.
49411 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49413         * conform/conformtest.pl (@headers): Add fenv.h.
49414         * conform/data/fenv.h-data: New file.
49415         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49416         include of <math/fenv.h>.
49418         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49419         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49420         && !UNIX98].  Enables tests for XOPEN2K8.
49421         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49422         POSIX2008]: Likewise.
49424         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49425         (struct rusage): Do not expect type or its members.
49427         [BZ #3439]
49428         * math/math.h (FP_NAN): Define macro to integer constant usable in
49429         #if and use that to give value to enum constant.
49430         (FP_INFINITE): Likewise.
49431         (FP_ZERO): Likewise.
49432         (FP_SUBNORMAL): Likewise.
49433         (FP_NORMAL): Likewise.
49435 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49437         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49438         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49439         arguments.
49441 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49443         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49444         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49445         autoconf-time if not.
49446         * configure.in: Remove AC_PREREQ.
49448 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49450         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49451         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49452         of the internal implementation.
49454 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49456         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49457         except include of <misc/sys/syslog.h>.
49459 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49462         function returns with a NULL context exit with zero.
49464 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49466         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49468 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49470         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49471         (run_program_cmd): This.
49472         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49473         (tst_langinfo): New variable.  Use it.
49475 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49477         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49478         floating point opcodes.
49480 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49482         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49483         variable.
49485         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49487         * sysdeps/mach/hurd/powerpc: Remove directory.
49488         * sysdeps/mach/powerpc: Likewise.
49490 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49492         * scripts/check-local-headers.sh: Ignore c++ headers.
49494 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49496         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49497         __libc_cleanup_region_start argument.
49499 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49501         [BZ #14784]
49502         [BZ #14785]
49503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49504         x * y using scaling, not as x * y + z.
49505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49506         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49507         * math/libm-test.inc (fma_test): Add more tests.
49508         (fma_test_towardzero): Likewise.
49509         (fma_test_downward): Likewise.
49510         (fma_test_upward): Likewise.
49512 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49514         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49516 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49518         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49519         New variable.
49521 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49523         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49525 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49528         Fix sort order.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49530         Likewise.
49532 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49535         Fix the order of the list for glibc 2.17.
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49537         Likewise.
49539 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49543 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49545         [BZ #14610]
49546         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49547         for low part of x being zero before using __atanl (y).
49548         * math/libm-test.inc (atan2_test): Add another test.
49550         * manual/install.texi (Configuring and compiling): Document
49551         general use of test-wrapper and test-wrapper-env.
49552         * INSTALL: Regenerated.
49554         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49555         (__fma): Do not extract and scale down low bits on after-rounding
49556         systems when result rounded to normal precision would have normal
49557         exponent.
49558         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49559         (__fmal): Do not extract and scale down low bits on after-rounding
49560         systems when result rounded to normal precision would have normal
49561         exponent.
49562         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49563         (__fmal): Do not extract and scale down low bits on after-rounding
49564         systems when result rounded to normal precision would have normal
49565         exponent.
49566         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49567         macro.
49568         (fma_test): Add more tests.
49569         (fma_test_towardzero): Likewise.
49570         (fma_test_downward): Likewise.
49571         (fma_test_upward): Likewise.
49573 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49575         * sysdeps/i386/tininess.h: Renamed to ...
49576         * sysdeps/x86/tininess.h: This.
49577         * sysdeps/x86_64/tininess.h: Removed.
49579 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49581         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49582         input.  Use $(build-program-cmd).
49583         ($(objpfx)tst-array1-static.out): Likewise.
49584         ($(objpfx)tst-array2.out): Likewise.
49585         ($(objpfx)tst-array3.out): Likewise.
49586         ($(objpfx)tst-array4.out): Likewise.
49587         ($(objpfx)tst-array5.out): Likewise.
49588         ($(objpfx)tst-array5-static.out): Likewise.
49590 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49592         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49593         if defined.
49595         * nss/nsswitch.h (nss_interface_function): Provide new
49596         macro for use with NSS functions.
49597         * grp/initgroups.c: Use new macro.
49598         * nss/getXXbyYY.c: Likewise.
49599         * nss/getXXbyYY_r.c: Likewise.
49600         * nss/getXXent.c: Likewise.
49601         * nss/getXXent_r.c: Likewise.
49602         * sysdeps/posix/getaddrinfo.c: Likewise.
49604 2012-10-30  Andreas Jaeger  <aj@suse.de>
49606         * po/ru.po: Update Russion translation from translation project.
49608 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49610         [BZ #14152]
49611         [BZ #14783]
49612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49613         result and shift together with sticky bit instead of replicating
49614         round-to-nearest rounding.
49615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49616         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49617         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49618         missing underflow exceptions.
49619         (fma_test_towardzero): Add more tests.
49620         (fma_test_downward): Likewise.
49621         (fma_test_upward): Likewise.
49623         [BZ #14047]
49624         * sysdeps/generic/tininess.h: New file.
49625         * sysdeps/i386/tininess.h: Likewise.
49626         * sysdeps/sh/tininess.h: Likewise.
49627         * sysdeps/x86_64/tininess.h: Likewise.
49628         * stdlib/tst-strtod-underflow.c: Likewise.
49629         * stdlib/tst-tininess.c: Likewise.
49630         * stdlib/strtod_l.c: Include <tininess.h>.
49631         (round_and_return): Do not set errno for exact underflow cases.
49632         Force an underflow exception when setting errno for underflow.
49633         Determine underflow based on rounding to normal precision if
49634         TININESS_AFTER_ROUNDING.
49635         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49636         ERANGE for exact underflow cases.
49637         * stdlib/Makefile (tests): Add tst-tininess and
49638         tst-strtod-underflow.
49639         ($(objpfx)tst-tininess): Use $(link-libm).
49640         ($(objpfx)tst-strtod-underflow): Likewise.
49642 2012-10-30  Andreas Jaeger  <aj@suse.de>
49644         [BZ#14767]
49645         * elf/Makefile (tests): Remove conditional for have-initfini-array
49646         since this is now always required and the variable does not exist
49647         anymore.
49648         (tests-static): Likewise.
49649         (modules-names): Likewise.
49651         * po/eo.po: Add Esperanto translation from translation project.
49653         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49654         merged with constructor/destructor.
49655         (init_array): Likewise.
49656         * elf/tst-array2dep.c (fini_array): Likewise.
49657         (init_array): Likewise.
49659 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49661         * manual/message.texi: Delete @cartouche tags.
49663 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49665         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49666         EOPNOTSUPP.
49667         * sysdeps/mach/hurd/fsync.c: Likewise.
49669         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49670         [_POSIX_REALTIME_SIGNALS]: Change condition to
49671         [_POSIX_REALTIME_SIGNALS > 0].
49673 2012-10-27  Andreas Jaeger  <aj@suse.de>
49675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49676         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49678         [__WORDSIZE != 64]: Likewise.
49680 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49682         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49683         *  iconvdata/tst-tables.sh: Likewise.
49685 2012-10-25  David S. Miller  <davem@davemloft.net>
49687         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49688         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49689         of strtoull.
49691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49692         ifunc-impl-list.c
49693         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49694         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49695         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49696         file.
49698 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49700         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49701         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49702         __getdirentries.
49704 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49705             Jim Blandy  <jimb@codesourcery.com>
49707         * scripts/cross-test-ssh.sh: New file.
49708         * manual/install.texi (Configuring and compiling): Document use of
49709         cross-test-ssh.sh.
49710         * INSTALL: Regenerated.
49712 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49714         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49715         EOPNOTSUPP.
49717 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49719         * Makeconfig (run-program-prefix): Fix comment.
49721 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49722             Jim Blandy  <jimb@codesourcery.com>
49724         * Makeconfig (test-wrapper): New variable,
49725         (test-wrapper-env): Likewise.
49726         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49727         (run-built-tests): Define to yes.
49728         (run-program-prefix): Use $(test-wrapper).
49729         (built-program-cmd): Likewise.
49730         * Rules (make-test-out): Use $(test-wrapper-env) and
49731         $(host-built-program-cmd).
49732         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49733         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49734         tst-pathopt.sh.
49735         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49736         $(test-wrapper-env) to tst-rtld-load-self.sh.
49737         ($(objpfx)order2.out): Use $(test-wrapper).
49738         ($(objpfx)tst-initorder.out): Likewise.
49739         ($(objpfx)tst-initorder2.out): Likewise.
49740         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49741         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49742         (test_wrapper_env): New variable.  Use it to run ld.so.
49743         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49744         Use it to run ld.so.
49745         (test_wrapper_env): Likewise.
49746         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49747         $(test-wrapper) to run-iconv-test.sh.
49748         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49749         (ICONV): Use $test_wrapper.
49750         * posix/Makefile ($(objpfx)globtest.out): Pass
49751         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49752         globtest.sh, not $(run-program-prefix).
49753         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49754         (test_wrapper): Likewise.
49755         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49756         set together with run_via_rtld_prefix.
49757         (run_program_prefix): Define in terms of test_wrapper and
49758         run_via_rtld_prefix.
49760 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49762         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49763         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49764         Targets removed.
49766         [BZ #14743]
49767         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49768         Declare __clock_getres, __clock_gettime, __clock_settime,
49769         __clock_nanosleep, and __clock_getcpuclockid.
49770         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49771         Remove librt_hidden_def (clock_gettime).
49772         * sysdeps/unix/clock_gettime.c: Likewise.
49773         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49774         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49775         * rt/clock_getres.c: Define __clock_getres as an alias.
49776         * sysdeps/posix/clock_getres.c: Likewise.
49777         * rt/clock_settime.c: Define __clock_settime as an alias.
49778         * sysdeps/unix/clock_settime.c: Likewise.
49779         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49780         * sysdeps/unix/clock_nanosleep.c: Likewise.
49781         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49782         * rt/clock-compat.c: New file.
49783         * rt/Makefile (librt-routines): Add clock-compat and move
49784         $(clock-routines) to ...
49785         (routines): ... here, new variable.
49786         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49787         Don't add get_clockfreq here.
49788         * rt/Versions (libc: GLIBC_2.17): New version set.
49789         Add clock_* symbols here.
49790         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49791         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49792         (GLIBC_2.17): Add clock_* symbols.
49793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49797         Likewise.
49798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49799         Likewise.
49800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49804         * NEWS: Mention the move.
49806         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49807         Use __open, __read, __close rather than their public counterparts.
49808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49809         (__get_clockfreq_via_cpuinfo): Likewise.
49810         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49811         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49813         * config.h.in (HAVE_IFUNC): New #undef.
49814         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49815         was successful.
49816         * configure: Regenerated.
49818 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49820         * configure.in: Move READELF check to start of file.
49821         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49822         libc_cv_asm_gnu_indirect_function in the process.
49823         * configure: Regenerated.
49825 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49827         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49828         send the output to /dev/null.
49829         (libc_cv_cc_with_libunwind): Likewise.
49830         (libc_cv_as_noexecstack): Likewise.
49831         * configure: Regenerate.
49833 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49835         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49837         * posix/globtest.sh (TMPDIR): Do not set.
49838         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49839         (testout): Likewise.
49841 2012-10-24  Andreas Jaeger  <aj@suse.de>
49843         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49844         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49845         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49846         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49847         posix_fadvise64, posix_fallocate64.
49849         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49850         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49851         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49852         Likewise.
49853         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49854         Likewise.
49855         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49858         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49859         <bits/fcntl-linux.h>.
49860         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49863         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49864         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49865         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49866         [__WORDSIZE != 64]: Likewise.
49868 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49870         * Makeconfig (run-built-tests): New variable.
49871         * Rules [$(cross-compiling) = yes]: Change condition to
49872         [$(run-built-tests) = no].
49873         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49874         to [$(run-built-tests) = yes].
49875         * elf/Makefile [$(cross-compiling) = no]: Likewise
49876         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49877         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49878         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49879         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49880         * io/Makefile [$(cross-compiling) = no]: Likewise.
49881         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49882         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49883         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49884         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49885         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49886         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49887         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49888         * string/Makefile [$(cross-compiling) = no]: Likewise.
49890         * posix/Makefile ($(objpfx)globtest.out): Pass
49891         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49892         $(rtld-installed-name).
49893         * posix/globtest.sh (elf_objpfx): Remove variable.
49894         (rtld_installed_name): Likewise.
49895         (library_path): Likewise.
49896         (run_program_prefix): New variable.  Use for running globtest
49897         binary.
49899 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49900             Joseph Myers  <joseph@codesourcery.com>
49902         * Makeconfig (host-built-program-cmd): New variable.
49903         * elf/Makefile (tst-stackguard1-ARGS): Use
49904         $(host-built-program-cmd).
49905         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49906         (tst-spawn-ARGS): Likewise.
49907         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49909 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49910             Jim Blandy  <jimb@codesourcery.com>
49912         * Makeconfig (run-via-rtld-prefix): New variable.
49913         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49914         (built-program-cmd): Likewise.
49916 2012-10-22  Andreas Jaeger  <aj@suse.de>
49918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49919         __O_RSYNC if it exists, otherwise to O_SYNC.
49921 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49922             Joseph Myers  <joseph@codesourcery.com>
49924         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49925         /dev/null.
49926         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49927         from /dev/null
49928         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49929         /dev/null.
49931 2012-10-22  Andreas Jaeger  <aj@suse.de>
49933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49934         Define always.
49935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49938         bits/fcntl-linux.h.
49940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49941         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49943         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49944         to __O_LARGEFILE.
49945         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49946         to __O_LARGEFILE.
49948 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49949             Joseph Myers  <joseph@codesourcery.com>
49951         * config.make.in (NM): New variable.
49953 2012-10-21  Andreas Jaeger  <aj@suse.de>
49955         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49956         definitions and declarations that are provided by
49957         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49959 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49961         [BZ #14683]
49962         * elf/Makefile (tests-static): Add tst-leaks1-static.
49963         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49964         ($(objpfx)tst-leaks1-static): New rule.
49965         ($(objpfx)tst-leaks1-static-mem): Likewise.
49966         (tst-leaks1-static-ENV): New macro.
49967         * elf/dl-open.c (dl_open_worker): Check the main application
49968         only if SHARED is defined.
49969         * elf/tst-leaks1-static.c: New file.
49971 2012-10-20  Andreas Jaeger  <aj@suse.de>
49973         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49974         generic values for Linux.
49975         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49976         and declarations that are provided by <bits/fcntl-linux.h> and
49977         include <bits/fcntl-linux.h>.
49978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49979         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49981 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49983         * io/fcntl.h: Move include of <bits/types.h> to the top and
49984         include it unconditionally.
49986 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49988         * wcsmbs/Makefile (tests-ifunc): New variable.
49989         (tests): Add $(tests-ifunc).
49990         * wcsmbs/test-wcschr-ifunc.c: New file.
49991         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49992         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49993         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49994         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49995         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49997         * string/Makefile (tests-ifunc): New variable.
49998         (tests): Add $(tests-ifunc).
49999         * string/test-memccpy.c (TEST_NAME): New macro.
50000         * string/test-memchr.c (TEST_NAME): Likewise.
50001         * string/test-memcmp.c (TEST_NAME): Likewise.
50002         * string/test-memcpy.c (TEST_NAME): Likewise.
50003         * string/test-memmem.c (TEST_NAME): Likewise.
50004         * string/test-memmove.c (TEST_NAME): Likewise.
50005         * string/test-memset.c (TEST_NAME): Likewise.
50006         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50007         * string/test-stpcpy.c (TEST_NAME): Likewise.
50008         * string/test-stpncpy.c (TEST_NAME): Likewise.
50009         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50010         * string/test-strcasestr.c (TEST_NAME): Likewise.
50011         * string/test-strcat.c (TEST_NAME): Likewise.
50012         * string/test-strchr.c (TEST_NAME): Likewise.
50013         * string/test-strcmp.c(TEST_NAME): Likewise.
50014         * string/test-strcpy.c (TEST_NAME): Likewise.
50015         * string/test-strcspn.c (TEST_NAME): Likewise.
50016         * string/test-strlen.c (TEST_NAME): Likewise.
50017         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50018         * string/test-strncmp.c (TEST_NAME): Likewise.
50019         * string/test-strncpy.c (TEST_NAME): Likewise.
50020         * string/test-strnlen.c (TEST_NAME): Likewise.
50021         * string/test-strpbrk.c (TEST_NAME): Likewise.
50022         * string/test-strrchr.c (TEST_NAME): Likewise.
50023         * string/test-strspn.c (TEST_NAME): Likewise.
50024         * string/test-strstr.c (TEST_NAME): Likewise.
50025         * string/test-bcopy-ifunc.c: New file.
50026         * string/test-bzero-ifunc.c: Likewise.
50027         * string/test-memccpy-ifunc.c: Likewise.
50028         * string/test-memchr-ifunc.c: Likewise.
50029         * string/test-memcmp-ifunc.c: Likewise.
50030         * string/test-memcpy-ifunc.c: Likewise.
50031         * string/test-memmem-ifunc.c: Likewise.
50032         * string/test-memmove-ifunc.c: Likewise.
50033         * string/test-mempcpy-ifunc.c: Likewise.
50034         * string/test-memset-ifunc.c: Likewise.
50035         * string/test-rawmemchr-ifunc.c: Likewise.
50036         * string/test-stpcpy-ifunc.c: Likewise.
50037         * string/test-stpncpy-ifunc.c: Likewise.
50038         * string/test-strcasecmp-ifunc.c: Likewise.
50039         * string/test-strcasestr-ifunc.c: Likewise.
50040         * string/test-strcat-ifunc.c: Likewise.
50041         * string/test-strchr-ifunc.c: Likewise.
50042         * string/test-strchrnul-ifunc.c: Likewise.
50043         * string/test-strcmp-ifunc.c: Likewise.
50044         * string/test-strcpy-ifunc.c: Likewise.
50045         * string/test-strcspn-ifunc.c: Likewise.
50046         * string/test-strlen-ifunc.c: Likewise.
50047         * string/test-strncasecmp-ifunc.c: Likewise.
50048         * string/test-strncat-ifunc.c: Likewise.
50049         * string/test-strncmp-ifunc.c: Likewise.
50050         * string/test-strncpy-ifunc.c: Likewise.
50051         * string/test-strnlen-ifunc.c: Likewise.
50052         * string/test-strpbrk-ifunc.c: Likewise.
50053         * string/test-strrchr-ifunc.c: Likewise.
50054         * string/test-strspn-ifunc.c: Likewise.
50055         * string/test-strstr-ifunc.c: Likewise.
50057         * debug/Makefile (tests-ifunc): New variable.
50058         (tests): Add $(tests-ifunc).
50059         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50060         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50061         * debug/test-stpcpy_chk-ifunc.c: New file.
50062         * debug/test-strcpy_chk-ifunc.c: Likewise.
50064 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50066         [BZ #13601]
50067         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50068         header is not read in.
50070 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50072         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50073         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50074         directly.  Pass built executable to script as
50075         $(built-program-cmd).
50076         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50077         $testprogram without using LD_LIBRARY_PATH and $ldso.
50079         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50080         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50081         $(rtld-installed-name).
50082         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50083         (rtld_installed_name): Likewise.
50084         (library_path): Likewise.
50085         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50086         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50087         $(run-program-prefix) to tst-tables.sh.
50088         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50089         it to run tst-table-from and tst-table-to.
50090         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50091         Pass it to tst-table.sh.
50092         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50093         $(run-program-prefix) to tst-gettext.sh.
50094         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50095         tst-translit.sh.
50096         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50097         tst-gettext2.sh.
50098         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50099         to run tst-gettext.
50100         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50101         to run tst-gettext2.
50102         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50103         to run tst-translit.
50104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50105         $(run-program-prefix) to tst-mtrace.sh.
50106         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50107         to run tst-mtrace.
50108         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50109         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50110         $(rtld-installed-name).
50111         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50112         (rtld_installed_name): Likewise.
50113         (run_program_prefix): New variable.  Use it to run wordexp-test.
50115         * Makeconfig (ARCH): Remove all definitions.
50116         (machine): Likewise.
50117         [ARCH]: Remove conditional code.
50118         [!objdir]: Give error.
50119         [!objdir] (objpfx): Remove.
50120         [!objdir] (common-objpfx): Likewise.
50121         [!objdir] (common-objdir): Likewise.
50122         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50123         AC_CONFIG_FILES call.
50124         * configure: Regenerated.
50126         [BZ #13888]
50127         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50128         or TMPDIR.
50129         (testout): Likewise.
50131         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50132         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50133         $(rtld-installed-name).
50134         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50135         (rtld_installed_name): Likwise.
50136         (runit): Remove function.
50137         (run_getconf): New variable,  Use it for running getconf binary.
50139 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50141         [BZ #14716]
50142         * string/test-memmem.c (check_result): New function.
50143         (do_one_test): Use it.
50144         (check1): New function.
50145         (test_main): Use it.
50147 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50149         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50151 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50153         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50154         (_G_LSEEK64): Likewise.
50155         (_G_MMAP64): Likewise.
50156         (_G_FSTAT64): Likewise.
50157         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50158         (_G_LSEEK64): Likewise.
50159         (_G_MMAP64): Likewise.
50160         (_G_FSTAT64): Likewise.
50161         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50162         unconditional.  Call __mmap64 directly.
50163         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50164         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50165         __lseek64 directly.
50166         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50167         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50168         __mmap64 directly.
50169         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50170         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50171         __lseek64 directly.
50172         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50173         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50174         __lseek64 directly.
50175         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50176         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50177         __lseek64 directly.
50178         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50179         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50180         __fxstat64 directly.
50181         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50182         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50183         unconditional.
50184         (freopen64) [!_G_OPEN64]: Remove conditional code.
50185         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50186         unconditional.
50187         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50188         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50189         unconditional.
50190         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50191         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50192         unconditional.
50193         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50194         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50195         unconditional.
50196         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50197         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50198         unconditional.
50199         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50200         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50201         unconditional.
50202         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50203         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50204         unconditional.
50205         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50207 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50209         [BZ #12140]
50210         * manual/memory.texi (Malloc Tunable Parameters): Add note
50211         about free list pointers overwriting some perturb bytes.
50212         Wording suggested by Roland McGrath.
50214 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50216         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50217         (lgamma_test): Likewise.
50218         (tgamma_test): Likewise.
50220 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50222         [BZ #14700]
50223         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50224         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50226 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50228         * NEWS: Mention BZ #14716.
50229         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50230         when removing AVAILABLE1_USES_J macro.
50232 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50234         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50235         (__bswap_64): __uint64_t for unsigned 64-bit int.
50237 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50239         * include/string.h (memmem): Declare libc hidden alias.
50240         * string/memmem.c (memmem): Define libc hidden alias.
50241         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50242         __read, __close instead of open, read, close.
50244 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50247         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50248         global and hidden.
50249         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50250         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50251         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50252         Likewise.
50253         (__rawmemchr_sse2): Likewise.
50254         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50255         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50256         (__strchr_sse2): Likewise.
50257         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50258         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50259         (__strcasecmp_sse2): Likewise.
50260         (__strncasecmp_sse2): Likewise.
50261         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50262         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50263         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50264         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50265         (__strrchr_sse2): Likewise.
50266         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50267         ifunc-impl-list.c.
50268         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50269         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50270         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50271         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50272         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50273         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50274         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50275         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50276         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50277         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50278         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50279         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50280         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50281         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50282         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50283         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50284         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50285         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50286         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50287         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50288         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50289         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50290         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50291         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50292         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50293         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50294         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50295         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50296         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50297         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50299         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50300         global and hidden.
50301         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50302         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50303         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50304         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50305         Likewise.
50306         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50307         Likewise.
50308         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50309         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50310         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50311         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50312         ifunc-impl-list.c.
50313         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50314         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50315         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50316         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50317         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50319         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50320         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50321         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50322         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50323         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50324         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50326         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50327         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50328         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50329         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50330         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50331         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50332         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50333         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50334         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50335         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50336         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50338         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50339         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50340         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50341         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50342         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50343         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50344         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50346         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50347         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50348         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50349         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50350         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50351         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50352         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50353         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50355         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50356         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50357         * include/ifunc-impl-list.h: New file.
50358         * misc/ifunc-impl-list.c: Likewise.
50359         * misc/Makefile (routines): Add ifunc-impl-list.
50360         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50361         * string/test-string.h: Include <ifunc-impl-list.h>.
50362         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50363         TEST_NAME]: New variables.
50364         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50365         are defined.
50366         (test_init): Call __libc_ifunc_impl_list to initialize
50367         func_list if TEST_IFUNC and TEST_NAME are defined.
50369         * string/Makefile (strop-tests): Add bcopy and bzero.
50370         * string/test-bcopy.c: New file.
50371         * string/test-bzero.c: Likewise.
50372         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50373         defined.
50374         * string/test-memset.c: Support bzero test if TEST_BZERO is
50375         defined.
50376         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50377         __libc_memmove.
50378         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50379         __libc_memset.
50380         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50381         of memset.
50383 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50385         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50386         * configure: Regenerated.
50388         * Makeconfig (+link-static-before-libc): Don't include
50389         $(link-static-libc).
50391         * libio/libio.h (_IO_pos_t): Remove.
50393 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50395         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50396         McGrath.
50398 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50400         * crypt/crypt-entry.c: Include fips-private.h.
50401         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50402         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50403         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50404         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50406 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50408         * crypt/crypt-private.h: Include stdbool.h.
50409         (_ufc_setup_salt_r): Return bool.
50410         * crypt/crypt-entry.c: Include errno.h.
50411         (__crypt_r): Return NULL with EINVAL for bad salt.
50412         * crypt/crypt_util.c (bad_for_salt): New.
50413         (_ufc_setup_salt_r): Check that salt is long enough and within
50414         the specified alphabet.
50415         * crypt/badsalttest.c: New file.
50416         * crypt/Makefile (tests): Add it.
50417         ($(objpfx)badsalttest): New.
50419 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50421         * NEWS: Add entry for BZ #14602.
50423 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50425         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50426         type-generic.
50427         * math/libm-test.inc: Update comment listing what functions and
50428         macros are tested.
50429         (isgreater_test): New function.
50430         (isgreaterequal_test): Likewise.
50431         (isless_test): Likewise.
50432         (islessequal_test): Likewise.
50433         (islessgreater_test): Likewise.
50434         (isunordered_test): Likewise.
50435         (main): Call the new functions.
50437 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50439         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50440         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50441         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50442         * sysdeps/i386/configure: Regenerated.
50443         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50444         * sysdeps/mach/configure: Regenerated.
50445         * sysdeps/mach/hurd/configure: Regenerated.
50446         * sysdeps/powerpc/configure: Regenerated.
50447         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50448         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50449         * sysdeps/s390/s390-32/configure: Regenerated.
50450         * sysdeps/s390/s390-64/configure: Regenerated.
50451         * sysdeps/sh/configure: Regenerated.
50452         * sysdeps/sparc/configure: Regenerated.
50453         * sysdeps/unix/sysv/linux/configure: Regenerated.
50454         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50455         * sysdeps/x86_64/configure: Regenerated.
50457         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50458         defined.  Don't check if MAP is NULL.
50460 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50462         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50463         (_G_stat64): Likewise.
50464         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50465         (_G_stat64): Likewise.
50466         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50467         instead of struct _G_stat64.
50468         * libio/fileops.c (mmap_remap_check): Likewise.
50469         (decide_maybe_mmap): Likewise.
50470         (_IO_new_file_seekoff): Likewise.
50471         (_IO_file_stat): Likewise.
50472         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50473         _G_off64_t.
50474         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50475         instead of struct _G_stat64.
50476         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50478 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50480         [BZ #14602]
50481         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50482         Replace with ...
50483         (CHECK_EOL): New macro.
50484         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50485         CHECK_EOL.
50486         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50487         Replace with CHECK_EOL.
50488         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50489         Replace with CHECK_EOL.
50491 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50493         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50494         type-generic.
50495         * math/libm-test.inc: Update comment listing what functions and
50496         macros are tested.
50497         (finite_test): New function.
50498         (isinf_test): Likewise.
50499         (isnan_test): Likewise.
50500         (fpclassify_test): Test subnormal input.
50501         (isfinite_test): Likewise.
50502         (isnormal_test): Likewise.
50503         (main): Call the new functions.
50505 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50507         [BZ #14660]
50508         * Makerules (%.dynsym): Force C locale when running
50509         $(OBJDUMP) --dynamic-syms.
50511 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50513         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50514         <stdint.h>.
50516 2012-10-06  David S. Miller  <davem@davemloft.net>
50518         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50519         upper 32-bits of the length value in %o2 since we use branch-on-register
50520         tests which consider the entire 64-bit register.
50522 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50524         * string/test-strstr.c (check2): Add a test for page boundary.
50526 2012-10-05  David S. Miller  <davem@davemloft.net>
50528         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50529         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50530         file.
50531         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50532         sysdep_routines.
50533         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50534         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50535         and bzero when HWCAP_SPARC_CRYPTO is present.
50537 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50539         [BZ #14602]
50540         * string/test-strstr.c (check2): New function.
50541         (test_main): Call check2.
50543         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50544         and bug-strchr1.
50545         * string/bug-strcasestr1.c (do_test): Moved to ...
50546         * string/test-strcasestr.c (check1): Here.  New function.
50547         (do_one_test): Break out result checking code into ...
50548         (check_result): This.  New function.
50549         (do_one_test): Call check_result.
50550         (test_main): Call check1.
50551         * string/bug-strchr1.c (do_test): Moved to ...
50552         * string/test-strchr.c (check1): Here.  New function.
50553         (do_one_test): Break out result checking code into ...
50554         (check_result): This.  New function.
50555         (do_one_test): Call check_result.
50556         (test_main): Call check1.
50557         * string/bug-strstr1.c (main): Moved to ...
50558         * string/test-strstr.c (check1): Here.  New function.
50559         (do_one_test): Break out result checking code into ...
50560         (check_result): This.  New function.
50561         (do_one_test): Call check_result.
50562         (test_main): Call check1.
50563         * string/bug-strcasestr1.c: Removed.
50564         * string/bug-strchr1.c: Likewise.
50565         * string/bug-strstr1.c: Likewise.
50567         * elf/Makefile (dl-routines): Add hwcaps.
50568         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50569         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50570         (_dl_important_hwcaps): Moved to ...
50571         * elf/dl-hwcaps.c: Here.  New file.
50572         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50574         [BZ #14557]
50575         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50576         if IS_IN_rtld isn't defined.
50578         * elf/dl-support.c (_dl_sysinfo_map): New.
50579         Include "get-dynamic-info.h" and "setup-vdso.h".
50580         (_dl_non_dynamic_init): Call setup_vdso.
50581         * elf/dynamic-link.h: Don't include <assert.h>.
50582         (elf_get_dynamic_info): Moved to ...
50583         * elf/get-dynamic-info.h: Here.  New file.
50584         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50585         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50586         * elf/setup-vdso.h: Here.  New file.
50587         * elf/rtld.c: Include "setup-vdso.h".
50588         (dl_main): Call setup_vdso.
50590 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50592         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50593         creal in comment listing functions tested.  List finite, isinf,
50594         isnan, isless, islessequal, isgreater, isgreaterequal,
50595         islessgreater, isunordered, lgamma_r and pow10 as functions and
50596         macros not tested.  Mention which functions not tested are aliases
50597         for other functions.  Fix typo.  Note that signs of NaNs are not
50598         tested.
50600         * scripts/config.guess: Update from config.git.
50601         * scripts/config.sub: Likewise.
50603 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50605         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50606         * misc/madvise.c (madvise): Renamed to __madvise.
50607         Make madvise a weak alias.
50608         * include/sys/mman.h: Declare __madvise.
50609         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50610         * sysdeps/unix/syscalls.list
50611         (madvise): Make __madvise the strong name, and madvise a weak alias.
50612         * sysdeps/unix/sysv/linux/syscalls.list
50613         (madvise, mmap): Remove redundant entries.
50614         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50615         * malloc/malloc.c (mtrim): Likewise.
50616         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50618 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50620         * sysdeps/mach/hurd/dl-cache.c: File removed.
50621         * config.h.in (USE_LDCONFIG): New #undef.
50622         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50623         * configure: Regenerated.
50624         * elf/Makefile (dl-routines): Add dl-cache only under
50625         [$(use-ldconfig) = yes].
50626         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50627         cache on [USE_LDCONFIG].
50628         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50629         [USE_LDCONFIG].
50630         * elf/rtld.c (dl_main): Likewise.
50632 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50634         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50635         _SC_LEVEL4_CACHE_LINESIZE.
50637 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50639         * sysdeps/unix/bsd/confstr.h: File removed.
50641 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50643         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50644         sys/sdt-config.h.
50646 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50648         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50649         Make 'mapoff' field ElfW(Off) rather than off_t.
50651 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50653         * nscd/Makefile: Remove nscd-cflags and all its users.
50654         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50655         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50657         [BZ #10631]
50658         * malloc.c (malloc_printerr): Clarify error message.
50660 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50662         [BZ #14648]
50663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50664         Set bit_FMA_Usable if FMA is supported.
50665         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50666         macro.
50667         (bit_FMA4_Usable): Updated.
50668         (index_FMA_Usable): New macro.
50669         (CPUID_FMA): Likewise
50670         (HAS_FMA): Defined with bit_FMA_Usable.
50672 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50674         * bits/types.h (__swblk_t): Type removed.
50675         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50676         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50678         (__SWBLK_T_TYPE): Likewise.
50679         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50680         (__SWBLK_T_TYPE): Likewise.
50681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50682         (__SWBLK_T_TYPE): Likewise.
50683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50684         (__SWBLK_T_TYPE): Likewise.
50686 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50687             Honza Horak <hhorak@redhat.com>
50689         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50690         (xdr_mapname): Use YPMAXMAP as maxsize.
50691         (xdr_peername): Use YPMAXPEER as maxsize.
50692         (xdr_keydat): Use YPAXRECORD as maxsize.
50693         (xdr_valdat): Use YPMAXRECORD as maxsize.
50695 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50697         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50699         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50700         * csu/init-first.c: ... here.
50701         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50702         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50703         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50704         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50705         * sysdeps/i386/init-first.c: File removed.
50706         * sysdeps/sh/init-first.c: File removed.
50708 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50710         [BZ #14645]
50711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50712         if x * y might underflow to zero and z is zero.
50713         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50715         * math/libm-test.inc (min_subnorm_value): New variable.
50716         (fma_test): Add more tests.
50717         (fma_test_towardzero): Likewise.
50718         (fma_test_downward): Likewise
50719         (fma_test_upward): Likewise.
50720         (initialize): Set min_subnorm_value.
50722 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50724         [BZ #14638]
50725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50726         0 + 0.
50727         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50728         mode for addition resulting in exact zero.
50729         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50731         exact 0 + 0.
50732         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50734         * math/libm-test.inc (fma_test): Add more tests.
50735         (fma_test_towardzero): New function.
50736         (fma_test_downward): Likewise.
50737         (fma_test_upward): Likewise.
50738         (main): Call the new functions.
50740 2012-09-28  David S. Miller  <davem@davemloft.net>
50742         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50744 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50746         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50747         instead of SIGALRM.
50749         * sysdeps/gnu/_G_config.h: Moved to ...
50750         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50751         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50752         * sysdeps/generic/_G_config.h: ... here.
50754         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50756         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50758         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50759         Conditionalize target on [libnss_test1.so-version].
50761         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50763         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50764         (elfobjdir): Move out of conditionals.
50766         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50767         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50768         (__nss_lookup_function): Conditionalize label remove_from_tree on
50769         [!DO_STATIC_NSS || SHARED], matching its only use.
50771 2012-09-28  David S. Miller  <davem@davemloft.net>
50773         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50774         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50775         file.
50776         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50777         sysdep_routines.
50778         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50779         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50780         when HWCAP_SPARC_CRYPTO is present.
50782 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50784         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50786 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50788         [BZ #6530]
50789         * stdio-common/vfprintf.c (process_string_arg): Revert
50790         2000-07-22 change.
50792 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50794         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50795         for testcase.
50796         * stdio-common/tst-sprintf.c: Include <locale.h>
50797         (main): Test sprintf's handling of incomplete multibyte
50798         characters.
50800 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50802         * elf/dl-runtime.c (VERSYMIDX): Removed.
50803         * elf/dl-version.c (VERSYMIDX): Likewise.
50804         * elf/do-rel.h (VERSYMIDX): Likewise.
50805         (VALIDX): Likewise.
50806         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50807         * elf/rtld.c (VALIDX): Likewise.
50808         (ADDRIDX): Likewise.
50809         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50810         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50811         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50812         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50813         (VALIDX): Likewise.
50814         (ADDRIDX): Likewise.
50816 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50818         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50820 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50822         [BZ #11438]
50823         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50824         to global scope.
50825         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50826         addresses are in the same scope as 192.0.2/24.
50827         * posix/gai.conf: Document new scope table defaults.
50829 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50831         [BZ #5298]
50832         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50833         for ftell.  Compute offsets from write pointers instead.
50834         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50836 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50838         [BZ #14543]
50839         * libio/Makefile (tests): New test case tst-fseek.
50840         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50841         combination works in wide mode.
50842         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50843         state when the external buffer state changes.
50845 2012-09-27  David S. Miller  <davem@davemloft.net>
50847         [BZ #14376]
50848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50849         pass reloc->r_addend in as the 'high' argument to
50850         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50854 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50856         * rt/tst-aio2.c: Include <pthread.h>.
50857         * rt/tst-aio3.c: Likewise.
50859 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50861         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50863 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50865         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50866         contents on [SHARED].
50868 2012-09-26  Marek Polacek  <polacek@redhat.com>
50870         [BZ #14530]
50871         [BZ #13741]
50872         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50873         for C++ and GCC <4.3 as well as for non GCC compilers.
50875 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50879 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50881         * Makefile.in (all, install): Declare with .PHONY.
50882         Reported by Michael Hope <michael.hope@linaro.org>.
50884 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50886         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50887         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50888         system header.
50889         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50890         Likewise.
50891         (sydep_routines): Add the new and the internal functions.
50892         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50893         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50895         (GLIBC_2.17): Add the new function.
50896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50897         (GLIBC_2.17): Likewise.
50898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50899         (GLIBC_2.17): Likewise.
50900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50901         (GLIBC_2.17): Likewise.
50902         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50904 2012-09-25  Alan Modra  <amodra@gmail.com>
50906         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50907         Add release barrier before setting once_control to say
50908         initialisation is done.  Add hints on lwarx.  Use macro in
50909         place of isync.
50910         (clear_once_control): Add release barrier.
50912 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50914         [BZ #13629]
50915         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50916         specially.
50917         * math/s_clog10.c (__clog10): Likewise.
50918         * math/s_clog10f.c (__clog10f): Likewise.
50919         * math/s_clog10l.c (__clog10l): Likewise.
50920         * math/s_clogf.c (__clogf): Likewise.
50921         * math/s_clogl.c (__clogl): Likewise.
50922         * math/Makefile (libm-calls): Add x2y2m1.
50923         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50924         (__x2y2m1): Likewise.
50925         (__x2y2m1l): Likewise.
50926         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50927         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50928         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50929         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50930         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50931         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50932         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50933         * sysdeps/i386/fpu/libm-test-ulps: Update.
50934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50936         [BZ #14621]
50937         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50938         int as type of variable DEPTH.
50939         (glob): Use size_t instead of int as type of variables NEWCOUNT
50940         and OLD_PATHC.
50942 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50944         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50945         Add s_sincosf-sse2.
50946         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50947         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50948         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50949         macros for using routine as __sincosf_ia32.
50950         Use macro for function declaration and weak_alias.
50951         * sysdeps/i386/fpu/libm-test-ulps: Update.
50953         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50956         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50957         subnormal argument.
50958         * math/s_cexpf.c (__cexpf): Likewise.
50959         * math/s_csinf.c (__csinf): Likewise.
50960         * math/s_csinhf.c (__csinhf): Likewise.
50961         * math/s_ctanf.c (__ctanf): Likewise.
50962         * math/s_ctanhf.c (__ctanhf): Likewise.
50963         * math/s_ccosh.c (__ccoshf): Likewise.
50964         * math/s_cexp.c (__cexpl): Likewise.
50965         * math/s_csin.c (__csin): Likewise.
50966         * math/s_csinh.c (__csinh): Likewise.
50967         * math/s_ctan.c (__ctan): Likewise.
50968         * math/s_ctanh.c (ctanh): Likewise.
50969         * math/s_ccoshl.c (__ccoshl): Likewise.
50970         * math/s_cexpl.c (__cexpl): Likewise.
50971         * math/s_csinl.c (__csinl): Likewise.
50972         * math/s_csinhl.c (__csinhl): Likewise.
50973         * math/s_ctanl.c (__ctanl): Likewise.
50974         * math/s_ctanhl.c (__ctanhl): Likewise.
50976 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50978         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50979         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50980         (_IO_off_t): Define to __off_t, not _G_off_t.
50981         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50982         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50983         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50984         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50985         type of __dummy and __dummy2 fields.
50986         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50987         (_G_ssize_t): Likewise.
50988         (_G_off_t): Likewise.
50989         (_G_pid_t): Likewise.
50990         (_G_uid_t): Likewise.
50991         (_G_wchar_t): Likewise.
50992         (_G_wint_t): Likewise.
50993         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50994         (_G_ssize_t): Likewise.
50995         (_G_off_t): Likewise.
50996         (_G_pid_t): Likewise.
50997         (_G_uid_t): Likewise.
50998         (_G_wchar_t): Likewise.
50999         (_G_wint_t): Likewise.
51000         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51001         (_G_ssize_t): Likewise.
51002         (_G_off_t): Likewise.
51003         (_G_pid_t): Likewise.
51004         (_G_uid_t): Likewise.
51005         (_G_wchar_t): Likewise.
51006         (_G_wint_t): Likewise.
51008 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51010         * malloc/arena.c: Include malloc-sysdep.h.
51011         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51012         is sufficient to shrink the heap or an unmap is needed.
51013         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51014         new function check_may_shrink_heap.
51015         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51016         new function check_may_shrink_heap.
51018 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51020         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51021         comments.
51023 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51025         * catgets/test-gencat.sh: Add "set -e".
51026         * elf/tst-pathopt.sh: Likewise.
51027         * grp/tst_fgetgrent.sh: Likewise.
51028         * iconvdata/run-iconv-test.sh: Likewise.
51029         * intl/tst-gettext.sh: Likewise.
51030         * intl/tst-gettext2.sh: Likewise.
51031         * intl/tst-gettext4.sh: Likewise.
51032         * intl/tst-gettext6.sh: Likewise.
51033         * intl/tst-translit.sh: Likewise.
51034         * io/ftwtest-sh: Likewise.
51035         * libio/test-freopen.sh: Likewise.
51036         * malloc/tst-mtrace.sh: Likewise.
51037         * posix/globtest.sh: Likewise.
51038         * posix/tst-getconf.sh: Likewise.
51039         * posix/wordexp-tst.sh: Likewise.
51040         * stdio-common/tst-printf.sh: Likewise.
51041         * stdio-common/tst-unbputc.sh: Likewise.
51042         * stdlib/tst-fmtmsg.sh: Likewise.
51043         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51044         * catgets/Makefile: Do not specify -e option when running
51045         testsuite shell scripts.
51046         * elf/Makefile: Likewise.
51047         * grp/Makefile: Likewise.
51048         * iconvdata/Makefile: Likewise.
51049         * intl/Makefile: Likewise.
51050         * io/Makefile: Likewise.
51051         * libio/Makefile: Likewise.
51052         * malloc/Makefile: Likewise.
51053         * posix/Makefile: Likewise.
51054         * stdio-common/Makefile: Likewise.
51055         * stdlib/Makefile: Likewise.
51056         * sysdeps/x86_64/Makefile: Likewise.
51058         * io/ftwtest-sh: Add copyright header.
51059         * posix/globtest.sh: Likewise.
51060         * posix/tst-getconf.sh: Likewise.
51061         * posix/wordexp-tst.sh: Likewise.
51062         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51064 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51066         [BZ #13679]
51067         * Makeconfig (+link): Defined as $(+link-static) if
51068         $(build-shared) isn't yes.
51069         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51070         isn't yes.
51071         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51073         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51075         [BZ #14562]
51076         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51077         new chunk size with MALLOC_ALIGN_MASK.
51079 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51081         [BZ #5044]
51082         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51083         <rounding-mode.h>.
51084         (__printf_fphex): Determine rounding using get_rounding_mode and
51085         round_away.
51086         * stdio-common/tst-printf-round.c (struct hex_test): New
51087         structure.
51088         (hex_tests): New variable.
51089         (test_hex_in_one_mode): New function.
51090         (do_test): Also run tests for hex float output.
51092 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51094         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51095         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51096         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51097         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51098         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51099         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51100         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51101         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51103 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51105         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51106         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51107         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51108         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51110 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51112         [BZ #14579]
51113         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51114         mode only.
51115         * elf/tst-rtld-load-self.sh: New test.
51116         * elf/Makefile: Run it.
51118 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51120         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51121         (tst-writev-ENV): Remove.
51122         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51124 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51126         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51128 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51130         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51131         unconditional.
51132         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51133         Likewise.
51134         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51135         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51136         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51137         Likewise.
51139 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51141         [BZ #14587]
51142         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51143         * config.make.in (have-cpp-asm-debuginfo): Removed.
51144         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51145         * configure: Regenerated.
51147 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51149         [BZ #5044]
51150         * stdio-common/printf_fp.c: Include <stdbool.h> and
51151         <rounding-mode.h>.
51152         (___printf_fp): Determine rounding using get_rounding_mode and
51153         round_away.
51154         * stdio-common/tst-printf-round.c: New file.
51155         * stdio-common/Makefile (tests): Add tst-printf-round.
51156         (link-libm): New variable.
51157         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51159 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51161         [BZ #14576]
51162         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51163         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51164         Likewise.
51165         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51166         Likewise.
51168 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51170         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51171         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51172         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51173         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51175 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51177         [BZ #14518]
51178         * include/rounding-mode.h: New file.
51179         * sysdeps/generic/get-rounding-mode.h: Likewise.
51180         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51181         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51182         (MAX_VALUE): New macro.
51183         (MIN_VALUE): Likewise.
51184         (overflow_value): New function.
51185         (underflow_value): Likewise.
51186         (round_and_return): Use overflow_value and underflow_value to
51187         determine return values in overflow and underflow cases.  Use
51188         round_away to determine rounding depending on rounding mode.
51189         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51190         determine return values in overflow and underflow cases.
51191         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51192         (struct test_results): New structure.
51193         (struct test): Use struct test_results to store expected results
51194         for all rounding modes.
51195         (TEST): Include expected results for all rounding modes.
51196         (test_in_one_mode): New function.
51197         (do_test): Use test_in_one_mode to compute and check results.
51198         Check results for all rounding modes.
51199         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51200         $(link-libm).
51202 2012-12-09  Allan McRae  <allan@archlinux.org>
51204         * sysdeps/i386/fpu/libm-test-ulps: Update
51206 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51208         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51209         (_G_int32_t): Likewise.
51210         (_G_uint16_t): Likewise.
51211         (_G_uint32_t): Likewise.
51212         (_G_HAVE_BOOL): Likewise.
51213         (_G_HAVE_ATEXIT): Likewise.
51214         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51215         (_G_HAVE_IO_FILE_OPEN): Likewise.
51216         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51217         (_G_int32_t): Likewise.
51218         (_G_uint16_t): Likewise.
51219         (_G_uint32_t): Likewise.
51220         (_G_HAVE_BOOL): Likewise.
51221         (_G_HAVE_ATEXIT): Likewise.
51222         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51223         (_G_HAVE_IO_FILE_OPEN): Likewise.
51224         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51225         (_G_int32_t): Likewise.
51226         (_G_uint16_t): Likewise.
51227         (_G_uint32_t): Likewise.
51228         (_G_HAVE_BOOL): Likewise.
51229         (_G_HAVE_ATEXIT): Likewise.
51230         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51231         (_G_HAVE_IO_FILE_OPEN): Likewise.
51233 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51235         * csu/libc-tls.c: Update copyright years.
51237 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51239         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51240         [!_G_USING_THUNKS]: Remove conditional code.
51241         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51242         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51244         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51245         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51246         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51247         (_G_VTABLE_LABEL_PREFIX): Likewise.
51248         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51249         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51250         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51251         (_G_VTABLE_LABEL_PREFIX): Likewise.
51252         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51253         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51254         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51255         (_G_VTABLE_LABEL_PREFIX): Likewise.
51256         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51258 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51260         * libio/Makefile: Include ../Makeconfig before tests.
51261         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51262         only if $(build-shared) is yes.
51264         * iconv/gconv_db.c: Update copyright years.
51266 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51268         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51269         unwind info if defined PIC. Fix special cases description.
51270         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51272         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51273         DP_HI_MASK entry.
51274         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51276 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51278         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51280         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51281         is NULL.
51283         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51284         (LDLIBS-tst-chk4): This.
51285         (LDFLAGS-tst-chk5): Renamed to ...
51286         (LDLIBS-tst-chk5): This.
51287         (LDFLAGS-tst-chk6): Renamed to ...
51288         (LDLIBS-tst-chk6): This.
51289         (LDFLAGS-tst-lfschk4): Renamed to ...
51290         (LDLIBS-tst-lfschk4): This.
51291         (LDFLAGS-tst-lfschk5): Renamed to ...
51292         (LDLIBS-tst-lfschk5): This.
51293         (LDFLAGS-tst-lfschk6): Renamed to ...
51294         (LDLIBS-tst-lfschk6): This.
51296         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51297         on $(common-objpfx)soversions.mk.
51299 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51301         [BZ #10014]
51302         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51303         example host name.
51305 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51307         * malloc/arena.c (arena_get_retry): New function that gets
51308         another arena for the caller to try its request on.
51309         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51310         current arena cannot fulfill the request.
51311         (__libc_memalign): Likewise.
51312         (__libc_memalign): Likewise.
51313         (__libc_pvalloc): Likewise.
51314         (__libc_calloc): Likewise.
51316 2012-09-05  John Tobey  <john.tobey@gmail.com>
51318         [BZ #13542]
51319         * manual/arith.texi (Operations on Complex): Fix description
51320         of carg branch cut.
51322 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #10014]
51325         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51326         host name.
51328         [BZ #10038]
51329         * manual/memory.texi (Memory): Make order of menu items match
51330         order of sections.
51332 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51334         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51335         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51336         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51338 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51340         * csu/libc-tls.c (static_dtv): Renamed to ...
51341         (_dl_static_dtv): This.  Make it global.
51342         (_dl_initial_dtv): Removed.
51343         (__libc_setup_tls): Updated.
51344         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51345         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51346         DL_INITIAL_DTV.
51348 2012-09-06  Petr Machata  <pmachata@redhat.com>
51350         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51351         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51352         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51353         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51355 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51357         [BZ #14545]
51358         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51359         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51360         freeing dtv[-1].
51362 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51364         [BZ #14544]
51365         * Makeconfig (link-static-before-libc): Replace $(+prector)
51366         with $(+prectorT).
51367         (link-static-after-libc): Replace $(+postctor) with
51368         $(+postctorT).
51369         (link-bounded): Replace $(+prector)/$(+postctor) with
51370         $(+prectorT)/$(+postctorT).
51371         (+prectorT): New macro.
51372         (+postctorT): Likewise.
51374 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51376         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51377         (round_str): Handle values above the maximum for IBM long double
51378         as inexact.
51379         * stdlib/tst-strtod-round.c (tests): Regenerated.
51381 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51383         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51384         assembler flag.
51385         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51386         zarch_nohighgprs around the zarch optimized routines.
51387         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51388         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51390         for zarch.
51392 2012-09-05  David S. Miller  <davem@davemloft.net>
51394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51396         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51397         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51398         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51399         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51400         entries.
51402 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51404         * malloc/arena.c: Fold copyright years.
51405         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51407 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51409         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51411 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51413         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51417         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51418         change internal state upon failure.
51420 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51422         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51423         * malloc/memusage.c (mmap): Likewise.
51424         (mmap64, mremap): Likewise.  Adjust name in comment.
51426 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51428         * libio/fileops.c: Fix typos in comments.
51429         * libio/oldfileops.c: Likewise.
51430         * libio/wfileops.c: Likewise.
51432 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51434         [BZ #1349]
51435         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51436         (tst-malloc-usable-ENV): Set environment for test case.
51437         * malloc/hooks.c (malloc_check_get_size): New function to get
51438         requested size.
51439         * malloc/malloc.c (musable): Use malloc_check_get_size.
51440         * malloc/tst-malloc-usable.c: New test case.
51442 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51444         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51446 2012-09-05  Allan McRae  <allan@archlinux.org>
51448         [BZ #13966]
51449         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51450         determine header location.
51451         * configure: Regenerated.
51453 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51455         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51456         float format.
51457         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51458         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51459         format.
51460         (test): Regenerate.
51462 2012-09-04  David S. Miller  <davem@davemloft.net>
51464         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51465         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51466         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51468 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51470         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51471         failures.
51473         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51475 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51477         [BZ #9914]
51478         * libio/iogetdelim.c: Include <limits.h>.
51479         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51480         + len + 1 would overflow.
51482 2012-09-03  Andreas Jaeger  <aj@suse.de>
51484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51485         * sysdeps/i386/fpu/libm-test-ulps: Update.
51487 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51489         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51490         Add s_sinf-sse2, s_conf-sse2.
51492         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51493         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51494         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51495         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51497         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51498         for using routine as __sinf_ia32.
51499         Use macro for function declaration and weak_alias.
51500         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51501         for using routine as __cosf_ia32.
51502         Use macro for function declaration and weak_alias.
51504         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51505         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51507         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51508         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51511         * math/libm-test.inc (cos_test): Add more test cases.
51512         (sin_test): Likewise.
51513         (sincos_test): Likewise.
51515 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51517         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51518         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51519         hidden.
51520         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51522 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51524         [BZ #14538]
51525         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51526         first element of the GOT.
51527         (elf_machine_load_address): Return the difference between
51528         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51530 2012-09-01  Allan McRae  <allan@archlinux.org>
51532         [BZ #13412]
51533         * configure.in (AWK): Require gawk version 3.0 or later.
51534         * configure: Regenerated.
51536 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51538         * sysdeps/unix/sysv/linux/kernel-features.h
51539         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51540         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51541         [__NR_clock_getres]: Make code unconditional.
51542         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51543         (clock_getcpuclockid): Remove code left unreachable by removal of
51544         conditionals.
51545         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51546         code unconditional.
51547         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51548         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51549         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51550         Make code unconditional.
51551         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51552         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51553         * sysdeps/unix/sysv/linux/clock_settime.c
51554         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51555         conditional code.
51556         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51557         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51559 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51561         [BZ #14476]
51562         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51563         scripts/test-installation.pl.
51565         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51566         and $ld_so_version if it is set.
51568 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51570         [BZ #14516]
51571         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51572         failure if reading from procfs failed.
51573         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51575 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51577         * sysdeps/unix/sysv/linux/kernel-features.h
51578         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51579         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51580         Remove conditional code.
51581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51582         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51583         Remove conditional code.
51584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51585         * sysdeps/unix/sysv/linux/i386/fxstat.c
51586         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51588         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51589         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51591         * sysdeps/unix/sysv/linux/i386/lxstat.c
51592         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51594         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51595         Remove conditional code.
51596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51597         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51598         Remove conditional code.
51599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51600         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51601         <kernel-features.h>.
51602         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51603         Remove.
51604         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51605         Remove conditional code.
51606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51607         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51608         Remove conditional.
51610 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51612         [BZ #5400]
51613         * NEWS: Add fixed bug number.
51615 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51617         [BZ #14519]
51618         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51619         underflowing exponent in case of negative sign.
51620         * stdlib/tst-strtod-round-data: Add more tests.
51621         * stdlib/tst-strtod-round.c (tests): Regenerated.
51623         [BZ #3479]
51624         * stdlib/strtod_l.c (NDIG): Remove.
51625         (HEXNDIG): Likewise.
51626         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51627         smallest representable value.
51628         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51629         lie within an exact representation of 1/2 ulp of the result.
51630         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51631         unconditionally.
51632         (TENS_P9_IDX): Define unconditionally.
51633         (TENS_P9_SIZE): Likewise.
51634         (TENS_P10_IDX): Likewise.
51635         (TENS_P10_SIZE): Likewise.
51636         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51637         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51638         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51639         entries for 10^2^13 and 10^2^14.
51640         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51641         (TENS_P13_IDX): Define.
51642         (TENS_P13_SIZE): Likewise.
51643         (TENS_P14_IDX): Likewise.
51644         (TENS_P14_SIZE): Likewise.
51645         (_fpioconst_pow10): Change array size to
51646         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51647         unconditional.
51648         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51649         1024]: Add entries for 10^2^13 and 10^2^14.
51650         [LAST_POW10 > _LAST_POW10]: Remove #error.
51651         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51652         (_fpioconst_pow10): Change array size to
51653         FPIOCONST_POW10_ARRAY_SIZE.
51654         * stdlib/gen-fpioconst.c: New file.
51655         * stdlib/gen-tst-strtod-round.c: Likewise.
51656         * stdlib/tst-strtod-round-data: Likewise.
51657         * stdlib/tst-strtod-round.c: Likewise.
51658         * stdlib/Makefile (tests): Add tst-strtod-round.
51660         [BZ #14459]
51661         * stdlib/strtod_l.c: Include <stdint.h>.
51662         (NDEBUG): Do not define.
51663         (round_and_return): Change EXPONENT parameter to type intmax_t.
51664         Rearrange calculations to avoid internal overflow possibilities.
51665         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51666         Rearrange calculations to avoid internal overflow possibilities.
51667         Assert that number fits inside MPNSIZE limbs.
51668         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51669         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51670         calculations and add assertions to avoid internal overflow
51671         possibilities.  Add casts to avoid signed/unsigned operations.
51672         * stdlib/tst-strtod-overflow.c: New file.
51673         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51675 2012-08-25  Marek Polacek  <polacek@redhat.com>
51677         * time/time.h: Fix some typos in comments.
51679 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51681         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51682         * posix/tst-rfc3484-2.c: Likewise.
51683         * posix/tst-rfc3484-3.c: Likewise.
51685 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51687         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51688         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51690 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51692         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51693         #include of fxstatat64.c.
51695 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51697         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51698         * shadow/getspent_r.c: Likewise.
51699         * shadow/getspnam.c: Likewise.
51700         * shadow/getspnam_r.c: Likewise.
51701         * gshadow/getsgent.c: Likewise.
51702         * gshadow/getsgent_r.c: Likewise.
51703         * gshadow/getsgnam.c: Likewise.
51704         * gshadow/getsgnam_r.c: Likewise.
51705         * inet/getnetbyad.c: Likewise.
51706         * inet/getnetbyad_r.c: Likewise.
51707         * inet/getnetbynm.c: Likewise.
51708         * inet/getnetbynm_r.c: Likewise.
51709         * inet/getnetent.c: Likewise.
51710         * inet/getnetent_r.c: Likewise.
51711         * inet/getproto.c: Likewise.
51712         * inet/getproto_r.c: Likewise.
51713         * inet/getprtent.c: Likewise.
51714         * inet/getprtent_r.c: Likewise.
51715         * inet/getprtname.c: Likewise.
51716         * inet/getprtname_r.c: Likewise.
51717         * inet/getrpcbyname.c: Likewise.
51718         * inet/getrpcbyname_r.c: Likewise.
51719         * inet/getrpcbynumber.c: Likewise.
51720         * inet/getrpcbynumber_r.c: Likewise.
51721         * inet/getrpcent.c: Likewise.
51722         * inet/getrpcent_r.c: Likewise.
51723         * inet/getaliasent.c: Likewise.
51724         * inet/getaliasent_r.c: Likewise.
51725         * inet/getaliasname.c: Likewise.
51726         * inet/getaliasname_r.c: Likewise.
51727         * nscd/getgrgid_r.c: Likewise.
51728         * nscd/getgrnam_r.c: Likewise.
51729         * nscd/gethstbyad_r.c: Likewise.
51730         * nscd/gethstbynm3_r.c: Likewise.
51731         * nscd/getpwnam_r.c: Likewise.
51732         * nscd/getpwuid_r.c: Likewise.
51733         * nscd/getsrvbynm_r.c: Likewise.
51734         * nscd/getsrvbypt_r.c: Likewise.
51735         * nscd/gai.c: Likewise.
51737         * configure.in (build_nscd): New substituted variable, set
51738         by --disable-build-nscd and defaults to $use_nscd.
51739         * configure: Regenerated.
51740         * config.make.in (build-nscd): New substituted variable.
51741         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51742         Change conditional to require [$(build-nscd) = yes] as well.
51743         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51745         [BZ# 13696]
51746         * configure.in (use_nscd): New substituted variable, set by
51747         --disable-nscd.  If enabled, define USE_NSCD.
51748         * configure: Regenerated.
51749         * config.h.in: Add USE_NSCD.
51750         * config.make.in (use-nscd): New substituted variable.
51751         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51752         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51753         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51754         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51755         (CFLAGS-getgrnam_r.c): Likewise.
51756         (CFLAGS-initgroups.c): Likewise.
51757         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51758         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51759         Variables removed.
51760         * inet/getnetgrent_r.c
51761         (nscd_setnetgrent): New function, broken out of ...
51762         (setnetgrent): ... here.  Call it.
51763         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51764         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51765         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51766         * nscd/Makefile (routines, aux): Move definitions after include of
51767         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51768         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51769         Conditionalize on [USE_NSCD].
51770         (is_nscd, nscd_init_cb): Likewise.
51771         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51772         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51773         * nss/nss_db/db-init.c: Likewise.
51774         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51775         [USE_NSCD].
51776         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51777         (make_request): Use it.
51778         (cache_valid_p): New function.
51779         (__check_pf): Use it.
51780         * NEWS: Add item for --disable-nscd.
51782 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51784         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51785         to support sed >= 4.2.1-20-ga9bf076.
51786         * configure: Regenerated.
51788 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51790         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51791         Conditionalize whole body on [IREL].
51793 2012-08-22  Jeff Law <law@redhat.com>
51795         [BZ #14505]
51796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51797         if the family is PF_UNSPEC.
51799 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51801         * Makerules (lib-version): Rename from V.
51802         (install-lib-nosubdir): Change V to lib-version.
51804 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51806         [BZ #14252]
51807         * powerpc32/power6/wcschr.c: New file.
51808         * powerpc32/power6/wcscpy.c: New file.
51809         * powerpc32/power6/wcsrchr.c: New file.
51810         * powerpc64/power6/wcschr.c: New file.
51811         * powerpc64/power6/wcscpy.c: New file.
51812         * powerpc64/power6/wcsrchr.c: New file.
51814 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51816         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51817         (two_way_short_needle): Use it.
51818         * string/strstr.c (AVAILABLE1_USES_J): Define.
51819         * string/strcasestr.c: Likewise.
51821         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51822         array references.
51823         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51825         [BZ #11607]
51826         * NEWS: Add an entry.
51827         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51828         define their defaults.
51829         (two_way_short_needle): Detect end-of-string on-the-fly.
51830         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51831         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51832         * string/bug-strcasestr1.c: New test.
51833         * string/Makefile: Run it.
51835 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51837         [BZ #11607]
51838         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51839         the first character.
51841 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51843         * csu/elf-init.c (__libc_csu_irel): Function removed.
51844         * csu/libc-start.c (apply_irel): New function.
51845         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51847 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51849         * sysdeps/unix/sysv/linux/kernel-features.h
51850         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51851         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51852         <kernel-features.h>.
51853         [__NR_fadvise64_64]: Make code unconditional.
51854         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51855         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51856         !__NR_fadvise64_64)]: Likewise.
51857         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51858         !__NR_fadvise64_64))]: Likewise.
51859         [__NR_fadvise64]: Make code unconditional.
51860         [!__NR_fadvise64]: Remove conditional code.
51861         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51862         <kernel-features.h>.
51863         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51864         unconditional.
51865         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51866         conditional code.
51867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51868         not include <kernel-features.h>.
51869         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51870         unconditional.
51871         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51872         conditional code.
51873         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51874         include <kernel-features.h>.
51875         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51876         unconditional.
51877         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51878         conditional code.
51880 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51882         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51883         slight instruction rearrangements per scrollpipe analysis.
51884         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51886 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51888         * manual/syslog.texi (syslog; vsyslog, closelog):
51889         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51890         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51892         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51893         DSOCAPS to match condition on defining it.
51895 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51897         * sysdeps/unix/sysv/linux/kernel-features.h
51898         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51900         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51901         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51903         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51904         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51906         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51907         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51909         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51910         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51912         * sysdeps/unix/sysv/linux/kernel-features.h
51913         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51914         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51915         unconditional.
51916         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51917         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51918         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51919         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51920         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51921         Make code unconditional.
51922         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51923         (__mmap64) [!__NR_mmap2]: Likewise.
51924         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51925         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51926         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51927         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51928         [__NR_mmap2]: Make code unconditional.
51929         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51930         (__mmap64) [!__NR_mmap2]: Likewise.
51932 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51934         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51936 2012-08-18  Andreas Jaeger  <aj@suse.de>
51938         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51940 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51942         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51943         * include/unistd.h (__have_sock_cloexec): Likewise.
51944         (__have_pipe2): Likewise.
51945         (__have_dup3): Likewise.
51947 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51949         [BZ #9685]
51950         * include/unistd.h (__have_pipe2): Change define into an extern int.
51951         (__have_dup3): Likewise.
51952         * socket/have_sock_cloexec.c: Include fcntl.h.
51953         (__have_pipe2): New variable.
51954         (__have_dup3): Likewise.
51956 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51958         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51960 2012-08-17  Marek Polacek  <polacek@redhat.com>
51962         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51963         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51965 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51967         * configure.in: Add AC_SUBST for sysheaders.
51968         * configure: Regenerated.
51969         * config.make.in (sysheaders): New substituted variable.
51971         * sysdeps/unix/mkfifo.c: Moved ...
51972         * sysdeps/posix/mkfifo.c: ... here.
51973         * sysdeps/unix/mkfifoat.c: Moved ...
51974         * sysdeps/posix/mkfifoat.c: ... here.
51976         * sysdeps/unix/utime.c: Moved ...
51977         * sysdeps/posix/utime.c: ... here.
51979         * sysdeps/unix/time.c: Moved ...
51980         * sysdeps/posix/time.c: ... here.
51981         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51982         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51984         * sysdeps/unix/nice.c: Moved ...
51985         * sysdeps/posix/nice.c: ... here.
51987         * sysdeps/unix/alarm.c: Moved ...
51988         * sysdeps/posix/alarm.c: ... here.
51990         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51992 2012-08-17  Jeff Law <law@redhat.com>
51994         * intl/Makefile (codeset_mo): New variable.
51995         ($(codeset_mo)): New target.
51996         (tst-codeset.out): Depend on that.  Remove explicit rule.
51997         (tst-gettext3.out, tst-gettext5.out): Likewise.
51998         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51999         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52000         * intl/tst-codeset.sh: Remove.
52001         * intl/tst-gettext3.sh: Likewise.
52002         * intl/tst-gettext5.sh: Likewise.
52004 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52006         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52007         * sysdeps/unix/syscalls.list: ... here.
52009         * sysdeps/posix/getaddrinfo.c
52010         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52011         (gaiconf_init, gaiconf_reload): Use them.
52012         [!_STATBUF_ST_NSEC]
52013         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52014         Define using time_t rather than struct timespec.
52016         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52017         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52018         Macros removed.
52019         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52020         [!NO_THREADS].
52021         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52022         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52023         Likewise.
52025         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52026         __libc_cleanup_push argument.
52028         * bits/param.h: New file.
52029         * misc/sys/param.h: New file.
52030         * include/sys/param.h: New file.
52031         * misc/Makefile (headers): Add bits/param.h.
52032         * sysdeps/generic/sys/param.h: File removed.
52033         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52034         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52035         * sysdeps/mach/hurd/bits/param.h: New file.
52036         * sysdeps/mach/hurd/sys/param.h: File removed.
52038         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52039         last change.
52041         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52042         [_IO_MTSAFE_IO].
52043         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52044         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52045         New macros.
52047         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52048         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52049         rather than -D_IO_MTSAFE_IO conditionally.
52050         * stdio-common/Makefile (CPPFLAGS): Likewise.
52051         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52052         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52053         Use $(libio-mtsafe).
52054         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52055         of -D_IO_MTSAFE_IO.
52056         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52057         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52058         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52059         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52060         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52061         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52062         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52063         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52064         (CFLAGS-fread_u_chk.c): Likewise.
52065         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52066         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52067         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52068         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52069         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52070         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52071         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52072         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52073         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52075         * libio/Makefile: Test [$(libc-reentrant) = yes]
52076         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52078         * Makeconfig
52079         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52080         * sysdeps/pthread/configure: File removed.
52081         * sysdeps/pthread/Makeconfig: New file.
52082         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52083         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52085 2012-08-16  Gary Benson  <gbenson@redhat.com>
52087         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52088         unmapping the first object in a namespace.
52090 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52092         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52093         (__internal_setnetgrent): ... this.  Add internal_function to
52094         definition.  Add libc_hidden_def.
52095         (setnetgrent): Update caller.
52096         (internal_endnetgrent): Renamed to ...
52097         (__internal_endnetgrent): ... this.  Add internal_function to
52098         definition.  Add libc_hidden_def.
52099         (endnetgrent): Update caller.
52100         (internal_getnetgrent_r): Renamed to ...
52101         (__internal_getnetgrent_r): ... this.  Add internal_function to
52102         definition.  Add libc_hidden_def.
52103         (__getnetgrent_r): Update caller.
52104         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52106 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52108         * stdlib/longlong.h: Update from GCC.
52110 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52112         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52113         on _QL, which is set by umul_ppmm but never used.
52114         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52115         variables, which are set by GMP macros but never used.
52116         * stdio-common/_itowa.c (_itowa): Likewise.
52117         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52118         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52120 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52122         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52123         struct La_sh_regs is not constant.
52124         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52125         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52126         and struct La_sparc64_regs are not constant.
52128 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52130         * sysdeps/unix/sysv/linux/kernel-features.h
52131         (__ASSUME_POSIX_TIMERS): Remove.
52132         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52133         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52134         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52135         Make code unconditional.
52136         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52137         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52138         Make code unconditional.
52139         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52140         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52141         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52142         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52143         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52144         Make code unconditional.
52145         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52146         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52147         (__libc_missing_posix_timers): Remove.
52149 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52151         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52152         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52154         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52156         * elf/dl-sym.c: Include <stdlib.h>.
52158         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52159         constants, which avoids warnings in 32-bit builds.
52161         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52162         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52164         * misc/lseek.c: File moved to ...
52165         * io/lseek.c: ... here.
52167         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52169         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52170         shifting LEN more than 31 bits at once.
52172 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52174         [BZ #14195]
52175         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52176         segmentation fault for a case of two empty input strings.
52177         * string/test-strncasecmp.c (check1): Renamed to...
52178         (bz12205): ...this.
52179         (bz14195): Add new testcase for two empty input strings and N > 0.
52180         (test_main): Call new testcase, adapt for renamed function.
52182 2012-08-15  Andreas Jaeger  <aj@suse.de>
52184         [BZ #14090]
52185         * crypt/md5test2.c: New test, based on test supplied by Serge
52186         Belyshev <belyshev@depni.sinp.msu.ru>.
52187         * crypt/Makefile (xtests): Add md5test-giant..
52188         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52190 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52192         [BZ #14090]
52193         * crypt/md5.c (md5_process_block): Don't assume the buffer
52194         length is less than 2**32.
52195         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52196         length is less than 2**64.
52198 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52200         * string/str-two-way.h: Include <sys/param.h>.
52201         (MAX): Macro removed.
52203         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52204         Move #define and #undef of memmove to just before and after
52205         including <string.h>.
52207         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52208         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52209         and after including <string.h>.  Move declarations of
52210         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52211         to before #include "string/memmove.c".
52213         * include/dirent.h: Declare __getdirentries.
52215         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52216         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52218 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52220         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52221         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52222         * sysdeps/i386/configure: Regenerated.
52223         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52224         STABS_CURRENT_FILE, and STABS_FUN.
52225         (END): Remove call to STABS_FUN_END.
52226         (STABS_CURRENT_FILE1): Delete.
52227         (STABS_CURRENT_FILE): Likewise.
52228         (STABS_FUN): Likewise.
52229         (STABS_FUN_END): Likewise.
52230         (STABS_FUN2): Likewise.
52231         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52232         * sysdeps/x86_64/configure: Regenerated.
52234 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52236         * elf/dl-open.c: Include <atomic.h>.
52237         * elf/dl-lookup.c: Likewise.
52239 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52241         * sysdeps/unix/sysv/linux/kernel-features.h
52242         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52243         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52244         unconditionally.
52245         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52246         unconditionally.
52247         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52248         condition on __ASSUME_CLONE_THREAD_FLAGS.
52250 2012-08-14  Andreas Jaeger  <aj@suse.de>
52252         * sysdeps/i386/fpu/libm-test-ulps: Update.
52254 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52256         * include/atomic.h (atomic_exchange_and_add): Split into ...
52257         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52258         New atomic macros.
52260 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52264 2012-08-13  Jeff Law <law@redhat.com>
52266         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52267         null byte in the output string.
52269 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52271         * sysdeps/unix/sysv/linux/kernel-features.h
52272         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52273         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52274         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52275         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52276         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52277         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52278         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52280 2012-08-09  Jeff Law <law@redhat.com>
52282         [BZ #13939]
52283         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52284         When avoid_arena is set, don't retry in the that arena.  Pick the
52285         next one, whatever it might be.
52286         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52287         (arena_lock): Pass in new parameter to arena_get2.
52288         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52289         arena_get2.
52290         (__libc_malloc): Unify retrying after main arena failure with
52291         __libc_memalign version.
52292         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52294 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52296         [BZ #14166]
52297         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52298         to __redirect_strstr.
52299         (__strstr_sse42): Use typeof __redirect_strstr.
52300         (__strstr_ia32): Likewise.
52301         (__libc_strstr): New prototype.
52302         (strstr): Renamed to ...
52303         (__libc_strstr): This.
52304         (strstr): New strong alias of __libc_strstr.
52305         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52306         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52307         __redirect_time.
52308         Include <time.h>.
52309         (__libc_time): New prototype.
52310         (time_ifunc): Replace time with __libc_time.
52311         (time): New strong alias and hidden definition of __libc_time.
52312         (__GI_time): Remove strong alias.
52313         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52314         Include <stddef.h>.
52315         (memmove): Redefined to __redirect_memmove.
52316         (__memmove_sse2): Use typeof __redirect_memmove.
52317         (__memmove_ssse3): Likewise.
52318         (__memmove_ssse3_back): Likewise.
52319         (__libc_memmove): New prototype.
52320         (memmove): Renamed to ...
52321         (__libc_memmove): This.
52322         (memmove): New strong alias of __libc_memmove.
52324 2012-08-08  Mark Salter  <msalter@redhat.com>
52326         * elf/elf.h
52327         (R_MN10300_TLS_GD): Define.
52328         (R_MN10300_TLS_LD): Likewise.
52329         (R_MN10300_TLS_LDO): Likewise.
52330         (R_MN10300_TLS_GOTIE): Likewise.
52331         (R_MN10300_TLS_IE): Likewise.
52332         (R_MN10300_TLS_LE): Likewise.
52333         (R_MN10300_TLS_DTPMOD): Likewise.
52334         (R_MN10300_TLS_DTPOFF): Likewise.
52335         (R_MN10300_TLS_TPOFF): Likewise.
52336         (R_MN10300_SYM_DIFF): Likewise.
52337         (R_MN10300_ALIGN): Likewise.
52338         (R_MN10300_NUM): Update.
52340 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52342         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52343         Remove.
52345 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52347         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52349         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52350         sysdeps/unix -> sysdeps/posix move.
52351         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52353 2012-08-07      Allan McRae     <allan@archlinux.org>
52355         [BZ #14303]
52356         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52357         (SUNOS_CPP): Likewise.
52358         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52359         not found.
52360         (open_input): Call CPP using execvp.
52362 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52364         * sysdeps/unix/sysv/linux/kernel-features.h
52365         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52366         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52367         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52368         (__ASSUME_WAITID_SYSCALL): Likewise.
52369         * sysdeps/unix/sysv/linux/dl-execstack.c
52370         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52371         code unconditional.
52372         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52373         conditional code.
52374         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52375         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52376         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52377         code.
52378         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52379         unconditional.
52380         [__ASSUME_WAITID_SYSCALL]: Likewise.
52381         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52383 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52385         * sysdeps/unix/closedir.c: Renamed to ...
52386         * sysdeps/posix/closedir.c: ... here.
52387         * sysdeps/unix/dirfd.c: Renamed to ...
52388         * sysdeps/posix/dirfd.c: ... here.
52389         * sysdeps/unix/dirstream.h: Renamed to ...
52390         * sysdeps/posix/dirstream.h: ... here.
52391         * sysdeps/unix/fdopendir.c: Renamed to ...
52392         * sysdeps/posix/fdopendir.c: ... here.
52393         * sysdeps/unix/opendir.c: Renamed to ...
52394         * sysdeps/posix/opendir.c: ... here.
52395         * sysdeps/unix/readdir.c: Renamed to ...
52396         * sysdeps/posix/readdir.c: ... here.
52397         * sysdeps/unix/readdir_r.c: Renamed to ...
52398         * sysdeps/posix/readdir_r.c: ... here.
52399         * sysdeps/unix/rewinddir.c: Renamed to ...
52400         * sysdeps/posix/rewinddir.c: ... here.
52401         * sysdeps/unix/seekdir.c: Renamed to ...
52402         * sysdeps/posix/seekdir.c: ... here.
52403         * sysdeps/unix/telldir.c: Renamed to ...
52404         * sysdeps/posix/telldir.c: ... here.
52405         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52406         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52407         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52408         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52410         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52411         * bits/fcntl.h: ... here.
52413         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52414         not 0.
52415         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52416         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52417         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52418         (struct flock): Move l_start, l_len to the beginning.
52419         Use __pid_t for l_pid.
52420         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52421         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52422         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52423         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52424         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52425         [__USE_LARGEFILE64] (struct flock64): New type.
52426         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52428         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52429         * bits/dirent.h: ... here.
52431         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52432         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52434 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52437         Change from 2.6.0 to 2.6.16.
52438         * sysdeps/unix/sysv/linux/configure: Regenerated.
52439         * sysdeps/unix/sysv/linux/kernel-features.h
52440         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52441         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52442         version.
52443         (__ASSUME_UTIMES): Likewise.
52444         (__ASSUME_CLONE_STOPPED): Remove.
52445         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52446         architectures, not kernel version.
52447         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52448         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52449         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52450         (__ASSUME_WAITID_SYSCALL): Likewise.
52451         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52452         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52453         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52454         refer to older versions.
52456 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52458         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52459         Define alphasort64 as an alias.
52460         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52461         Define versionsort64 as an alias.
52462         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52463         Define scandir64 as an alias.
52464         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52465         Define scandirat64 as an alias.
52466         * dirent/alphasort64.c (alphasort64):
52467         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52468         * dirent/versionsort64.c: Likewise.
52469         * dirent/scandir64.c: Likewise.
52470         * dirent/scandirat64.c: Likewise.
52471         * sysdeps/wordsize-64/alphasort.c: File removed.
52472         * sysdeps/wordsize-64/alphasort64.c: File removed.
52473         * sysdeps/wordsize-64/scandir.c: File removed.
52474         * sysdeps/wordsize-64/scandir64.c: File removed.
52475         * sysdeps/wordsize-64/scandirat.c: File removed.
52476         * sysdeps/wordsize-64/scandirat64.c: File removed.
52477         * sysdeps/wordsize-64/versionsort.c: File removed.
52478         * sysdeps/wordsize-64/versionsort64.c: File removed.
52479         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52480         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52481         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52482         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52483         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52484         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52485         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52486         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52488         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52489         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52490         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52492         [defined __arch64__ || defined __sparcv9]
52493         (__INO_T_MATCHES_INO64_T): New macro.
52494         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52495         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52496         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52497         * sysdeps/unix/sysv/linux/bits/dirent.h
52498         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52499         (_DIRENT_MATCHES_DIRENT64): New macro.
52501         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52502         Define lockf64 as an alias.
52503         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52504         Define fseeko64 as an alias.
52505         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52506         Define ftello64 as an alias.
52507         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52508         Define _IO_fgetpos64 and fgetpos64 as aliases.
52509         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52510         Define _IO_fsetpos64 and fsetpos64 as aliases.
52511         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52512         Conditionalize body on this.
52513         * libio/fseeko64.c: Likewise.
52514         * libio/ftello64.c: Likewise.
52515         * libio/iofgetpos64.c: Likewise.
52516         * libio/iofsetpos64.c: Likewise.
52517         * sysdeps/wordsize-64/lockf.c: File removed.
52518         * sysdeps/wordsize-64/lockf64.c: File removed.
52519         * sysdeps/wordsize-64/fseeko.c: File removed.
52520         * sysdeps/wordsize-64/fseeko64.c: File removed.
52521         * sysdeps/wordsize-64/ftello.c: File removed.
52522         * sysdeps/wordsize-64/ftello64.c: File removed.
52523         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52524         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52525         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52526         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52527         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52528         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52529         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52530         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52531         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52532         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52533         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52534         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52535         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52536         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52538         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52539         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52540         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52542         [defined __arch64__ || defined __sparcv9]
52543         (__OFF_T_MATCHES_OFF64_T): New macro.
52544         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52545         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52547         (__OFF_T_MATCHES_OFF64_T): New macro.
52549 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52551         * stdlib/secure-getenv.c (__secure_getenv): Replace
52552         GLIBC_2_16 with GLIBC_2_17.
52554 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52556         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52557         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52559 2012-08-03  David S. Miller  <davem@davemloft.net>
52561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52563 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52565         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52566         Remove.
52567         (__ASSUME_CORRECT_SI_PID): Likewise.
52568         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52569         (__ASSUME_TMPFS_NAME): Likewise.
52570         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52571         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52572         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52573         (HAVE_AUX_SECURE): Make definition unconditional.
52574         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52575         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52577 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52579         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52580         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52581         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52582         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52583         __eloop_threshold instead of SYMLOOP_MAX.
52585         * sysdeps/generic/eloop-threshold.h: New file.
52586         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52587         of MAXSYMLINKS.
52588         * elf/chroot_canon.c (chroot_canon): Likewise.
52590 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52592         [BZ #13717]
52593         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52594         Change to 2.6.0 everywhere.
52595         * sysdeps/unix/sysv/linux/configure: Regenerated.
52596         * sysdeps/unix/sysv/linux/kernel-features.h
52597         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52598         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52599         kernel versions.
52600         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52601         (__ASSUME_FUTEX_REQUEUE): Remove.
52602         (__ASSUME_STATFS64): Define unconditionally.
52603         (__ASSUME_AT_SECURE): Likewise.
52604         (__ASSUME_CORRECT_SI_PID): Likewise.
52605         (__ASSUME_TGKILL): Define without depending on kernel version for
52606         i386.
52607         (__ASSUME_UTIMES): Likewise.
52608         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52609         kernel version.
52610         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52611         (__ASSUME_TMPFS_NAME): Likewise.
52612         * README: Update reference to Linux kernel versions.
52614 2012-08-02  Marek Polacek  <polacek@redhat.com>
52616         [BZ# 14150]
52617         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52618         libc_cv_asm_type_prefix with %.
52619         * configure: Regenerated.
52620         * include/libc-symbols.h: Remove comment about
52621         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52622         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52623         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52624         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52625         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52626         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52627         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52628         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52629         * elf/tst-unique2mod1.c: Likewise.
52630         * elf/tst-unique1mod2.c: Likewise.
52631         * elf/tst-unique1mod1.c: Likewise.
52632         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52633         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52634         Replace ASM_TYPE_DIRECTIVE with .type.
52635         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52636         * sysdeps/i386/sysdep.h: Likewise.
52637         * sysdeps/x86_64/sysdep.h: Likewise.
52638         * sysdeps/sh/sysdep.h: Likewise.
52639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52640         Do not define ASM_TYPE_DIRECTIVE.
52641         * sysdeps/powerpc/sysdep.h: Likewise.
52642         * sysdeps/powerpc/powerpc32/sysdep.h:
52643         Replace ASM_TYPE_DIRECTIVE with .type.
52644         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52645         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52646         * sysdeps/i386/fpu/e_powf.S: Likewise.
52647         * sysdeps/i386/fpu/e_expl.S: Likewise.
52648         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52649         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52650         * sysdeps/i386/fpu/e_pow.S: Likewise.
52651         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52652         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52653         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52654         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52655         * sysdeps/i386/fpu/e_log2.S: Likewise.
52656         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52657         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52658         * sysdeps/i386/fpu/e_powl.S: Likewise.
52659         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52660         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52661         * sysdeps/i386/fpu/e_logl.S: Likewise.
52662         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52663         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52664         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52665         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52666         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52667         * sysdeps/i386/fpu/e_log.S: Likewise.
52668         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52669         * sysdeps/i386/fpu/e_logf.S: Likewise.
52670         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52671         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52672         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52673         * sysdeps/i386/fpu/e_log10.S: Likewise.
52674         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52675         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52676         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52677         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52678         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52679         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52680         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52681         * sysdeps/i386/i686/strtok.S: Likewise.
52682         * sysdeps/i386/i386-mcount.S: Likewise.
52683         * sysdeps/i386/strtok.S: Likewise.
52684         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52685         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52686         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52687         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52688         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52689         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52690         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52691         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52692         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52693         * sysdeps/x86_64/_mcount.S: Likewise.
52694         * sysdeps/x86_64/strtok.S: Likewise.
52695         * sysdeps/sh/_mcount.S: Likewise.
52697 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52699         * libio/iofopen.c: Include <fcntl.h>.
52700         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52701         (_IO_fopen64, fopen64): Define as aliases.
52702         * libio/iofopen64.c: Include <fcntl.h>.
52703         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52704         Conditionalize body on this.
52705         * sysdeps/wordsize-64/iofopen.c: File removed.
52706         * sysdeps/wordsize-64/iofopen64.c: File removed.
52708 2012-08-01  Marek Polacek  <polacek@redhat.com>
52710         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52711         Use dlfcn directly instead of a variable.
52712         (binfmt-subdir): Do not define.
52713         (dlfcn): Likewise.
52715 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52718         Remove all definitions.
52719         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52720         <kernel-features.h>.
52721         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52722         (miss_F_GETOWN_EX): Remove all definitions.
52723         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52724         macro definition.
52725         [!__ASSUME_FCNTL64]: Remove conditional code.
52726         [__ASSUME_FCNTL64]: Make code unconditional.
52727         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52728         <kernel-features.h>.
52729         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52730         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52731         (lockf64) [__NR_fcntl64]: Make code unconditional.
52732         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52734         * sysdeps/unix/sysv/linux/kernel-features.h
52735         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52736         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52737         Make code unconditional.
52738         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52739         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52741         [__NR_vfork]: Make code unconditional.
52742         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52743         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52745         [__NR_vfork]: Make code unconditional.
52746         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52747         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52749 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52751         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52752         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52754         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52755         Define mkstemp64 as an alias.
52756         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52757         Define mkstemps64 as an alias.
52758         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52759         Define mkostemp64 as an alias.
52760         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52761         Define mkostemps64 as an alias.
52762         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52763         Conditionalize body on this.
52764         * misc/mkostemp64.c: Likewise.
52765         * misc/mkostemps64.c: Likewise.
52766         * misc/mkstemps64.c: Likewise.
52767         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52768         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52769         * sysdeps/wordsize-64/mkostemp.c: File removed.
52770         * sysdeps/wordsize-64/mkstemp.c: File removed.
52771         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52772         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52773         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52774         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52776         [BZ #14138]
52777         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52778         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52779         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52780         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52782         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52783         compat_symbol macros from <shlib-compat.h> rather than the underlying
52784         default_symbol_version and symbol_version macros, so that DEFAULT
52785         lines in shlib-versions are respected.
52786         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52788 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52790         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52791         Declare with warn_unused_result.
52792         (setgid, setregid, setegid, setresgid): Likewise.
52793         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52794         Likewise.
52795         * WUR-REPORT: Remove set*id functions.
52797 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52799         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52801 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52803         [BZ #10191]
52804         * include/sys/socket.h (__libc_accept, __libc_accept4):
52805         Add attribute_hidden.
52806         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52808         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52809         use of PTR_MANGLE.
52810         * inet/getnetgrent_r.c (setup): Likewise.
52812         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52814 2012-07-31  David S. Miller  <davem@davemloft.net>
52816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52818 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52820         [BZ #13629]
52821         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52822         value between 1.0 and 2.0 and smaller part has absolute value less
52823         than 1.0.
52824         * math/s_clog10.c (__clog10): Likewise.
52825         * math/s_clog10f.c (__clog10f): Likewise.
52826         * math/s_clog10l.c (__clog10l): Likewise.
52827         * math/s_clogf.c (__clogf): Likewise.
52828         * math/s_clogl.c (__clogl): Likewise.
52829         * math/libm-test.inc (clog_test): Add more tests.
52830         (clog10_test): Likewise.
52831         * sysdeps/i386/fpu/libm-test-ulps: Update.
52832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52834 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52836         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52837         Exit with zero in case no suitable GID is found, and write a
52838         message to standard error.
52840 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52842         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52843         rather than to 1.
52844         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52845         (MAXPATHLEN): Removed.
52846         (NOGROUP, NODEV): New macros.
52847         (setbit, clrbit, isset, isclr): New macros.
52848         (howmany, roundup, powerof2): New macros.
52849         (DEV_BSIZE): New macro.
52851         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52852         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52854         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52855         definition on [!__NO_LONG_DOUBLE_MATH].
52857         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52858         PTR_MANGLE and PTR_DEMANGLE.
52860         * socket/accept4.c (accept4): Rename to __libc_accept4.
52861         Define accept4 as a weak alias.
52863         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52864         on [_DIRENT_HAVE_D_TYPE].
52865         * io/ftw.c (ftw_dir): Likewise.
52867         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52869         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52871         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52872         Use the BSD numbers rather than the arbitrary ones we had.
52873         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52874         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52875         (SIGXCPU, SIGXFSZ): New macros.
52876         (_NSIG): Now 32.
52878         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52879         initializer on [_LIBC_REENTRANT].
52881         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52882         definitions inside [_POSIX_MAPPED_FILES].
52884         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52886         * dirent/opendir.c: Include <fcntl.h>.
52888         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52889         (__libc_getspecific): Likewise.
52890         (__libc_key_create): Likewise.
52892         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52893         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52894         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52895         (tmpfile64): Define as alias.
52896         * sysdeps/wordsize-64/tmpfile.c: File removed.
52897         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52898         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52899         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52901         * stdio-common/vfscanf.c: Include <stdbool.h>.
52902         * nss/makedb.c: Likewise.
52903         * stdio-common/_i18n_number.h: Likewise.
52904         * argp/argp-help.c: Likewise.
52905         * posix/wordexp.c: Likewise.
52906         * sysdeps/posix/spawni.c: Likewise.
52907         * nss/nss_files/files-initgroups.c: Likewise.
52908         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52909         * nss/nss_files/files-initgroups.c: Likewise.
52910         * nss/nss_db/db-netgrp.c: Likewise.
52911         * nss/nss_db/db-initgroups.c: Likewise.
52912         * io/fchmodat.c: Include <sys/stat.h>.
52914         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52915         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52917         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52918         [HAVE_MMAP].
52920         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52921         Add multiple inclusion protection.
52923 2012-07-27  David S. Miller  <davem@davemloft.net>
52925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52927 2012-07-27  Gary Benson  <gbenson@redhat.com>
52929         [BZ #14298]
52930         * elf/rtld.c: Include <stap-probe.h>.
52931         (dl_main): Added static probes "init_start" and "init_complete".
52932         * elf/dl-load.c: Include <stap-probe.h>.
52933         (lose): Take new parameter "nsid".
52934         Added static probe "map_failed".
52935         (_dl_map_object_from_fd): Pass namespace id to lose.
52936         Added static probe "map_start".
52937         (open_verify): Pass namespace id to lose.
52938         * elf/dl-open.c: Include <stap-probe.h>.
52939         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52940         and "reloc_complete".
52941         * elf/dl-close.c: Include <stap-probe.h>.
52942         (_dl_close_worker): Added static probes "unmap_start" and
52943         "unmap_complete".
52944         * elf/rtld-debugger-interface.txt: New file documenting the above.
52946 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52948         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52949         rather than a string variable.
52950         * sunrpc/rpc_main.c (h_output): Likewise.
52951         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52953 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52955         * inet/check_native.c: New file.
52957 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52959         [BZ #13629]
52960         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52961         if larger part has absolute value 1.0.
52962         * math/s_clog10.c (__clog10): Likewise.
52963         * math/s_clog10f.c (__clog10f): Likewise.
52964         * math/s_clog10l.c (__clog10l): Likewise.
52965         * math/s_clogf.c (__clogf): Likewise.
52966         * math/s_clogl.c (__clogl): Likewise.
52967         * math/libm-test.inc (clog_test): Add more tests.
52968         (clog10_test): Likewise.
52969         * sysdeps/i386/fpu/libm-test-ulps: Update.
52970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52972         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52973         (pltexit): Likewise.
52974         (La_regs): Likewise.
52975         (La_retval): Likewise.
52976         (int_retval): Likewise.
52977         Update #error for removed macros to refer only to definitions in
52978         tst-audit.h.
52979         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52980         macro.
52981         (pltexit): Likewise.
52982         (La_regs): Likewise.
52983         (La_retval): Likewise.
52984         (int_retval): Likewise.
52985         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52986         macro.
52987         (pltexit): Likewise.
52988         (La_regs): Likewise.
52989         (La_retval): Likewise.
52990         (int_retval): Likewise.
52991         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52992         macro.
52993         (pltexit): Likewise.
52994         (La_regs): Likewise.
52995         (La_retval): Likewise.
52996         (int_retval): Likewise.
52997         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52998         macro.
52999         (pltexit): Likewise.
53000         (La_regs): Likewise.
53001         (La_retval): Likewise.
53002         (int_retval): Likewise.
53003         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53004         macro.
53005         (pltexit): Likewise.
53006         (La_regs): Likewise.
53007         (La_retval): Likewise.
53008         (int_retval): Likewise.
53009         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53010         macro.
53011         (pltexit): Likewise.
53012         (La_regs): Likewise.
53013         (La_retval): Likewise.
53014         (int_retval): Likewise.
53015         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53016         macro definitions in tst-audit.h.
53017         * sysdeps/i386/tst-audit.h: New file.
53018         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53019         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53020         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53021         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53022         * sysdeps/sh/tst-audit.h: Likewise.
53023         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53024         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53025         * sysdeps/x86_64/tst-audit.h: Likewise.
53027 2012-07-26  Andreas Jaeger  <aj@suse.de>
53029         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53030         ptrace.
53032         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53033         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53034         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53035         PTRACE_O_MASK.
53036         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53037         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53038         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53040         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53041         value.
53043         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53044         _sigsys.
53045         (si_call_addr, si_syscall, si_arch): Define new macro.
53046         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53047         _sigsys.
53048         (si_call_addr, si_syscall, si_arch): Define new marcro.
53049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53050         _sigsys.
53051         (si_call_addr, si_syscall, si_arch): Define new macro.
53052         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53053         _sigsys.
53054         (si_call_addr, si_syscall, si_arch): Define new macro.
53056 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53058         [BZ #13717]
53059         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53060         Change to 2.4.21 where previously 2.4.1.
53061         * sysdeps/unix/sysv/linux/configure: Regenerated.
53062         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53063         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53064         Linux kernel version.
53065         (__ASSUME_STD_AUXV): Remove.
53066         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53067         kernel version.
53068         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53069         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53070         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53071         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53072         (__ASSUME_NETLINK_SUPPORT): Likewise.
53073         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53074         (__no_netlink_support): Remove conditional definition.
53075         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53076         Remove.
53077         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53078         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53079         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53080         (if_nameindex_ioctl): Remove.
53081         (if_nameindex_netlink): Do not handle __no_netlink_support.
53082         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53083         code.
53084         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53085         Remove conditional code.
53086         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53087         code.
53088         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53089         unconditional.
53090         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53091         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53092         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53093         Remove.
53094         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53095         [!__ASSUME_STD_AUXV]: Remove conditional code.
53096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53097         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53098         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53100         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53101         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53102         code.
53103         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53105         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53106         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53107         conditional code.
53108         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53110         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53111         code.
53112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53113         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53114         conditional code.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53116         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53117         code unconditional.
53118         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53119         conditional code.
53120         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53121         unconditional.
53122         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53123         conditional code.
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53125         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53126         unconditional.
53127         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53128         conditional code.
53129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53130         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53131         code unconditional.
53132         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53133         conditional code.
53134         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53135         unconditional.
53136         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53137         conditional code.
53138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53139         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53140         code unconditional.
53141         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53142         conditional code.
53143         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53144         unconditional.
53145         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53146         conditional code.
53148 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53150         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53151         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53152         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53153         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53154         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53155         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53156         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53157         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53158         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53159         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53160         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53161         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53162         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53163         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53164         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53165         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53166         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53167         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53168         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53170         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53171         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53172         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53174 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53176         * Versions.def: Add GLIBC_2.17.
53177         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53178         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53179         Introduce __libc_secure_getenv.
53180         * stdlib/Versions (2.17): Add secure_getenv
53181         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53182         * stdlib/secure-getenv.c: Rename __secure_getenv to
53183         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53184         symbol __secure_getenv for GLIBC_2.0.
53185         * stdlib/tst-secure-getenv.c: New.
53186         * stdlib/Makefile (tests): Add testcase.
53187         * manual/startup.texi (Environment Access): Document
53188         secure_getenv.
53189         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53190         __libc_secure_getenv.
53191         * inet/ruserpass.c (ruserpass): Likewise.
53192         * malloc/mtrace.c (mtrace): Likewise.
53193         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53194         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53195         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53196         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53197         HAVE_SECURE_GETENV.
53198         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53199         __secure_getenv to __libc_secure_getenv.
53200         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53202         Likewise.
53203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53204         Likewise.
53205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53213 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53215         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53216         (struct La_i86_retval): Likewise.
53217         (struct La_x86_64_regs): Likewise.
53218         (struct La_x86_64_retval): Likewise.
53219         (struct La_x32_regs): Likewise.
53220         (struct La_x32_retval): Likewise.
53221         (struct La_ppc32_regs): Likewise.
53222         (struct La_ppc32_retval): Likewise.
53223         (struct La_ppc64_regs): Likewise.
53224         (struct La_ppc64_retval): Likewise.
53225         (struct La_sh_regs): Likewise.
53226         (struct La_sh_retval): Likewise.
53227         (struct La_s390_32_regs): Likewise.
53228         (struct La_s390_32_retval): Likewise.
53229         (struct La_s390_64_regs): Likewise.
53230         (struct La_s390_64_retval): Likewise.
53231         (struct La_sparc32_regs): Likewise.
53232         (struct La_sparc32_retval): Likewise.
53233         (struct La_sparc64_regs): Likewise.
53234         (struct La_sparc64_retval): Likewise.
53235         (struct audit_ifaces): Remove architecture-specific pltenter and
53236         pltexit members.
53237         * sysdeps/i386/ldsodefs.h: New file.
53238         * sysdeps/powerpc/ldsodefs.h: Likewise.
53239         * sysdeps/s390/ldsodefs.h: Likewise.
53240         * sysdeps/sh/ldsodefs.h: Likewise.
53241         * sysdeps/sparc/ldsodefs.h: Likewise.
53242         * sysdeps/x86_64/ldsodefs.h: Likewise.
53244 2012-07-25  Marek Polacek  <polacek@redhat.com>
53246         [BZ #6808]
53247         * math/libm-test.inc (yn_test): Add another test.
53248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53249         to ERANGE when the result is +-Inf.
53250         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53251         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53252         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53253         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53255 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53257         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53258         equal to 0.
53259         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53260         clock_t.
53261         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53263 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53265         * configure.in <sysdeps resolving>: Correct printing
53266         Implies_before.
53267         * configure: Regenerate.
53269 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53271         * math/w_ilogb.c: Include <limits.h>.
53272         * math/w_ilogbl.c: Likewise.
53274 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53276         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53277         va_copy.  Document allowing for unavailable va_copy only as
53278         pre-C99 compatibility.
53279         * manual/string.texi (Copying and Concatenation): Use va_copy
53280         instead of __va_copy in concat example.
53282 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53284         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53285         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53286         it if not null.
53288         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53289         with O_NOLINK passed to __file_name_lookup.
53291         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53292         with O_NOLINK passed to __file_name_lookup.
53294         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53295         negative N or less than NGIDS.
53297         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53298         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53299         enough.  Use memcpy instead of strncpy.
53301 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53303         * elf/Makefile (check-data): Remove.
53304         (localplt.data): New vpath directive.
53305         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53306         instead of $(check-data).
53307         * scripts/data/localplt-generic.data: Move to ...
53308         * sysdeps/generic/localplt.data: ... here.
53309         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53310         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53311         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53313         ... here.
53314         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53316         ... here.
53317         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53319         ... here.
53320         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53322         ... here.
53323         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53325         ... here.
53326         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53328         ... here.
53330 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53332         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53333         PPC32 and PPC64 files.
53334         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53335         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53337 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53339         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53340         __makecontext_ret to ...
53341         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53342         ... here and call exit if uc_link is NULL.  New file.
53343         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53344         __makecontext_ret.S.
53345         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53346         __makecontext_ret to ...
53347         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53348         ... here and call exit if uc_link is NULL.  New file.
53349         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53350         __makecontext_ret.S.
53352 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53354         * elf/elf.h (R_390_IRELATIVE): New definition.
53355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53356         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53357         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53359         (elf_machine_lazy_rel): Likewise.
53360         * sysdeps/s390/dl-irel.h: New file.
53361         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53362         * sysdeps/s390/s390-64/memset.S: New asm code.
53363         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53364         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53365         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53366         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53367         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53368         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53369         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53370         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53371         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53372         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53373         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53374         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53375         * sysdeps/s390/s390-32/memset.S: New asm code.
53376         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53378 2012-07-17  Marek Polacek  <polacek@redhat.com>
53380         [BZ #14349]
53381         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53382         * sysdeps/s390/s390-64/configure.in: Likewise.
53383         * sysdeps/sparc/configure.in: Likewise.
53384         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53385         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53386         * sysdeps/i386/configure.in: Likewise.
53387         * sysdeps/x86_64/configure.in: Likewise.
53388         * sysdeps/sh/configure.in: Likewise.
53389         * sysdeps/s390/s390-32/configure: Regenerated.
53390         * sysdeps/s390/s390-64/configure: Likewise.
53391         * sysdeps/x86_64/configure: Likewise.
53392         * sysdeps/sh/configure: Likewise.
53393         * sysdeps/powerpc/powerpc64/configure: Likewise.
53394         * sysdeps/powerpc/powerpc32/configure: Likewise.
53395         * sysdeps/sparc/configure: Likwise.
53396         * sysdeps/i386/configure: Likewise.
53398         * elf/dl-open.c: Comment fixes.
53400 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53402         * Makefile [CXX] (check-data): Remove.
53403         [CXX] (c++-types.data): New vpath directive.
53404         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53405         vpath.  Do not allow for C++ type data being missing.
53406         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53407         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53408         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53409         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53410         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53411         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53412         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53414         ... here.
53415         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53417         ... here.
53418         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53420         ... here.
53421         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53423         ... here.
53424         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53426         ... here.
53427         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53429         ... here.
53430         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53432         ... here.
53433         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53436         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53437         definitions to architecture-specific files.
53438         (TLS_IE): Likewise.
53439         (TLS_LD): Likewise.
53440         (TLS_GD): Likewise.
53441         * sysdeps/i386/tls-macros.h: New file.
53442         * sysdeps/powerpc/tls-macros.h: Likewise.
53443         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53444         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53445         * sysdeps/sh/tls-macros.h: Likewise.
53446         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53447         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53448         * sysdeps/x86_64/tls-macros.h: Likewise.
53450 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53453         zero value for regular exit case.
53455         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53456         (__start_context): Preserve zero value for regular exit case.
53458 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53459             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53461         * manual/setjmp.texi (setcontext): Clarify normal process
53462         termination when uc_link is the null pointer.
53463         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53464         exit call.
53466 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53468         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53469         preprocessor.  Test for each exception mask separately.
53471 2012-07-16  Andreas Jaeger  <aj@suse.de>
53473         * po/ru.po: Update from translation team.
53475 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53477         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53478         equal to 0.
53479         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53480         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53481         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53482         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53485 2012-07-13  Andreas Jaeger  <aj@suse.de>
53487         * po/fr.po: Update from translation team.
53489 2012-07-12  Marek Polacek  <polacek@redhat.com>
53491         [BZ #14173]
53492         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53493         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53494         loop condition.
53496 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53498         [BZ #13717]
53499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53500         Change to 2.4.1 where previously 2.4.0.
53501         * sysdeps/unix/sysv/linux/configure: Regenerated.
53502         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53503         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53504         version.
53505         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53506         (__ASSUME_AT_CLKTCK): Remove.
53507         (__ASSUME_AT_PAGESIZE): Likewise.
53508         (__ASSUME_AT_XID): Likewise.
53509         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53510         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53511         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53512         unconditionally.
53513         (HAVE_AUX_PAGESIZE): Likewise.
53514         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53515         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53516         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53518 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53520         [BZ #14307]
53521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53522         the temporary buffer used to invoke __gethostbyname2_r,
53523         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53524         host_data / struct gaih_addrtuple.
53525         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53526         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53527         header file nss/nsswitch.h.
53528         * nss/nsswitch.h (global scope): Add definition of implementation
53529         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53530         resolv/nss_dns/dns-host.c).
53532 2012-07-11  Andreas Jaeger  <aj@suse.de>
53534         * po/fr.po: Update from translation team.
53536         * po/sv.po: Update from translation team
53537         * po/fr.po: Another update from translation team.
53539 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53541         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53542         for subnormals or multiply small sinh result by itself.
53543         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53546 2012-07-11  David S. Miller  <davem@davemloft.net>
53548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53550 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53552         [BZ #14347]
53553         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53554         (INTERNAL_MARK): Shift it here.
53556 2012-07-10  Marek Polacek  <polacek@redhat.com>
53558         [BZ #14151]
53559         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53560         libc_cv_asm_global_directive with .globl.
53561         * configure: Regenerated.
53562         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53563         with .globl.
53564         * sysdeps/i386/configure: Regenerated.
53565         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53566         with .globl.
53567         * sysdeps/x86_64/configure: Regenerated.
53568         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53569         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53570         * elf/tst-unique2mod2.c: Likewise.
53571         * elf/tst-unique2mod1.c: Likewise.
53572         * elf/tst-unique1mod2.c: Likewise.
53573         * elf/tst-unique1mod1.c: Likewise.
53574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53575         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53576         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53577         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53578         * sysdeps/mach/sysdep.h: Likewise.
53579         * sysdeps/i386/sysdep.h: Likewise.
53580         * sysdeps/i386/i386-mcount.S: Likewise.
53581         * sysdeps/x86_64/_mcount.S: Likewise.
53582         * sysdeps/x86_64/sysdep.h: Likewise.
53583         * sysdeps/sh/_mcount.S: Likewise.
53584         * sysdeps/sh/sysdep.h: Likewise.
53585         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53586         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53587         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53588         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53589         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53590         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53591         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53592         * locale/localeinfo.h: Likewise.
53593         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53594         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53596 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53598         [BZ #14336]
53599         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53600         system".
53601         * manual/message.texi (The Uniforum approach): Likewise.
53602         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53603         (glibc iconv Implementation): Likewise.
53605 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53607         [BZ #14337]
53608         * math/s_clog.c (__clog): Avoid scaling a value down where that
53609         could result in underflow.
53610         * math/s_clog10.c (__clog10): Likewise.
53611         * math/s_clog10f.c (__clog10f): Likewise.
53612         * math/s_clog10l.c (__clog10l): Likewise.
53613         * math/s_clogf.c (__clogf): Likewise.
53614         * math/s_clogl.c (__clogl): Likewise.
53615         * math/libm-test.inc (clog_test): Add more tests.
53616         (clog10_test): Likewise.
53617         * sysdeps/i386/fpu/libm-test-ulps: Update.
53618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53620 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53622         [BZ #14283]
53623         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53624         by 7 not 8 to examine high bit of fractional part.
53626         [BZ #14042]
53627         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53628         for call to __mcount_internal.
53629         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53630         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53631         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53633 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53635         [BZ #14154]
53636         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53637         approximation for values within 0x1p-13f of an odd multiple of
53638         pi/4.
53639         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53640         exception.  Add more tests.
53641         * sysdeps/i386/fpu/libm-test-ulps: Update.
53643         [BZ #6778]
53644         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53645         inputs and return -1 for them.  Do not check for +Inf in case not
53646         reachable for +Inf.
53647         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53648         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53649         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53650         and return -1 for them.  Do not check for +Inf in case not
53651         reachable for +Inf.
53652         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53653         define.
53654         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53655         and return -1 for them.  Do not check for +Inf in case not
53656         reachable for +Inf.
53657         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53658         spurious underflow.
53659         * sysdeps/i386/fpu/libm-test-ulps: Update.
53660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53662 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53664         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53666 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53668         [BZ #14157]
53669         [BZ #14331]
53670         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53671         could result in spurious underflow.  Scale down values above
53672         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53673         * math/s_csqrtf.c (__csqrtf): Likewise.
53674         * math/s_csqrtl.c (__csqrtl): Likewise.
53675         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53676         spurious underflow.
53677         * sysdeps/i386/fpu/libm-test-ulps: Update.
53678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53680 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53682         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53683         xopen-msg.sed.
53684         * catgets/xopen-msg.awk: New file.
53685         * catgets/xopen-msg.sed: Removed.
53687         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53688         po2text.sed.
53689         * intl/po2test.awk: New file.
53690         * intl/po2test.sed: Removed.
53692 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53694         [BZ #14328]
53695         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53696         or multiply small sinh result by itself.
53697         * math/s_ctanf.c (__ctanf): Likewise.
53698         * math/s_ctanh.c (__ctanh): Likewise.
53699         * math/s_ctanhf.c (__ctanhf): Likewise.
53700         * math/s_ctanhl.c (__ctanhl): Likewise.
53701         * math/s_ctanl.c (__ctanl): Likewise.
53702         * math/libm-test.inc (ctan_test_tonearest): New function.
53703         (ctan_test_towardzero): Likewise.
53704         (ctan_test_downward): Likewise.
53705         (ctan_test_upward): Likewise.
53706         (ctanh_test_tonearest): Likewise.
53707         (ctanh_test_towardzero): Likewise.
53708         (ctanh_test_downward): Likewise.
53709         (ctanh_test_upward): Likewise.
53710         (main): Call these new functions.
53711         * sysdeps/i386/fpu/libm-test-ulps: Update.
53712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53714 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53716         * .gitignore: Delete /ports entry.
53718 2012-07-03  Andreas Jaeger  <aj@suse.de>
53720         * po/bg.po: Update from translation team.
53721         * po/cs.po: Likewise.
53722         * po/de.po: Likewise.
53723         * po/hr.po: Likewise.
53724         * po/nl.pl: Likewise.
53725         * po/pl.po: Likewise.
53726         * po/vi.po: Likewise.
53728 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53730         * Makeconfig [!+link] (+link-before-libc): New variable.
53731         [!+link] (+link-after-libc): Likewise.
53732         [!+link] (+link-tests): Likewise.
53733         [!+link] (+link): Define in terms of $(+link-before-libc) and
53734         $(+link-after-libc).
53735         [!+link-static] (+link-static-before-libc): New variable.
53736         [!+link-static] (+link-static-after-libc): Likewise.
53737         [!+link-static] (+link-static-tests): Likewise.
53738         [!+link-static] (+link-static): Define in terms of
53739         $(+link-static-before-libc) and $(+link-static-after-libc).
53740         [build-shared] (link-libc-before-gnulib): New variable.
53741         [build-shared] (link-libc-tests): Likewise.
53742         [build-shared] (link-libc): Define in terms of
53743         $(link-libc-before-gnulib).
53744         [!build-shared] (link-libc-tests): New variable.
53745         (link-libc-static-tests): New variable.
53746         [!gnulib] (gnulib-arch): New variable.
53747         [!gnulib] (gnulib-tests): Likewise.
53748         [!gnulib] (static-gnulib-arch): Likewise.
53749         [!gnulib] (static-gnulib-tests): Likewise.
53750         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53751         Define with "=" instead of ":=".
53752         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53753         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53754         * Rules (binaries-all-notests): New variable.
53755         (binaries-all-tests): Likewise.
53756         (binaries-static-notests): Likewise.
53757         (binaries-static-tests): Likewise.
53758         (binaries-all): Define using $(binaries-all-notests) and
53759         $(binaries-all-tests).
53760         (binaries-static): Define using $(binaries-static-notests) and
53761         $(binaries-static-tests).
53762         (binaries-shared-tests): New variable.
53763         (binaries-shared-notests): Likewise.
53764         (binaries-shared): Remove variable.
53765         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53766         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53767         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53768         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53769         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53770         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53771         * elf/Makefile (sln-modules): New variable.
53772         (extra-objs): Add $(sln-modules:=.o).
53773         (ldconfig-modules): Add static-stubs.
53774         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53775         * elf/static-stubs.c: New file.
53777         [BZ #14283]
53778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53779         by 7 not 8 to examine high bit of fractional part.  Use volatile
53780         variables when splitting into final array of floats if
53781         __FLT_EVAL_METHOD__ != 0.
53782         * math/libm-test.inc (cos_test): Add another test.
53783         (sin_test): Likewise.
53784         * sysdeps/i386/fpu/libm-test-ulps: Update.
53786         [BZ #14273]
53787         * math/libm-test.inc (cosh_test): Add more tests.
53789         * version.h (RELEASE): Set to "development".
53790         (VERSION): Set to "2.16.90".
53792 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53794         * NEWS: Update copyright. Remove last-updated date.
53795         Mention math library bug fixes and timezone data changes.
53796         * README: Mention GNU/Hurd, x32, and HPPA support status.
53798 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53800         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53802 2012-06-27  Andreas Jaeger  <aj@suse.de>
53804         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53806 2012-06-25  Andreas Jaeger  <aj@suse.de>
53808         * sysdeps/s390/fpu/libm-test-ulps: Update.
53810 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53811             Thomas Schwinge  <thomas@codesourcery.com>
53813         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53814         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53816         fanotify_mark.
53818 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53820         * sysdeps/mach/start.c: Remove file.
53821         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53822         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53823         * sysdeps/sh/init-first.c: Likewise.
53825         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53826         registers for frame unwinding purposes, add CFI directives.
53827         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53828         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53829         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53830         Likewise.
53832         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53833         __fortify_fail returning.
53834         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53836         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53837         sysdeps/sh/____longjmp_chk.S.
53838         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53839         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53840         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53841         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53843         * sysdeps/sh/abort-instr.h: New file.
53844         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53845         process in case exit returns.
53847         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53848         initialize the GOT register before use.
53850         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53851         calculation of ARGC > 4.
53853         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53854         meaningful names to some local labels.
53856 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53857             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53859         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53860         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53861         (__arch_compare_and_exchange_val_16_acq): Likewise.
53862         (__arch_compare_and_exchange_val_32_acq): Likewise.
53863         (atomic_exchange_and_add): Fix gUSA sequence.
53864         (atomic_add): Likewise.
53865         (atomic_add_negative): Likewise.
53866         (atomic_add_zero): Likewise.
53867         (atomic_bit_test_set): Likewise.
53869 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53871         [BZ #13579]
53872         * include/link.h (struct link_map): Add l_free_initfini.
53873         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53874         l_initfini.
53875         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53876         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53877         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53878         set.
53880 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53882         * configure.in: Use AC_LANG_SOURCE.
53883         * configure: Regenerate.
53885 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53887         * configure.in (libc_cv_localstatedir): New substituted variable.
53888         * configure: Regenerated.
53889         * config.make.in (localstatedir): New variable, substituted from
53890         libc_cv_localstatedir.
53891         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53892         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53893         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53894         * sysdeps/gnu/configure: Regenerated.
53896 2012-06-21  Jeff Law  <law@redhat.com>
53898         [BZ #14277]
53899         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53900         free.  Simplify list management for _LIBC case.
53902 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53904         [BZ #14273]
53905         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53906         Clear sign bit of 64-bit integer value before comparing against
53907         overflow value.
53909         * sysdeps/mach/configure: Regenerated.
53911 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53913         [BZ #14278]
53914         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53916 2012-06-21  Jeff Law  <law@redhat.com>
53918         [BZ #13882]
53919         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53920         uint16_t for elements in the "seen" array to avoid char overflows.
53921         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53922         * elf/dl-open.c (dl_open_worker): Likewise.
53924 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53926         * scripts/list-sources.sh: Scan PORTS for translations.
53927         * po/libc.pot: Regenerated.
53929 2012-06-21  Andreas Jaeger  <aj@suse.de>
53931         [BZ #12194]
53932         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53933         warning.
53934         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53935         * bits/byteswap-16.h (__bswap_16): Likewise.
53936         * bits/byteswap.h (__bswap_constant_16): Likewise.
53938 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53940         [BZ #14117]
53941         * sysdeps/i386/fpu_control.h: Removed.
53942         * sysdeps/x86_64/fpu_control.h: Moved to ...
53943         * sysdeps/x86/fpu_control.h: Here.
53945         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53946         (_FPU_SETCW): Likewise.
53948 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53950         [BZ #14117]
53951         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53952         * sysdeps/x86/fpu/bits/mathinline.h: This.
53953         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53955         [BZ #14050]
53956         [BZ #14117]
53957         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53958         functions if __x86_64__ is defined.
53960 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53962         * string/endian.h: Add !__ASSEMBLER__ condition for including
53963         conversion interfaces.
53965 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53967         [BZ #14241]
53968         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53969         of ABS(x) in calculating zero to negative powers other than odd
53970         integers.
53971         * math/libm-test.inc (pow_test): Add more tests.
53973 2012-06-15  Andreas Jaeger  <aj@suse.de>
53975         * manual/contrib.texi (Contributors): Update entry of Liubov
53976         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53977         Machado Filho.
53979 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53981         * string/string.h: Add __wur to GNU version of strerror_r.
53983 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53985         [BZ #14229]
53986         * string/Makefile (tests): Add tst-strtok_r.
53987         * string/tst-strtok_r.c: New file.
53988         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53989         RAX_LP/RDX_LP on SAVE_PTR.
53991 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53993         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53995 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53997         * libm_test.inc (csqrt_test): Allow more spurious underflow
53998         exceptions.
53999         (j0_test): Likewise.
54000         (j1_test): Likewise.
54001         (y0_test): Likewise.
54002         (y1_test): Likewise.
54004 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54006         * po/Makefile (libc.pot): Use UTF-8 charset.
54008 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54010         [BZ #14210]
54011         Suppress sign-conversion warning from FD_SET.
54012         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54013         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54014         not unsigned long int.
54015         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54017 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54019         [BZ #14050]
54020         [BZ #14117]
54021         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54022         __extern_always_inline instead of __extern_inline.
54023         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54024         (__signbit): Likewise.
54025         (__signbitl): Support C++ namespace.
54026         (lrintf): New inline function.
54027         (lrint): Likewise.
54028         (llrintf): Likewise.
54029         (llrint): Likewise.
54030         (fmaxf): Likewise.
54031         (fmax): Likewise.
54032         (fminf): Likewise.
54033         (fmin): Likewise.
54034         (rint): Likewise.
54035         (rintf): Likewise.
54036         (ceil): Likewise.
54037         (ceilf): Likewise.
54038         (floor): Likewise.
54039         (floorf): Likewise.
54040         (nearbyint): Likewise.
54041         (nearbyintf): Likewise.
54043 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54045         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54046         non-default versions.
54048 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54050         [BZ #14218]
54051         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54053 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54055         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54056         (FE_UPWARD, FE_DOWNWARD): Don't define.
54057         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54058         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54060         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54061         reading it.
54062         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54063         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54065 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54067         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54068         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54069         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54070         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54072 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54074         [BZ #14117]
54075         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54076         * sysdeps/i386/fpu/Implies: New file.
54077         * sysdeps/x86_64/fpu/Implies: Likewise.
54078         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54079         * sysdeps/x86/fpu/bits/fenv.h: This.
54081         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54082         __SSE_MATH__.
54084 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54086         [BZ #14134]
54087         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54088         character 0xffff that matches the last element of the
54089         conversion table.
54091 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54093         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54094         fmodl commit.
54096 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54098         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54099         values higher than 25.6283.
54101 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54103         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54104         subnormal exponent extraction and add some __builtin_expect.
54105         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54106         Fix for subnormal mantissa calculation.
54108 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54110         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54111         cpu2 is -1 and errno is not ENOSYS.
54113 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54115         [BZ #14117]
54116         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54117         * sysdeps/x86/bits/string.h: This.
54118         * sysdeps/x86_64/bits/string.h: Removed.
54120         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54121         if not compiling for x86-64, but compiling for >= i486.
54123         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54124         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54126         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54127         New macro from Linux kernel 3.4.0.
54128         (FP_XSTATE_MAGIC2): Likewise.
54129         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54130         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54131         (struct _fpx_sw_bytes): New struct.
54132         (struct _xsave_hdr): Likewise.
54133         (struct _ymmh_state): Likewise.
54134         (struct _xstate): Likewise.
54136         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54137         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54138         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54139         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54140         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54141         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54143         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54144         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54145         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54146         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54147         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54148         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54150 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54152         [BZ #13743]
54153         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54154         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54155         (sysdep_headers): Include sys/platform/ppc.h.
54156         * sysdeps/powerpc/test-gettimebase.c: Test for
54157         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54158         * manual/Makefile (appendices): Include platform.texi.
54159         * manual/contrib.texi (Contributors): Update @node pointers.
54160         * manual/maint.texi (Maintenance): Likewise.
54161         (Platform): New node.
54162         * manual/platform.texi: New file.  Document the new features.
54164 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54165             Jakub Jelinek  <jakub@redhat.com>
54167         [BZ #14188]
54168         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54169         where __builtin_expect is unavailable.
54171 2012-06-03  David S. Miller  <davem@davemloft.net>
54173         * stdlib/longlong.h: Updated from GCC.
54175 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54177         [BZ #14042]
54178         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54179         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54180         __mcount_internal.
54181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54182         (GLIBC_2.16): Likewise.
54184 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54186         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54188 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54191         (default-abi): New variable.
54192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54193         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54194         variable.
54195         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54196         Likewise.
54197         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54198         Likewise.
54199         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54200         Likewise.
54202         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54203         definition.  Document in comment.
54205 2012-06-01  David S. Miller  <davem@davemloft.net>
54207         * stdlib/longlong.h: Updated from GCC.
54209 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54211         [BZ #14117]
54212         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54213         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54214         sys/debugreg.h sys/io.h here.
54215         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54216         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54217         sys/io.h.
54218         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54219         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54220         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54221         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54222         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54223         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54225         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54226         Define only if __x86_64__ is defined.
54228 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54230         [BZ #14048]
54231         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54232         Use int64_t for variable i.
54233         * math/libm-test.inc (fmod_test): Add more tests.
54235         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54236         z computation is not scheduled after fetestexcept.
54237         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54238         Use math_force_eval instead of asm to ensure calculation scheduled
54239         before exception test.
54240         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54241         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54243 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54246         computation is not scheduled after fetestexcept.
54248 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54250         [BZ #14117]
54251         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54252         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54254 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54256         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54257         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54259 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54261         [BZ #14117]
54262         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54263         <bits/wordsize.h>.
54264         (__WCHAR_MIN): Support __WORDSIZE == 64.
54265         (__WCHAR_MAX): Likewise.
54267         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54268         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54270         [BZ #14183]
54271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54272         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54274         [BZ #14117]
54275         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54276         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54278         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54279         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54281         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54282         Defined to 1 if __x86_64__ isn't defined.
54283         (_STAT_VER_LINUX_OLD): New.
54284         (st_atime): Remove duplicate.
54285         (st_mtime): Likewise.
54286         (st_ctime): Likewise.
54288 2012-05-31  David S. Miller  <davem@davemloft.net>
54290         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54291         entries.
54293 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54295         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54296         gen-libm-test.pl.
54298         [BZ #14132]
54299         * elf/dl-reloc.c: Include <_itoa.h>.
54300         (_dl_reloc_bad_type): Remove use of INTUSE.
54301         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54302         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54303         * stdio-common/psiginfo.c (psiginfo): Likewise.
54304         * stdio-common/psignal.c (psignal): Likewise.
54305         * string/strsignal.c (strsignal): Likewise.
54306         * include/signal.h (_sys_siglist): Declare hidden proto.
54307         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54308         INTVARDEF with libc_hidden_data_def.
54309         * stdio-common/itoa-udigits.c: Likewise.
54310         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54311         (_itoa_lower_digits_internal): Remove declaration.
54312         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54313         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54314         (_sys_sigabbrev_internal): Remove aliases.
54315         (_sys_siglist): Define hidden alias.
54317 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54320         bits/sysctl.h.
54322 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54324         [BZ #14117]
54325         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54326         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54328         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54329         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54330         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54331         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54333         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54335         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54336         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54337         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54339         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54340         with __addr.
54341         (insw): Likewise.
54342         (insl): Likewise.
54343         (outsb): Likewise.
54344         (outsw): Likewise.
54345         (outsl): Likewise.
54347         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54348         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54349         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54351         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54352         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54353         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54354         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54355         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54356         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54358         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54359         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54361         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54362         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54364         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54366         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54368         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54369         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54370         to ...
54371         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54373         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54374         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54375         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54377         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54378         for x86-64.
54379         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54381 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54383         * math/math.h (M_El): Use two more decimal places.
54384         (M_LOG2El): Likewise.
54385         (M_LOG10El): Likewise.
54386         (M_LN2l): Likewise.
54387         (M_LN10l): Likewise.
54388         (M_PIl): Likewise.
54389         (M_PI_2l): Likewise.
54390         (M_PI_4l): Likewise.
54391         (M_1_PIl): Likewise.
54392         (M_2_PIl): Likewise.
54393         (M_2_SQRTPIl): Likewise.
54394         (M_SQRT2l): Likewise.
54395         (M_SQRT1_2l): Likewise.
54397 2012-05-31  David S. Miller  <davem@davemloft.net>
54399         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54400         values between float registers.
54401         * sysdeps/sparc/sparc64/memset.S: Likewise.
54402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54404 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54406         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54407         -D_FORTIFY_SOURCE=1.
54408         (CPPFLAGS-tst-longjmp_chk.c): Define.
54409         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54410         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54411         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54412         CFLAGS-tst-wchar-h.c.
54414 2012-05-31  Marek Polacek  <polacek@redhat.com>
54416         [BZ #14132]
54417         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54418         __endmntent_internal): Remove declaration.
54419         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54420         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54421         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54423 2012-05-30  David S. Miller  <davem@davemloft.net>
54425         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54426         (___Q_simulate_exceptions): Use real FP ops rather than writing
54427         into the %fsr.
54428         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54429         Likewise.
54431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54433         [BZ #14117]
54434         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54435         * sysdeps/x86/bits/xtitypes.h: This.
54437         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54438         * sysdeps/x86/bits/wordsize.h: This.
54440         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54441         * sysdeps/x86/bits/huge_vall.h: This.
54443         * sysdeps/i386/bits/select.h: Removed.
54444         * sysdeps/x86_64/bits/select.h: Renamed to ...
54445         * sysdeps/x86/bits/select.h: This.
54447         * sysdeps/i386/bits/setjmp.h: Removed.
54448         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54449         * sysdeps/x86/bits/setjmp.h: This.
54451         * sysdeps/i386/bits/mathdef.h: Removed.
54452         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54453         * sysdeps/x86/bits/mathdef.h: This.
54455 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54457         [BZ #14132]
54458         * include/sys/socket.h (__connect_internal)
54459         (__libc_sa_len_internal): Remove declaration.
54460         (__connect, __libc_sa_len): Declare hidden_proto.
54461         (SA_LEN): Remove use of INTUSE.
54462         * socket/connect.c: Add libc_hidden_def.
54463         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54464         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54465         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54466         alias.
54467         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54468         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54469         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54470         of adding _internal alias.
54472 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54474         [BZ #14117]
54475         * sysdeps/i386/bits/link.h: Removed.
54476         * sysdeps/i386/bits/linkmap.h: Likewise.
54477         * sysdeps/x86_64/bits/link.h: Renamed to ...
54478         * sysdeps/x86/bits/link.h: This.
54479         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54480         * sysdeps/x86/bits/linkmap.h: This.
54482         * sysdeps/i386/bits/endian.h: Removed.
54483         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54484         * sysdeps/x86/bits/endian.h: This.
54486         * sysdeps/i386/bits/byteswap.h: Removed.
54487         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54488         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54489         * sysdeps/x86/bits/byteswap.h: This.
54490         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54491         * sysdeps/x86/bits/byteswap-16.h: This.
54492         * sysdeps/i386/Implies: Add x86.
54493         * sysdeps/x86_64/Implies: Likewise.
54495 2012-05-30  David S. Miller  <davem@davemloft.net>
54497         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54498         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54499         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54500         (FP_TRAPPING_EXCEPTIONS): Define.
54501         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54502         (FP_TRAPPING_EXCEPTIONS): Define.
54503         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54504         subnormals only when inexact has been signalled or underflow
54505         exceptions are enabled.
54506         (_FP_PACK_CANONICAL): Likewise.
54508 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54510         [BZ #14183]
54511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54512         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54514 2012-05-30  Richard Henderson  <rth@twiddle.net>
54516         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54517         with #ifndef NOT_IN_libc.
54519         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54520         marked to avoid plt entry.
54522 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54524         [BZ #14112]
54525         * Makeconfig (default-abi): New macro.
54526         (abi-includes): Likewise.
54527         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54528         $(abi-$(default-abi)-lib-soname) for soname if defined.
54529         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54530         abi-variants.
54531         * Makefile (installed-stubs): Likewise.
54532         * include/stubs-biarch.h: Removed.
54533         * scripts/lib-names.awk: Only handle one library at a time.
54534         * scripts/soversions.awk: Remove WORDSIZE support.
54535         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54536         entries.
54537         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54538         Removed.
54539         (syscall-list-default-condition): Likewise.
54540         (syscall-list-default-condition): Likewise.
54541         (syscall-list-includes): Likewise.
54542         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54543         syscall-list-* with abi-*.  Handle undefined abi-variants.
54544         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54545         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54546         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54547         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54548         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54549         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54550         Removed.
54551         (syscall-list-32-options): Likewise.
54552         (syscall-list-32-condition): Likewise.
54553         (syscall-list-64-options): Likewise.
54554         (syscall-list-64-condition): Likewise.
54555         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54556         macro.
54557         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54558         Renamed to ...
54559         (abi-*): This.
54560         (abi-64-ld-soname): New macro.
54561         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54562         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54563         Renamed to ...
54564         (abi-*): This.
54565         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54566         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54568 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54570         * sysdeps/unix/sysv/linux/kernel-features.h
54571         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54572         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54573         include <kernel-features.h>.
54574         [!__NR_ftruncate64]: Remove conditional code.
54575         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54576         [__NR_ftruncate64]: Make code unconditional.
54577         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54578         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54579         include <kernel-features.h>.
54580         [!__NR_ftruncate64]: Remove conditional code.
54581         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54582         [__NR_ftruncate64]: Make code unconditional.
54583         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54585         include <kernel-features.h>.
54586         [!__NR_ftruncate64]: Remove conditional code.
54587         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54588         [__NR_ftruncate64]: Make code unconditional.
54589         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54591         include <kernel-features.h>.
54592         [!__NR_ftruncate64]: Remove conditional code.
54593         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54594         [__NR_ftruncate64]: Make code unconditional.
54595         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54597         * configure.in (libc_cv_fpie): Weaken to a compile test using
54598         LIBC_TRY_CC_OPTION.
54599         * configure: Regenerated.
54601 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54607         Refreshed.
54608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54614         Refreshed.
54616 2012-05-27  David S. Miller  <davem@davemloft.net>
54618         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54619         (___Q_zero): New.
54620         (__Q_simulate_exceptions): Return void.  Change to simulate
54621         exceptions by writing into the %fsr.
54622         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54623         (__Qp_handle_exceptions): Likewise.
54624         (numbers): Delete.
54625         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54626         __Qp_handle_exceptions.
54627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54628         __Qp_handle_exceptions.
54629         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54630         as unused and give dummy FP_RND_NEAREST initializer.
54631         (FP_INHIBIT_RESULTS): Define.
54632         (___Q_simulate_exceptions): Update declaration.
54633         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54634         formatting.
54635         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54636         as unused and give dummy FP_RND_NEAREST initializer.
54637         (__Qp_handle_exceptions): Update declaration.
54638         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54639         formatting.
54641 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54643         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54644         the temporary FPU control word.
54645         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54646         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54647         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54648         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54649         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54650         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54651         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54652         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54653         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54654         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54655         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54657 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54659         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54660         fields.
54662 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54664         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54665         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54666         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54667         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54668         Likewise.
54669         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54670         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54671         Likewise.
54673 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54675         * po/h.po: Update from translation team.
54677 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54679         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54681         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54682         handling of denormals.
54683         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54684         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54685         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54686         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54690         Likewise.
54692 2012-05-26  Marek Polacek  <polacek@redhat.com>
54694         [BZ #14152]
54695         * math/libm-test.inc (fma_test): Don't always expect underflow
54696         exception.
54698 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54700         [BZ #12416]
54701         * elf/tst-execstack.c: Include stackinfo.h.
54702         (do_test): Adjust test case to ensure that pthread_getattr_np
54703         behaviour remains the same after marking stack executable.
54705 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54707         * sysdeps/unix/sysv/linux/kernel-features.h
54708         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54709         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54710         kernel-features.h.
54711         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54712         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54713         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54714         kernel-features.h.
54715         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54716         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54718 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54720         * configure.in: Define the default includes to being none.
54721         * configure: Regenerated.
54723 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54725         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54726         * sysdeps/x86_64/setjmp.S: Likewise.
54727         * sysdeps/i386/bsd-setjmp.S: Likewise.
54728         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54729         * sysdeps/i386/setjmp.S: Likewise.
54730         * sysdeps/i386/__longjmp.S: Likewise.
54731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54732         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54734         * include/stap-probe.h: New file.
54735         * configure.in: Handle --enable-systemtap.
54736         * configure: Regenerated.
54737         * config.h.in (USE_STAP_PROBE): New #undef.
54738         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54739         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54740         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54742 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54744         [BZ #13717]
54745         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54746         to 2.4.0 where earlier.
54747         * sysdeps/unix/sysv/linux/configure: Regenerated.
54748         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54749         <kernel-features.h>.
54750         [__ASSUME_32BITUIDS]: Make code unconditional.
54751         [!__ASSUME_32BITUIDS]: Remove conditional code.
54752         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54753         <kernel-features.h>.
54754         [__ASSUME_32BITUIDS]: Make code unconditional.
54755         [!__ASSUME_32BITUIDS]: Remove conditional code.
54756         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54757         [__ASSUME_32BITUIDS]: Make code unconditional.
54758         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54759         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
54796         <kernel-features.h>.
54797         [__ASSUME_32BITUIDS]: Make code unconditional.
54798         [!__ASSUME_32BITUIDS]: Remove conditional code.
54799         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54800         <kernel-features.h>.
54801         [__NR_setresgid] (__setresgid): Do not declare.
54802         [__ASSUME_32BITUIDS]: Make code unconditional.
54803         [!__ASSUME_32BITUIDS]: Remove conditional code.
54804         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54805         <kernel-features.h>.
54806         [__NR_setresuid] (__setresuid): Do not declare.
54807         [__ASSUME_32BITUIDS]: Make code unconditional.
54808         [!__ASSUME_32BITUIDS]: Remove conditional code.
54809         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54810         <kernel-features.h>.
54811         [__ASSUME_32BITUIDS]: Make code unconditional.
54812         [!__ASSUME_32BITUIDS]: Remove conditional code.
54813         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54814         <kernel-features.h>.
54815         [__ASSUME_32BITUIDS]: Make code unconditional.
54816         [!__ASSUME_32BITUIDS]: Remove conditional code.
54817         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
54826         <kernel-features.h>.
54827         [__ASSUME_32BITUIDS]: Make code unconditional.
54828         [!__ASSUME_32BITUIDS]: Remove conditional code.
54829         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54830         <kernel-features.h>.
54831         [__ASSUME_32BITUIDS]: Make code unconditional.
54832         [!__ASSUME_32BITUIDS]: Remove conditional code.
54833         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54834         <kernel-features.h>.
54835         [__ASSUME_32BITUIDS]: Make code unconditional.
54836         [!__ASSUME_32BITUIDS]: Remove conditional code.
54837         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54838         <kernel-features.h>.
54839         [__ASSUME_32BITUIDS]: Make code unconditional.
54840         [!__ASSUME_32BITUIDS]: Remove conditional code.
54841         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54842         <kernel-features.h>.
54843         [__ASSUME_32BITUIDS]: Make code unconditional.
54844         [!__ASSUME_32BITUIDS]: Remove conditional code.
54845         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54846         <kernel-features.h>.
54847         [__ASSUME_32BITUIDS]: Make code unconditional.
54848         [!__ASSUME_32BITUIDS]: Remove conditional code.
54849         * sysdeps/unix/sysv/linux/kernel-features.h
54850         (__ASSUME_SETRESUID_SYSCALL): Remove.
54851         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54852         (__ASSUME_32BITUIDS): Likewise.
54853         (__ASSUME_LDT_WORKS): Likewise.
54854         (__ASSUME_O_DIRECTORY): Likewise.
54855         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54856         architecture but not kernel version.
54857         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54858         (__ASSUME_MMAP2_SYSCALL): Likewise.
54859         (__ASSUME_STAT64_SYSCALL): Likewise.
54860         (__ASSUME_IPC64): Likewise.
54861         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54862         <kernel-features.h>.
54863         [__ASSUME_32BITUIDS]: Make code unconditional.
54864         [!__ASSUME_32BITUIDS]: Remove conditional code.
54865         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54866         <kernel-features.h>.
54867         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54868         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54869         132096]: Remove conditional code.
54870         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54871         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54872         <kernel-features.h>.
54873         [__ASSUME_32BITUIDS]: Make code unconditional.
54874         [!__ASSUME_32BITUIDS]: Remove conditional code.
54875         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54876         <kernel-features.h>.
54877         [__ASSUME_32BITUIDS]: Make code unconditional.
54878         [!__ASSUME_32BITUIDS]: Remove conditional code.
54879         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54880         <kernel-features.h>.
54881         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54882         unconditional.
54883         (__setresgid): Do not declare.
54884         [__ASSUME_32BITUIDS]: Make code unconditional.
54885         [!__ASSUME_32BITUIDS]: Remove conditional code.
54886         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54887         <kernel-features.h>.
54888         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54889         unconditional.
54890         (__setresuid): Do not declare.
54891         [__ASSUME_32BITUIDS]: Make code unconditional.
54892         [!__ASSUME_32BITUIDS]: Remove conditional code.
54893         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54894         <kernel-features.h>.
54895         [__ASSUME_32BITUIDS]: Make code unconditional.
54896         [!__ASSUME_32BITUIDS]: Remove conditional code.
54897         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54898         <kernel-features.h>.
54899         [__ASSUME_32BITUIDS]: Make code unconditional.
54900         [!__ASSUME_32BITUIDS]: Remove conditional code.
54902 2012-05-25  Richard Henderson  <rth@twiddle.net>
54904         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54905         dl_hwcap to ifunc resolver.
54906         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54907         elf_ifunc_invoke.
54908         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54909         dl_hwcap to ifunc resolver.
54910         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54912 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54914         [BZ #14153]
54915         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54916         for |x| <= 2**-26, not 2**-57.
54917         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54918         exception.
54920 2012-05-24  Jeff Law  <law@redhat.com>
54922         * stdio-common/Makefile (tests): Add bug25.
54923         * stdio-common/bug25.c: New test.
54925 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54927         [BZ #13576]
54928         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54929         multiple of MALLOC_ALIGNMENT in size.
54930         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54932 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54934         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54935         Require >= 256.
54936         (FILENAME_MAX): Use macro-int-constant.
54937         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54938         (_IOFBF): Use macro-int-constant.
54939         (_IOLBF): Likewise.
54940         (_IONBF): Likewise.
54941         (SEEK_CUR): Likewise.
54942         (SEEK_END): Likewise.
54943         (SEEK_SET): Likewise.
54944         (TMP_MAX): Likewise.
54945         (EOF): Use macro-int-constant.  Require < 0.
54946         (NULL): Use macro-constant.  Require == 0.
54947         (stdin): Require type to be FILE *.
54948         (stdout): Likewise.
54949         (stderr): Likewise.
54950         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54951         macro-int-constant.
54952         (EXIT_SUCCESS): Likewise.
54953         (NULL): Use macro-constant.  Require == 0.
54954         (RAND_MAX): Use macro-int-constant.
54955         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54956         [C99-based standards] (strtof): Require function.
54957         [C99-based standards] (strtold): Likewise.
54958         [C99-based standards] (strtoll): Likewise.
54959         [C99-based standards] (strtoull): Likewise.
54960         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54961         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54962         [ISO || ISO99 || ISO11] (math.h): Likewise.
54963         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54964         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54965         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54967 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54969         [BZ #14132]
54970         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54971         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54972         * intl/dgettext.c (DCGETTEXT): Likewise.
54973         * intl/gettext.c (DCGETTEXT): Likewise.
54974         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54975         * posix/regex_internal.h (gettext): Likewise.
54976         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54977         Remove declaration.
54978         * include/argz.h (__argz_count_internal)
54979         (__argz_stringify_internal): Remove declaration.
54980         (__argz_count, __argz_stringify): Declare hidden proto.
54981         * intl/dcgettext.c: Remove use of INTDEF.
54982         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54983         * string/argz-stringify.c: Likewise.
54984         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54985         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54986         Declare hidden proto.
54987         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54988         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54989         Declare hidden proto.
54990         * include/stdio.h (__asprintf_internal): Don't declare.
54991         (__asprintf): Don't define as macro.  Declare hidden proto.
54992         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54993         (__fsetlocking): Declare hidden proto.
54994         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54995         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54996         hidden proto.
54997         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54998         (_IO_setlinebuf): Remove use of INTUSE.
54999         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55000         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55001         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55002         Remove declaration.
55003         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55004         (_IO_do_flush): Remove use of INTUSE.
55005         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55006         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55007         (_IO_adjust_column, _IO_least_wmarker)
55008         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55009         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55010         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55011         (_IO_default_doallocate, _IO_wdefault_doallocate)
55012         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55013         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55014         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55015         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55016         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55017         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55018         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55019         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55020         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55021         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55022         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55023         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55024         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55025         proto.
55026         (_IO_flush_all_internal, _IO_adjust_column_internal)
55027         (_IO_default_uflow_internal, _IO_default_finish_internal)
55028         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55029         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55030         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55031         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55032         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55033         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55034         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55035         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55036         (_IO_file_close_internal, _IO_file_close_it_internal)
55037         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55038         (_IO_file_init_internal, _IO_file_attach_internal)
55039         (_IO_file_fopen_internal, _IO_file_read_internal)
55040         (_IO_file_sync_internal, _IO_file_seek_internal)
55041         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55042         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55043         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55044         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55045         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55046         (_IO_list_all_internal, _IO_link_in_internal)
55047         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55048         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55049         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55050         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55051         (_IO_do_write_internal, _IO_padn_internal)
55052         (_IO_getline_info_internal, _IO_getline_internal)
55053         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55054         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55055         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55056         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55057         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55058         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55059         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55060         with libc_hidden_ver, remove use of INTUSE.
55061         * libio/genops.c: Likewise.
55062         * libio/freopen.c: Likewise.
55063         * libio/freopen64.c: Likewise.
55064         * libio/iofclose.c: Likewise.
55065         * libio/iofdopen.c: Likewise.
55066         * libio/iofflush.c: Likewise.
55067         * libio/iofflush_u.c: Likewise.
55068         * libio/iofgets.c: Likewise.
55069         * libio/iofgets_u.c: Likewise.
55070         * libio/iofopen.c: Likewise.
55071         * libio/iofopncook.c: Likewise.
55072         * libio/iofread.c: Likewise.
55073         * libio/iofread_u.c: Likewise.
55074         * libio/ioftell.c: Likewise.
55075         * libio/iofwrite.c: Likewise.
55076         * libio/iogetline.c: Likewise.
55077         * libio/iogets.c: Likewise.
55078         * libio/iogetwline.c: Likewise.
55079         * libio/iopadn.c: Likewise.
55080         * libio/iopopen.c: Likewise.
55081         * libio/ioseekoff.c: Likewise.
55082         * libio/ioseekpos.c: Likewise.
55083         * libio/iosetbuffer.c: Likewise.
55084         * libio/iosetvbuf.c: Likewise.
55085         * libio/ioungetc.c: Likewise.
55086         * libio/ioungetwc.c: Likewise.
55087         * libio/iovdprintf.c: Likewise.
55088         * libio/iovsprintf.c: Likewise.
55089         * libio/iovsscanf.c: Likewise.
55090         * libio/memstream.c: Likewise.
55091         * libio/obprintf.c: Likewise.
55092         * libio/oldfileops.c: Likewise.
55093         * libio/oldiofclose.c: Likewise.
55094         * libio/oldiofdopen.c: Likewise.
55095         * libio/oldiofopen.c: Likewise.
55096         * libio/oldiopopen.c: Likewise.
55097         * libio/oldstdfiles.c: Likewise.
55098         * libio/putc.c: Likewise.
55099         * libio/setbuf.c: Likewise.
55100         * libio/setlinebuf.c: Likewise.
55101         * libio/stdfiles.c: Likewise.
55102         * libio/strops.c: Likewise.
55103         * libio/vasprintf.c: Likewise.
55104         * libio/vscanf.c: Likewise.
55105         * libio/vsnprintf.c: Likewise.
55106         * libio/vswprintf.c: Likewise.
55107         * libio/wfiledoalloc.c: Likewise.
55108         * libio/wfileops.c: Likewise.
55109         * libio/wgenops.c: Likewise.
55110         * libio/wmemstream.c: Likewise.
55111         * libio/wstrops.c: Likewise.
55112         * libio/__fpurge.c: Likewise.
55113         * libio/__fsetlocking.c: Likewise.
55114         * assert/assert.c: Likewise.
55115         * debug/fgets_chk.c: Likewise.
55116         * debug/fgets_u_chk.c: Likewise.
55117         * debug/fread_chk.c: Likewise.
55118         * debug/fread_u_chk.c: Likewise.
55119         * debug/gets_chk.c: Likewise.
55120         * debug/obprintf_chk.c: Likewise.
55121         * debug/vasprintf_chk.c: Likewise.
55122         * debug/vdprintf_chk.c: Likewise.
55123         * debug/vsnprintf_chk.c: Likewise.
55124         * debug/vsprintf_chk.c: Likewise.
55125         * malloc/mtrace.c: Likewise.
55126         * misc/error.c: Likewise.
55127         * misc/syslog.c: Likewise.
55128         * stdio-common/asprintf.c: Likewise.
55129         * stdio-common/fxprintf.c: Likewise.
55130         * stdio-common/getw.c: Likewise.
55131         * stdio-common/isoc99_fscanf.c: Likewise.
55132         * stdio-common/isoc99_scanf.c: Likewise.
55133         * stdio-common/isoc99_vfscanf.c: Likewise.
55134         * stdio-common/isoc99_vscanf.c: Likewise.
55135         * stdio-common/isoc99_vsscanf.c: Likewise.
55136         * stdio-common/printf-prs.c: Likewise.
55137         * stdio-common/printf_fp.c: Likewise.
55138         * stdio-common/printf_fphex.c: Likewise.
55139         * stdio-common/printf_size.c: Likewise.
55140         * stdio-common/putw.c: Likewise.
55141         * stdio-common/scanf.c: Likewise.
55142         * stdio-common/sprintf.c: Likewise.
55143         * stdio-common/tmpfile.c: Likewise.
55144         * stdio-common/vfprintf.c: Likewise.
55145         * stdio-common/vfscanf.c: Likewise.
55146         * stdlib/strfmon_l.c: Likewise.
55147         * sunrpc/openchild.c: Likewise.
55148         * sunrpc/xdr_stdio.c: Likewise.
55149         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55150         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55152 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55154         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55156         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55157         in the third column, to generate for the shared library an IFUNC
55158         that uses _dl_vdso_vsym.
55159         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55160         * Makeconfig (object-suffixes-noshared): New variable.
55162         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55163         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55164         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55165         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55167         [BZ #14132]
55168         * include/sys/time.h (__gettimeofday): Remove macro.
55169         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55170         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55171         Remove INTDEF.
55172         (__gettimeofday): Add libc_hidden_def.
55173         (gettimeofday): Add libc_hidden_weak.
55174         * sysdeps/mach/gettimeofday.c: Likewise.
55175         * sysdeps/posix/gettimeofday.c: Likewise.
55176         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55177         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55178         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55179         (__gettimeofday_internal): Remove strong_alias.
55180         (__gettimeofday): Add libc_hidden_def.
55181         (gettimeofday): Add libc_hidden_weak.
55182         * sysdeps/unix/syscalls.list (gettimeofday):
55183         Remove __gettimeofday_internal alias.
55185 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55186             H.J. Lu  <hongjiu.lu@intel.com>
55188         [BZ #12495]
55189         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55190         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55191         (largebin_index_32_big): New.
55192         (largebin_index): Use it for 16-byte alignment.
55193         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55194         correction with front_misalign.
55196 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55200         Likewise.
55201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55202         Likewise.
55203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55204         Likewise.
55205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55206         Likewise.
55207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55208         Likewise.
55209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55210         Likewise.
55211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55212         Likewise.
55213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55214         Likewise.
55215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55216         Likewise.
55217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55218         Likewise.
55219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55220         Likewise.
55221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55222         Likewise.
55224         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55225         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55227 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55229         [BZ #10846]
55230         [BZ #14036]
55231         * math/libm-test.inc (exp_test): Add test from bug 14036.
55232         (pow_test): Add test from bug 10846.
55234         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55235         and other flags.
55236         (special_function): Do not include flags in test name.
55237         (parse_args): Likewise.
55238         * sysdeps/i386/fpu/libm-test-ulps: Update.
55239         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55240         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55241         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55244         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55245         exceptions.
55246         * math/libm-test.inc ("Philosophy"): Update comment about
55247         exception testing.
55248         (UNDERFLOW_EXCEPTION): New macro.
55249         (UNDERFLOW_EXCEPTION_OK): Likewise.
55250         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55251         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55252         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55253         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55254         (INVALID_EXCEPTION_OK): Update value.
55255         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55256         (OVERFLOW_EXCEPTION_OK): Likewise.
55257         (IGNORE_ZERO_INF_SIGN): Likewise.
55258         (test_exceptions): Handle underflow exceptions.
55259         (acos_test): Update for underflow exception expectations.
55260         (cexp_test): Likewise.
55261         (clog_test): Likewise.
55262         (clog10_test): Likewise.
55263         (csqrt_test): Likewise.
55264         (ctan_test): Likewise.
55265         (ctanh_test): Likewise.
55266         (exp_test): Likewise.
55267         (exp10_test): Likewise.
55268         (exp2_test): Likewise.
55269         (expm1_test): Likewise.
55270         (fma_test): Likewise.
55271         (j0_test): Likewise.
55272         (jn_test): Likewise.
55273         (nexttoward_test): Likewise.
55274         (pow_test): Likewise.
55275         (scalbn_test): Likewise.
55276         (scalbln_test): Likewise.
55277         (tan_test): Likewise.
55278         (y1_test): Likewise.
55279         * sysdeps/i386/fpu/libm-test-ulps: Update.
55280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55282 2012-05-23  David S. Miller  <davem@davemloft.net>
55284         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55285         (__libc_sigaction): Remove unused local variables.
55287 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55289         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55291 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55293         mktime: avoid signed integer overflow
55294         * time/mktime.c (__mktime_internal): Do not mishandle the case
55295         where diff == INT_MIN.
55297         mktime: simplify computation of average
55298         * time/mktime.c (ranged_convert): Use new time_t_avg function
55299         instead of rolling our own (probably-slower) code.
55301         mktime: do not assume signed right shift propagates sign bit
55302         * time/mktime.c (isdst_differ): New static function.
55303         (__mktime_internal): No need to normalize tm_isdst now.
55304         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55305         tm_isdst values.
55307         mktime: merge another wrapv change from gnulib
55308         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55309         from some compilers.
55311         mktime: remove incorrect attempt at unusual arithmetics
55312         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55313         The code didn't really work on such machines anyway.
55314         (TYPE_MINIMUM): Assume two's complement.
55315         (twos_complement_arithmetic): Verify that long_int and time_t
55316         are two's complement (or unsigned, in the latter case).
55318         mktime: check signed shifts on long_int and time_t, too
55319         * time/mktime.c (SHR): Check that shifts work as desired
55320         on the types long_int and time_t too, as SHR is used on
55321         such types.
55323         mktime: do not assume 'long' is wide enough
55324         * time/mktime.c (verify): Move decl up.
55325         (long_int): New type.
55326         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55327         to remove assumption in the code that 'long' is wide enough to
55328         store year values.  This assumption is not true on x32 and on
55329         some non-glibc platforms.
55331         mktime: merge wrapv change from gnulib
55332         * time/mktime.c (WRAPV): New macro.
55333         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55334         (guess_time_tm, __mktime_internal): Do not assume that signed
55335         integer overflow wraps around; modern compilers generate code
55336         where this assumption is no longer valid.
55338 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55340         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55341         Replace "jmp L(pseudo_end)" with "ret".
55342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55343         Likewise.
55345 2012-05-23  Andreas Jaeger  <aj@suse.de>
55347         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55348         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55350 2012-05-23  Andreas Jaeger  <aj@suse.de>
55351             Maximilian Attems  <max@stro.at>
55353         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55354         New macros.
55356 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55358         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55359         code so that pseudo_end is just ret and the stack pointer is
55360         correct also for static library in error case.
55362 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55364         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55365         move to syscalls.list.
55366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55371         * manual/install.texi (Running make install): Do not mention Linux
55372         kernel version for which pt_chown is not needed.
55373         (Linux): Do not mention problems with nscd with 2.0 kernels.
55374         * INSTALL: Regenerated.
55376 2012-05-23  Andreas Jaeger  <aj@suse.de>
55378         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55379         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55380         macro.
55381         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55382         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55383         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55384         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55385         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55386         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55387         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55389         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55391         * sysdeps/unix/sysv/linux/bits/in.h
55392         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55394 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55396         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55397         (PREPARE_VERSION): Just use assert instead, it will be elided
55398         under [NDEBUG] anyway.
55400 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55402         * sysdeps/unix/sysv/linux/Makefile: Include
55403         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55404         (sysdep_routines): Remove sysctl.
55405         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55406         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55407         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55408         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55409         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55411 2012-05-22  Andreas Jaeger  <aj@suse.de>
55413         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55414         that pseudo_end is just ret and the stack pointer is correct also
55415         for static library in error case.
55417 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55419         [BZ #14122]
55420         * nss/nsswitch.c (defconfig_entries): New variable.
55421         (__nss_database_lookup): Don't leak defconfig entries.
55422         (nss_parse_service_list): Don't leak on error paths.
55423         (free_database_entries): New function.
55424         (free_defconfig): New function.
55425         (free_mem): Move common code to free_database_entries.
55427 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55429         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55430         Add arch_prctl.
55431         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55433         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55434         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55436         New macro.
55437         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55438         (INTERNAL_SYSCALL_TYPES): Likewise.
55439         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55440         (LOAD_REGS_TYPES_[1-6]): Likewise.
55441         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55442         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55444 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55446         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55447         copysignl for GLIBC_2_0.
55448         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55449         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55451         logbl for GLIBC_2_0.
55452         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55453         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55455 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55458         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55460         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55461         Use "neg %eax".
55463         * time/mktime.c: Update copyright years.
55465 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55467         mktime: merge comment-quoting-style change from gnulib
55468         * time/mktime.c: Quote 'like this' in comments.
55469         The GNU coding standards suggest that we no longer quote `like this',
55470         as "`" and "'" are typically rendered asymmetrically nowadays.
55471         The typical gnulib style is to quote 'like this' when quoting
55472         code, and "like this" when quoting English.
55474         * time/mktime.c (compile-command): Add "-I.".
55476         mktime: merge mktime-internal.h change from gnulib
55477         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55479         mktime: merge time_r change from gnulib
55480         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55482         mktime: merge DEBUG change from gnulib
55483         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55484         case system <time.h> has a #define.
55486         mktime: merge <sys/types.h> change from gnulib
55487         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55488         since <time.t> is now guaranteed to define time_t.
55490         mktime: merge HAVE_CONFIG_H change from gnulib
55491         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55493 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55495         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55496         Use "neg %eax".
55498         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55499         __rlim_t cast.
55500         (struct rusage): Use anonymous union to pad each field to
55501         __syscall_slong_t.
55503 2012-05-21  David S. Miller  <davem@davemloft.net>
55505         * Makefules (o-iterator): Remove .s cases.
55506         (compile-command.s): Delete.
55507         (COMPILE.s): Delete.
55508         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55510 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55512         * configure.in (libc_cv_predef_stack_protector): Only consider
55513         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55514         * configure: Regenerated.
55516 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55519         New macro.  Use R*LP on int and pointer.
55520         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55521         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55522         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55523         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55525         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55526         [__WORDSIZE_TIME64_COMPAT32] instead of
55527         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55528         (struct utmp): Likewise.
55529         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55530         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55531         Renamed to ...
55532         (__WORDSIZE_TIME64_COMPAT32): This.
55533         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55534         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55535         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55536         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55537         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55538         (__WORDSIZE_TIME64_COMPAT32): New macro.
55540 2012-05-21  Andreas Jaeger  <aj@suse.de>
55542         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55543         only if [SHARED]. Add prototype for __wcschr_ia32.
55545 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55547         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55548         of %rbp unmolested in the jmp_buf while mangling the low bits.
55549         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55550         unmolested high bits of %rbp while demangling the low bits.
55551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55553 2012-05-21  Andreas Jaeger  <aj@suse.de>
55555         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55556         * sunrpc/svc_simple.c: Use it for registerrpc.
55557         * sunrpc/xcrypt.c: Use it for passwd2des.
55559         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55561 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55563         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55564         Don't define if [__SYSCALL_WORDSIZE != 32].
55565         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55566         New macro.
55568 2012-05-21  Bruno Haible  <bruno@clisp.org>
55569             Andreas Jaeger  <aj@suse.de>
55571         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55572         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55573         inptr and inend for must_buffer_ch.
55574         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55575         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55576         * stdio-common/Makefile (tests): Remove bug15.
55577         (bug15-ENV): Remove macro.
55578         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55579         anymore.
55581 2012-05-19  Andreas Jaeger  <aj@suse.de>
55582             Roland McGrath  <roland@hack.frob.com>
55584         * manual/contrib.texi: Completely rewritten. It contains now an
55585         alphabetical list of contributors and their contributions.
55587 2012-05-21  Richard Henderson  <rth@twiddle.net>
55589         * misc/getauxval.c (__getauxval): Use unsigned long int.
55590         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55591         (getauxval): Use unsigned long int.
55593 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55595         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55597 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55599         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55600         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55601         __alignof__ (long double).
55603 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55607 2012-05-20  Richard Henderson  <rth@twiddle.net>
55609         * misc/getauxval.c: New file.
55610         * misc/sys/auxv.h: New file.
55611         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55612         (routines): Add getauxval.
55613         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55614         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55615         * elf/dl-sysdep.c (_dl_auxv): Remove.
55616         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55617         * elf/dl-support.c (_dl_auxv): New variable.
55618         (_dl_aux_init): Initialize it.
55619         * manual/startup.texi (Auxiliary Vector): New node.
55620         * sysdeps/generic/bits/hwcap.h: New file.
55621         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55622         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55623         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55624         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55625         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55626         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55628         Update.
55629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55638 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55642 2012-05-19  David S. Miller  <davem@davemloft.net>
55644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55646 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55648         [BZ #14123]
55649         * math/s_ccosh.c: Include <float.h>
55650         (__ccosh): Avoid internal overflow calculating sinh and cosh
55651         values before multiplying by sin and cos values.
55652         * math/s_ccoshf.c: Likewise.
55653         * math/s_ccoshl.c: Likewise.
55654         * math/s_csin.c: Likewise.
55655         * math/s_csinf.c: Likewise.
55656         * math/s_csinl.c: Likewise.
55657         * math/s_csinh.c: Likewise.
55658         * math/s_csinhf.c: Likewise.
55659         * math/s_csinhl.c: Likewise.
55660         * math/libm-test.inc (ccos_test): Add more tests.
55661         (ccosh_test): Likewise.
55662         (csin_test): Likewise.
55663         (csinh_test): Likewise.
55664         * sysdeps/i386/fpu/libm-test-ulps: Update.
55665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55667 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55669         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55670         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55672         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55674 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55676         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55677         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55678         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55679         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55680         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55681         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55682         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55683         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55684         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55685         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55686         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55687         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55688         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55689         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55690         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55691         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55692         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55693         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55694         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55695         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55696         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55697         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55698         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55699         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55700         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55701         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55702         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55703         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55704         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55705         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55706         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55708 2012-05-18  Andreas Jaeger  <aj@suse.de>
55710         * csu/.gitignore: Delete.
55712 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55714         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55715         (timex): Use __syscall_slong_t.
55717 2012-05-18  Andreas Jaeger  <aj@suse.de>
55718             Carlos O'Donell  <carlos_odonell@mentor.com>
55720         * manual/install.texi (Configuring and compiling): Update
55721         description about files modified in the source directory.
55722         * INSTALL: Regenerated.
55724 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55726         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55727         value.  Use "or" to set return value to -1.
55728         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55729         negate return value.
55731 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55733         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55734         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55735         failure if the compiler has Graphite support disabled.
55736         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55737         Likewise.
55738         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55739         (CFLAGS-memmove.c): Likewise.
55740         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55741         Likewise.
55743 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55745         * sysdeps/x86_64/x32/_itoa.h: New file.
55747         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55748         getdents system call only if kernel and user dirents have the
55749         same d_ino and d_off.
55751         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55752         LLONG_MAX != LONG_MAX.
55753         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55754         (_fitoa_word): Likewise.
55756         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55757         years.
55758         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55759         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55760         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55762         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55763         include <bits/wordsize.h>.  Check __x86_64__ instead of
55764         __WORDSIZE.
55765         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55766         if __x86_64__ is defined.  Use anonymous union on fpstate.
55768         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55769         anonymous union.
55771 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55773         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55774         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55775         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55776         Refer to _rtld_local_ro instead of _rtld_global_ro.
55777         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55778         Likewise.
55779         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55780         Likewise.
55781         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55782         Likewise.
55783         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55784         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55785         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55787         [BZ #10882]
55788         * sysdeps/powerpc/powerpc32/dl-machine.c
55789         (__elf_machine_runtime_setup) [PROF]: Don't reference
55790         _dl_prof_resolve.
55792 2012-05-18  Andreas Jaeger  <aj@suse.de>
55794         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55795         function only available for GCCs before 3.4 since GCC 3.4
55796         introduced a builtin.
55797         (lrint): Likewise.
55798         (llrintf): Likewise.
55799         (llrint): Likewise.
55800         (fmaxf): Likewise.
55801         (fmax): Likewise.
55802         (fminf): Likewise.
55803         (fmin): Likewise.
55804         (rint): Likewise.
55805         (rintf): Likewise.
55806         (nearbyint): Likewise.
55807         (nearbyintf): Likewise.
55808         (ceil): Likewise.
55809         (ceilf): Likewise.
55810         (floor): Likewise.
55811         (floorf): Likewise.
55813 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55815         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55816         on both fields and cast pointer to __syscall_ulong_t.
55818         * bits/types.h (__fsword_t): New type.
55819         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55820         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55821         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55822         (__FSWORD_T_TYPE): Likewise.
55823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55824         (__FSWORD_T_TYPE): Likewise.
55825         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55826         (__FSWORD_T_TYPE): Likewise.
55827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55828         (__FSWORD_T_TYPE): Likewise.
55829         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55830         __SWORD_TYPE with __fsword_t.
55831         (statfs64): Likewise.
55833 2012-05-17  David S. Miller  <davem@davemloft.net>
55835         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55837 2012-05-17  Andreas Jaeger  <aj@suse.de>
55839         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55840         warning.
55842 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55844         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55846 2012-05-17  Andreas Jaeger  <aj@suse.de>
55848         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55849         when it is used.
55851 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55853         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55855 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55857         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55858         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55860 2012-05-17  Andreas Jaeger  <aj@suse.de>
55861             Carlos O'Donell  <carlos_odonell@mentor.com>
55863         [BZ #14059]
55864         * sysdeps/x86_64/multiarch/init-arch.h
55865         (bit_YMM_Usable): Rename to...
55866         (bit_AVX_Usable): ... this.
55867         (bit_FMA4_Usable): New macro.
55868         (bit_XMM_state): New macro.
55869         (bit_YMM_state): New macro.
55870         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55871         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55872         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55873         (CPUID_OSXSAVE): New macro.
55874         (CPUID_AVX): New macro.
55875         (CPUID_FMA4): New macro.
55876         (index_YMM_Usable): Rename to...
55877         (index_AVX_Usable): ... this.
55878         (HAS_AVX): Use HAS_ARCH_FEATURE.
55879         (HAS_FMA4): Likewise.
55880         (HAS_YMM_USABLE): Remove.
55881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55882         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55883         are present.
55884         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55885         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55886         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55887         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55888         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55890 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55892         * math/libm-test.c: Support platforms without multiple rounding modes.
55893         * math/bug-nextafter.c: Support platforms without FP exceptions.
55894         * math/bug-nexttoward.c: Likewise.
55895         * math/test-fenv.c: Likewise.
55896         * math/test-misc.c: Likewise.
55897         * stdlib/bug-getcontext.c: Likewise.
55899 2012-05-17  Andreas Jaeger  <aj@suse.de>
55901         * manual/examples/search.c (critter_cmp): Change signature to
55902         avoid warnings.
55903         * manual/string.texi (Collation Functions): Likewise.
55905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55907         * bits/types.h: Fold copyright years.
55908         * bits/typesizes.h: Likewise.
55909         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55913         * time/time.h: Likewise.
55915 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55917         [BZ #208]
55918         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55919         in instead of returning them.  Return void.
55920         (__libc_mallinfo): Accumulate over all arenas.
55921         (__malloc_stats): Adjust for change in int_mallinfo interface.
55923 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55925         [BZ #10375]
55926         * configure.in (NM): Add AC_CHECK_TOOL for it.
55927         (libc_extra_cflags): New substituted variable.
55928         Check for -fstack-protector being used implicitly.
55929         * configure: Regenerated.
55930         * config.make.in (config-extra-cflags): New variable,
55931         gets @libc_extra_cflags@.
55932         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55934         [BZ #10375]
55935         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55936         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55937         * configure: Regenerated.
55938         * config.make.in (CPPUNDEFS): New substituted variable.
55939         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55940         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55941         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55943 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55945         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55946         (mq_attr): Use __syscall_slong_t.
55948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55950         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55951         Check __x86_64__ instead of __WORDSIZE.
55952         (_STAT_VER_LINUX): Likewise.
55953         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55954         __syscall_ulong_t and __syscall_slong_t.
55955         (stat64): Likewise.
55957 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55959         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55961 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55963         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55967         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55968         __syscall_ulong_t.
55970         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55971         include <bits/wordsize.h>.  Check __x86_64__ instead of
55972         __WORDSIZE.
55973         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55974         defined.
55975         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55977         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55978         include <bits/wordsize.h>.  Check __x86_64__ instead of
55979         __WORDSIZE.
55980         (user_regs_struct): Use "__extension__ unsigned long long"
55981         instead of "unsigned long" if __x86_64__ is defined.
55982         (user): Likewise.  Pad after pointer field if __ILP32__ is
55983         defined.
55985 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55987         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55988         versions 5 to 9.
55989         * configure: Regenerated.
55990         * manual/install.texi (texinfo): Increase version requirement to
55991         4.5 or later.
55992         * INSTALL: Regenerated.
55994         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55996 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55998         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56000         * sysdeps/x86_64/x32/ffs.c: New file.
56002         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56003         __syscall_ulong_t.
56004         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56005         defined.  Use __syscall_ulong_t.
56006         (shminfo): Use __syscall_ulong_t.
56007         (shm_info): Likewise.
56009         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56010         __syscall_ulong_t.
56012         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56013         <bits/wordsize.h>.
56014         (msgqnum_t): Use __syscall_ulong_t.
56015         (msglen_t): Likewise.
56016         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56017         __syscall_ulong_t.
56019         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56020         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56022         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56024         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56025         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56027         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56028         __syscall_slong_t.
56030         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56031         include <bits/wordsize.h>.  Check __x86_64__ instead of
56032         __WORDSIZE.
56034         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56035         "unsigned long long int" if __x86_64__ is defined.
56036         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56038         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56039         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56040         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56042         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56043         <stdint.h>.
56044         (GET_PC): Cast to uintptr_t first.
56045         (GET_FRAME): Likewise.
56046         (GET_STACK): Likewise.
56048         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56049         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56050         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56051         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56052         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56053         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56054         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56055         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56056         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56057         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56058         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56061         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56063         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56064         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56065         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56066         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56067         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56068         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56069         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56070         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56071         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56072         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56073         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56074         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56075         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56076         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56078 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56080         * Makerules (+depfiles): Also collect depfiles from .oS in
56081         $(extra-objs).
56082         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56083         .oS, $(libnldbl-routines)).
56085         * Makerules (native-compile-mkdep-flags): Define.
56086         * sunrpc/Makefile (extra-objs): Add $(addprefix
56087         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56088         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56089         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56090         calling $(make-target-directory).
56092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56094         * bits/types.h (__snseconds_t): Removed.
56095         * time/time.h (struct timespec): Replace __snseconds_t with
56096         __syscall_slong_t.
56097         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56098         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56099         Likewise.
56100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56101         (__SNSECONDS_T_TYPE): Likewise.
56102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56103         (__SNSECONDS_T_TYPE): Likewise.
56104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56105         (__SNSECONDS_T_TYPE): Likewise.
56107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56109         * sysdeps/mach/hurd/bits/typesizes.h
56110         (__SYSCALL_SLONG_TYPE): New macro.
56111         (__SYSCALL_ULONG_TYPE): Likewise.
56113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56115         * bits/types.h (__syscall_slong_t): New type.
56116         (__syscall_ulong_t): Likewise.
56118         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56119         (__SYSCALL_ULONG_TYPE): Likewise.
56120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56121         (__SYSCALL_SLONG_TYPE): Likewise.
56122         (__SYSCALL_ULONG_TYPE): Likewise.
56123         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56124         (__SYSCALL_SLONG_TYPE): Likewise.
56125         (__SYSCALL_ULONG_TYPE): Likewise.
56126         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56127         (__SYSCALL_SLONG_TYPE): Likewise.
56128         (__SYSCALL_ULONG_TYPE): Likewise.
56130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56132         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56133         Add sigaltstack-offsets.sym.
56134         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56135         <sigaltstack-offsets.h>.
56136         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56137         longjmp_msg pointer.
56138         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56139         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56140         signal stack.
56141         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56143 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56145         * elf/stackguard-macros.h: Remove file.
56146         * sysdeps/generic/stackguard-macros.h: New file.
56147         * sysdeps/i386/stackguard-macros.h: Likewise.
56148         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56149         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56150         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56151         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56152         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56153         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56154         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56155         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56156         <elf/stackguard-macros.h>.
56158         [BZ #14109]
56159         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56160         __aligned__ in attribute.
56161         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56162         (gregset_t): Likewise.
56164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56166         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56167         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56168         * sysdeps/x86_64/x32/Implies-after: New file.
56170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56172         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56173         and access return value for _dl_profile_fixup.  Use R10_LP to
56174         load frame size.
56176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56178         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56182         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56183         * sysdeps/x86_64/x32/sysdep.h: New file.
56185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56187         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56188         * sysdeps/x86_64/setjmp.S: Likewise.
56190 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56192         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56193         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56194         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56195         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56196         remove unused global constant.
56198 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56200         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56201         include of <not-cancel.h>.
56203 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56205         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56207 2012-05-15  Jeff Law  <law@redhat.com>
56208             Andreas Jaeger  <aj@suse.de>
56210         [BZ #13594]
56211         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56212         out from...
56213         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56214         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56215         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56216         code changing __hst_map_handle.map.
56218 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56220         * configure.in (sysnames): Look for Implies-before and Implies-after
56221         files.
56222         * configure: Regenerated.
56224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56226         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56227         8-byte data alignment with LP_SIZE alignment.
56229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56232         into R10_LP.
56234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56236         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56240         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56241         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56242         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56243         Likewise.
56244         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56248         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56249         (stackinfo_sub_sp): Likewise.
56251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56253         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56254         RAX_LP.
56256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56258         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56259         into R*_LP.
56261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56263         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56264         sizes into R*_LP.
56266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56268         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56272         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56273         into R11_LP and load __x86_64_shared_cache_size_half into
56274         R8_LP.
56276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56278         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56279         R8_LP.
56281 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56283         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56284         logb for POWER7.
56285         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56286         logbf for POWER7.
56287         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56288         logbl for POWER7.
56289         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56290         powerpc32/power7/fpu/s_logb.c via #include.
56291         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56292         powerpc32/power7/fpu/s_logbf.c via #include.
56293         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56294         powerpc32/power7/fpu/s_logbl.c via #include.
56296 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56298         * README.libm: Remove file.
56300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56302         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56303         count for x32.  Use R*_LP and omit operand-size suffix.
56305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56307         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56308         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56309         * sysdeps/x86_64/x32/shlib-versions: New file.
56311 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56313         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56314         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56315         Use _dl_fatal_printf instead.
56317 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56319         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56320         set if not set by the user.  Do not allow for being unset.
56321         * sysdeps/unix/sysv/linux/configure: Regenerated.
56323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56325         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56326         the `q' suffix from lea and replace .quad with ASM_ADDR.
56328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56331         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56332         instead of $17.
56333         (PTR_DEMANGLE): Likewise.
56335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56337         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56338         (LP_OP): Likewise.
56339         (ASM_ADDR): Likewise.
56340         (RAX_LP): Likewise.
56341         (RBP_LP): Likewise.
56342         (RBX_LP): Likewise.
56343         (RCX_LP): Likewise.
56344         (RDI_LP): Likewise.
56345         (RSI_LP): Likewise.
56346         (RSP_LP): Likewise.
56347         (R8_LP): Likewise.
56348         (R9_LP): Likewise.
56349         (R10_LP): Likewise.
56350         (R10_LP): Likewise.
56351         (R11_LP): Likewise.
56352         (R12_LP): Likewise.
56353         (R13_LP): Likewise.
56354         (R14_LP): Likewise.
56355         (R15_LP): Likewise.
56357 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56359         * sysdeps/x86_64/x32/dl-machine.h: New file.
56361 2012-05-14  Andreas Jaeger  <aj@suse.de>
56363         * manual/Makefile (subdir): Remove export of subdir.
56364         (all): Remove target.
56365         (.PHONY): Remove all from list.
56366         (mkinstalldirs): Remove.
56367         (.PHONY): Remove installdirs from list.
56368         ($(inst_infodir)/libc.info): Use make-target-directory.
56369         (installdirs): Remove.
56370         (subdir_%): Remove.
56371         (glibc-targets): Remove.
56372         (lib): Remove.
56373         (stubs): Remove.
56374         ($(objpfx)stubs ../po/manual.pot): Remove.
56375         ($(objpfx)stamp%): Remove.
56376         (make-target-directory): Remove.
56377         (subdir_install): Remove.
56378         (routines): Remove.
56379         (aux): Remove.
56380         (sources): Remove.
56381         (objects): Remove.
56382         (headers): Remove.
56384         [BZ #13750]
56385         * manual/.gitignore: Remove, it's not needed anymore.
56386         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56387         all files in it.
56388         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56389         directory.
56390         (texis): Renamed to $(objpfx)texis.
56391         (texis-path): New, contains path to generated files.
56392         (chapters.%): Use texis-path for complete path, add extra argument
56393         libc-texinfo.sh.
56394         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56395         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56396         (summary,texi, stamp-summary): Use complete path of
56397         files. Generate files in build dir.
56398         (dir-add.texi): Build in build dir.
56399         (libm-err.texi,stamp-libm-err): Likewise.
56400         (version.texi, stamp-version): Likewise.
56401         (.%c.texi): Likewise.
56402         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56403         (mostlyclean): Remove target.
56404         (realclean): Remove target.
56405         (generated): Add new variable with contents from mostlyclean and
56406         realclean, remove entries duplicated in common-mostlyclean, add
56407         stamp-libm-err and stamp-version.
56408         (generated-dirs): Add libc directory.
56409         ($(inst_infodir)/libc.info): Install files from build dir.
56411         * manual/install.texi (Configuring and compiling): Adjust since
56412         the info files are not part of the tar ball anymore.
56414 2012-05-14  Andreas Jaeger  <aj@suse.de>
56416         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56417         variable.
56419 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56421         [BZ #13717]
56422         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56423         to 2.2.0 where earlier.
56424         * sysdeps/unix/sysv/linux/configure: Regenerated.
56425         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56426         Remove conditional code.
56427         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56428         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56429         Remove conditional code.
56430         [!__NR_lchown]: Likewise.
56431         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56432         [__NR_lchown]: Likewise.
56433         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56434         comment referencing __ASSUME_LCHOWN_SYSCALL.
56435         * sysdeps/unix/sysv/linux/i386/sigaction.c
56436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56438         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56439         Remove conditional code.
56440         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56441         (__protocol_available): Remove #if 0 code.
56442         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56443         conditional code.
56444         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56445         * sysdeps/unix/sysv/linux/kernel-features.h
56446         (__ASSUME_GETCWD_SYSCALL): Don't define.
56447         (__ASSUME_REALTIME_SIGNALS): Likewise.
56448         (__ASSUME_PREAD_SYSCALL): Likewise.
56449         (__ASSUME_PWRITE_SYSCALL): Likewise.
56450         (__ASSUME_POLL_SYSCALL): Likewise.
56451         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56452         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56453         non-SPARC.
56454         (__ASSUME_SIOCGIFNAME): Don't define.
56455         (__ASSUME_MSG_NOSIGNAL): Likewise.
56456         (__ASSUME_SENDFILE): Define unconditionally.
56457         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56458         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56459         conditional code.
56460         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56461         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56462         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56463         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56464         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56465         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56466         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56480         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56483         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56489         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56490         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56491         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56492         Remove conditional code.
56493         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56494         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56495         Remove conditional code.
56496         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56497         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56498         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56499         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56500         Remove conditional code.
56501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56502         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56503         Remove conditional code.
56504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56505         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56506         Remove conditional code.
56507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56508         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56509         Remove conditional code.
56510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56511         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56512         Remove conditional code.
56513         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56514         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56515         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56517         * sysdeps/unix/sysv/linux/sigaction.c
56518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56520         * sysdeps/unix/sysv/linux/sigpending.c
56521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56523         * sysdeps/unix/sysv/linux/sigprocmask.c
56524         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56525         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56526         * sysdeps/unix/sysv/linux/sigsuspend.c
56527         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56528         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56530         (__libc_missing_rt_sigs): Remove.
56531         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56532         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56533         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56534         Remove conditional code.
56535         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56536         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56537         return 1.
56538         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56539         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56540         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56541         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56543 2012-05-14  Andreas Jaeger  <aj@suse.de>
56545         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56546         it's not used in glibc.
56547         (__coshm1): Likewise.
56548         (__acosh1p): Likewise.
56549         (__sgn): Likewise.
56551         * manual/string.texi (Copying and Concatenation): Add missing
56552         variable in concat example.
56553         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56557         [BZ #14103]
56558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56559         __builtin_clzl with __builtin_clzll.
56561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56563         [BZ #14104]
56564         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56565         libc_freeres_ptr.
56567 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56569         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56570         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56571         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56572         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56574 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56576         * NEWS: Update ia64 info.
56578 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56580         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56581         used as bcopy.
56583 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56585         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56586         * sysdeps/unix/syscalls.list (dup3): Likewise.
56587         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56588         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56590 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56592         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56593         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56595 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56597         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56598         thread pointer.
56599         (TLS_IE): Use mov/add instead of movq/addq to load thread
56600         pointer.
56601         (TLS_GD_PREFIX): New.
56602         (TLS_GD): Use it.
56604 2012-05-11  David S. Miller  <davem@davemloft.net>
56606         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56607         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56608         (_FPU_SETCW): Likewise.
56610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56612         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56613         is 32-byte aligned.
56615 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56617         [BZ #11837]
56618         * iconvdata/gb18030.c: Update tables.
56619         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56620         characters specially.
56621         (BODY for TO_LOOP): Add encoding of missing ranges.
56623 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56625         [BZ #13673]
56626         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56627         * sysdeps/mach/hurd/dup3.c: Likewise.
56628         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56629         * sysdeps/powerpc/memmove.c:: Likewise.
56631 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56633         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56634         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56636 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56638         * elf/elf.h (R_X86_64_RELATIVE64): New.
56639         (R_X86_64_NUM): Updated.
56640         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56641         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56642         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56643         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56644         tst-quad1pie tst-quad2pie
56645         (modules-names): Add tst-quadmod1 tst-quadmod2.
56646         ($(objpfx)tst-quad1): New dependency.
56647         ($(objpfx)tst-quad2): Likewise.
56648         ($(objpfx)tst-quad1pie): Likewise.
56649         ($(objpfx)tst-quad2pie): Likewise.
56650         * sysdeps/x86_64/tst-quad1.c: New file.
56651         * sysdeps/x86_64/tst-quad1pie.c: New file.
56652         * sysdeps/x86_64/tst-quad2.c: Likewise.
56653         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56654         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56655         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56656         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56657         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56661         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56662         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56663         * streams/stropts.h (t_scalar_t): Define type.
56665         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56666         (_PATH_PRESERVE): Set to "/var/lib".
56667         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56669         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56670         instead of int.
56672         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56673         if __dir_mkfile succeeded.
56675         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56676         checking for _hurd_dtablesize.  Unlock it right after having
56677         finished _hurd_dtable allocation.
56679 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56681         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56682         * sysdeps/mach/hurd/configure: Regenerated.
56683         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56684         special-casing to...
56685         * sysdeps/gnu/configure.in: ... this new file.
56686         * sysdeps/unix/sysv/linux/configure: Regenerated.
56687         * sysdeps/gnu/configure: New generated file.
56689         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56690         for Linux: use nsec instead of usec, as well as:
56691         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56692         members of type struct timespec.
56693         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56694         New macros.
56695         (struct stat64): Likewise.
56696         (_STATBUF_ST_NSEC): New macro.
56697         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56699         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56700         __strtoul_internal rather than strtoul.
56702 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56704         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56705         and reject them.
56707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56709         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56710         which preserves existing values.
56711         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56713 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56715         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56716         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56717         greater than FD_SETSIZE.
56719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56721         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56722         allocated, call __vm_protect to finish enabling the existing space, and
56723         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56724         allocate the remainder.
56726 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56728         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56729         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56733         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56734         sysdeps/mach/hurd/readlink.c.
56736         * posix/tst-sysconf.c (posix_options): Only use
56737         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56738         _POSIX_SYNCHRONIZED_IO when they are defined
56739         * sysdeps/mach/hurd/bits/posix_opt.h:
56740         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56741         (_XOPEN_REALTIME): Undefine macro.
56742         (_XOPEN_REALTIME_THREADS): Undefine macro.
56743         (_XOPEN_SHM): Undefine macro.
56744         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56745         macro to -1.
56746         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56747         macro to -1.
56748         (_POSIX_ASYNC_IO): Undefine macro.
56749         (_POSIX_PRIORITIZED_IO): Undefine macro.
56750         (_POSIX_SPIN_LOCKS): Define macro to -1.
56752         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56753         SA_NODEFER, SA_RESETHAND.
56754         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56755         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56756         F_DUPFD_CLOEXEC.
56758 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56760         * elf/Makefile (pldd-modules): Define unconditionally.
56762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56764         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56768         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56769         Return ENOENT when name is empty.
56770         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56774         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56776         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56780         Fix mlock in all cases except non-readable pages.
56781         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56782         instead of VM_PROT_ALL as parameter to __vm_wire function.
56784         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56785         (__mkdir): When path is `/', just fail with EEXIST.
56786         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56788 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56790         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56791         <sys/uio.h> (for writev).
56792         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56793         and <sys/param.h> (for MIN).
56795 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56797         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56798         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56799         if interrupted.
56801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56803         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56804         Depend on against $(link-rpcuserlibs).
56806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56808         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56809         (__libc_stack_end): Do not use attribute_relro.
56810         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56811         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56812         to libthread-provided value.
56813         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56814         attribute_relro.
56816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56818         [BZ #3748]
56819         * bits/libc-lock.h (__libc_once_get): New macro.
56820         * sysdeps/mach/bits/libc-lock.h: Likewise.
56821         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56822         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56823         instead of using implementation details.
56825         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56826         * libio/freopen.c: Likewise.
56827         * libio/freopen64.c: Likewise.
56828         * misc/syslog.c: Likewise.
56829         * nscd/connections.c: Likewise.
56830         * nscd/netgroupcache.c: Likewise.
56831         * sysdeps/posix/getcwd.c: Likewise.
56833 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56835         * math/w_ilogbf.c: Add #include <limits.h>.
56837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56839         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56840         path instead of returning without unlocking.
56842         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56843         immediate-write ioctls.
56844         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56848         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56849         __builtin_frame_address instead of making assumptions about the
56850         location of the return address relative to DATA.  Force early load of
56851         the return address.
56852         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56853         __builtin_frame_address.
56855         dup3 for GNU Hurd.
56856         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56857         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56858         implement dup3 and do some further code clean-ups.
56859         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56860         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56864         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56866         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56867         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56868         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56869         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56870         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56871         d->port.lock.
56873         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56874         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56875         when handler == SIG_ERR, not when handler != SIG_ERR.
56877 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56879         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56880         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56881         definitions.
56883         accept4 for GNU Hurd.
56884         * include/sys/socket.h (__libc_accept4): New prototype.
56885         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56886         to implement __libc_accept4.
56887         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56888         __libc_accept4.
56889         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56891         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56892         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56893         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56894         signal-defines.sym.
56896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56898         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56900 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56902         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56903         assertion on O_CLOEXEC flag.
56904         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56905         * hurd/intern-fd.c: Likewise.
56906         * hurd/port2fd.c: Likewise.
56908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56910         [BZ #3906]
56911         * bits/in.h (IPV6_PKTINFO): Define new macro.
56912         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56914 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56916         [BZ #13954]
56917         [BZ #13955]
56918         [BZ #13956]
56919         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56921         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56922         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56924         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56925         * math/libm-test.inc (logb_test) : Additional logb tests.
56927 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56928             Andreas Jaeger  <aj@suse.de>
56930         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56931         * configure: Regenerated.
56932         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56933         * config.make.in (link-obsolete-rpc): New substituted variable.
56934         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56935         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56936         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56937         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56938         so that libc.a contains the symbols.
56939         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56940         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56941         * sunrpc/auth_none.c: Likewise.
56942         * sunrpc/auth_unix.c: Likewise.
56943         * sunrpc/authdes_prot.c: Likewise.
56944         * sunrpc/authuxprot.c: Likewise.
56945         * sunrpc/clnt_gen.c: Likewise.
56946         * sunrpc/clnt_perr.c: Likewise.
56947         * sunrpc/clnt_raw.c: Likewise.
56948         * sunrpc/clnt_simp.c: Likewise.
56949         * sunrpc/clnt_tcp.c: Likewise.
56950         * sunrpc/clnt_udp.c: Likewise.
56951         * sunrpc/clnt_unix.c: Likewise.
56952         * sunrpc/des_crypt.c: Likewise.
56953         * sunrpc/des_soft.c: Likewise.
56954         * sunrpc/get_myaddr.c: Likewise.
56955         * sunrpc/key_call.c: Likewise.
56956         * sunrpc/key_prot.c: Likewise.
56957         * sunrpc/netname.c: Likewise.
56958         * sunrpc/pm_getmaps.c: Likewise.
56959         * sunrpc/pm_getport.c: Likewise.
56960         * sunrpc/pmap_clnt.c: Likewise.
56961         * sunrpc/pmap_prot.c: Likewise.
56962         * sunrpc/pmap_prot2.c: Likewise.
56963         * sunrpc/pmap_rmt.c: Likewise.
56964         * sunrpc/publickey.c: Likewise.
56965         * sunrpc/rpc_cmsg.c: Likewise.
56966         * sunrpc/rpc_common.c: Likewise.
56967         * sunrpc/rpc_dtable.c: Likewise.
56968         * sunrpc/rpc_prot.c: Likewise.
56969         * sunrpc/rpc_thread.c: Likewise.
56970         * sunrpc/rtime.c: Likewise.
56971         * sunrpc/svc.c: Likewise.
56972         * sunrpc/svc_auth.c: Likewise.
56973         * sunrpc/svc_raw.c: Likewise.
56974         * sunrpc/svc_run.c: Likewise.
56975         * sunrpc/svc_tcp.c: Likewise.
56976         * sunrpc/svc_udp.c: Likewise.
56977         * sunrpc/svc_unix.c: Likewise.
56978         * sunrpc/svcauth_des.c: Likewise.
56979         * sunrpc/xcrypt.c: Likewise.
56980         * sunrpc/xdr.c: Likewise.
56981         * sunrpc/xdr_array.c: Likewise.
56982         * sunrpc/xdr_float.c: Likewise.
56983         * sunrpc/xdr_intXX_t.c: Likewise.
56984         * sunrpc/xdr_mem.c: Likewise.
56985         * sunrpc/xdr_rec.c: Likewise.
56986         * sunrpc/xdr_ref.c: Likewise.
56987         * sunrpc/xdr_sizeof.c: Likewise.
56988         * sunrpc/xdr_stdio.c: Likewise.
56990 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56992         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56993         change.  Update copyright years.
56995 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56997         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56999 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57000             Joseph Myers  <joseph@codesourcery.com>
57001             Paul Pluzhnikov  <ppluzhnikov@google.com>
57003         [BZ #14012]
57004         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57005         requiring rpcgen.
57006         [cross-compiling] (extra-libs): Likewise.
57007         [cross-compiling] (extra-libs-others): Likewise.
57008         [cross-compiling] (librpcsvc-routines): Likewise.
57009         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57010         [cross-compiling] (omit-deps): Likewise.
57011         (sunrpc-CPPFLAGS): New variable.
57012         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57013         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57014         (cross-rpcgen-objs): New variable.
57015         (extra-objs): Append $(cross-rpcgen-objs).
57016         ($(cross-rpcgen-objs)): New rule.
57017         ($(objpfx)cross-rpcgen): Likewise.
57018         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57019         comment.
57020         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57021         ($(objpfx)x%.stmp): Likewise.
57022         * sunrpc/proto.h [IS_IN_build] (_): Define.
57023         [IS_IN_build] (_libc_intl_domainname): Likewise.
57025 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57028         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57029         and R_X86_64_TPOFF64.
57031 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57033         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57034         sysdeps/unix/sysv/syscalls.list.
57035         (stime): Likewise.
57036         (utime): Likewise.
57037         * sysdeps/unix/sysv/syscalls.list: Remove file.
57039 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57041         [BZ #3440]
57042         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57043         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57044         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57045         (__LC_IDENTIFICATION): Make these macros useful in #if
57046         expressions, as required by C99.
57048 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57050         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57051         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57052         after this.
57054 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57056         * stdlib/longlong.h: Updated from GCC.
57058 2012-05-09  Andreas Jaeger  <aj@suse.de>
57060         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57061         default is first entry.
57062         (run_mode): Set type.
57063         (main): Remove informal message about syslog.
57064         (options): Fix typo.
57066         [BZ #14053]
57067         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57068         to asm.
57069         (lrint): Likewise.
57070         (llrintf): Likewise.
57071         (llrint): Likewise.
57072         (rint): Likewise.
57073         (rintf): Likewise.
57074         (nearbyint): Likewise.
57075         (nearbyintf): Likewise.
57077 2012-05-09  Andreas Jaeger  <aj@suse.de>
57078             Pedro Alves  <palves@redhat.com>
57080         * nscd/nscd.c (run_mode): Use enum.
57081         (main): Cleanup coding style issue.
57083 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57084             Andreas Jaeger  <aj@suse.de>
57086         * nscd/nscd.c (go_background): Replaced with...
57087         (run_mode): ... this.
57088         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57089         (options): Add -F --foreground.
57090         (main): Implement it.
57091         (parse_opt): Parse it.
57093 2012-05-09  Andreas Jaeger  <aj@suse.de>
57095         [BZ #14083]
57096         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57097         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57098         -Wconversion warning.
57099         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57100         Likewise.
57102 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57104         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57105         == 0.
57106         (LC_ALL): Use macro-int-constant.
57107         (LC_COLLATE): Likewise.
57108         (LC_CTYPE): Likewise.
57109         (LC_MESSAGES): Likewise.
57110         (LC_MONETARY): Likewise.
57111         (LC_NUMERIC): Likewise.
57112         (LC_TIME): Likewise.
57113         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57114         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57115         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57116         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57117         Specify type.
57118         [C99-based standards] (float_t): Expect type.
57119         [C99-based standards] (double_t): Expect type.
57120         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57121         type.
57122         [C99-based standards] (HUGE_VALL): Likewise.
57123         [C99-based standards] (INFINITY): Likewise.
57124         [C99-based standards] (NAN): Likewise.
57125         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57126         [C99-based standards] (FP_NAN): Likewise.
57127         [C99-based standards] (FP_NORMAL): Likewise.
57128         [C99-based standards] (FP_SUBNORMAL): Likewise.
57129         [C99-based standards] (FP_ZERO): Likewise.
57130         [C99-based standards] (FP_FAST_FMA): Use
57131         optional-macro-int-constant.  Specify type.  Require == 1.
57132         [C99-based standards] (FP_FAST_FMAF): Likewise.
57133         [C99-based standards] (FP_FAST_FMAL): Likewise.
57134         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57135         [C99-based standards] (FP_ILOGBNAN): Likewise.
57136         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57137         Specify type.
57138         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57139         [C99-based standards] (math_errhandling): Specify type.
57140         [ISO99 || ISO11] (signgam): Do not allow.
57141         [non-C99-based standards] (copysignf): Do not allow.
57142         [non-C99-based standards] (exp2f): Likewise.
57143         [non-C99-based standards] (log2f): Likewise.
57144         [non-C99-based standards] (modff): Allow.
57145         [non-C99-based standards] (erff): Do not allow.
57146         [non-C99-based standards] (erfcf): Likewise.
57147         [non-C99-based standards] (gammaf): Likewise.
57148         [non-C99-based standards] (hypotf): Likewise.
57149         [non-C99-based standards] (j0f): Likewise.
57150         [non-C99-based standards] (j1f): Likewise.
57151         [non-C99-based standards] (jnf): Likewise.
57152         [non-C99-based standards] (lgammaf): Likewise.
57153         [non-C99-based standards] (tgammaf): Likewise.
57154         [non-C99-based standards] (y0f): Likewise.
57155         [non-C99-based standards] (y1f): Likewise.
57156         [non-C99-based standards] (ynf): Likewise.
57157         [non-C99-based standards] (isnanf): Likewise.
57158         [non-C99-based standards] (acoshf): Likewise.
57159         [non-C99-based standards] (asinhf): Likewise.
57160         [non-C99-based standards] (atanhf): Likewise.
57161         [non-C99-based standards] (cbrtf): Likewise.
57162         [non-C99-based standards] (expm1f): Likewise.
57163         [non-C99-based standards] (ilogbf): Likewise.
57164         [non-C99-based standards] (log1pf): Likewise.
57165         [non-C99-based standards] (logbf): Likewise.
57166         [non-C99-based standards] (nextafterf): Likewise.
57167         [non-C99-based standards] (remainderf): Likewise.
57168         [non-C99-based standards] (rintf): Likewise.
57169         [non-C99-based standards] (scalbf): Likewise.
57170         [non-C99-based standards] (copysignl): Likewise.
57171         [non-C99-based standards] (exp2l): Likewise.
57172         [non-C99-based standards] (log2l): Likewise.
57173         [non-C99-based standards] (modfl): Allow.
57174         [non-C99-based standards] (erfl): Do not allow.
57175         [non-C99-based standards] (erfcl): Likewise.
57176         [non-C99-based standards] (gammal): Likewise.
57177         [non-C99-based standards] (hypotl): Likewise.
57178         [non-C99-based standards] (j0l): Likewise.
57179         [non-C99-based standards] (j1l): Likewise.
57180         [non-C99-based standards] (jnl): Likewise.
57181         [non-C99-based standards] (lgammal): Likewise.
57182         [non-C99-based standards] (tgammal): Likewise.
57183         [non-C99-based standards] (y0l): Likewise.
57184         [non-C99-based standards] (y1l): Likewise.
57185         [non-C99-based standards] (ynl): Likewise.
57186         [non-C99-based standards] (isnanl): Likewise.
57187         [non-C99-based standards] (acoshl): Likewise.
57188         [non-C99-based standards] (asinhl): Likewise.
57189         [non-C99-based standards] (atanhl): Likewise.
57190         [non-C99-based standards] (cbrtl): Likewise.
57191         [non-C99-based standards] (expm1l): Likewise.
57192         [non-C99-based standards] (ilogbl): Likewise.
57193         [non-C99-based standards] (log1pl): Likewise.
57194         [non-C99-based standards] (logbl): Likewise.
57195         [non-C99-based standards] (nextafterl): Likewise.
57196         [non-C99-based standards] (remainderl): Likewise.
57197         [non-C99-based standards] (rintl): Likewise.
57198         [non-C99-based standards] (scalbl): Likewise.
57199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57200         [non-C99-based standards] (FP_*): Do not allow.
57201         [C99-based standards] (FP_*): Change to
57202         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57203         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57204         allow.
57205         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57206         (SIG_ERR): Likewise.
57207         [X/Open-based standards] (SIG_HOLD): Likewise.
57208         (SIG_IGN): Likewise.
57209         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57210         positive value.
57211         (SIGFPE): Likewise.
57212         (SIGILL): Likewise.
57213         (SIGINT): Likewise.
57214         (SIGSEGV): Likewise.
57215         (SIGTER): Likewise.
57216         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57217         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57218         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57219         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57220         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57221         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57222         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57223         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57224         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57225         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57226         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57227         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57228         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57229         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57230         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57231         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57232         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57233         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57234         [X/Open-based standards] (SIGTRAP): Likewise.
57235         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57236         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57237         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57238         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57239         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57240         allow.
57242 2012-05-08  Ian Wienand  <ianw@vmware.com>
57244         [BZ #14080]
57245         * time/tzset.c (__tzset_parse_tz): Update default rules for
57246         daylight time changes in the Energy Policy Act of 2005.
57248 2012-05-09  Andreas Jaeger  <aj@suse.de>
57250         [BZ #13983]
57251         * elf/ldconfig.c (parse_conf): Change string to make clear that
57252         ldconfig only issued a warning if ld.so.conf does not exist.
57254 2012-05-08  David S. Miller  <davem@davemloft.net>
57256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57257         movxtod instead of popping the value on the stack.
57259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57261 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57263         * config.h.in: Add HAVE_ARM_PCS_VFP.
57265 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57267         [BZ #13979]
57268         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57269         checking but the checks are disabled for any reason.
57271 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57273         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57274         and ELF64_R_TYPE with ELFW(R_TYPE).
57276 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57278         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57279         (ulimit): Likewise.
57281         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57282         (settimeofday): Likewise.
57284 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57286         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57287         a struct th_u2 inside the union, and move tu_block/tu_code into
57288         a new th_u3 union of tu_block/tu_code inside of that.  Move
57289         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57290         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57291         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57292         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57293         (th_stuff): Change to th_u1.tu_stuff.
57294         (th_data): Define.
57295         (th_msg): Change to th_u1.th_u2.tu_data.
57297 2012-05-07  David S. Miller  <davem@davemloft.net>
57299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57301         [BZ #14074]
57302         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57303         (SETUP_PIC_REG): Use it.
57304         (SETUP_PIC_REG_LEAF): Use it.
57306 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57308         [BZ #13885]
57309         [BZ #13923]
57310         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57311         USE_AS_EXPM1L.
57312         (EXPL_FINITE): Likewise.
57313         (FLDLOG): Likewise.
57314         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57315         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57316         e_expl.S.
57317         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57318         USE_AS_EXPM1L.
57319         (EXPL_FINITE): Likewise.
57320         (FLDLOG): Likewise.
57321         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57322         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57323         e_expl.S.
57324         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57325         test of -max_value argument for long double.
57326         * sysdeps/i386/fpu/libm-test-ulps: Update.
57327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57329 2012-05-06  David S. Miller  <davem@davemloft.net>
57331         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57332         quad soft-float symbols whose references which are compiler
57333         generated.
57334         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57336 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57338         [BZ #13884]
57339         [BZ #13914]
57340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57341         USE_AS_EXP10L.
57342         (EXPL_FINITE): Likewise.
57343         (FLDLOG): Likewise.
57344         (c0): Likewise.
57345         (c1): Likewise.
57346         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57347         Adjust comments for base varying.
57348         (__expl_finite): Change alias to EXPL_FINITE.
57349         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57350         e_expl.S.
57351         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57352         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57353         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57354         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57356         USE_AS_EXP10L.
57357         (EXPL_FINITE): Likewise.
57358         (FLDLOG): Likewise.
57359         (c0): Likewise.
57360         (c1): Likewise.
57361         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57362         Adjust comments for base varying.
57363         (__expl_finite): Change alias to EXPL_FINITE.
57364         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57365         tests for bugs.
57366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57368         [BZ #14064]
57369         * math/libm-test.inc (check_float_internal): Correct ulp
57370         calculation for subnormal expected results.
57372 2012-05-06  Andreas Jaeger  <aj@suse.de>
57374         * Makeconfig (+math-flags): New, set to -frounding-math.
57375         (+cflags): Add +math-flags so that all of glibc gets compiled with
57376         it.
57378         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57380 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57382         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57383         Disable one test.
57385         [BZ #13787]
57386         [BZ #13922]
57387         [BZ #14036]
57388         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57389         (__ieee754_expl): Allow for and saturate large arguments.
57390         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57391         (u_threshold): Likewise.
57392         (__exp): Call __ieee754_exp before checking for overflow and
57393         underflow.
57394         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57395         (u_threshold): Likewise.
57396         (__expf): Call __ieee754_expf before checking for overflow and
57397         underflow.
57398         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57399         (u_threshold): Likewise.
57400         (__expl): Call __ieee754_expl before checking for overflow and
57401         underflow.
57402         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57403         (__ieee754_expl): Allow for and saturate large arguments.
57404         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57405         missing overflow exception on overflow.
57406         (expm1_test): Do not allow missing overflow exception on overflow.
57408         * sysdeps/i386/fpu/e_expl.c: Move to ...
57409         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57410         rather than using inline asm.
57411         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57412         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57413         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57415         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57416         (nice): Likewise.
57417         (poll): Likewise.
57418         (signal): Likewise.
57419         (time): Likewise.
57420         (times): Likewise.
57422 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57424         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57425         sysdeps/unix/common/syscalls.list.
57426         (fchmod): Likewise.
57427         (fchown): Likewise.
57428         (ftruncate): Likewise.
57429         (getrusage): Likewise.
57430         (gettimeofday): Likewise.
57431         (setpgid): Likewise.
57432         (setregid): Likewise.
57433         (setreuid): Likewise.
57434         (sigaction): Likewise.
57435         (truncate): Likewise.
57436         (vhangup): Likewise.
57437         * sysdeps/unix/common/syscalls.list: Remove file.
57438         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57439         * sysdeps/unix/sysv/linux/Implies: Likewise.
57441 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57443         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57445         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57446         Moved to ...
57447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57448         Here.
57449         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57450         to ...
57451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57452         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57453         to ...
57454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57455         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57456         to ...
57457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57458         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57459         to ...
57460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57461         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57462         to ...
57463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57464         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57465         to ...
57466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57467         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57468         to ...
57469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57470         Here.
57471         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57472         to ...
57473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57474         Here.
57475         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57476         to ...
57477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57478         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57479         Moved to ...
57480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57481         Here.
57482         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57483         to ...
57484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57486 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57488         * sysdeps/unix/common/bits/dirent.h: Remove file.
57489         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57491         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57492         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57493         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57494         * sysdeps/unix/bsd/isatty.c: Likewise.
57495         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57496         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57497         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57499 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57501         [BZ #13563]
57502         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57503         long double comparison inaccuracies.
57504         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57507 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57509         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57510         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57512 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57514         [BZ #14049]
57515         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57516         nonzero digits before rounding a hex value.
57517         * stdlib/tst-strtod.c (tests): Add another test.
57519 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57521         * sysdeps/s390/fpu/libm-test-ulps: Update.
57523 2012-05-03  Andreas Jaeger  <aj@suse.de>
57525         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57526         does not get optimized out.
57527         (malloc_opt_barrier): New.
57529 2012-05-03  Andreas Jaeger  <aj@suse.de>
57530             Roland McGrath  <roland@hack.frob.com>
57532         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57533         intermediate file deletion.
57534         (generated): Add .symlist files.
57536 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57538         [BZ #13775]
57539         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57540         Redirect under this condition.
57541         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57542         [__USE_GNU] (__dprintf_chk): Not under this condition.
57543         [__USE_GNU] (__vdprintf_chk): Likewise.
57544         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57545         under this condition.
57546         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57547         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57548         [__USE_XOPEN2K8] (vdprintf): Likewise.
57549         [__USE_GNU] (__dprintf_chk): Not under this condition.
57550         [__USE_GNU] (__vdprintf_chk): Likewise.
57551         [__USE_GNU] (dprintf): Likewise.
57552         [__USE_GNU] (vdprintf): Likewise.
57554 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57556         * elf/Makefile (common-generated): Set this instead of generated for
57557         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57558         $(all-built-dso)-derived lists.
57560 2012-05-03  Andreas Jaeger  <aj@suse.de>
57562         * sysdeps/i386/fpu/libm-test-ulps: Update.
57564         * FAQ: Removed.
57565         * FAQ.in: Likewise.
57566         * scripts/gen-FAQ.pl: Likewise.
57567         * manual/install.texi (Installation): Point to online location of
57568         FAQ.
57569         * Makefile (files-for-dist): Remove FAQ.
57570         (FAQ): Remove.
57572 2012-05-02  Allan McRae  <allan@archlinux.org>
57574         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57575         (LDFLAGS-reldepmod5.so): Likewise.
57576         (LDFLAGS-reldep6mod1.so): Likewise.
57577         (LDFLAGS-reldep6mod4.so): Likewise.
57578         (LDFLAGS-reldep8mod3.so): Likewise.
57579         (LDFLAGS-unload4mod1.so): Likewise.
57580         (LDFLAGS-unload4mod2.so): Likewise.
57581         (LDFLAGS-tst-initorder): Likewise.
57582         (LDFLAGS-tst-initordera2.so): Likewise.
57583         (LDFLAGS-tst-initordera3.so): Likewise.
57584         (LDFLAGS-tst-initordera4.so): Likewise.
57585         (LDFLAGS-tst-initorderb2.so): Likewise.
57586         (LDFLAGS-noload): Likewise.
57587         (LDFLAGS-next): Likewise.
57588         (LDFLAGS-order2mod1.so): Likewise.
57589         (LDFLAGS-order2mod2.so): Likewise.
57590         (LDFLAGS-tst-initorder2): Likewise.
57591         (LDFLAGS-tst-initorder2a.so): Likewise.
57592         (LDFLAGS-tst-initorder2b.so): Likewise.
57593         (LDFLAGS-tst-initorder2c.so): Likewise.
57594         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57596 2012-05-02  David S. Miller  <davem@davemloft.net>
57598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57600 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57602         [BZ #14055]
57603         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57605 2012-05-02  Andreas Jaeger  <aj@suse.de>
57607         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57608         since we manipulate rounding mode.
57609         (CPPFLAGS-test-idouble.c): Likewise.
57610         (CPPFLAGS-test-ifloat.c): Likewise.
57611         (CFLAGS-test-ldouble.c): Likewise.
57612         (CFLAGS-test-double.c): Likewise.
57613         (CFLAGS-test-float.c): Likewise.
57614         (CFLAGS-test-misc.c): Likewise.
57615         (CFLAGS-test-test-fenv.c): Likewise.
57617 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57619         [BZ #2550]
57620         [BZ #2570]
57621         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57622         comparisons to determine direction to adjust input.
57624 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57626         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57627         output to the target.
57629         * scripts/localplt.awk: New file.
57630         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57631         (check-localplt-CFLAGS): Variable removed.
57632         ($(all-built-dso:=.jmprel)): New static pattern rule.
57633         (generated): Add those targets.
57634         (localplt-built-dso): New variable.
57635         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57637         * elf/check-localplt.c: File removed.
57639         * scripts/check-execstack.awk: New file.
57640         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57641         (check-execstack-CFLAGS): Variable removed.
57642         ($(objpfx)check-execstack.h): Target removed.
57643         ($(objpfx)execstack-default): New target.
57644         (generated): Add that instead of check-execstack.h.
57645         ($(all-built-dso:=.phdr)): New static pattern rule.
57646         (generated): Add those targets.
57647         * elf/check-execstack.c: File removed.
57649         * scripts/check-textrel.awk: New file.
57650         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57651         (check-textrel-CFLAGS): Variable removed.
57652         (all-built-dso): Use := to define.o
57653         ($(all-built-dso:=.dyn)): New static pattern rule.
57654         (generated): Add those targets.
57655         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57656         * config.make.in (READELF): New substituted variable.
57657         * elf/check-textrel.c: File removed.
57659 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57661         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57662         allow.
57663         * conform/data/ctype.h-data [C99-based standards] (isblank):
57664         Expect function.
57665         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57666         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57667         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57668         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57669         Specify type.  Require positive value.
57670         (EILSEQ): Likewise.
57671         (ERANGE): Likewise.
57672         [ISO || POSIX] (EILSEQ): Do not expect.
57673         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57674         Specify type.  Require positive value.
57675         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57676         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57677         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57678         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57679         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57680         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57681         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57682         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57683         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57684         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57685         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57686         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57687         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57688         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57689         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57690         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57691         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57692         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57693         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57694         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57695         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57696         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57697         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57698         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57699         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57700         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57701         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57702         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57703         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57704         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57705         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57706         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57707         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57708         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57709         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57710         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57711         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57712         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57713         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57714         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57715         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57716         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57717         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57718         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57719         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57720         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57721         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57722         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57723         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57724         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57725         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57726         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57727         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57728         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57729         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57730         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57731         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57732         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57733         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57734         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57735         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57736         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57737         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57738         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57739         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57740         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57741         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57742         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57743         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57744         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57745         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57746         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57747         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57748         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57749         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57750         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57751         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57752         Require >= 2.
57753         (FLT_ROUNDS): Expect as macro, not constant.
57754         (FLT_MANT_DIG): Use macro-int-constant.
57755         (DBL_MANT_DIG): Likewise.
57756         (LDBL_MANT_DIG): Likewise.
57757         (FLT_DIG): Likewise.
57758         (DBL_DIG): Likewise.
57759         (LDBL_DIG): Likewise.
57760         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57761         (DBL_MIN_EXP): Likewise.
57762         (LDBL_MIN_EXP): Likewise.
57763         (FLT_MAX_EXP): Use macro-int-constant.
57764         (DBL_MAX_EXP): Likewise.
57765         (LDBL_MAX_EXP): Likewise.
57766         (FLT_MAX_10_EXP): Likewise.
57767         (DBL_MAX_10_EXP): Likewise.
57768         (LDBL_MAX_10_EXP): Likewise.
57769         (FLT_MAX): Use macro-constant.
57770         (DBL_MAX): Likewise.
57771         (LDBL_MAX): Likewise.
57772         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57773         (DBL_EPSILON): Likewise.
57774         (LDBL_EPSILON): Likewise.
57775         (FLT_MIN): Likewise.
57776         (DBL_MIN): Likewise.
57777         (LDBL_MIN): Likewise.
57778         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57779         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57780         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57781         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57782         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57783         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57784         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57785         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57786         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57787         [ISO11] (FLT_TRUE_MIN): Likewise.
57788         [ISO11] (LDBL_TRUE_MIN): Likewise.
57789         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57790         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57791         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57792         (SCHAR_MAX): Likewise.
57793         (UCHAR_MAX): Likewise.
57794         (CHAR_MIN): Likewise.
57795         (CHAR_MAX): Likewise.
57796         (MB_LEN_MAX): Use macro-int-constant.
57797         (SHRT_MIN): Use macro-int-constant.  Specify type.
57798         (SHRT_MAX): Likewise.
57799         (USHRT_MAX): Likewise.
57800         (INT_MAX): Likewise.
57801         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57802         bound negative.
57803         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57804         bound with "U".
57805         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57806         bound with "L".
57807         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57808         bound negative.  Suffix upper bound with "L".
57809         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57810         bound with "UL".
57811         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57812         Specify type.
57813         [C99-based standards] (LLONG_MAX): Likewise.
57814         [C99-based standards] (ULLONG_MAX): Likewise.
57815         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57816         == 0.
57817         [ISO11] (max_align_t): Require type.
57818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57820         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57821         from $CFLAGS, without defining away __attribute__ calls.
57822         (checknamespace): Use $CFLAGS_namespace.
57824         * conform/conformtest.pl (@keywords): Only include C99 keywords
57825         for standards based on C99 or C11.
57827         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57828         Disable tests.
57829         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57830         UNIX98]: Likewise.
57832         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57833         usability of symbols in #if.
57835         * conform/conformtest.pl: If macro or constant types start
57836         "promoted:", expect the symbol to be of the following type
57837         promoted by the integer promotions.
57839         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57840         in one place.  Also handle "macro-constant".
57842         * conform/conformtest.pl: Only accept expected macro values with
57843         "==".  Parse all "macro" lines in one place.
57844         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57846         * conform/conformtest.pl: Handle braced types on "constant" lines
57847         instead of handling "typed-constant".
57848         * conform/data/signal.h-data: Use "constant" instead of
57849         "typed-constant".
57851         * conform/conformtest.pl: Handle "optional-" at start of lines in
57852         one place rather than duplicating several cases.  Handle each
57853         format of "macro" line with initial "optional-".
57855         * conform/conformtest.pl: Only accept expected constant or
57856         optional-constant values with "==".  Parse all "constant" lines in
57857         one place.  Parse all "optional-constant" lines in one place.
57858         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57859         * conform/data/fmtmsg.h-data: Likewise.
57860         * conform/data/netinet/in.h-data: Likewise.
57861         * conform/data/tar.h-data: Likewise.
57862         * conform/data/limits.h-data: Use "==" form on "constant" and
57863         "optional-constant" lines.
57865         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57866         Use -std=c99 for XOPEN2K.
57867         (@knownproblems): Remove.
57868         (newtoken): Don't check %isknown.
57870         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57871         Do not expect macro.
57872         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57873         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57874         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57875         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57876         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57877         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57878         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57879         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57880         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57881         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57882         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57883         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57884         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57885         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57886         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57887         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57888         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57889         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57890         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57891         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57892         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57893         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57894         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57895         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57896         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57897         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57898         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57899         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57900         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57901         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57902         [XPG3] (acosh): Likewise.
57903         [XPG3] (asinh): Likewise.
57904         [XPG3] (atanh): Likewise.
57905         [XPG3] (cbrt): Likewise.
57906         [XPG3] (expm1): Likewise.
57907         [XPG3] (ilogb): Likewise.
57908         [XPG3] (log1p): Likewise.
57909         [XPG3] (logb): Likewise.
57910         [XPG3] (nextafter): Likewise.
57911         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57912         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57913         [XPG3] (remainder): Likewise.
57914         [XPG3] (rint): Likewise.
57915         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57916         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57917         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57918         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57919         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57920         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57921         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57922         [UNIX98 || XOPEN2K] (scalb): Expect.
57923         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57924         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57925         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57926         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57927         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57928         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57929         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57930         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57931         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57932         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57933         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57934         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57935         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57936         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57937         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57938         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57939         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57941         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57942         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57943         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57946         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57951         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57952         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57969         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57970         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57971         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57972         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57973         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57974         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57975         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57976         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57977         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57980         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57981         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57984         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57989         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57990         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58061         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58062         _XOPEN_SOURCE_EXTENDED for XPG4.
58064         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58066         * Makeconfig (localtime): Remove variable.
58067         (inst_localtime-file): Likewise.
58069 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58072         Update.
58073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58074         Update.
58075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58076         Update.
58077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58078         Update.
58079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58080         Update.
58081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58082         Update.
58083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58084         Update.
58085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58086         Update.
58087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58088         Update.
58090 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58092         [BZ #2550]
58093         [BZ #2570]
58094         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58095         comparisons to determine direction to adjust input.
58096         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58097         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58098         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58099         Likewise.
58100         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58101         Likewise.
58102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58103         Likewise.
58104         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58105         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58106         Likewise.
58107         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58108         Likewise.
58109         * math/libm-test.inc (nexttoward_test): Add more tests.
58111 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58113         [BZ #14040]
58114         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58115         in version GLIBC_2.1, not GLIBC_2.0.
58116         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58117         Likewise.
58119 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58121         [BZ #13942]
58122         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58123         (1 - x) * (1 + x).
58124         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58125         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58126         * math/libm-test.inc (acos_test): Add more tests.
58127         (asin_test): Likewise.
58128         * sysdeps/i386/fpu/libm-test-ulps: Update.
58129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58131         [BZ #14034]
58132         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58133         of square root.
58134         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58135         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58136         * math/libm-test.inc (acos_test_tonearest): New function.
58137         (acos_test_towardzero): Likewise.
58138         (acos_test_downward): Likewise.
58139         (acos_test_upward): Likewise.
58140         (asin_test_tonearest): Likewise.
58141         (asin_test_towardzero): Likewise.
58142         (asin_test_downward): Likewise.
58143         (asin_test_upward): Likewise.
58144         (main): Call the new functions.
58145         * sysdeps/i386/fpu/libm-test-ulps: Update.
58146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58148         [BZ #13884]
58149         [BZ #13924]
58150         * math/e_exp10.c: Include <float.h>.
58151         (__ieee754_exp10): Handle underflow here rather than multiplying
58152         large negative argument by M_LN10.
58153         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58154         of __ieee754_expf.
58155         * math/e_exp10l.c: Include <float.h>.
58156         (__ieee754_exp10l): Handle underflow here rather than multiplying
58157         large negative argument by M_LN10l.
58158         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58159         spurious overflow exception on underflow.
58161 2012-04-29  Marek Polacek  <polacek@redhat.com>
58163         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58164         (__fortify_function): New macro.
58165         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58166         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58167         __extern_always_inline.
58168         * libio/bits/stdio2.h: Likewise.
58169         * libio/bits/stdio.h: Likewise.
58170         * string/string.h: Likewise.
58171         * string/bits/string3.h: Likewise.
58172         * include/stdio.h: Likewise.
58173         * stdlib/bits/stdlib.h: Likewise.
58174         * stdlib/stdlib.h: Likewise.
58175         * rt/bits/mqueue2.h: Likewise.
58176         * rt/mqueue.h: Likewise.
58177         * posix/bits/unistd.h: Likewise.
58178         * posix/unistd.h: Likewise.
58179         * io/bits/poll2.h: Likewise.
58180         * io/bits/fcntl2.h: Likewise.
58181         * io/fcntl.h: Likewise.
58182         * io/sys/poll.h: Likewise.
58183         * misc/bits/syslog.h: Likewise.
58184         * misc/bits/syslog-ldbl.h: Likewise.
58185         * misc/sys/syslog.h: Likewise.
58186         * socket/bits/socket2.h: Likewise.
58187         * socket/sys/socket.h: Likewise.
58188         * debug/tst-chk1.c: Likewise.
58189         * wcsmbs/bits/wchar2.h: Likewise.
58190         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58191         * wcsmbs/wchar.h: Likewise.
58193 2012-04-29  Andreas Jaeger  <aj@suse.de>
58195         * Makerules (tests): Remove enable-check-abi protection.
58196         (check-abi-warn): Remove.
58197         (check-abi-%): Remove check-abi-warn usage.
58199         * configure.in: Remove check-abi configure option.
58200         * configure: Regenerated.
58201         * config.make.in (enable-check-abi): Remove.
58203 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58205         [BZ #14033]
58206         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58207         double functions to double *_finite functions.
58209         [BZ #13941]
58210         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58211         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58212         LDBL_MIN_EXP.
58213         * stdio-common/Makefile (tests): Add tst-sprintf3.
58214         * stdio-common/tst-sprintf3.c: New file.
58216         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58217         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58219 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58221         * conform/conformtest.pl: Remove duplicate typed-constant
58222         handling.
58224 2012-04-28  David S. Miller  <davem@davemloft.net>
58226         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58227         (check-abi-%): Remove AWK script prerequisite and explicit
58228         abilist directory.
58229         (check-abi): Rewrite to just diff the symlist with the abilist.
58230         (config-tls, config-abi-config): Delete, no longer used.
58231         (update-abi-%): Remove AWK script and explicit abilist directory.
58232         (update-abi): Rewrite to simply compare and conditionally copy the
58233         symlist and the sysdep abilist file.  Remove update-abi-config
58234         checks.
58235         * abilist/ld.abilist: Remove.
58236         * abilist/libBrokenLocale.abilist: Remove.
58237         * abilist/libanl.abilist: Remove.
58238         * abilist/libcrypt.abilist: Remove.
58239         * abilist/libdl.abilist: Remove.
58240         * abilist/librt.abilist: Remove.
58241         * abilist/libthread_db.abilist: Remove.
58242         * abilist/libutil.abilist: Remove.
58243         * scripts/extract-abilist.awk: Remove.
58244         * scripts/merge-abilist.awk: Remove.
58245         * sysdeps/generic/libcidn.abilist: New file.
58246         * sysdeps/generic/libnss_compat.abilist: New file.
58247         * sysdeps/generic/libnss_db.abilist: New file.
58248         * sysdeps/generic/libnss_dns.abilist: New file.
58249         * sysdeps/generic/libnss_files.abilist: New file.
58250         * sysdeps/generic/libnss_hesiod.abilist: New file.
58251         * sysdeps/generic/libnss_nis.abilist: New file.
58252         * sysdeps/generic/libnss_nisplus.abilist: New file.
58253         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58254         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58255         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58256         file.
58257         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58258         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58259         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58260         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58261         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58262         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58263         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58264         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58265         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58266         file.
58267         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58268         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58269         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58270         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58271         file.
58272         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58273         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58274         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58275         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58276         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58277         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58278         file.
58279         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58280         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58281         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58282         file.
58283         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58285         New file.
58286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58287         New file.
58288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58289         New file.
58290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58291         New file.
58292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58293         New file.
58294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58295         New file.
58296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58297         New file.
58298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58299         New file.
58300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58301         New file.
58302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58303         New file.
58304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58305         New file.
58306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58307         New file.
58308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58309         New file.
58310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58311         file.
58312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58313         New file.
58314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58315         New file.
58316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58317         file.
58318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58319         New file.
58320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58321         New file.
58322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58323         file.
58324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58325         New file.
58326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58327         New file.
58328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58329         New file.
58330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58331         New file.
58332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58333         New file.
58334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58335         New file.
58336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58338         file.
58339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58340         New file.
58341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58342         file.
58343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58344         file.
58345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58346         file.
58347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58348         file.
58349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58350         file.
58351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58352         New file.
58353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58354         file.
58355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58356         file.
58357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58358         New file.
58359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58360         file.
58361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58363         file.
58364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58365         New file.
58366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58367         file.
58368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58369         file.
58370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58371         file.
58372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58373         file.
58374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58375         file.
58376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58377         New file.
58378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58379         file.
58380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58381         file.
58382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58383         New file.
58384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58385         file.
58386         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58387         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58388         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58389         file.
58390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58391         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58392         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58393         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58394         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58395         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58396         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58397         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58398         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58399         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58402         file.
58403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58404         New file.
58405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58406         file.
58407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58408         file.
58409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58410         file.
58411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58412         file.
58413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58414         file.
58415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58416         New file.
58417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58418         New file.
58419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58420         file.
58421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58422         New file.
58423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58424         file.
58425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58427         file.
58428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58429         New file.
58430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58431         file.
58432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58433         file.
58434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58435         file.
58436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58437         file.
58438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58439         file.
58440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58441         New file.
58442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58443         New file.
58444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58445         file.
58446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58447         New file.
58448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58449         file.
58451 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58453         * conform/conformtest.pl: Fix typo in handling typed-constant from
58454         allow-header.
58456 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58458         * README: Cut down references to pre-2.6 Linux kernels and
58459         Linuxthreads.  Update lists of configurations in libc and ports
58460         and sort alphabetically.  Say "or newer" with Linux kernel version
58461         requirements.
58463         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58465 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58467         [BZ #887]
58468         * math/libm-test.inc (logb_test_downward): New test to expose
58469         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58470         rounding mode.
58472 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58474         [BZ #14027]
58475         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58476         to be done.
58477         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58478         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58480 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58482         * sysdeps/unix/i386/brk.S: Remove file.
58483         * sysdeps/unix/i386/dl-brk.S: Likewise.
58484         * sysdeps/unix/i386/pipe.S: Likewise.
58485         * sysdeps/unix/i386/sigreturn.S: Likewise.
58486         * sysdeps/unix/i386/syscall.S: Likewise.
58487         * sysdeps/unix/i386/vfork.S: Likewise.
58488         * sysdeps/unix/i386/wait.S: Likewise.
58490         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58491         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58493         * configure.in (arm*-none*): Do not allow without
58494         --enable-hacker-mode.
58495         (netbsd*): Remove case setting base_os.
58496         (386bsd*): Likewise.
58497         (freebsd*): Likewise.
58498         (bsdi*): Likewise.
58499         (osf*): Likewise.
58500         (sunos*): Likewise.
58501         (ultrix*): Likewise.
58502         (newsos*): Likewise.
58503         (dynix*): Likewise.
58504         (*bsd*): Likewise.
58505         (sysv*): Likewise.
58506         (isc*): Likewise.
58507         (esix*): Likewise.
58508         (sco*): Likewise.
58509         (minix*): Likewise.
58510         (irix4*): Likewise.
58511         (irix6*): Likewise.
58512         (solaris[2-9]*): Likewise.
58513         (none): Likewise.
58514         * configure: Regenerated.
58516 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58518         [BZ #11521]
58519         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58520         overflow or cancellation in calculating denominator.
58521         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58522         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58523         down expression to avoid unexpected rounding in newer GCCs.
58524         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58526 2012-04-26  David S. Miller  <davem@davemloft.net>
58528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58529         long-double compat symbols.
58530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58544 2012-04-25  David S. Miller  <davem@davemloft.net>
58546         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58547         HWCAP_* values only after the memory barriers have been defined.
58548         (atomic_full_barrier): Define.
58549         (atomic_read_barrier): Define.
58550         (atomic_write_barrier): Define.
58552 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58554         * shlib-versions: Add libgcc_s version information.
58555         * sysdeps/generic/libgcc_s.h: Remove.
58556         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58557         libgcc_s.h.
58558         * sysdeps/gnu/unwind-resume.c: Likewise.
58559         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58561 2012-04-25  David S. Miller  <davem@davemloft.net>
58563         * sysdeps/unix/sparc/brk.S: Delete.
58564         * sysdeps/unix/sparc/dl-brk.S: Delete.
58565         * sysdeps/unix/sparc/pipe.S: Delete.
58566         * sysdeps/unix/sparc/sysdep.S: Delete.
58567         * sysdeps/unix/sparc/sysdep.h: Delete.
58568         * sysdeps/unix/sparc/vfork.S: Delete.
58569         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58570         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58571         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58572         (ret_ERRVAL, r0, r1, MOVE): Define.
58573         (JUMPTARGET): Remove.
58574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58575         sysdeps/unix/sparc/sysdep.h
58576         (ENTRY, END): Remove.
58577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58579 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58581         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58582         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58583         -DIS_IN_build.
58585         * timezone/README: Update upstream location and email address for
58586         tzcode and tzdata.
58587         * timezone/zdump.c: Update from tzcode 2012b.
58588         * timezone/zic.c: Likewise.
58590         * configure.in (libc_cv_as_needed): Remove test.
58591         * configure: Regenerated.
58592         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58593         conditional definition.
58594         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58595         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58596         * config.make.in (have-as-needed): Remove variable.
58598 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58599             Paul Pluzhnikov  <ppluzhnikov@google.com>
58601         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58602         strings correctly.
58604 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58606         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58607         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58608         * sysdeps/sh/strlen.S: Likewise.
58610 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58612         * sysdeps/unix/fork.S: Remove file.
58613         * sysdeps/unix/i386/fork.S: Likewise.
58614         * sysdeps/unix/sparc/fork.S: Likewise.
58616         * sysdeps/unix/system.c: Remove file.
58617         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58619         * sysdeps/unix/getegid.S: Remove file.
58620         * sysdeps/unix/geteuid.S: Likewise.
58622 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58624         * scripts/check-localplt.awk: New file.
58625         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58626         of diff.
58627         * scripts/data/localplt-generic.data: Add a comment.
58629         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58630         NODE when __dir_mkfile failed.
58631         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58632         Reported by Ludovic Courtès <ludo@gnu.org>.
58634 2012-04-24  Andreas Jaeger  <aj@suse.de>
58636         * Makerules (common-clean): Also remove gen-as-const-headers
58637         files.
58639 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58641         * Makerules (native-compile): Do not change working directory for
58642         build.  Use $(OUTPUT_OPTION) in command.
58643         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58645 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58647         [BZ #13886]
58648         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58649         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58650         * math/libm-test.inc (floor_test): Add more tests.
58651         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58653 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58655         * sysdeps/unix/getdents.c: Remove file.
58656         * sysdeps/unix/sysv/getdents.c: Likewise.
58657         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58659         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58660         sysdeps/unix/mman/syscalls.list.
58661         (mmap): Likewise.
58662         (mprotect): Likewise.
58663         (msync): Likewise.
58664         (munmap): Likewise.
58665         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58666         * sysdeps/unix/mman/syscalls.list: Remove.
58667         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58669         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58670         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58671         * configure: Regenerated.
58672         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58673         $(libgcc_s_suffix).
58674         * config.make.in (libgcc_s_suffix): Remove variable.
58676 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58678         * sysdeps/unix/sysv/gethostname.c: Move to ...
58679         * sysdeps/posix/gethostname.c: ... here.
58681         * sysdeps/unix/execve.S: Remove file.
58683         * sysdeps/unix/_exit.S: Remove file.
58685 2012-04-23  Andreas Jaeger  <aj@suse.de>
58687         [BZ #13739]
58688         * manual/Makefile: Remove make dist support, there's no
58689         need for a stand-alone documentation tar ball.
58690         (TEXI2DVI): Define always, it's not in Makeconfig.
58691         (dist): Removed.
58692         (tar-it): Removed.
58693         (edition): Removed.
58694         (glibc-doc-$(edition).tar): Removed
58695         (%.Z): Removed.
58696         (%.gz): Removed.
58697         (%.uu): Removed.
58698         (ETAGS): Remove, it's in Makeconfig.
58699         (move-if-change): Remove, it's in Makeconfig.
58701 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58703         [BZ #13970]
58704         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58705         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58706         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58707         (strtod_l, strtof_l, strtold_l): Remove __wur.
58708         It is not necessarily an error to ignore strtol's return value.
58709         One can reliably look at the stored endptr to decide whether
58710         the number had valid syntax.
58712 2012-04-21  Andreas Jaeger  <aj@suse.de>
58714         [BZ #13739]
58715         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58717 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58719         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58720         * sysdeps/unix/sysv/Versions: Remove file.
58722 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58724         [BZ #13927]
58725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58727 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58729         [BZ #7064]
58730         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58731         version from __vm86.
58733 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58735         * sysdeps/unix/common/lxstat.c: Remove file.
58736         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58738         * sysdeps/unix/sysv/Makefile: Remove file.
58740         * sysdeps/unix/sysv/direct.h: Remove file.
58742         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58743         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58744         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58745         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58746         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58747         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58748         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58750         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58752         * sysdeps/unix/xmknod.c: Remove file.
58753         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58755         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58757         * sysdeps/unix/sysv/i386/time.S: Remove file.
58759         * sysdeps/unix/fxstat.c: Remove file.
58760         * sysdeps/unix/xstat.c: Likewise.
58761         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58763         * sysdeps/unix/sysv/sigaction.c: Remove file.
58765         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58766         (sysdep_headers): Remove variable.
58767         [termio.h not in sysdep_headers] (generated): Likewise.
58768         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58769         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58770         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58771         * sysdeps/unix/sysv/tcflow.c: Likewise.
58772         * sysdeps/unix/sysv/tcflush.c: Likewise.
58773         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58774         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58775         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58776         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58777         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58779         * sysdeps/unix/siglist.c: Remove file.
58781         * sysdeps/unix/getppid.S: Remove file.
58783         * sysdeps/unix/mkdir.c: Remove file.
58784         * sysdeps/unix/rmdir.c: Likewise.
58786 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58788         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58789         ERR_MAX value.
58790         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58791         errlist-compat value.
58793 2012-04-18  David S. Miller  <davem@davemloft.net>
58795         * sysdeps/generic/memcopy.h (reg_char): Delete.
58796         * debug/strcat_chk.c: Use char, not reg_char.
58797         * debug/strcpy_chk.c: Likewise.
58798         * debug/strncat_chk.c: Likewise.
58799         * debug/strncpy_chk.c: Likewise.
58800         * string/memchr.c: Likewise.
58801         * string/memrchr.c: Likewise.
58802         * string/rawmemchr.c: Likewise.
58803         * string/strcat.c: Likewise.
58804         * string/strchr.c: Likewise.
58805         * string/strchrnul.c: Likewise.
58806         * string/strcmp.c: Likewise.
58807         * string/strcpy.c: Likewise.
58808         * string/strncat.c: Likewise.
58809         * string/strncmp.c: Likewise.
58810         * string/strncpy.c: Likewise.
58812 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58814         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58815         __builtin_memcopy is called when src and dest ranges are known to not
58816         overlap.
58818 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58820         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58821         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58822         fwd_align_merge macro call.
58823         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58824         bwd_align_merge macro call.
58825         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58827 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58829         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58830         bwd_align_merge macros.
58831         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58832         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58833         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58835 2012-04-18  David S. Miller  <davem@davemloft.net>
58837         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58839 2012-04-18  Andreas Jaeger  <aj@suse.de>
58841         [BZ# 6794]
58842         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58843         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58844         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58846         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58847         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58848         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58850         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58851         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58852         Adjust for changed ldbl-128 files.
58854         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58855         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58856         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58858 2012-04-17  David S. Miller  <davem@davemloft.net>
58860         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58862 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58864         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58865         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58866         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58867         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58868         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58869         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58871 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58873         [BZ #6794]
58874         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58875         * math/libm-test.inc: Add ilogb errno and exception tests.
58876         * math/w_ilogb.c: New file: ilogb wrapper.
58877         * math/w_ilogbf.c: New file: ilogbf wrapper.
58878         * math/w_ilogbl.c: New file: ilogbl wrapper.
58879         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58880         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58881         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58882         exception being thrown with 0.0 as argument.
58883         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58884         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58885         exception being thrown with 0.0 as argument.
58886         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58887         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58888         exception being thrown with 0.0 as argument.
58889         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58890         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58891         exception being thrown with 0.0 as argument.
58892         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58893         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58894         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58895         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58896         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58897         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58898         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58899         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58900         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58902 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58904         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58905         with altivec.
58907 2012-04-16  Marek Polacek  <polacek@redhat.com>
58909         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58911 2012-04-16  Marek Polacek  <polacek@redhat.com>
58913         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58914         operands of fdivp instruction.
58916 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58918         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58919         * elf/tst-auditmod3b.c: Likewise.
58920         * elf/tst-auditmod4b.c: Likewise.
58921         * elf/tst-auditmod5b.c: Likewise.
58922         * elf/tst-auditmod6b.c: Likewise.
58923         * elf/tst-auditmod6c.c: Likewise.
58924         * elf/tst-auditmod7b.c: Likewise.
58925         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58926         * sysdeps/x86_64/preconfigure.in: Likewise.
58927         * sysdeps/x86_64/preconfigure: Regenerated.
58929 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58931         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58932         __ILP32__.
58934 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58936         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58937         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58939 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58941         [BZ #13973]
58942         * locale/iso-639.def: Fix gl language name. Spotted by
58943         Yaron Shahrabani.
58945 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58947         [BZ #2074]
58948         * libio/libio.h (__io_write_fn): Update comment.
58950 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58952         [BZ #2074]
58953         * stdio.texi (Hook Functions): The user provided writer function
58954         is not allowed to return -1.
58956 2012-04-11  David S. Miller  <davem@davemloft.net>
58958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58960 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58962         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58963         Add a leading slash to rtkaio.
58965 2012-04-11  Jim Meyering  <meyering@redhat.com>
58967         [BZ #11959]
58968         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58969         It is not necessarily an error to ignore fwrite's return
58970         value.  One can reliably use ferror to test for errors after
58971         the fact.
58973 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58975         * bits/types.h (__snseconds_t): New type.
58976         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58978         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58980         (__SNSECONDS_T_TYPE): Likewise.
58981         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58982         (__SNSECONDS_T_TYPE): Likewise.
58983         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58984         (__SNSECONDS_T_TYPE): Likewise.
58986 2012-04-10  Andreas Jaeger  <aj@suse.de>
58988         [BZ #2636]
58989         * manual/time.texi (Processor Time): Return type of times is
58990         elapsed real time since an arbitrary point in the past.
58991         (CPU Time): Move CLK_TCK from here...
58992         (Processor Time): ...to here.  Correct description.
58993         * manual/conf.texi (Constants for Sysconf): Correct description of
58994         _SC_CLK_TCK.
58996 2012-04-10  David S. Miller  <davem@davemloft.net>
58998         [BZ #13967]
58999         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59000         where the is a gap between DT_REL(A) and DT_JMPREL.
59002 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59004         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59005         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59006         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59008 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59010         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59011         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59012         (dl_main): Handle --inhibit-cache.
59013         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59014         _dl_inhibit_cache.
59015         * elf/dl-load.c (_dl_map_object): Use it.
59016         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59018 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59020         [BZ #13872]
59021         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59022         (__ieee754_powl): Saturate large exponents rather than testing for
59023         overflow of y*log2(x).
59024         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59025         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59026         exceptions.
59028         [BZ #11521]
59029         * math/s_ctan.c: Include <float.h>.
59030         (__ctan): Avoid internal overflow or cancellation in calculating
59031         denominator.
59032         * math/s_ctanf.c: Likewise.
59033         * math/s_ctanl.c: Likewise.
59034         * math/s_ctanh.c: Likewise.
59035         * math/s_ctanhf.c: Likewise.
59036         * math/s_ctanhl.c: Likewise.
59037         * math/libm-test.inc (ctan_test): Add more tests.
59038         (ctanh_test): Likewise.
59039         * sysdeps/i386/fpu/libm-test-ulps: Update.
59040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59042 2012-04-09  Andreas Jaeger  <aj@suse.de>
59044         [BZ #6894]
59045         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59046         is an optional BSD extension.
59048         [BZ #10254]
59049         * manual/stdio.texi (Opening Streams): Document additional fopen
59050         parameters.
59052 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59054         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59055         %eax without telling the compiler.
59057 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59059         [BZ # 13963]
59060         * manual/install.texi: Use sourceware.org.
59062 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59064         [BZ #13873]
59065         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59066         (__ieee754_pow): Generate overflow and underflow using huge*huge
59067         and tiny*tiny rather than just returning constant infinity or zero
59068         for large exponents.
59069         * math/libm-test.inc (pow_test): Require overflow exceptions for
59070         applicable cases of large exponents.
59072         [BZ #706]
59073         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59074         (__ieee754_pow): Use iterative multiplication algorithm only for
59075         integer exponents with absolute value below 1024.  Check for odd
59076         integer exponents when using algorithm for real exponents.
59077         * math/libm-test.inc (pow_test): Add more tests.
59078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59080 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59082         [BZ #13705]
59083         * math/libm-test.inc (exp_test): Do not allow overflow exception
59084         on underflow test.
59086 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59088         [BZ #13705]
59089         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59090         instead of __kernel_standard_f.
59092 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59094         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59095         * sysdeps/x86_64/memset_chk.S: Likewise.
59097 2012-04-08  Andreas Jaeger  <aj@suse.de>
59099         [BZ #10153]
59100         * manual/startup.texi (Environment Access): Describe return value
59101         for putenv and setenv.
59103         [BZ #6895]
59104         * manual/filesys.texi (Directory Entries): Add description for
59105         DT_LNK.
59107         [BZ #6890]
59108         * manual/filesys.texi (Directory Entries): Clarify that it's file
59109         system not operating system in the description of DT_UNKNOWN.
59111         [BZ #6578]
59112         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59114 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59116         [BZ #6649]
59117         * manual/llio.texi (Opening and Closing Files): Add cross
59118         reference to explain mode argument.
59120 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59122         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59123         * sysdeps/x86_64/memset_chk.S: Likewise.
59125 2012-04-07  David S. Miller  <davem@davemloft.net>
59127         * elf/elf.h (R_SPARC_WDISP10): Define.
59128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59129         R_SPARC_SIZE32.
59130         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59131         R_SPARC_SIZE64 and R_SPARC_H34.
59133 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59135         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59136         conditions and remove no longer applicable assertion.
59138 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59140         * bits/byteswap.h: Include <features.h>.
59141         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59142         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59144 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59146         * bits/byteswap.h (__bswap_16): Removed.
59147         Include <bits/byteswap-16.h> to get __bswap_16.
59148         * sysdeps/i386/bits/byteswap.h: Likewise.
59149         * sysdeps/s390/bits/byteswap.h: Likewise.
59150         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59151         * bits/byteswap-16.h: New file.
59152         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59153         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59154         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59155         * string/Makefile (headers): Add bits/byteswap-16.h.
59157 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59159         [BZ #13895]
59160         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59161         extra indirection.
59162         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59163         * nss/tst-nss-static.c: New.
59165 2012-04-06  Robert Millan  <rmh@gnu.org>
59167         [BZ #6486]
59168         * manual/llio.texi (File Position Primitive): lseek
59169         refers to WHENCE when it really means OFFSET.
59171 2012-04-06  Andreas Jaeger  <aj@suse.de>
59173         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59174         strncmp declarations.
59176         * abilist/libc.abilist: Add __poll and __ppoll.
59178 2012-04-05  David S. Miller  <davem@davemloft.net>
59180         * scripts/check-local-headers.sh: Accept a host triplet in the
59181         path matched by the exclude regexp.
59183         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59184         definition.
59185         * sysdeps/powerpc/powerpc32/dl-machine.h
59186         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59187         * sysdeps/s390/s390-32/dl-machine.h
59188         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59189         * sysdeps/sparc/sparc32/dl-machine.h
59190         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59191         * sysdeps/sparc/sparc64/dl-machine.h
59192         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59194         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59195         lazy binding.
59196         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59197         undefined symbol errors.
59199         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59200         DT_NEEDED entries.
59202 2012-04-05  Michael Matz  <matz@suse.de>
59204         [BZ #13592]
59205         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59207 2012-04-05  Andreas Jaeger  <aj@suse.de>
59209         [BZ #13908]
59210         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59211         comment.
59213 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59215         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59216         which ROUND is no valid rounding mode.
59218 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59220         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59221         read again.
59222         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59224 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59226         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59227         an exception using FPU order intentionally.
59229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59231         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59232         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59233         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59234         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59236 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59238         [BZ #12340]
59239         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59240         EINVAL when BUFLEN is too smal.
59242 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59244         [BZ #13553]
59245         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59246         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59248 2012-04-03  Andreas Jaeger  <aj@suse.de>
59250         [BZ #13938]
59251         * manual/setjmp.texi (System V contexts): Fix sentence.
59253         [BZ #13926]
59254         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59255         New macro for this case.
59256         [!__GNUC__] (__bswap_64): New inline function for this case.
59257         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59258         * bits/byteswap.h: Likewise.
59259         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59260         ull, guard with __GLIBC_HAVE_LONG_LONG.
59262         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59263         __GLIBC_HAVE_LONG_LONG.
59265         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59266         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59268 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59270         [BZ #13691]
59271         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59272         inptr and inend, rather than using last_ch.
59274 2012-04-02  David S. Miller  <davem@davemloft.net>
59276         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59277         * stdio-common/printf-parse.h (read_int): Change return type to
59278         'int', return -1 on INT_MAX overflow.
59279         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59280         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59281         overflows INT_MAX.  Check for overflow of in-format-string precision
59282         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59283         SIZE_MAX not INT_MAX for integer overflow test.
59284         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59285         skip the construct in the format string but do not record anything.
59286         * stdio-common/bug22.c: Adjust to test both width/prevision
59287         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59288         explicitly for proper errno values.
59290 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59292         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59293         CHAR_MAX.
59294         * string/test-strcmp.c [! WIDE]: Likewise.
59295         * time/tst-mktime2.c: Likewise for INT_MAX.
59296         * string/test-string.h: #include <sys/param.h> for MIN.
59298         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59299         * sysdeps/i386/init-first.c (init): Likewise.
59300         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59301         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59302         * sysdeps/sh/init-first.c (init): Likewise.
59304 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59306         * po/ru.po: Update from translation team.
59307         * po/vi.po: Likewise.
59309 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59311         * resolv/nss_dns/dns-host.c: Merge copyright years.
59313 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59315         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59316         Optimize memcpy with prefetch if
59317         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59318         src, dst pointers have unequal 16 byte alignments.
59320 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59322         [BZ #13928]
59323         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59324         from a CNAME entry and return the minimum ttl for the query.
59325         (gaih_getanswer_slice): Likewise.
59327 2012-03-30  Jeff Law  <law@redhat.com>
59329         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59330         due to long keys.
59331         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59332         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59334         * resolv/nss_dns/dns-host.c: Update copyright year.
59336 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59338         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59339         requests to save a system call.  Fix check that all bytes are sent.
59341         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59342         comments for sendmmsg.
59344 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59346         [BZ #13691]
59347         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59348         with only 1 character between 0x0041 and 0x01b0.
59349         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59350         * wcsmbs/tst-mbsnrtowcs.c: New file.
59352 2012-03-29  David S. Miller  <davem@davemloft.net>
59354         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59355         small copies by hand.
59357 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59359         [BZ #13761]
59360         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59361         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59362         group memberships.
59364 2012-03-28  David S. Miller  <davem@davemloft.net>
59366         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59367         that branches into memcpy.
59368         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59369         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59370         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59371         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59372         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59373         bits.
59374         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59375         implementation too.
59376         * sysdeps/sparc/mempcpy.S: New file.
59378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59379         the IFUNC routine in the libc case.
59380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59382         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59383         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59384         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59385         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59386         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59387         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59388         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59389         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59391         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59392         loop to 256 bytes instead of 64 bytes and fix test signedness.
59394         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59395         * sysdeps/sparc/sparc32/Makefile: rather than here...
59396         * sysdeps/sparc/sparc64/Makefile: and here.
59398 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59400         * malloc/mallocbug.c: Avoid warnings about unused variables.
59402 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         [BZ #13760]
59405         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59406         in the right place. Discard and retry query if response is
59407         larger than input buffer size.
59409 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59411         [BZ #369]
59412         [BZ #2678]
59413         [BZ #3866]
59414         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59415         x for large integer exponent.
59416         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59417         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59418         sign of result as needed afterwards.
59419         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59420         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59421         result for underflowing pow the same as for overflow.
59422         (__kernel_standard_l): Handle powl overflow and underflow here
59423         rather than calling __kernel_standard.
59424         * math/libm-test.inc (pow_test): Add more tests.
59426         [BZ #3868]
59427         [BZ #13879]
59428         [BZ #13910]
59429         [BZ #13911]
59430         [BZ #13912]
59431         [BZ #13913]
59432         [BZ #13915]
59433         [BZ #13916]
59434         [BZ #13917]
59435         [BZ #13918]
59436         [BZ #13919]
59437         [BZ #13920]
59438         [BZ #13921]
59439         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59440         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59441         (__kernel_standard_l): New function.
59442         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59443         __kernel_standard.
59444         * math/w_acosl.c (__acosl): Likewise.
59445         * math/w_asinl.c (__asinl): Likewise.
59446         * math/w_atan2l.c (__atan2l): Likewise.
59447         * math/w_atanhl.c (__atanhl): Likewise.
59448         * math/w_coshl.c (__coshl): Likewise.
59449         * math/w_exp10l.c (__exp10l): Likewise.
59450         * math/w_exp2l.c (__exp2l): Likewise.
59451         * math/w_fmodl.c (__fmodl): Likewise.
59452         * math/w_hypotl.c (__hypotl): Likewise.
59453         * math/w_j0l.c (__j0l, __y0l): Likewise.
59454         * math/w_j1l.c (__j1l, __y1l): Likewise.
59455         * math/w_jnl.c (__jnl, __ynl): Likewise.
59456         * math/w_lgammal.c (__lgammal): Likewise.
59457         * math/w_log10l.c (__log10l): Likewise.
59458         * math/w_log2l.c (__log2l): Likewise.
59459         * math/w_logl.c (__logl): Likewise.
59460         * math/w_powl.c (__powl): Likewise.
59461         * math/w_remainderl.c (__remainderl): Likewise.
59462         * math/w_scalbl.c (sysv_scalbl): Likewise.
59463         * math/w_sinhl.c (__sinhl): Likewise.
59464         * math/w_sqrtl.c (__sqrtl): Likewise.
59465         * math/w_tgammal.c (__tgammal): Likewise.
59466         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59467         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59468         * math/libm-test.inc (acos_test): Add more tests.
59469         (acosh_test): Likewise.
59470         (asin_test): Likewise.
59471         (atanh_test): Likewise.
59472         (exp_test): Likewise.
59473         (exp10_test): Likewise.
59474         (exp2_test): Likewise.
59475         (expm1_test): Likewise.
59476         (lgamma_test): Likewise.
59477         (log_test): Likewise.
59478         (log10_test): Likewise.
59479         (log1p_test): Likewise.
59480         (log2_test): Likewise.
59481         (pow_test): Do not allow some spurious overflow exceptions.
59482         (sqrt_test): Add more tests.
59483         (tgamma_test): Likewise.
59484         (y0_test): Likewise.
59485         (y1_test): Likewise.
59486         (yn_test): Likewise.
59488 2012-03-27  Anton Blanchard  <anton@samba.org>
59490         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59491         MAP_HUGETLB.
59492         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59493         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59496 2012-03-27  David S. Miller  <davem@davemloft.net>
59498         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59500         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59501         have-as-vis3 check.
59503 2012-03-27  Andreas Jaeger  <aj@suse.de>
59505         * sysdeps/x86_64/elf/configure.in: Moved to ...
59506         * sysdeps/x86_64/configure.in: ... here.
59507         * sysdeps/x86_64/elf/start.S: Moved to ...
59508         * sysdeps/x86_64/start.S: ... here.
59509         * sysdeps/x86_64/elf/configure: Delete.
59511         * sysdeps/x86_64/configure.in: Merge contents from
59512         sysdeps/i386/configure.in (without i686 check).
59514         * sysdeps/i386/elf/Versions: Merge into ...
59515         * sysdeps/i386/Versions: ... this.
59516         * sysdeps/i386/elf/Versions: Delete file.
59517         * sysdeps/i386/elf/start.S: Moved to ...
59518         * sysdeps/i386/start.S: ...here.
59519         * sysdeps/i386/elf/configure.in: Merge into...
59520         * sysdeps/i386/configure.in: ...here.
59521         * sysdeps/i386/elf/configure.in: Delete file.
59522         * sysdeps/i386/elf/configure: Delete file.
59524         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59525         * debug/backtracesyms.c: ... here.
59526         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59527         * debug/backtracesymsfd.c: ... here.
59528         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59529         * sysdeps/generic/ifunc-sel.h: ... here.
59531         * sysdeps/unix/i386/start.c: Delete file.
59532         * sysdeps/unix/sparc/start.c: Delete file.
59533         * sysdeps/unix/start.c: Delete file.
59535         * sysdeps/sh/elf/configure.in: Moved to ...
59536         * sysdeps/sh/configure.in: ... here.
59537         * sysdeps/sh/elf/start.S: Moved to ...
59538         * sysdeps/sh/start.S: ... here.
59539         * sysdeps/sh/elf/configure: Delete file.
59541         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59542         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59543         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59544         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59545         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59546         * sysdeps/powerpc/powerpc64/start.S: here.
59547         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59548         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59549         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59550         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59551         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59553         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59554         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59555         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59556         * sysdeps/powerpc/powerpc32/start.S: ... here.
59557         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59558         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59559         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59561         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59562         * sysdeps/powerpc/ifunc-sel.h: ... here.
59563         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59564         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59566         * sysdeps/sparc/elf/configure.in: Moved to ...
59567         * sysdeps/sparc/configure.in: ... here.
59568         * sysdeps/sparc/elf/configure: Delete file.
59569         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59570         * sysdeps/sparc/sparc32/start.S: ... here.
59571         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59572         * sysdeps/sparc/sparc64/start.S: ... here.
59573         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59574         * sysdeps/sparc/sparc32/Makefile: ... this.
59575         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59576         * sysdeps/sparc/sparc64/Makefile: ... this.
59578         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59579         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59580         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59581         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59582         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59583         * sysdeps/s390/s390-32/setjmp.S: ... here.
59584         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59585         * sysdeps/s390/s390-32/configure.in: ... here.
59586         * sysdeps/s390/s390-32/elf/configure: Delete file.
59587         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59588         * sysdeps/s390/s390-32/start.S: ... here.
59590         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59591         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59592         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59593         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59594         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59595         * sysdeps/s390/s390-64/setjmp.S: ... here.
59596         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59597         * sysdeps/s390/s390-64/configure.in: ... here
59598         * sysdeps/s390/s390-64/elf/configure: Delete file.
59599         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59600         * sysdeps/s390/s390-64/start.S: ... here.
59601         * sysdeps/s390/s390-64/elf/configure: Delete.
59603         * configure.in: Remove support for elf directories in sysdeps.
59605         * configure: Regenerated.
59606         * sysdeps/i386/configure: Regenerated.
59607         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59608         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59609         * sysdeps/s390/s390-32/configure: Regenerated.
59610         * sysdeps/s390/s390-64/configure: Regenerated.
59611         * sysdeps/sh/configure: Regenerated.
59612         * sysdeps/sparc/configure: Regenerated.
59613         * sysdeps/x86_64/configure: Regenerated.
59615 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59619         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59620         denormal result into account.
59622 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59624         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59625         Reported by Allan McRae <allan@archlinux.org>.
59627 2012-03-23  Jeff Law  <law@redhat.com>
59629         * nss/getnssent.c (__nss_getent): Fix typo.
59631 2012-03-23  David S. Miller  <davem@davemloft.net>
59633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59635 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59637         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59638         to pad to uint64_t for each field.
59639         (dl_tls_index): Replace unsigned long with uint64_t.
59641 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59642         Paul Pluzhnikov  <ppluzhnikov@google.com>
59644         [BZ #6528]
59645         * grp/Makefile (otherlibs): Don't set it.
59646         * inet/Makefile (otherlibs): Likewise.
59647         * login/Makefile (otherlibs): Likewise.
59648         * nscd/Makefile (otherlibs): Likewise.
59649         * posix/Makefile (otherlibs): Likewise.
59650         * pwd/Makefile (otherlibs): Likewise.
59651         * rt/Makefile (otherlibs): Likewise.
59652         * sunrpc/Makefile (otherlibs): Likewise.
59653         * nss/Makefile (otherlibs): Likewise.
59654         Add libnss_files to routines and static-only-routines.
59655         ($(objpfx)getent): Remove rule.
59656         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59657         static-only-routines.
59659 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59661         [BZ #13892]
59662         * math/s_cexp.c: Include <float.h>.
59663         (__cexp): Handle exp result overflowing not necessarily
59664         overflowing both real and imaginary parts of result.
59665         * math/s_cexpf.c: Likewise.
59666         * math/s_cexpl.c: Likewise.
59667         * math/libm-test.inc (cexp_test): Add more tests.
59668         * sysdeps/i386/fpu/libm-test-ulps: Update.
59669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59671 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59673         * include/link.h (ELFW): New macro.
59674         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59675         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59677 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59679         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59680         with uint64_t.
59682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59684         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59685         declaration.
59686         (struct La_x32_retval): Likewise.
59688 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59690         * sysdeps/x86_64/preconfigure.in: New file.
59691         * sysdeps/x86_64/preconfigure: New generated file.
59693 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59695         [BZ #13824]
59696         * math/e_exp2l.c: Include <float.h>.
59697         (__ieee754_exp2l): Handle overflow and underflow cases
59698         separately.  Only pass fractional part of argument to
59699         __ieee754_expl.
59700         * math/libm-test.inc (exp2_test): Add more tests.
59702         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59703         negating x to take absolute value.
59704         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59705         Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59708         Likewise.
59709         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59710         computing low part if x was negated.
59711         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59713 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59715         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59716         la_x32_gnu_pltexit.
59717         (pltexit): Cast int_retval to ptrdiff_t.
59718         * elf/tst-auditmod3b.c: Likewise.
59719         * elf/tst-auditmod4b.c: Likewise.
59720         * elf/tst-auditmod5b.c: Likewise.
59721         * elf/tst-auditmod6b.c: Likewise.
59722         * elf/tst-auditmod6c.c: Likewise.
59723         * elf/tst-auditmod7b.c: Likewise.
59725         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59726         and x32_gnu_pltexit.
59728         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59729         __ELF_NATIVE_CLASS.
59730         (La_x32_regs): New macro.
59731         (La_x32_retval): Likewise.
59732         (la_x32_gnu_pltenter): New function prototype.
59733         (la_x32_gnu_pltexit): Likewise.
59735 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59738         exponent.
59740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59742         * configure.in (libc_cv_cc_nofma): Check for option to disable
59743         generation of FMA instructions.
59744         * configure: Regenerate.
59745         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59746         * sysdeps/ieee754/dbl-64/Makefile: New file.
59747         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59748         Remove brandred-fma4.
59749         (CFLAGS-brandred-fma4.c): Remove.
59750         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59751         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59752         define.
59753         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59754         define.
59756 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59758         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59759         LLONG_MAX != LONG_MAX.
59760         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59761         (_fitoa_word): Likewise.
59762         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59763         LLONG_MAX != LONG_MAX.
59764         * stdio-common/_itowa.h: Include <_itoa.h>.
59765         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59766         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59767         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59768         only if not defined.
59769         (_ITOA_WORD_TYPE): Likewise.
59770         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59771         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59773 2012-03-21  David S. Miller  <davem@davemloft.net>
59775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59777 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59779         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59780         of x86_64 when setting libc_cv_slibdir, libdir and
59781         libc_cv_localedir.
59782         * sysdeps/unix/sysv/linux/configure: Regenerated.
59784 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59786         * manual/lang.texi (Old Varargs): Remove section.
59787         (How Variadic): Update menu.
59788         (va_start): Do not mention varargs.h.
59790 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59791             Joseph Myers  <joseph@codesourcery.com>
59793         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59794         link test.
59795         * configure: Regenerated.
59797 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59799         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59800         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59801         conformtest.pl
59803 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59805         * NOTES: Remove.
59806         * Makefile (files-for-dist): Remove NOTES.
59807         (NOTES): Remove rule.
59808         * README: Don't refer to NOTES.
59809         * manual/creature.texi: Don't include macros.texi.
59810         * manual/intro.texi (creature.texi): Remove comment referring to
59811         NOTES.
59813         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59814         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59815         * configure: Regenerated.
59816         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59817         LIBC_TRY_CC_OPTION.
59818         (libc_cv_as_i686): Likewise.
59819         (libc_cv_cc_avx): Likewise.
59820         (libc_cv_cc_sse2avx): Likewise.
59821         (libc_cv_cc_fma4): Likewise.
59822         (libc_cv_cc_novzeroupper): Likewise.
59823         * sysdeps/i386/configure: Regenerated.
59825         [BZ #13883]
59826         * sysdeps/i386/fpu/s_cexp.S: Remove.
59827         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59828         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59829         * math/libm-test.inc (cexp_test): Add more tests.
59830         * sysdeps/i386/fpu/libm-test-ulps: Update.
59831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59833 2012-03-21  Allan McRae  <allan@archlinux.org>
59835         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59837 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59839         [BZ #13871]
59840         * math/w_exp2.c: Do not include <float.h>.
59841         (o_threshold, u_threshold): Remove.
59842         (__exp2): Calculate result before checking finiteness and calling
59843         __kernel_standard.
59844         * math/w_exp2f.c: Likewise.
59845         * math/w_exp2l.c: Likewise.
59846         * math/libm-test.inc (exp2_test): Require overflow exception for
59847         1e6 input.
59849         [BZ #3866]
59850         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59851         range of signed 64-bit integers before using fistpll.  Remove
59852         checks for whether integers fit in mantissa bits.
59853         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59854         the range of signed 32-bit integers before using fistpl.  Remove
59855         checks for whether integers fit in mantissa bits.
59856         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59857         (__ieee754_powl): Test for y outside the range of signed 64-bit
59858         integers before using fistpll.  Reduce 64-bit values to 63-bit
59859         ones as needed.
59860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59861         divide-by-zero is raised for zero to large negative powers.
59862         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59863         (__ieee754_powl): Test for y outside the range of signed 64-bit
59864         integers before using fistpll.  Reduce 64-bit values to 63-bit
59865         ones as needed.
59866         * math/libm-test.inc (pow_test): Add more tests.
59868 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59870         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59871         <stdio-common/_itoa.h>.
59872         * debug/segfault.c: Likewise.
59873         * elf/dl-cache.c: Likewise.
59874         * elf/dl-minimal.c: Likewise.
59875         * elf/dl-misc.c: Likewise.
59876         * elf/dl-sysdep.c: Likewise.
59877         * elf/dl-version.c: Likewise.
59878         * elf/rtld.c: Likewise.
59879         * hurd/hurdsock.c: Likewise.
59880         * hurd/lookup-retry.c: Likewise.
59881         * malloc/malloc.c: Likewise.
59882         * malloc/mtrace.c: Likewise.
59883         * nscd/nscd_getgr_r.c: Likewise.
59884         * nscd/nscd_getpw_r.c: Likewise.
59885         * nscd/nscd_getserv_r.c: Likewise.
59886         * posix/getopt_init.c: Likewise.
59887         * posix/wordexp.c: Likewise.
59888         * stdio-common/_itoa.c: Likewise.
59889         * stdio-common/printf_fphex.c: Likewise.
59890         * stdio-common/vfprintf.c: Likewise.
59891         * string/_strerror.c: Likewise.
59892         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59893         * sysdeps/i386/i686/hp-timing.h: Likewise.
59894         * sysdeps/mach/_strerror.c: Likewise.
59895         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59896         * sysdeps/mach/hurd/sethostid.c: Likewise.
59897         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59898         * sysdeps/mach/xpg-strerror.c: Likewise.
59899         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59900         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59901         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59902         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59903         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59904         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59905         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59906         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59907         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59908         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59909         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59910         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59911         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59912         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59913         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59914         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59915         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59916         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59917         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59918         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59919         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59921         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59923         * stdio-common/_itoa.h: Moved to ...
59924         * sysdeps/generic/_itoa.h: Here.
59926         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59928         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59929         instead of "_itoa.h" and "_itowa.h".
59930         * stdio-common/vfprintf.: Likewise.
59932 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59934         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59935         <bits/wordsize.h>.
59936         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59937         (__signbit): Likwise.
59938         (llrintf): Likwise.
59939         (llrint): Likwise.
59941 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59943         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59944         __WORDSIZE != 64.
59946 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59948         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59949         OVERFLOW_EXCEPTION_OK.
59950         * math/libm-test.inc ("Philosophy"): Update comment about
59951         exception testing.
59952         (OVERFLOW_EXCEPTION): Define.
59953         (OVERFLOW_EXCEPTION_OK): Likewise.
59954         (INVALID_EXCEPTION_OK): Renumber.
59955         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59956         (IGNORE_ZERO_INF_SIGN): Likewise.
59957         (test_exceptions): Handle FE_OVERFLOW.
59958         (exp10_test): Expect overflow exceptions.
59959         (exp2_test): Likewise.
59960         (expm1_test): Likewise.
59961         (nextafter_test): Likewise.
59962         (pow_test): Likewise.
59963         (scalbn_test): Likewise.
59964         (scalbln_test): Likewise.
59966 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59968         * sysdeps/x86_64/bits/atomic.h
59969         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59970         64bit integer.
59971         (atomic_exchange_acq): Likewise.
59972         (__arch_exchange_and_add_body): Likewise.
59973         (__arch_add_body): Likewise.
59974         (atomic_add_negative): Likewise.
59975         (atomic_add_zero): Likewise.
59977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59979         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59980         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59984         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59985         Check __x86_64__ instead of __WORDSIZE.
59987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59989         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59991 2012-03-19  David S. Miller  <davem@davemloft.net>
59993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59995         * sysdeps/sparc/fpu/fenv_private.h: New file.
59996         * sysdeps/sparc/fpu/math_private.h: Use it.
59997         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59998         Remove.
59999         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60000         (libc_feholdexcept_setroundl): Remove.
60001         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60002         Remove.
60003         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60004         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60008         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60009         int64_t instead of long int.
60010         (INSERT_WORDS64): Likwise.
60012 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60014         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60015         _Unwind_GetCFA return to _Unwind_Ptr first.
60017 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60019         [BZ #13629]
60020         * math/s_clog.c: Include <float.h>.
60021         (__clog): Scale large or subnormal inputs.
60022         * math/s_clogf.c: Likewise.
60023         * math/s_clogl.c: Likewise.
60024         * math/s_clog10.c: Include <float.h>.
60025         (M_LOG10_2): Define.
60026         (__clog10): Scale large or subnormal inputs.
60027         * math/s_clog10f.c: Likewise.
60028         * math/s_clog10l.c: Likewise.
60029         * math/libm-test.inc (clog_test): Add more tests.
60030         (clog10_test): Likewise.
60031         * sysdeps/i386/fpu/libm-test-ulps: Update.
60032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60034         [BZ #11451]
60035         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60036         x and y.
60037         * math/libm-test.inc (atan2_test): Add another test.
60039         * Makerules (common-objdir-compile): Remove.
60040         * sysdeps/unix/Makefile (config-generated): Do not add
60041         $(unix-generated) to variable.
60042         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60043         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60044         Remove rule.
60045         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60046         Likewise.
60047         [generic bits/local_lim.h] (before-compile): Do not append to
60048         variable.
60049         [generic bits/local_lim.h] (common-generated): Likewise.
60050         [generic sys/param.h] (before-compile): Do not append to variable.
60051         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60052         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60053         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60054         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60055         include.
60056         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60057         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60058         [generic sys/param.h] ($(addprefix
60059         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60060         [generic sys/param.h] (common-generated): Do not append to
60061         variable.
60062         [generic sys/param.h] (sysdep_headers): Likewise.
60063         [generic bits/errno.h] (before-compile): Do not append to
60064         variable.
60065         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60066         rule.
60067         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60068         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60069         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60070         [generic bits/errno.h] (common-generated): Do not append to
60071         variable.
60072         [generic bits/ioctls.h] (before-compile): Do not append to
60073         variable.
60074         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60075         rule.
60076         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60077         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60078         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60079         rule.
60080         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60081         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60082         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60083         [generic bits/ioctls.h] (common-generated): Do not append to
60084         variable.
60085         [generic sys/syscall.h] (syscall.h): Remove variable.
60086         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60087         rule.
60088         [generic sys/syscall.h] (before-compile): Do not append to
60089         variable.
60090         [generic sys/syscall.h] (common-generated): Likewise.
60091         * sysdeps/unix/errnos-tmpl.c: Remove file.
60092         * sysdeps/unix/errnos.awk: Likewise.
60093         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60094         * sysdeps/unix/ioctls.awk: Likewise.
60095         * sysdeps/unix/mk-local_lim.c: Likewise.
60096         * sysdeps/unix/snarf-ioctls: Likewise.
60098 2012-03-19  Richard Henderson  <rth@twiddle.net>
60100         * sysdeps/i386/fpu/fenv_private.h: New file.
60101         * sysdeps/i386/fpu/math_private.h: Use it.
60102         (math_opt_barrier, math_force_eval): Remove.
60103         (libc_feholdexcept_setround_53bit): Remove.
60104         (libc_feupdateenv_53bit): Remove.
60105         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60106         (math_opt_barrier, math_force_eval): Remove.
60107         (libc_feholdexcept): Remove.
60108         (libc_feholdexcept_setround): Remove.
60109         (libc_fetestexcept, libc_fesetenv): Remove.
60110         (libc_feupdateenv_test): Remove.
60111         (libc_feupdateenv, libc_feholdsetround): Remove.
60112         (libc_feresetround): Remove.
60114         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60115         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60117         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60118         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60119         (libc_feupdateenv_testl): New.
60120         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60121         (libc_feupdateenv_testf): New.
60122         (libc_feupdateenv): Use libc_feupdateenv_test.
60123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60124         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60126         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60127         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60128         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60129         (libc_feresetround_noex): New.
60130         (libc_feresetround_noexf): New.
60131         (libc_feresetround_noexl): New.
60132         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60133         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60134         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60135         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60136         SET_RESTORE_ROUND.
60137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60138         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60139         (__cos): Likewise.
60140         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60141         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60142         SET_RESTORE_ROUND_NOEX.
60143         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60144         SET_RESTORE_ROUND_NOEXF.
60145         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60146         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60147         (libc_feholdsetroundf): New.
60148         (libc_feresetround, libc_feresetroundf): New.
60150         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60151         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60152         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60154         * sysdeps/generic/math_private.h: Include <fenv.h>.
60155         (default_libc_feholdexcept): New.
60156         (default_libc_feholdexcept_setround): New.
60157         (default_libc_fesetenv, default_libc_feupdateenv): New.
60158         (libc_feholdexcept): Only define if undefined.
60159         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60160         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60161         (libc_feholdexcept_setroundl): Likewise.
60162         (libc_feholdexcept_setround_53bit): Likewise.
60163         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60164         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60165         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60166         (libc_feupdateenv_53bit): Likewise.
60167         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60168         (libc_feholdexcept): Convert from macro to inline function.
60169         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60170         (libc_fesetenv, libc_feupdateenv): Likewise.
60172         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60173         not previously defined.
60174         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60175         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60176         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60177         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60178         * sysdeps/ieee754/flt-32/math_private.h: New file.
60179         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60180         math_private.h below SET_FLOAT_WORD.
60181         (__isnan, __isinf_ns, __finite): Remove.
60182         (__isnanf, __isinf_nsf, __finitef): Remove.
60184 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60188 2012-03-17  David S. Miller  <davem@davemloft.net>
60190         [BZ #6471]
60191         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60192         for 2.16.
60194 2012-03-16  David S. Miller  <davem@davemloft.net>
60196         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60197         warnings.
60199         [BZ #6471]
60200         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60201         properly.
60202         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60203         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60204         sysdep_routines when subdir is sysvipc.
60205         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60206         __getshmlba helper.
60208         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60210 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60212         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60213         [__LP64__].
60215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60217         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60218         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60219         (__lround): Renamed to ...
60220         (__llround): This.  Replace long int with long long int.
60221         Define lround functions as aliases of llround functions.
60222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60226         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60227         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60228         adresses to uintptr_t.  Replace "long int" and "unsigned long
60229         int" with "greg_t" on va_arg.
60231 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60233         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60234         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60236         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60237         Move e_machine check before EI_CLASS check.  Handle x32
60238         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60239         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60240         SKIP_EM_IA_64 and include
60241         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60243         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60244         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60245         (add_system_dir): New macro.
60247         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60248         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60250 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60252         [BZ #2551]
60253         [BZ #2552]
60254         [BZ #2553]
60255         [BZ #2554]
60256         [BZ #2562]
60257         [BZ #2563]
60258         [BZ #2565]
60259         [BZ #2566]
60260         [BZ #2576]
60261         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60262         (y0): Likewise.
60263         * math/w_j0f.c (j0f): Likewise.
60264         (y0f): Likewise.
60265         * math/w_j0l.c (__j0l): Likewise.
60266         (__y0l): Likewise.
60267         * math/w_j1.c (j1): Likewise.
60268         (y1): Likewise.
60269         * math/w_j1f.c (j1f): Likewise.
60270         (y1f): Likewise.
60271         * math/w_j1l.c (__j1l): Likewise.
60272         (__y1l): Likewise.
60273         * math/w_jn.c (jn): Likewise.
60274         (yn): Likewise.
60275         * math/w_jnf.c (jnf): Likewise.
60276         (ynf): Likewise.
60277         * math/w_jnl.c (__jnl): Likewise.
60278         (__ynl): Likewise.
60279         * math/libm-test.inc (j0_test): Add more tests.
60280         (j1_test): Likewise.
60281         (jn_test): Likewise.  Add trailing semicolon to existing test.
60282         (y0_test): Likewise.
60283         (y1_test): Likewise.
60284         * sysdeps/i386/fpu/libm-test-ulps: Update.
60285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60287         [BZ #13851]
60288         [BZ #13854]
60289         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60290         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60291         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60292         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60293         (__tanl): Set errno for infinite argument.
60294         * sysdeps/i386/fpu/mptan.c: Remove.
60295         * sysdeps/i386/fpu/s_tan.S: Likewise.
60296         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60297         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60298         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60299         * math/libm-test.inc (tan_test): Add more tests and enable more
60300         tests for double and long double.
60301         * sysdeps/i386/fpu/libm-test-ulps: Update.
60302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60304 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60306         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60307         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60309 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60311         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60312         * configure.in: Use it for both main tree and add-ons.
60313         * configure: Regenerated.
60315 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60317         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60319 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60321         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60322         in comment.
60324         [BZ #13851]
60325         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60326         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60327         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60328         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60329         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60330         infinite argument.
60331         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60332         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60333         != 0 for prec == 2.
60334         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60335         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60336         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60337         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60338         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60339         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60340         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60341         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60342         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60343         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60344         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60345         * math/libm-test.inc (cos_test): Add more tests and enable more
60346         tests for long double.
60347         (sin_test): Likewise.
60348         (sincos_test): Likewise.
60349         * sysdeps/i386/fpu/libm-test-ulps: Update.
60350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60352 2012-03-16  David S. Miller  <davem@davemloft.net>
60354         * sysdeps/sparc/fpu/math_private.h: New file.
60356 2012-03-15  David S. Miller  <davem@davemloft.net>
60358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60359         file.
60360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60362         file.
60363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60368         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60369         sysdep routines.
60370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60372         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60373         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60375         * sysdeps/sparc/sparc-ifunc.h: New file.
60376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60377         sparc-ifunc.h
60378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60380         Likewise.
60381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60382         Likewise.
60383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60387         Likewise.
60388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60393         Likewise.
60394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60395         Likewise.
60396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60402         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60410         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60414         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60415         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60416         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60417         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60418         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60419         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60421 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60423         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60424         scaling.
60425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60427 2012-03-15  Andreas Jaeger  <aj@suse.de>
60429         [BZ #13852]
60430         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60431         ieee754/flt-32 implementation for sin, cos and sincos.
60432         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60433         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60434         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60435         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60436         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60437         ieee754/flt-32 implementation for tan.
60439         * math/libm-test.inc (cos_test): Enable some large input tests for
60440         float as well
60441         (sin_test): Likewise.
60442         (sincos_test): Likewise.
60443         (tan_test): Add tests for large input.
60445         * sysdeps/i386/fpu/libm-test-ulps: Update.
60447 2012-03-15  Andreas Jaeger  <aj@suse.de>
60449         [BZ #13658]
60450         * math/libm-test.inc (cos_test): Add more test cases.
60451         (sin_test): Likewise.
60452         (sincos_test): Likewise.
60454 2012-03-15  Andreas Jaeger  <aj@suse.de>
60456         [BZ #13837]
60457         * math/libm-test.inc (cos_test): Add a test case for large input
60458         value.
60459         (sin_test): Likewise.
60460         (sincos_test): Likewise.
60462 2012-03-15  Andreas Jaeger  <aj@suse.de>
60463             Joseph Myers  <joseph@codesourcery.com>
60465         [BZ #13658]
60466         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60467         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60468         * sysdeps/i386/fpu/branred.c: Likewise.
60469         * sysdeps/i386/fpu/dosincos.c: Likewise.
60470         * sysdeps/i386/fpu/mpa.c: Likewise.
60471         * sysdeps/i386/fpu/s_cos.S: Likewise.
60472         * sysdeps/i386/fpu/s_sin.S: Likewise.
60473         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60474         * sysdeps/i386/fpu/sincos32.c: Likewise.
60476         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60477         Define.
60478         (libc_feupdateenv_53bit): Define.
60479         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60480         Define.
60481         (libc_feupdateenv_53bit): Define.
60483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60484         53 bit (without extend i386 double precision).
60486         * math/libm-test.inc (sincos_test): Add tests for large input.
60487         (sin): Likewise.
60488         (cos): Likewise.
60490         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60492 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60496 2012-03-15  David S. Miller  <davem@davemloft.net>
60498         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60499         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60500         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60501         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60514         file.
60515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60517         file.
60518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60520         file.
60521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60523         file.
60524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60526         fmin/fmax sysdep routines.
60527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60529 2012-03-14  David S. Miller  <davem@davemloft.net>
60531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60532         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60534         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60535         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60536         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60537         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60538         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60551         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60552         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60558         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60560         routines.
60561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60562         file.
60563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60565         file.
60566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60568         file.
60569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60571         file.
60572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60574         file.
60575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60577         file.
60578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60579         file.
60580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60581         file.
60582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60583         file.
60584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60585         New file.
60586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60587         file.
60588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60589         file.
60590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60592         file.
60593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60595         file.
60596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60598         file.
60599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60601         VIS3 routines.
60603         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60604         New file.
60606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60608         * sysdeps/sparc/configure.in: New file.
60609         * sysdeps/sparc/configure: Generate.
60610         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60611         * configure: Regenerate.
60612         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60613         * config.make.in (have-as-vis3): New.
60614         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60615         available use -Av9d instead of -Av9a.
60616         * sysdeps/sparc/sparc64/Makefile: Likewise.
60617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60619         New file.
60620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60621         file.
60622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60623         New file.
60624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60625         file.
60626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60627         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60628         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60629         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60630         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60632         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60633         fzeros/fnegs to load 0x80000000 into a float register instead of
60634         using the stack.
60635         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60637 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60640         bits/syscall.h.
60641         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60642         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60643         ($(inst_includedir)/bits/syscall.h): Remove rule.
60644         ($(objpfx)bits/syscall.d): Include instead of
60645         $(objpfx)syscall-list.d.
60646         (generated): Change syscall-list.h and syscall-list.d to
60647         bits/syscall.h and bits/syscall.d.
60649 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60651         [BZ #13846]
60652         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60654 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60656         [BZ #13841]
60657         * math/s_csqrt.c: Include <float.h>.
60658         (__csqrt): Scale large or subnormal inputs.
60659         * math/s_csqrtf.c: Likewise.
60660         * math/s_csqrtl.c: Likewise.
60661         * math/libm-test.inc (csqrt_test): Add more tests.
60662         * sysdeps/i386/fpu/libm-test-ulps: Update.
60663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60665         [BZ #13840]
60666         * math/libm-test.inc (hypot_test): Add more tests.
60668 2012-03-13  David S. Miller  <davem@davemloft.net>
60670         [BZ #13840]
60671         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60672         double-precision for the calculation instead of scaling.
60674 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60676         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60677         manipulate bits before adding and subtracting TWO52[sx].
60678         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60679         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60680         Likewise.
60681         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60683 2012-03-13  David S. Miller  <davem@davemloft.net>
60685         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60686         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60688         rtld-global-offsets.h
60689         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60691         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60692         large parameters.
60694         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60696         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60697         'err' in the ifdef scope in which it is actually used.
60699         * nss/nss_db/db-init.c: Include string.h
60701 2012-03-12  David S. Miller  <davem@davemloft.net>
60703         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60704         masking out of the most significant byte of random value used.
60705         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60706         Fix coding style in previous change.
60708         * sysdeps/unix/sysv/linux/kernel-features.h
60709         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60710         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60711         expression.
60712         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60713         later.
60715 2012-03-11  David S. Miller  <davem@davemloft.net>
60717         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60718         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60719         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60720         for 'resultvar' otherwise things get truncated on 64-bit.
60722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60723         Fix masking out of the most significant byte of random value used.
60725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60727 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60731 2012-03-09  David S. Miller  <davem@davemloft.net>
60733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60734         variables with appropriate CPP guards.
60735         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60736         from the frame pointer, not the stack pointer.  Correct layout
60737         comments.  Fix test on resulting framesize and the management of
60738         the outregs buffer for pltexit.  Preserve floating point return
60739         values across _dl_call_pltexit call.
60740         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60741         framesize and the management of the outregs buffer for pltexit.
60742         Preserve floating point return values across _dl_call_pltexit
60743         call.
60744         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60745         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60746         (la_sparc64_gnu_pltexit): New functions.
60747         (print_exit): Fix format string for return register value.
60749 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60751         * sunrpc/Makefile (others): Add rpcgen.
60752         ($(objpfx)rpcgen): Remove special build rule and dependency on
60753         libc.
60754         * sunrpc/rpcgen.c: New file.
60756 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60758         [BZ #13673]
60759         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60760         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60761         * sysdeps/i386/crti.S: Likewise.
60762         * sysdeps/i386/crtn.S: Likewise.
60763         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60764         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60765         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60766         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60767         * sysdeps/sh/crti.S: Likewise.
60768         * sysdeps/sh/crtn.S: Likewise.
60769         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60771         [BZ #13673]
60772         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60773         with URL.
60774         * locale/programs/locfile-kw.gperf: Likewise.
60775         * locale/programs/charmap-kw.h: Regenerated.
60776         * locale/programs/locfile-kw.h: Likewise.
60778         [BZ #13673]
60779         * intl/plural.y: Replace FSF snail mail address with URL.
60780         * intl/plural.c: Regenerated.
60782 2012-03-09  Richard Henderson  <rth@twiddle.net>
60784         * include/math_private.h: Remove file.
60785         * math/math_private.h: Move file ...
60786         * sysdeps/generic/math_private.h: ... here.
60788         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60789         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60790         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60792         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60793         and <math_private.h>.
60794         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60795         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60796         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60797         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60798         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60799         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60800         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60802         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60803         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60805         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60806         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60807         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60808         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60809         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60810         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60811         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60812         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60813         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60814         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60815         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60816         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60817         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60819         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60820         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60821         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60824         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60825         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60826         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60827         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60828         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60829         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60831         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60832         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60834         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60835         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60836         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60837         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60838         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60839         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60840         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60841         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60843         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60844         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60845         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60846         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60847         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60848         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60849         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60850         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60852         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60853         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60854         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60855         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60858         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60859         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60860         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60861         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60862         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60863         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60865         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60866         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60867         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60868         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60871         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60878         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60879         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60881         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60882         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60883         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60884         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60885         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60886         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60887         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60888         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60889         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60890         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60891         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60892         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60893         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60894         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60895         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60896         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60897         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60899         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60900         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60901         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60906         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60907         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60908         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60909         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60910         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60911         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60912         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60913         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60914         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60915         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60916         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60917         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60919         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60920         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60921         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60922         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60923         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60924         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60925         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60926         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60927         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60928         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60929         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60930         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60931         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60932         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60933         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60934         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60935         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60936         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60937         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60938         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60939         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60940         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60941         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60942         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60943         * sysdeps/ieee754/k_standard.c: Likewise.
60944         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60945         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60946         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60947         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60948         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60950         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60951         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60952         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60954         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60955         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60956         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60957         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60958         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60961         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60962         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60963         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60964         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60967         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60971         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60972         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60975         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60976         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60977         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60978         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60979         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60980         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60981         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60982         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60983         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60985         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60987         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60988         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60989         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60990         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60991         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60992         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60994         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60995         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60996         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60997         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60998         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60999         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61000         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61001         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61002         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61004         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61005         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61006         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61007         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61008         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61009         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61010         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61011         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61016         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61017         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61058         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61059         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61061         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61062         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61063         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61064         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61066         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61068         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61070         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61071         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61076         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61078         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61083         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61084         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61087         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61088         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61089         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61090         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61091         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61092         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61093         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61094         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61095         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61097         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61099         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61100         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61101         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61102         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61103         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61104         * sysdeps/ieee754/s_lib_version.c: Likewise.
61105         * sysdeps/ieee754/s_matherr.c: Likewise.
61106         * sysdeps/ieee754/s_signgam.c: Likewise.
61107         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61108         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61109         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61110         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61111         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61112         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61113         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61114         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61115         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61116         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61117         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61118         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61119         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61120         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61121         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61122         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61123         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61124         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61125         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61126         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61127         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61129 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61131         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61132         * sunrpc/rpc_main.c: Likewise.
61133         * sunrpc/rpc_svcout.c: Likewise.
61135 2012-03-09  David S. Miller  <davem@davemloft.net>
61137         * include/math_private.h: New file.
61139 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61141         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61142         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61143         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61144         from <bits/socket_type.h>.
61145         (enum __socket_type): Don't define here.
61146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61148         bits/socket_type.h.
61150         [BZ #13566]
61151         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61152         checking __USE_GNU.
61154         * Makerules ($(inst_includedir)/%.h): New rule.
61155         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61156         (install-others): Remove variable setting.
61157         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61159 2012-03-08  Richard Henderson  <rth@twiddle.net>
61161         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61162         from macro to inline function; merge with the
61163         !__LIBC_INTERNAL_MATH_INLINES version.
61164         (__ieee754_sqrtf): Likewise.
61166         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61167         to inline function.
61168         (__rintf, __floor, __floorf): Likewise.
61170         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61171         macro to inline function.
61172         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61174         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61175         not <math/math_private.h>.
61177 2012-03-08  David S. Miller  <davem@davemloft.net>
61179         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61180         copyright year.
61181         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61183 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61185         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61186         normalization.
61187         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61188         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61190 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61192         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61193         be defined individually, they must be defined as a block.  Define
61194         S for printing a string instead of hidint the different by using a
61195         macro for adding the 'l'.
61196         * stdio-common/tst-fphex-wide.c: Adjust.
61198 2012-03-07  Marek Polacek  <polacek@redhat.com>
61200         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61202 2012-03-08  Marek Polacek  <polacek@redhat.com>
61204         [BZ #13806]
61205         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61206         * stdio-common/tst-fphex.c: Define a few macros to make the
61207         test reusable.  Use them.
61208         * stdio-common/tst-fphex-wide.c: New file.
61210 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61212         [BZ #6911]
61213         * manual/macros.texi (gnusystems): New macro.
61214         (nongnusystems): Likewise.
61215         (gnulinuxhurdsystems): Likewise.
61216         (gnuhurdsystems): Likewise..
61217         (gnulinuxsystems): Likewise.
61218         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61219         variants of the GNU system, not "GNU system".
61220         * manual/conf.texi: Likewise.
61221         * manual/errno.texi: Likewise.  Update example of errno macro
61222         expansion.
61223         * manual/filesys.texi: Likewise.
61224         (getumask): Document as specific to GNU/Hurd.
61225         * manual/install.texi: Likewise.  Reword some references to
61226         GNU/Linux.
61227         * manual/intro.texi: Likewise.
61228         * manual/io.texi: Likewise.
61229         (File Name Portability): Detail which constraints are inapplicable
61230         to all GNU systems and which are only inapplicable to GNU/Hurd.
61231         * manual/job.texi: Likewise.
61232         * manual/llio.texi: Likewise.
61233         (O_NOCTTY): Document as present on GNU/Linux.
61234         * manual/maint.texi: Likewise.
61235         * manual/memory.texi: Likewise.
61236         * manual/pattern.texi: Likewise.
61237         * manual/pipe.texi: Likewise.
61238         * manual/process.texi: Likewise.
61239         * manual/resource.texi: Likewise.
61240         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61241         child on GNU/Hurd.
61242         * manual/setjmp.texi: Likewise.
61243         * manual/signal.texi: Likewise.
61244         * manual/startup.texi: Likewise.
61245         * manual/stdio.texi: Likewise.
61246         * manual/terminal.texi: Likewise.
61247         (ONLCR): Document as POSIX.
61248         (OXTABS): Document availability on GNU/Linux as XTABS.
61249         (ONOEOT): Document availability separately from other bits.
61250         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61251         * manual/time.texi: Likewise.
61252         * manual/users.texi: Likewise.
61253         * INSTALL: Regenerated.
61254         * sysdeps/gnu/errlist.c: Regenerated.
61256         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61257         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61258         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61259         puts.
61260         * configure: Regenerated.
61262 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61264         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61265         default includes instead of AC_HEADER_CHECK.
61266         * sysdeps/i386/configure: Regenerated.
61268         [BZ #10716]
61269         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61270         * math/s_cacoshf.c (__cacoshf): Likewise.
61271         * math/s_cacoshl.c (__cacoshl): Likewise.
61272         * math/s_casinh.c (__casinh): Set signs of result from argument.
61273         * math/s_casinhf.c (__casinhf): Likewise.
61274         * math/s_casinhl.c (__casinhl): Likewise.
61275         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61276         (casinh_test): Add more tests.
61277         * sysdeps/i386/fpu/libm-test-ulps: Update.
61278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61280 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61282         * po/zh_TW.po: Update from translation team.
61284         * login/Makefile (distribute): Remove variable.
61285         * catgets/Makefile: Likewise.
61286         * mach/Makefile: Likewise.
61287         * malloc/Makefile: Likewise.
61288         * misc/Makefile: Likewise.
61289         * iconv/Makefile: Likewise.
61290         * nscd/Makefile: Likewise.
61291         * hurd/Makefile: Likewise.
61292         * manual/Makefile: Likewise.
61293         * locale/Makefile: Likewise.
61294         * intl/Makefile: Likewise.
61295         * conform/Makefile: Likewise.
61296         * nss/Makefile: Likewise.
61297         * time/Makefile: Likewise.
61298         * soft-fp/Makefile: Likewise.
61299         * dirent/Makefile: Likewise.
61300         * gmon/Makefile: Likewise.
61301         * po/Makefile: Likewise.
61302         * rt/Makefile: Likewise.
61303         * socket/Makefile: Likewise.
61304         * math/Makefile: Likewise.
61305         * signal/Makefile: Likewise.
61306         * debug/Makefile: Likewise.
61307         * elf/Makefile: Likewise.
61308         * timezone/Makefile: Likewise.
61309         * stdlib/Makefile: Likewise.
61310         * iconvdata/Makefile: Likewise.
61311         * sunrpc/Makefile: Likewise.
61312         * io/Makefile: Likewise.
61313         * argp/Makefile: Likewise.
61314         * inet/Makefile: Likewise.
61315         * hesiod/Makefile: Likewise.
61316         * grp/Makefile: Likewise.
61317         * csu/Makefile: Likewise.
61318         * wctype/Makefile: Likewise.
61319         * crypt/Makefile: Likewise.
61320         * libio/Makefile: Likewise.
61321         * string/Makefile: Likewise.
61322         * nis/Makefile: Likewise.
61323         * resolv/Makefile: Likewise.
61324         * stdio-common/Makefile: Likewise.
61325         * wcsmbs/Makefile: Likewise.
61326         * dlfcn/Makefile: Likewise.
61327         * posix/Makefile: Likewise.
61329         [BZ #6959]
61330         * timezone/Makefile: Don't install timezone files, just the programs
61331         and scripts.
61333 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61335         * nss/databases.def: Add missing gshadow entry.
61337         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61339 2012-03-06  Marek Polacek  <polacek@redhat.com>
61341         [BZ #13726]
61342         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61343         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61344         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61345         * stdio-common/tst-long-dbl-fphex.c: New file.
61347 2012-03-06  David S. Miller  <davem@davemloft.net>
61349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61350         (set_obp_int): New function.
61351         (get_obp_int): New function.
61352         (__get_clockfreq_via_dev_openprom): Likewise.
61353         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61354         Avoid unused variable warnings on 'val' and use builtin_expect.
61355         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61356         __builtin_expect.
61357         (INLINE_CLONE_SYSCALL): Likewise.
61359 2012-03-05  David S. Miller  <davem@davemloft.net>
61361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61363 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61367         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61368         only for |x| >= 40.
61369         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61371 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61374         Replace gettimeofday with __vdso_gettimeofday.
61376         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61377         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61378         __vdso_clock_gettime and __vdso_getcpu.
61380         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61381         time with __vdso_time.
61383 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61385         * manual/lang.texi (size_t): Note types to which size_t may be
61386         equivalent with the GNU C Library, but do not describe when
61387         differences between them are significant.
61389 2012-03-05  Andreas Jaeger  <aj@suse.de>
61391         * sysdeps/i386/fpu/libm-test-ulps: Update.
61393 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61395         [BZ #3976]
61396         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61397         (__ieee754_pow): Save and restore rounding mode and use
61398         round-to-nearest for main computations.
61399         * math/libm-test.inc (pow_test_tonearest): New function.
61400         (pow_test_towardzero): Likewise.
61401         (pow_test_downward): Likewise.
61402         (pow_test_upward): Likewise.
61403         (main): Call the new functions.
61404         * sysdeps/i386/fpu/libm-test-ulps: Update.
61405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61407         [BZ #3976]
61408         * math/libm-test.inc (cosh_test_tonearest): New function.
61409         (cosh_test_towardzero): Likewise.
61410         (cosh_test_downward): Likewise.
61411         (cosh_test_upward): Likewise.
61412         (sinh_test_tonearest): Likewise.
61413         (sinh_test_towardzero): Likewise.
61414         (sinh_test_downward): Likewise.
61415         (sinh_test_upward): Likewise.
61416         (main): Call the new functions.
61417         * sysdeps/i386/fpu/libm-test-ulps: Update.
61418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61420 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61422         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61423         default stack guard is set in last bytes.
61424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61426 2012-03-05  Kees Cook  <keescook@chromium.org>
61428         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61430         [BZ #13656]
61431         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61432         possibly allocate from heap instead of stack.
61433         * stdio-common/bug-vfprintf-nargs.c: New file.
61434         * stdio-common/Makefile (tests): Add nargs overflow test.
61436 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61440 2012-03-03  Marek Polacek  <polacek@redhat.com>
61442         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61443         * math/math_private.h: Likewise.
61444         * stdlib/tst-strtod.c: Likewise.
61445         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61446         * sysdeps/x86_64/bits/atomic.h: Likewise.
61448 2012-03-02  David S. Miller  <davem@davemloft.net>
61450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61454         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61455         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61456         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61457         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61459 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61461         [BZ #13792]
61462         * manual/examples/README: New file, says the example source files
61463         can be used under GPL>=2.
61464         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61465         line containing just "*/".
61466         * manual/examples/add.c: Add copyright header (GPL>=2).
61467         * manual/examples/argp-ex1.c: Likewise.
61468         * manual/examples/argp-ex2.c: Likewise.
61469         * manual/examples/argp-ex3.c: Likewise.
61470         * manual/examples/argp-ex4.c: Likewise.
61471         * manual/examples/atexit.c: Likewise.
61472         * manual/examples/db.c: Likewise.
61473         * manual/examples/dir.c: Likewise.
61474         * manual/examples/dir2.c: Likewise.
61475         * manual/examples/execinfo.c: Likewise.
61476         * manual/examples/filecli.c: Likewise.
61477         * manual/examples/filesrv.c: Likewise.
61478         * manual/examples/fmtmsgexpl.c: Likewise.
61479         * manual/examples/genpass.c: Likewise.
61480         * manual/examples/inetcli.c: Likewise.
61481         * manual/examples/inetsrv.c: Likewise.
61482         * manual/examples/isockad.c: Likewise.
61483         * manual/examples/longopt.c: Likewise.
61484         * manual/examples/memopen.c: Likewise.
61485         * manual/examples/memstrm.c: Likewise.
61486         * manual/examples/mkfsock.c: Likewise.
61487         * manual/examples/mkisock.c: Likewise.
61488         * manual/examples/mygetpass.c: Likewise.
61489         * manual/examples/pipe.c: Likewise.
61490         * manual/examples/popen.c: Likewise.
61491         * manual/examples/rprintf.c: Likewise.
61492         * manual/examples/search.c: Likewise.
61493         * manual/examples/select.c: Likewise.
61494         * manual/examples/setjmp.c: Likewise.
61495         * manual/examples/sigh1.c: Likewise.
61496         * manual/examples/sigusr.c: Likewise.
61497         * manual/examples/stpcpy.c: Likewise.
61498         * manual/examples/strdupa.c: Likewise.
61499         * manual/examples/strftim.c: Likewise.
61500         * manual/examples/strncat.c: Likewise.
61501         * manual/examples/subopt.c: Likewise.
61502         * manual/examples/swapcontext.c: Likewise.
61503         * manual/examples/termios.c: Likewise.
61504         * manual/examples/testopt.c: Likewise.
61505         * manual/examples/testpass.c: Likewise.
61506         * manual/examples/timeval_subtract.c: Likewise.
61508         [BZ #13792]
61509         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61510         function to ...
61511         * manual/timeval_subtract.c.texi: ... here, new file.
61513 2012-03-02  David S. Miller  <davem@davemloft.net>
61515         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61517 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61519         [BZ #3976]
61520         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61521         (__sin): Save and restore rounding mode and use round-to-nearest
61522         for all computations.
61523         (__cos): Save and restore rounding mode and use round-to-nearest
61524         for all computations.
61525         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61526         <fenv.h>.
61527         (tan): Save and restore rounding mode and use round-to-nearest for
61528         all computations.
61529         * math/libm-test.inc (cos_test_tonearest): New function.
61530         (cos_test_towardzero): Likewise.
61531         (cos_test_downward): Likewise.
61532         (cos_test_upward): Likewise.
61533         (sin_test_tonearest): Likewise.
61534         (sin_test_towardzero): Likewise.
61535         (sin_test_downward): Likewise.
61536         (sin_test_upward): Likewise.
61537         (tan_test_tonearest): Likewise.
61538         (tan_test_towardzero): Likewise.
61539         (tan_test_downward): Likewise.
61540         (tan_test_upward): Likewise.
61541         (main): Call the new functions.
61542         * sysdeps/i386/fpu/libm-test-ulps: Update.
61543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61545         [BZ #10135]
61546         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61547         small n, then large n, before computing and testing k+n.
61548         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61550         Likewise.
61551         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61552         Likewise.
61553         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61554         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61555         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61556         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61557         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61558         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61559         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61560         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61561         * math/libm-test.inc (scalbn_test): Add more tests.
61562         (scalbln_test): Likewise.
61564         * manual/filesys.texi (mode_t): Describe constraints on size and
61565         signedness, not exact equivalence to a particular type.
61566         (ino_t): Likewise.
61567         (ino64_t): Likewise.
61568         (dev_t): Likewise.
61569         (nlink_t): Likewise.
61570         (blkcnt_t): Likewise.
61571         (blkcnt64_t): Likewise.
61572         * manual/llio.texi (off_t): Likewise.
61574         [BZ #3976]
61575         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61576         (__ieee754_exp): Save and restore rounding mode and use
61577         round-to-nearest for all computations.
61578         * math/libm-test.inc (exp_test_tonearest): New function.
61579         (exp_test_towardzero): Likewise.
61580         (exp_test_downward): Likewise.
61581         (exp_test_upward): Likewise.
61582         (main): Call the new functions.
61583         * sysdeps/i386/fpu/libm-test-ulps: Update.
61584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61586 2012-03-01  Chris Demetriou  <cgd@google.com>
61588         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61589         have predictable order.
61591 2012-03-01  David S. Miller  <davem@davemloft.net>
61593         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61595         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61596         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61597         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61598         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61600         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61601         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61602         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61604         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61605         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61606         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61607         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61608         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61612         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61613         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61614         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61616         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61617         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61618         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61619         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61620         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61623         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61624         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61625         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61626         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61627         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61629         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61630         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61631         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61632         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61633         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61634         * sysdeps/sparc/elf/configure: Regenerated.
61636 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61638         * configure.in (AS, LD): Require binutils 2.20 or later.
61639         * configure: Regenerated.
61640         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61641         as required minimum version.
61642         * INSTALL: Regenerated.
61644         [BZ #2541]
61645         [BZ #4108]
61646         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61647         before squaring exponent.
61648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61649         bottom long double and 27 bits of top long double before squaring
61650         exponent.
61651         * math/libm-test.inc (erfc_test): Add more tests.
61652         * sysdeps/i386/fpu/libm-test-ulps: Update.
61653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61656 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61658         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61659         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61660         containing bit-fields.
61661         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61662         * soft-fp/single.h (_FP_UNION_S): Likewise.
61663         * soft-fp/double.h (_FP_UNION_D): Likewise.
61665 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61667         [BZ #13786]
61668         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61669         not include ../strcmp.S.
61670         [USE_AS_STRNCASECMP_L]: Likewise.
61671         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61672         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61673         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61674         (__strncasecmp_l_ia32): Define as alias to
61675         __strncasecmp_l_nonascii.
61677         [BZ #5794]
61678         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61679         * sysdeps/i386/fpu/libm-test-ulps: Update.
61680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61682         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61685 2012-02-29  Jeff Law  <law@redhat.com>
61687         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61688         out of bounds read.
61690 2012-02-29  Marek Polacek  <polacek@redhat.com>
61692         [BZ #13706]
61693         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61694         * elf/Makefile: Add rules to run tst-unused-dep.out.
61696 2012-02-28  David S. Miller  <davem@davemloft.net>
61698         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61699         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61700         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61701         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61702         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61703         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61705 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61707         * math/libm-test.inc (llround_test): Move one test from
61708         lround_test.  Use TEST_f_L in moved test.
61709         (lround_test): Move misplaced test to llround_test.  Add testcase
61710         from bug 2561.
61712 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61714         * sysdeps/x86_64/fpu/e_expf.S: New file.
61715         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61717 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61719         [BZ #13637]
61720         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61721         of remain_len that may cause incomplete multi-byte character and
61722         false match.
61723         * posix/bug-regex33.c: New file.
61724         * posix/Makefile (tests): Add bug-regex33.
61726 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61728         * manual/macros.texi: New file.
61729         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61730         * manual/libc.texinfo: Include macros.texi.
61731         * manual/creatute.texi: Likewise.
61732         * manual/install.texi: Likewise.
61733         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61734         @glibcadj{} in references to the GNU C Library.
61735         * manual/charset.texi: Likewise.
61736         * manual/conf.texi: Likewise.
61737         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61738         when not using those macros.
61739         * manual/creature.texi: Likewise.
61740         * manual/crypt.texi: Likewise.
61741         * manual/errno.texi: Likewise.
61742         * manual/filesys.texi: Likewise.
61743         * manual/header.texi: Likewise.
61744         * manual/install.texi: Likewise.
61745         * manual/intro.texi: Likewise.
61746         * manual/io.texi: Likewise.
61747         * manual/job.texi: Likewise.
61748         * manual/lang.texi: Likewise.
61749         * manual/libc.texiinfo: Likewise.
61750         * manual/llio.texi: Likewise.
61751         * manual/locale.texi: Likewise.
61752         * manual/maint.texi: Likewise.
61753         * manual/math.texi: Likewise.
61754         * manual/memory.texi: Likewise.
61755         * manual/message.texi: Likewise.
61756         * manual/nss.texi: Likewise.
61757         * manual/pattern.texi: Likewise.
61758         * manual/process.texi: Likewise.
61759         * manual/resource.texi: Likewise.
61760         * manual/search.texi: Likewise.
61761         * manual/setjmp.texi: Likewise.
61762         * manual/signal.texi: Likewise.
61763         * manual/socket.texi: Likewise.
61764         * manual/startup.texi: Likewise.
61765         * manual/stdio.texi: Likewise.
61766         * manual/string.texi: Likewise.
61767         * manual/sysinfo.texi: Likewise.
61768         * manual/syslog.texi: Likewise.
61769         * manual/terminal.texi: Likewise.
61770         * manual/time.texi: Likewise.
61771         * manual/users.texi: Likewise.
61772         * INSTALL: Regenerated.
61773         * NOTES: Regenerated.
61774         * sysdeps/gnu/errlist.c: Regenerated.
61776 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61778         * include/dirent.h: Include <dirstream.h> before
61779         <dirent/dirent.h>.
61781 2012-02-28  David S. Miller  <davem@davemloft.net>
61783         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61784         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61785         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61786         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61788 2012-02-27  David S. Miller  <davem@davemloft.net>
61790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61792         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61793         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61796         frame pointer instead of stack pointer relative arg slot.
61797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61798         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61799         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61801 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61803         [BZ #3992]
61804         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61806 2012-02-27  David S. Miller  <davem@davemloft.net>
61808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61814         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61815         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61817 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61819         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61820         later.  Allow versions 5-9.
61821         * configure: Regenerated.
61822         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61823         required minimum version and 4.6 as recommended version.  Do not
61824         mention bugs in GCC 2.7 and 2.8.
61825         * INSTALL: Regenerated.
61827 2012-02-27  David S. Miller  <davem@davemloft.net>
61829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61833         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61834         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61835         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61836         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61838         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61839         manipulate bits before adding and subtracting TWO112[sx].
61840         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61842 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61844         [BZ #13775]
61845         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61846         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61847         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61848         being in POSIX, because they are in 1003.1-2008.
61850         * rt/tst-aio.c: Include <fcntl.h>.
61851         * rt/tst-aio7.c: Likewise.
61852         * rt/tst-aio64.c: Likewise.
61854         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61856 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61858         * manual/install.texi (--with-headers): Describe headers as
61859         interface headers, not private headers.
61860         (Specific advice for GNU/Linux systems): Describe use of headers
61861         from "make headers_install", not private headers from older
61862         kernels.
61863         * INSTALL: Regenerated.
61864         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61865         Change to 2.6.19.
61866         * sysdeps/unix/sysv/linux/configure: Regenerated.
61868         * manual/llio.texi (fclean): Remove documentation.
61870         * manual/Makefile (libc-texi-generated): New variable.  Include
61871         version.texi.
61872         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61873         $(libc-texi-generated), not duplicated list of files.
61874         (version.texi, stamp-version): New rules.
61875         (realclean): Remove $(libc-texi-generated), not individual files
61876         from that list.  Do not remove dir-add.texinfo.
61877         * manual/libc.texinfo: Comment out uses of edition numbers and
61878         references to printed manual.  Remove last-updated dates.
61879         (EDITION): Comment out.
61880         (ISBN): Likewise.
61881         (VERSION, UPDATED): Remove.
61882         (version.texi): Include.
61884 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61886         * sysdeps/posix/spawni.c: Include <signal.h>.
61887         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61888         * sysdeps/pthread/aio_fsync.c: Likewise.
61890 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61892         * conform/Makefile (tests): Run only when not cross-compiling and
61893         when fast-check is not defined.
61895         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61896         * conform/data/limits.h-data: Fixes for POSIX2008.
61897         * conform/run-conformtest.sh: Run all tests.
61898         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61899         headers.
61900         * include/bits/dlfcn.h: Likewise.
61901         * include/langinfo.h: Likewise.
61902         * include/monetary.h: Likewise.
61903         * include/sys/poll.h: Likewise.
61905         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61906         for __USE_GNU.
61907         * posix/spawn.h: Define __need_sigset_t.
61908         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61909         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61910         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61911         to get sigevent_t only.
61912         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61913         only for __USE_GNU.
61914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61915         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61916         process_vm_writev only for __USE_GNU.
61917         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61919         * conform/Makefile: For now ignore errors from run-conformtest.
61920         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61921         POSIX to avoid namespace pollution.  Don't prepend headers.
61922         * conform/data/aio.h-data: Fixes for POSIX testing.
61923         * conform/data/fcntl.h-data: Likewise.
61924         * conform/data/glob.h-data: Likewise.
61925         * conform/data/grp.h-data: Likewise.
61926         * conform/data/pthread.h-data: Likewise.
61927         * conform/data/pwd.h-data: Likewise.
61928         * conform/data/signal.h-data: Likewise.
61929         * conform/data/spawn.h-data: Likewise.
61930         * conform/data/stdio.h-data: Likewise.
61931         * conform/data/stdlib.h-data: Likewise.
61932         * conform/data/stropts.h-data: Likewise.
61933         * conform/data/sys/mman.h-data: Likewise.
61934         * conform/data/sys/stat.h-data: Likewise.
61935         * conform/data/sys/types.h-data: Likewise.
61936         * conform/data/sys/wait.h-data: Likewise.
61937         * conform/data/time.h-data: Likewise.
61938         * conform/data/unistd.h-data: Likewise.
61939         * conform/data/utime.h-data: Likewise.
61941         * io/sys/stat.h: fchmod was always in POSIX.
61942         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61943         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61944         * rt/aio.h: Define __need_timespec before including <time.h>.
61945         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61946         struct.  Add forward declaration of pthread_attr_t and use it in
61947         sigevent.
61948         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61949         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61950         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61951         always remove CLK_TCK definition.
61953 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61955         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61957 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61959         * conform/run-conformtest.sh: New file.
61960         * conform/Makefile: Run run-conformtest for tests.
61961         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61962         support.
61964         * conform/data/uchar.h-data: New file.
61965         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61966         * conform/data/arpa/inet.h-data: Likewise.
61967         * conform/data/assert.h-data: Likewise.
61968         * conform/data/complex.h-data: Likewise.
61969         * conform/data/cpio.h-data: Likewise.
61970         * conform/data/ctype.h-data: Likewise.
61971         * conform/data/dirent.h-data: Likewise.
61972         * conform/data/dlfcn.h-data: Likewise.
61973         * conform/data/errno.h-data: Likewise.
61974         * conform/data/fcntl.h-data: Likewise.
61975         * conform/data/float.h-data: Likewise.
61976         * conform/data/fmtmsg.h-data: Likewise.
61977         * conform/data/fnmatch.h-data: Likewise.
61978         * conform/data/ftw.h-data: Likewise.
61979         * conform/data/glob.h-data: Likewise.
61980         * conform/data/grp.h-data: Likewise.
61981         * conform/data/iconv.h-data: Likewise.
61982         * conform/data/inttypes.h-data: Likewise.
61983         * conform/data/langinfo.h-data: Likewise.
61984         * conform/data/libgen.h-data: Likewise.
61985         * conform/data/limits.h-data: Likewise.
61986         * conform/data/locale.h-data: Likewise.
61987         * conform/data/math.h-data: Likewise.
61988         * conform/data/monetary.h-data: Likewise.
61989         * conform/data/mqueue.h-data: Likewise.
61990         * conform/data/ndbm.h-data: Likewise.
61991         * conform/data/net/if.h-data: Likewise.
61992         * conform/data/netdb.h-data: Likewise.
61993         * conform/data/netinet/in.h-data: Likewise.
61994         * conform/data/nl_types.h-data: Likewise.
61995         * conform/data/poll.h-data: Likewise.
61996         * conform/data/pthread.h-data: Likewise.
61997         * conform/data/pwd.h-data: Likewise.
61998         * conform/data/regex.h-data: Likewise.
61999         * conform/data/sched.h-data: Likewise.
62000         * conform/data/search.h-data: Likewise.
62001         * conform/data/semaphore.h-data: Likewise.
62002         * conform/data/setjmp.h-data: Likewise.
62003         * conform/data/signal.h-data: Likewise.
62004         * conform/data/spawn.h-data: Likewise.
62005         * conform/data/stdarg.h-data: Likewise.
62006         * conform/data/stdio.h-data: Likewise.
62007         * conform/data/stdlib.h-data: Likewise.
62008         * conform/data/string.h-data: Likewise.
62009         * conform/data/strings.h-data: Likewise.
62010         * conform/data/stropts.h-data: Likewise.
62011         * conform/data/sys/ipc.h-data: Likewise.
62012         * conform/data/sys/mman.h-data: Likewise.
62013         * conform/data/sys/msg.h-data: Likewise.
62014         * conform/data/sys/resource.h-data: Likewise.
62015         * conform/data/sys/select.h-data: Likewise.
62016         * conform/data/sys/sem.h-data: Likewise.
62017         * conform/data/sys/shm.h-data: Likewise.
62018         * conform/data/sys/socket.h-data: Likewise.
62019         * conform/data/sys/stat.h-data: Likewise.
62020         * conform/data/sys/statvfs.h-data: Likewise.
62021         * conform/data/sys/time.h-data: Likewise.
62022         * conform/data/sys/timeb.h-data: Likewise.
62023         * conform/data/sys/times.h-data: Likewise.
62024         * conform/data/sys/types.h-data: Likewise.
62025         * conform/data/sys/uio.h-data: Likewise.
62026         * conform/data/sys/un.h-data: Likewise.
62027         * conform/data/sys/utsname.h-data: Likewise.
62028         * conform/data/sys/wait.h-data: Likewise.
62029         * conform/data/syslog.h-data: Likewise.
62030         * conform/data/tar.h-data: Likewise.
62031         * conform/data/termios.h-data: Likewise.
62032         * conform/data/utime.h-data: Likewise.
62033         * conform/data/utmpx.h-data: Likewise.
62034         * conform/data/varargs.h-data: Likewise.
62035         * conform/data/wchar.h-data: Likewise.
62036         * conform/data/wctype.h-data: Likewise.
62037         * conform/data/wordexp.h-data: Likewise.
62039         * include/stropts.h: New file.
62040         * include/uchar.h: New file.
62041         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62042         * include/assert.h: Likewise.
62043         * include/ctype.h: Likewise.
62044         * include/dirent.h: Likewise.
62045         * include/dlfcn.h: Likewise.
62046         * include/fcntl.h: Likewise.
62047         * include/fnmatch.h: Likewise.
62048         * include/glob.h: Likewise.
62049         * include/grp.h: Likewise.
62050         * include/libio.h: Likewise.
62051         * include/locale.h: Likewise.
62052         * include/math.h: Likewise.
62053         * include/net/if.h: Likewise.
62054         * include/netdb.h: Likewise.
62055         * include/netinet/in.h: Likewise.
62056         * include/pthread.h: Likewise.
62057         * include/pwd.h: Likewise.
62058         * include/regex.h: Likewise.
62059         * include/sched.h: Likewise.
62060         * include/search.h: Likewise.
62061         * include/setjmp.h: Likewise.
62062         * include/signal.h: Likewise.
62063         * include/stdio.h: Likewise.
62064         * include/stdlib.h: Likewise.
62065         * include/string.h: Likewise.
62066         * include/sys/cdefs.h: Likewise.
62067         * include/sys/mman.h: Likewise.
62068         * include/sys/msg.h: Likewise.
62069         * include/sys/resource.h: Likewise.
62070         * include/sys/select.h: Likewise.
62071         * include/sys/socket.h: Likewise.
62072         * include/sys/stat.h: Likewise.
62073         * include/sys/statvfs.h: Likewise.
62074         * include/sys/time.h: Likewise.
62075         * include/sys/times.h: Likewise.
62076         * include/sys/uio.h: Likewise.
62077         * include/sys/utsname.h: Likewise.
62078         * include/sys/wait.h: Likewise.
62079         * include/termios.h: Likewise.
62080         * include/time.h: Likewise.
62081         * include/ulimit.h: Likewise.
62082         * include/unistd.h: Likewise.
62083         * include/utime.h: Likewise.
62084         * include/wchar.h: Likewise.
62085         * include/wctype.h: Likewise.
62086         * include/wordexp.h: Likewise.
62088         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62090         * time/time.h: TIME_UTC must be a macro.
62091         Make timespec_get available for ISO C11 only as well.
62093 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62095         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62096         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62098 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62100         * configure.in: Use -o not -a in test for unsupported multi-arch.
62102 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62104         * manual/texinfo.tex: Update to version 2012-01-19.16.
62106 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62108         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62110 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62112         [BZ #13738]
62113         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62114         * manual/fdl-1.3.texi: New file.
62115         * manual/fdl-1.1.texi: File removed.
62117         [BZ #13738]
62118         * manual/libc.texinfo (FDL_VERSION): New @set.
62119         Use it for mention of FDL in cover text.
62120         (Documentation License): Use it in @include file name.
62122 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62123             Roland McGrath  <roland@hack.frob.com>
62125         [BZ #5461]
62126         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62127         (not LONG_LONG_MAX and LONG_LONG_MIN.
62128         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62129         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62130         name.
62131         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62133 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62135         [BZ #2547]
62136         [BZ #11365]
62137         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62138         manipulate bits before adding and subtracting TWO23[sx].
62139         * math/libm-test.inc (nearbyint_test): Add more tests.
62141 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62143         [BZ #2548]
62144         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62145         bits before adding and subtracting TWO23[sx].
62146         * math/libm-test.inc (rint_test): Add more tests.
62147         (rint_test_tonearest): Likewise.
62148         (rint_test_towardzero): Likewise.
62149         (rint_test_downward): Likewise.
62150         (rint_test_upward: Likewise.
62152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62154         [BZ #10110]
62155         * include/stdc-predef.h: New file.  Extracted from features.h.
62156         * include/features.h: Include stdc-predef.h.
62157         * Makefile (headers): Add stdc-predef.h.
62158         * CONFORMANCE (Compiler limitations): Update.
62160 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62162         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62164 2012-02-21  David S. Miller  <davem@davemloft.net>
62166         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62167         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62169 2012-02-20  David S. Miller  <davem@davemloft.net>
62171         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62172         using a normal save/restore sequence, rather than allocating a
62173         dummy stack frame just to store a frame pointer and restore.
62174         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62176 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62178         * manual/install.texi: Fix stray word in line-wrapped comment.
62180 2012-02-20  David S. Miller  <davem@davemloft.net>
62182         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62183         both binutils and gcc support GOTDATA.
62185         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62186         "rd %pc" in the PIC register setup sequences.
62188         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62189         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62190         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62191         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62192         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62194         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62195         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62197         (SYSCALL_ERROR_HANDLER): Likewise.
62198         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62199         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62201         (SYSCALL_ERROR_HANDLER): Likewise.
62203         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62204         (HAVE_GCC_GOTDATA): New.
62205         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62206         relocation support in both binutils and gcc.
62207         * sysdeps/sparc/elf/configure: Regenerate.
62209         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62210         * sysdeps/sparc/sparc32/elf/configure: Delete.
62211         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62212         * sysdeps/sparc/sparc64/elf/configure: Delete.
62213         * sysdeps/sparc/elf/configure.in: New file.
62214         * sysdeps/sparc/elf/configure: Generate.
62216         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62217         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62218         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62219         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62220         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62222 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62224         * manual/install.texi: Do not mention specific glibc version
62225         numbers.
62226         * manual/libc.texinfo (VERSION, UPDATED): Update.
62227         (@copying): Use @copyright{} and range of years.
62229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62231         [BZ #13695]
62232         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62233         [crti.S not in sysdirs] (generated): Do not append.
62234         [crti.S not in sysdirs] (omit-deps): Likewise.
62235         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62236         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62237         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62238         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62239         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62240         Likewise.
62241         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62242         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62243         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62244         * csu/defs.awk: Remove file.
62245         * sysdeps/generic/initfini.c: Likewise.
62246         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62247         variable.
62248         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62249         Likewise.
62251 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62253         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62254         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62255         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62257         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62258         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62259         <bits/epoll.h>.
62260         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62261         (__EPOLL_PACKED): Define to empty if not defined by
62262         <bits/epoll.h>.
62263         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62265         bits/epoll.h.
62267 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62269         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62270         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62271         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62272         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62273         <bits/timerfd.h>.
62274         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62276         bits/timerfd.h.
62278 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62280         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62281         in C locale.
62282         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62283         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62284         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62287 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62289         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62290         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62292 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62294         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62295         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62296         defined.
62297         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62298         Likewise.
62299         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62300         entry for 2.16.
62302 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62304         * math/w_acos.c: Use non-signaling floating-point comparisons.
62305         * math/w_acosf.c: Likewise.
62306         * math/w_acosh.c: Likewise.
62307         * math/w_acoshf.c: Likewise.
62308         * math/w_acoshl.c: Likewise.
62309         * math/w_acosl.c: Likewise.
62310         * math/w_asin.c: Likewise.
62311         * math/w_asinf.c: Likewise.
62312         * math/w_asinl.c: Likewise.
62313         * math/w_atanh.c: Likewise.
62314         * math/w_atanhf.c: Likewise.
62315         * math/w_atanhl.c: Likewise.
62316         * math/w_exp2.c: Likewise.
62317         * math/w_exp2f.c: Likewise.
62318         * math/w_exp2l.c: Likewise.
62319         * math/w_j0.c: Likewise.
62320         * math/w_j0f.c: Likewise.
62321         * math/w_j0l.c: Likewise.
62322         * math/w_j1.c: Likewise.
62323         * math/w_j1f.c: Likewise.
62324         * math/w_j1l.c: Likewise.
62325         * math/w_jn.c: Likewise.
62326         * math/w_jnf.c: Likewise.
62327         * math/w_log.c: Likewise.
62328         * math/w_log10.c: Likewise.
62329         * math/w_log10f.c: Likewise.
62330         * math/w_log10l.c: Likewise.
62331         * math/w_log2.c: Likewise.
62332         * math/w_log2f.c: Likewise.
62333         * math/w_log2l.c: Likewise.
62334         * math/w_logf.c: Likewise.
62335         * math/w_logl.c: Likewise.
62336         * math/w_sqrt.c: Likewise.
62337         * math/w_sqrtf.c: Likewise.
62338         * math/w_sqrtl.c: Likewise.
62339         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62340         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62341         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62342         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62343         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62347         [BZ #9739]
62348         * manual/string.texi (strnlen): Use correct parameter name in
62349         equivalent expression.
62351 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62353         [BZ #11174]
62354         * manual/users.texi (seteuid): Consistently use neweuid for
62355         argument name.
62357 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62359         [BZ #13704]
62360         * manual/nss.texi (Services in the NSS configuration): Correct
62361         list of services in example configuration file.
62363 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62365         [BZ #11322]
62366         * manual/arith.texi: Remove statements about negative zero
62367         behaving identically to zero.
62369 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62371         [BZ #5993]
62372         * manual/install.texi: Do not document upgrading from libc5.
62374 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62376         [BZ #4596]
62377         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62379 2012-02-18  David S. Miller  <davem@davemloft.net>
62381         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62382         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62383         %o7 across the call.
62384         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62385         instead.
62386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62387         SETUP_PIC_REG_LEAF.
62388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62389         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62390         * sysdeps/sparc/crtn.S: Likewise.
62392 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62394         * aout/Makefile: Remove.
62396 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62398         [BZ #13058]
62399         * manual/examples/argp-ex1.c (main): Format definition in GNU
62400         style.
62401         * manual/examples/argp-ex2.c (main): Likewise.
62402         * manual/examples/argp-ex3.c (main): Likewise.
62403         * manual/examples/argp-ex4.c (main): Likewise.
62404         * manual/examples/longopt.c (main): Use new-style prototype
62405         definition.
62406         * manual/examples/strncat.c (main): Specify return type and use
62407         (void) for arguments.
62408         * manual/examples/subopt.c (main): Use char **argv argument.
62410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62412         [BZ #5077]
62413         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62414         rounding modes.
62416 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62418         [BZ #6907]
62419         * manual/string.texi (strchr): Change when strchrnul is
62420         recommended.
62422 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62424         [BZ #174]
62425         * manual/locale.texi (setlocale): Document LOCPATH.
62427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62429         [BZ #10210]
62430         * manual/process.texi (execle): Move @dots{} before last argument.
62432 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62434         [BZ #12047]
62435         * manual/charset.texi (Generic Charset Conversion): Fix typo
62436         (LC_TYPE -> LC_CTYPE).
62438 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62440         [BZ #5805]
62441         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62442         (scalbnf): Likewise.
62443         (scalbnl): Likewise.
62444         (scalbln): Likewise.
62445         (scalblnf): Likewise.
62446         (scalblnl): Likewise.
62447         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62448         (vwarnx): Likewise.
62449         (verr): Likewise.
62450         (verrx): Likewise.
62451         * manual/filesys.texi (telldir): Use braces around return type.
62452         * manual/llio.texi (mmap): Add space after comma.
62453         (mmap64): Likewise.
62454         * manual/math.texi (jn): Use @var{} on parameter names.
62455         (jnf): Likewise.
62456         (jnl): Likewise.
62457         (yn): Likewise.
62458         (ynf): Likewise.
62459         (ynl): Likewise.
62460         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62461         line.
62462         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62463         "...".
62464         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62465         (sched_get_priority_max): Likewise.
62466         * manual/signal.texi (sigvec): Add space after comma.
62467         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62468         names.
62469         (if_indextoname): Likewise.
62470         (if_freenameindex): Likewise.
62471         (sendto): Use ',' instead of '.' in prototype.
62472         * manual/startup.texi (syscall): Use @dots{} instead of literal
62473         "...".
62474         * manual/stdio.texi (__fpending): Separate initial words of
62475         paragraph from @deftypefun line.
62476         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62477         "...".
62478         (vsyslog): Use @var{} on parameter names.
62479         * manual/terminal.texi (stty): Use @var{} on parameter names.
62480         * manual/users.texi (getutmp): Use @var{} on parameter names.
62481         (getutmpx): Likewise.
62483 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62485         [BZ #6884]
62486         * manual/stdio.texi (fopen): Fix typos in description of
62487         ",ccs=STRING".
62489 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62491         [BZ #4026]
62492         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62493         get clock_id definition.
62495 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62497         [BZ #4822]
62498         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62499         (madvise): Cast every argument to void on its own.
62501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62503         [BZ #9902]
62504         * manual/startup.texi (Exit Status): Fix typo.
62506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62508         [BZ #10140]
62509         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62510         * manual/examples/argp-ex2.c: Likewise.
62511         * manual/examples/argp-ex3.c: Likewise.
62513 2012-02-16  Richard Henderson  <rth@redhat.com>
62515         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62516         * sysdeps/s390/s390-32/initfini.c: Remove.
62517         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62518         * sysdeps/s390/s390-64/initfini.c: Remove.
62520 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62522         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62523         compiler output for sysdeps/generic/initfini.c.
62524         * sysdeps/sh/elf/initfini.c: Remove file.
62526 2012-02-16  David S. Miller  <davem@davemloft.net>
62528         [BZ #11494]
62529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62531         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62532         * sysdeps/sparc/crti.S: New file.
62533         * sysdeps/sparc/crtn.S: New file.
62534         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62535         * sysdeps/sparc/sparc64/Makefile: Likewise.
62537 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62539         [BZ #3335]
62540         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62542 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62544         [BZ #4822]
62545         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62547         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62548         (write, read, close): Likewise.
62549         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62551 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62553         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62554         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62555         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62556         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62557         <bits/signalfd.h>.
62558         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62560         bits/signalfd.h.
62562 2012-02-14  Marek Polacek  <polacek@redhat.com>
62564         * sysdeps/x86_64/crti.S: New file.
62565         * sysdeps/x86_64/crtn.S: New file.
62566         * sysdeps/x86_64/elf/initfini.c: Remove file.
62568 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62570         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62571         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62572         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62573         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62574         <bits/inotify.h>.
62575         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62577         bits/inotify.h.
62579 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62581         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62582         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62583         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62584         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62585         <bits/eventfd.h>.
62586         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62588         bits/eventfd.h.
62590 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62592         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62593         __feraiseexcept instead of feraiseexcept.
62595         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62596         nanosleep invocations.
62597         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62598         strings, and add error checking for a nanosleep invocations.
62600 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62602         Replace FSF snail mail address with URLs, as per GNU coding standards.
62603         Most of the snail mail addresses were wrong anyway, and omitting
62604         them makes the source code easier to maintain.  Almost all of the
62605         changes are to license notices and to locale LC_IDENTIFICATION
62606         addresses, except for this one:
62607         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62608         not its snail mail address.
62610 2012-02-09  Richard Henderson  <rth@twiddle.net>
62612         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62613         of kernel-features.h.
62615         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62617 2012-02-08  Marek Polacek  <polacek@redhat.com>
62619         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62620         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62621         * sysdeps/gnu/_G_config.h: Likewise.
62622         * sysdeps/generic/_G_config.h: Likewise.
62624 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62626         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62627         tests.
62628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62630         * sysdeps/powerpc/powerpc32/crti.S: New file.
62631         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62632         * sysdeps/powerpc/powerpc64/crti.S: New file.
62633         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62635         * Makeconfig (have-initfini): Don't set.
62636         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62637         * configure.in (nopic_initfini): Don't substitute.
62638         * config.h.in (HAVE_INITFINI): Don't #undef.
62639         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62640         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62642 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62644         Support crti.S and crtn.S provided directly by architectures.
62645         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62646         [crti.S in sysdirs] (omit-deps): Likewise.
62647         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62648         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62649         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62650         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62651         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62652         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62653         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62654         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62655         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62656         compiler output for sysdeps/generic/initfini.c.
62657         * sysdeps/i386/elf/Makefile: Remove file.
62658         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62660 2012-02-07  Marek Polacek  <polacek@redhat.com>
62662         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62663         * sysdeps/gnu/_G_config.h: Likewise.
62664         * sysdeps/mach/hurd/_G_config.h: Likewise.
62666 2012-02-07  Marek Polacek  <polacek@redhat.com>
62668         * math/Makefile (tests): Add tst-CMPLX2.
62669         * math/tst-CMPLX2.c: New file.
62671 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62673         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62675         * math/libm-test.inc (jn_test): Add missing L suffix.
62677 2012-02-06  Marek Polacek  <polacek@redhat.com>
62679         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62680         * sysdeps/i386/fpu/e_powf.S: Likewise.
62681         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62682         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62684         * sysdeps/i386/fpu/e_pow.S: Likewise.
62685         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62687         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62688         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62689         * sysdeps/i386/fpu/e_log2.S: Likewise.
62690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62691         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62692         * sysdeps/i386/fpu/e_powl.S: Likewise.
62693         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62694         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62695         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62696         * sysdeps/i386/fpu/e_logl.S: Likewise.
62697         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62698         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62699         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62700         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62701         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62702         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62703         * sysdeps/i386/fpu/e_log.S: Likewise.
62704         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62705         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62706         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62707         * sysdeps/i386/fpu/e_logf.S: Likewise.
62708         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62709         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62710         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62711         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62712         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62713         * sysdeps/i386/fpu/e_log10.S: Likewise.
62714         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62715         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62716         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62717         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62718         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62719         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62720         * sysdeps/i386/asm-syntax.h: Likewise.
62721         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62722         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62723         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62724         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62725         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62726         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62727         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62728         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62729         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62730         * sysdeps/powerpc/sysdep.h: Likewise.
62731         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62732         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62734 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62736         [BZ #411]
62737         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62739 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62741         * sysdeps/i386/sysdep.h: Include <features.h>.
62742         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62743         version.
62745 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62747         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62748         Define.
62749         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62750         LOAD_PIC_REG_STR.
62752 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62754         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62755         (SETUP_PIC_REG): Use GET_PC_THUNK.
62756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62757         macro.
62759 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62761         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62762         for non-PIC compilation.
62763         (SETUP_PIC_REG): Add .p2align directive.
62764         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62765         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62766         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62767         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62768         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62769         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62770         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62771         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62772         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62773         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62774         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62775         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62776         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62777         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62778         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62779         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62780         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62781         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62782         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62783         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62784         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62786         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62787         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62790         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62791         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62792         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62793         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62794         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62796         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62797         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62798         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62799         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62800         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62801         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62802         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62803         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62804         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62806 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62808         * math/tst-CMPLX.c: Include <stdio.h>.
62810 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62812         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62813         float.
62814         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62815         * sysdeps/sparc/bits/mathdef.h: Likewise.
62817 2012-01-31  Marek Polacek  <polacek@redhat.com>
62819         * libio/libio.h: Don't define _PARAMS.
62820         * locale/programs/config.h: Don't define PARAMS.
62821         * stdlib/strtol_l.c: Likewise.
62822         (__strtol_l): Remove PARAMS from the prototype.
62824 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62826         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62827         names.  Just use the correct names.  Remove unnecessary wrapper
62828         functions.
62829         * malloc/arena.c: Likewise.
62830         * malloc/hooks.c: Likewise.
62832         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62833         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62834         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62836 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62838         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62839         into tail calls.
62840         (update_get_addr): New function.
62841         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62842         GET_ADDR_MODULE parameter.
62844 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62846         * crypt/cert.c: Remove __STDC__ conditionals.
62847         * crypt/crypt-entry.c: Likewise.
62848         * crypt/crypt_util.c: Likewise.
62849         * libio/filedoalloc.c: Likewise.
62850         * libio/fileops.c: Likewise.
62851         * libio/genops.c: Likewise.
62852         * libio/iofclose.c: Likewise.
62853         * libio/iofdopen.c: Likewise.
62854         * libio/iofopen.c: Likewise.
62855         * libio/iofopen64.c: Likewise.
62856         * libio/iogetdelim.c: Likewise.
62857         * libio/iopopen.c: Likewise.
62858         * libio/obprintf.c: Likewise.
62859         * libio/oldfileops.c: Likewise.
62860         * libio/oldiofclose.c: Likewise.
62861         * libio/oldiofdopen.c: Likewise.
62862         * libio/oldiofopen.c: Likewise.
62863         * libio/oldiopopen.c: Likewise.
62864         * libio/wfiledoalloc.c: Likewise.
62865         * libio/wgenops.c: Likewise.
62866         * locale/programs/xmalloc.c: Likewise.
62867         * misc/syslog.c: Likewise.
62868         * stdio-common/xbug.c: Likewise.
62869         * string/memchr.c: Likewise.
62870         * string/memcmp.c: Likewise.
62871         * string/memrchr.c: Likewise.
62872         * string/rawmemchr.c: Likewise.
62873         * sysdeps/posix/getcwd.c: Likewise.
62874         * time/strftime_l.c: Likewise.
62876 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62878         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62879         * config.make.in (config-cflags-sse2avx): Define.
62880         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62881         Fix typo.
62883 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62885         * scripts/config.guess: Update from upstream config git repository.
62886         * scripts/config.sub: Likewise.
62888 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62890         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62891         (EM_NUM): Update.
62892         (R_TILEPRO_*, R_TILEGX_*): New macros.
62894         * scripts/firstversions.awk: Fix bug in version range handling.
62896         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62898         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62900         * include/sys/epoll.h: New file.
62901         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62902         libc_hidden_def.
62904 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62906         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62907         Avoid unnecessary __WORDSIZE == 64 test.
62908         (fmaxf): Use VEX format if possible.
62909         (fmax): Likewise.
62910         (fminf): Likewise.
62911         (fmin): Likewise.
62913         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62914         * math/math_private.h: Remove libc_fegetround* and
62915         libc_fesetround*.
62916         * sysdeps/i386/configure.in: Check for -msse2avx.
62917         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62918         also if SSE2AVX is defined.
62919         Remove libc_fegetround* and libc_fesetround*.
62920         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62921         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62923         of HAS_YMM_USABLE.
62924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62925         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62928         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62930         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62932 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62934         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62935         size is not set.
62936         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62938 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62940         [BZ #13618]
62941         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62942         relocation.
62943         * Makeconfig (libm): Define.
62944         * elf/Makefile: Add rules to build and run tst-relsort1.
62945         * elf/tst-relsort1.c: New file.
62946         * elf/tst-relsort1mod1.c: New file.
62947         * elf/tst-relsort1mod2.c: New file.
62949 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62951         * math/s_ldexp.c: Remove __STDC__ conditionals.
62952         * math/s_ldexpf.c: Likewise.
62953         * math/s_ldexpl.c: Likewise.
62954         * math/s_nextafter.c: Likewise.
62955         * math/s_nexttowardf.c: Likewise.
62956         * math/s_significand.c: Likewise.
62957         * math/s_significandf.c: Likewise.
62958         * math/s_significandl.c: Likewise.
62959         * math/w_jnl.c: Likewise.
62960         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62961         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62962         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62963         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62964         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62965         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62966         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62967         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62968         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62969         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62970         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62972         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62973         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62974         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62975         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62976         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62977         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62979         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62980         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62981         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62982         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62984         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62985         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62986         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62987         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62988         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62989         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62990         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62991         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62992         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62993         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62994         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62995         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62996         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62997         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62998         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62999         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63000         * sysdeps/ieee754/k_standard.c: Likewise.
63001         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63002         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63003         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63004         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63005         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63006         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63008         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63009         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63010         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63011         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63012         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63013         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63014         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63015         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63016         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63017         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63018         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63019         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63020         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63021         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63022         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63023         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63024         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63025         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63026         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63030         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63031         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63032         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63033         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63034         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63035         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63036         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63037         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63038         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63039         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63041         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63043         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63044         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63045         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63048         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63049         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63050         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63053         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63054         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63055         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63056         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63058         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63059         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63060         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63061         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63062         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63063         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63064         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63065         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63066         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63067         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63068         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63069         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63071         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63072         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63075         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63076         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63077         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63078         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63079         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63080         * sysdeps/ieee754/s_matherr.c: Likewise.
63081         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63082         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63084         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63086 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63088         * crypt/md5.h: Remove __STDC__ conditionals.
63089         * libio/libioP.h: Likewise.
63090         * locale/programs/config.h: Likewise.
63091         * sysdeps/generic/sysdep.h: Likewise.
63092         * sysdeps/i386/asm-syntax.h: Likewise.
63093         * sysdeps/s390/asm-syntax.h: Likewise.
63094         * sysdeps/unix/sysdep.h: Likewise.
63095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63098 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63100         * libio/libio.h: Remove __STDC__ conditionals.
63101         * malloc/obstack.h: Likewise.
63102         * math/complex.h: Likewise.
63103         * math/math.h: Likewise.
63104         * sysdeps/generic/_G_config.h: Likewise.
63105         * sysdeps/gnu/_G_config.h: Likewise.
63106         * sysdeps/mach/hurd/_G_config.h: Likewise.
63107         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63108         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63109         * sysdeps/sparc/bits/mathdef.h: Likewise.
63111 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63113         [BZ #13583]
63114         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63115         Clean up HAS_* macros.
63116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63117         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63118         possible.
63119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63120         HAS_AVX.
63121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63127 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63129         * elf/tst-unique3.cc (gets): Remove declaration.
63130         * elf/tst-unique3lib.cc (gets): Likewise.
63131         * elf/tst-unique3lib2.cc (gets): Likewise.
63132         * elf/tst-unique4.cc (gets): Likewise.
63134 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63136         * include/stdio.h: Add C++ protection.  Add gets declarations and
63137         definitions.
63138         * debug/tst-chk1.c: Don't declare gets here.
63139         * stdio-common/tst-gets.c: Likewise.
63141 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63143         * posix/glob: Remove directory.
63145 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63147         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63149 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63151         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63152         of the non-standard EPFNOSUPPORT.
63154 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63156         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63157         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63158         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63160 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63162         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63164 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63166         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63167         transient errors.
63168         * nscd/grpcache.c (cache_addgr): Likewise.
63169         * nscd/hstcache.c (cache_addhst): Likewise.
63170         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63171         * nscd/pwdcache.c (cache_addpw): Likewise.
63172         * nscd/servicescache.c (cache_addserv): Likewise.
63174 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63176         * malloc/malloc.c: Various cleanups.
63177         * malloc/hooks.c: Likewise.
63179         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63180         * stdlib/bug-fmtmsg1.c: New file.
63182         * stdlib/fmtmsg.c (init): Add missing unlock.
63183         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63185 2012-01-12  Marek Polacek  <polacek@redhat.com>
63187         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63188         and _GNU_SOURCE.
63190 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63192         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63193         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63194         macro to ensure uniqueness of label name.
63195         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63196         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63198 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63200         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63202         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63203         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63204         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63207 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63209         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63211         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63212         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63213         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63215         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63217         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63218         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63219         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63222         * math/bits/math-finite.h: Add ldexp support.
63224 2012-01-10  Marek Polacek  <polacek@redhat.com>
63226         * locale/programs/localedef.h (show_archive_content): Add noreturn
63227         attribute.
63229 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63233 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63235         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63237         * io/Makefile (headers): Add bits/poll2.h.
63239 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63242         typo #include statement.
63244 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63246         * include/sys/cdefs.h: Define __attribute_alloc_size.
63247         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63248         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63249         * elf/pldd.c: Likewise.
63250         * iconv/iconv_charmap.c: Likewise.
63251         * iconv/iconvconfig.c: Likewise.
63252         * iconv/strtab.c: Likewise.
63253         * locale/programs/locale.c: Likewise.
63254         * locale/programs/localedef.h: Likewise.
63255         * locale/programs/simple-hash.c: Likewise.
63256         * nscd/nscd.h: Likewise.
63257         * nss/makedb.c: Likewise.
63258         * sysdeps/generic/ldconfig.h: Likewise.
63259         * locale/programs/localedef.c: Remove xmalloc prototype.
63260         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63262 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63264         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63265         appropriate.
63267 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63269         * math/Makefile (tests): Add tst-CMPLX.
63270         * math/tst-CMPLX.c: New file.
63272         * math/complex.h (CMPLXL): Fix typo.
63274         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63275         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63276         GLIBC_2.16.
63277         * debug/tst-chk1.c: Add poll and ppoll tests.
63278         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63279         * include/sys/poll.h: Add hidden proto for ppoll.
63280         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63281         * sysdeps/mach/hurd/ppoll.c: Likewise.
63282         * io/ppoll.c: Likewise.
63283         * debug/poll_chk.c: New file.
63284         * debug/ppoll_chk.c: New file.
63285         * include/bits/poll2.h: New file.
63286         * io/bits/poll2.h: New file.
63288         [BZ #1350]
63289         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63291         * configure.in: static is always set to yes.  Remove.
63292         * config.make.in: Don't set build-static.
63293         * Makeconfig: Remove use of build-static.
63294         * dlfcn/Makefile: Likewise.
63295         * elf/Makefile: Likewise.
63296         * math/Makefile: Likewise.
63297         * misc/Makefile: Likewise.
63298         * nptl/Makefile: Likewise.
63299         * sysdeps/mach/hurd/Makefile: Likewise.
63301         * configure.in: PWD_P is not used anymore.
63302         * config.make.in: Remove PWD_P entry.
63304         * configure.in: Remove last remnants of RANLIB.
63305         No need to check for signed size_t anymore.
63306         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63307         and IA-64.
63308         Remove __builtin_expect test because we require at least gcc 3.4.
63309         * aclocal.m4: Likewise.
63311         * wcsmbs/mbrtoc16.c: Implement using towc function.
63312         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63313         * wcsmbs/wcsmbsload.c: Likewise.
63314         * iconv/gconv_simple.c: Likewise.
63315         * iconv/gconv_int.h: Likewise.
63316         * iconv/gconv_builtin.h: Likewise.
63317         * iconv/iconv_prog.c: Remove CHAR16 handling.
63319         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63321         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63323         * configure.in: Remove --with-elf and --enable-bounded options.
63324         Dont set base_machine for ia64.  More non-ELF conditions removed.
63325         Remove testing and setting of leading underscore information.
63326         * config.make.in (build-bounded): Set to no.
63327         * config.h.in: Remove NO_UNDERSCORES entry.
63328         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63329         them.
63330         * csu/start.c: Remove !NO_UNDERSCORE code.
63331         * locale/localeinfo.h: Likewise.
63332         * sysdeps/generic/machine-gmon.h: Likewise.
63333         * sysdeps/generic/sysdep.h: Likewise.
63334         * sysdeps/i386/sysdep.h: Likewise.
63335         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63336         * sysdeps/mach/sysdep.h: Likewise.
63337         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63339         * sysdeps/sh/sysdep.h: Likewise.
63340         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63341         * sysdeps/unix/i386/sysdep.S: Likewise.
63342         * sysdeps/unix/sparc/start.c: Likewise.
63343         * sysdeps/unix/sparc/sysdep.S: Likewise.
63344         * sysdeps/unix/sparc/sysdep.h: Likewise.
63345         * sysdeps/unix/start.c: Likewise.
63346         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63347         * sysdeps/x86_64/sysdep.h: Likewise.
63349 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63351         [BZ #13553]
63352         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63353         for non-gcc.
63354         * argp/argp-fmtstream.h: Use const instead __const.
63355         * argp/argp.h: Likewise.
63356         * assert/assert.h: Likewise.
63357         * bits/fenv.h: Likewise.
63358         * bits/sched.h: Likewise.
63359         * bits/sigset.h: Likewise.
63360         * bits/sigthread.h: Likewise.
63361         * catgets/nl_types.h: Likewise.
63362         * conform/data/pthread.h-data: Likewise.
63363         * crypt/crypt-private.h: Likewise.
63364         * crypt/crypt.h: Likewise.
63365         * crypt/crypt_util.c: Likewise.
63366         * ctype/ctype.h: Likewise.
63367         * debug/execinfo.h: Likewise.
63368         * debug/mbsnrtowcs_chk.c: Likewise.
63369         * debug/mbsrtowcs_chk.c: Likewise.
63370         * debug/wcsnrtombs_chk.c: Likewise.
63371         * debug/wcsrtombs_chk.c: Likewise.
63372         * debug/wcstombs_chk.c: Likewise.
63373         * dirent/dirent.h: Likewise.
63374         * dlfcn/dlfcn.h: Likewise.
63375         * elf/neededtest4.c: Likewise.
63376         * grp/grp.h: Likewise.
63377         * gshadow/gshadow.h: Likewise.
63378         * iconv/gconv.h: Likewise.
63379         * iconv/gconv_int.h: Likewise.
63380         * iconv/gconv_simple.c: Likewise.
63381         * iconv/iconv.h: Likewise.
63382         * iconv/loop.c: Likewise.
63383         * iconv/skeleton.c: Likewise.
63384         * include/aio.h: Likewise.
63385         * include/aliases.h: Likewise.
63386         * include/argz.h: Likewise.
63387         * include/arpa/inet.h: Likewise.
63388         * include/assert.h: Likewise.
63389         * include/dirent.h: Likewise.
63390         * include/dlfcn.h: Likewise.
63391         * include/execinfo.h: Likewise.
63392         * include/fcntl.h: Likewise.
63393         * include/fenv.h: Likewise.
63394         * include/glob.h: Likewise.
63395         * include/grp.h: Likewise.
63396         * include/libintl.h: Likewise.
63397         * include/mntent.h: Likewise.
63398         * include/netdb.h: Likewise.
63399         * include/pwd.h: Likewise.
63400         * include/rpc/netdb.h: Likewise.
63401         * include/sched.h: Likewise.
63402         * include/search.h: Likewise.
63403         * include/shadow.h: Likewise.
63404         * include/signal.h: Likewise.
63405         * include/stdio.h: Likewise.
63406         * include/stdlib.h: Likewise.
63407         * include/string.h: Likewise.
63408         * include/sys/socket.h: Likewise.
63409         * include/sys/stat.h: Likewise.
63410         * include/sys/statfs.h: Likewise.
63411         * include/sys/statvfs.h: Likewise.
63412         * include/sys/syslog.h: Likewise.
63413         * include/sys/time.h: Likewise.
63414         * include/sys/uio.h: Likewise.
63415         * include/time.h: Likewise.
63416         * include/unistd.h: Likewise.
63417         * include/utmp.h: Likewise.
63418         * include/wchar.h: Likewise.
63419         * include/wctype.h: Likewise.
63420         * inet/aliases.h: Likewise.
63421         * inet/arpa/inet.h: Likewise.
63422         * inet/netinet/ether.h: Likewise.
63423         * inet/netinet/in.h: Likewise.
63424         * intl/libintl.h: Likewise.
63425         * io/bits/fcntl2.h: Likewise.
63426         * io/fcntl.h: Likewise.
63427         * io/ftw.h: Likewise.
63428         * io/sys/poll.h: Likewise.
63429         * io/sys/stat.h: Likewise.
63430         * io/sys/statfs.h: Likewise.
63431         * io/sys/statvfs.h: Likewise.
63432         * io/utime.h: Likewise.
63433         * libio/bits/stdio.h: Likewise.
63434         * libio/bits/stdio2.h: Likewise.
63435         * libio/libio.h: Likewise.
63436         * libio/libioP.h: Likewise.
63437         * libio/stdio.h: Likewise.
63438         * locale/lc-ctype.c: Likewise.
63439         * locale/locale.h: Likewise.
63440         * login/utmp.h: Likewise.
63441         * malloc/arena.c: Likewise.
63442         * malloc/malloc.c: Likewise.
63443         * malloc/malloc.h: Likewise.
63444         * malloc/mcheck.c: Likewise.
63445         * malloc/mtrace.c: Likewise.
63446         * math/bits/mathcalls.h: Likewise.
63447         * math/fenv.h: Likewise.
63448         * math/math_private.h: Likewise.
63449         * misc/bits/error.h: Likewise.
63450         * misc/bits/syslog.h: Likewise.
63451         * misc/err.h: Likewise.
63452         * misc/error.h: Likewise.
63453         * misc/fstab.h: Likewise.
63454         * misc/mntent.h: Likewise.
63455         * misc/regexp.h: Likewise.
63456         * misc/search.h: Likewise.
63457         * misc/sgtty.h: Likewise.
63458         * misc/sys/mman.h: Likewise.
63459         * misc/sys/syslog.h: Likewise.
63460         * misc/sys/uio.h: Likewise.
63461         * misc/sys/xattr.h: Likewise.
63462         * misc/ttyent.h: Likewise.
63463         * nis/rpcsvc/ypclnt.h: Likewise.
63464         * nss/nss.h: Likewise.
63465         * posix/bits/unistd.h: Likewise.
63466         * posix/fnmatch.h: Likewise.
63467         * posix/glob.h: Likewise.
63468         * posix/sched.h: Likewise.
63469         * posix/spawn.h: Likewise.
63470         * posix/sys/wait.h: Likewise.
63471         * posix/unistd.h: Likewise.
63472         * posix/wordexp.h: Likewise.
63473         * pwd/pwd.h: Likewise.
63474         * resolv/netdb.h: Likewise.
63475         * resource/sys/resource.h: Likewise.
63476         * rt/aio.h: Likewise.
63477         * rt/bits/mqueue2.h: Likewise.
63478         * rt/mqueue.h: Likewise.
63479         * shadow/shadow.h: Likewise.
63480         * signal/signal.h: Likewise.
63481         * socket/send.c: Likewise.
63482         * socket/sendto.c: Likewise.
63483         * socket/sys/socket.h: Likewise.
63484         * stdio-common/printf.h: Likewise.
63485         * stdlib/bits/stdlib.h: Likewise.
63486         * stdlib/fmtmsg.h: Likewise.
63487         * stdlib/monetary.h: Likewise.
63488         * stdlib/stdlib.h: Likewise.
63489         * stdlib/ucontext.h: Likewise.
63490         * streams/stropts.h: Likewise.
63491         * string/argz.h: Likewise.
63492         * string/bits/string2.h: Likewise.
63493         * string/string.h: Likewise.
63494         * string/strings.h: Likewise.
63495         * sunrpc/rpc/auth.h: Likewise.
63496         * sunrpc/rpc/auth_des.h: Likewise.
63497         * sunrpc/rpc/clnt.h: Likewise.
63498         * sunrpc/rpc/netdb.h: Likewise.
63499         * sunrpc/rpc/pmap_clnt.h: Likewise.
63500         * sunrpc/rpc/xdr.h: Likewise.
63501         * sysdeps/generic/inttypes.h: Likewise.
63502         * sysdeps/generic/net/if.h: Likewise.
63503         * sysdeps/generic/sys/swap.h: Likewise.
63504         * sysdeps/gnu/net/if.h: Likewise.
63505         * sysdeps/gnu/utmpx.h: Likewise.
63506         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63507         * sysdeps/i386/i486/bits/string.h: Likewise.
63508         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63509         * sysdeps/s390/bits/string.h: Likewise.
63510         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63511         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63512         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63513         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63514         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63515         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63516         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63517         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63518         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63519         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63520         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63521         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63522         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63523         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63524         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63525         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63526         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63528         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63530         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63531         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63532         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63533         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63534         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63535         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63536         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63537         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63538         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63539         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63540         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63541         * sysvipc/sys/ipc.h: Likewise.
63542         * sysvipc/sys/msg.h: Likewise.
63543         * sysvipc/sys/sem.h: Likewise.
63544         * sysvipc/sys/shm.h: Likewise.
63545         * termios/termios.h: Likewise.
63546         * time/sys/time.h: Likewise.
63547         * time/time.h: Likewise.
63548         * wcsmbs/bits/wchar2.h: Likewise.
63549         * wcsmbs/uchar.h: Likewise.
63550         * wcsmbs/wchar.h: Likewise.
63551         * wctype/wctype.h: Likewise.
63553         [BZ #13551]
63554         * Makeconfig: Remove all but ELF support including AIX support.
63555         * Makerules: Likewise.
63556         * config.h.in: Likewise.
63557         * config.make.in: Likewise.
63558         * configure: Likewise.
63559         * configure.in: Likewise.
63560         * csu/Makefile: Likewise.
63561         * csu/version.c: Likewise.
63562         * debug/Makefile: Likewise.
63563         * dlfcn/Makefile: Likewise.
63564         * elf/Makefile: Likewise.
63565         * extra-lib.mk: Likewise.
63566         * iconv/Makefile: Likewise.
63567         * include/libc-symbols.h: Likewise.
63568         * include/shlib-compat.h: Likewise.
63569         * resolv/Makefile: Likewise.
63570         * resolv/res_libc.c: Likewise.
63571         * rt/Makefile: Likewise.
63572         * sysdeps/i386/asm-syntax.h: Likewise.
63573         * sysdeps/i386/sysdep.h: Likewise.
63574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63575         * sysdeps/mach/sysdep.h: Likewise.
63576         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63577         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63578         * sysdeps/s390/asm-syntax.h: Likewise.
63579         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63581         * sysdeps/sh/sysdep.h: Likewise.
63582         * sysdeps/unix/sparc/sysdep.h: Likewise.
63583         * sysdeps/wordsize-32/divdi3.c: Likewise.
63584         * sysdeps/x86_64/sysdep.h: Likewise.
63586         * argp/Versions: Remove _argp_unlock_xxx.
63588         [BZ #13559]
63589         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63590         * abilist/libBrokenLocale.abilist: Likewise.
63591         * abilist/libanl.abilist: Likewise.
63592         * abilist/libc.abilist: Likewise.
63593         * abilist/libcrypt.abilist: Likewise.
63594         * abilist/libdl.abilist: Likewise.
63595         * abilist/libm.abilist: Likewise.
63596         * abilist/libnsl.abilist: Likewise.
63597         * abilist/libpthread.abilist: Likewise.
63598         * abilist/libresolv.abilist: Likewise.
63599         * abilist/librt.abilist: Likewise.
63600         * abilist/libthread_db.abilist: Likewise.
63601         * abilist/libutil.abilist: Likewise.
63602         * abilist/libnss_db.abilist: New file.
63604         * scripts/abilist.awk: Add support for indirect functions.
63606         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63608         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63610         * shlib-versions: Remove entries for ports architectures.
63612         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63613         files in ports.
63614         * elf/stackguard-macros.h: Remove support for IA-64.
63615         * elf/tst-auditmod1.c: Likewise.
63616         * sysdeps/generic/ldsodefs.h: Likewise.
63618         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63619         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63620         configure files.
63622         [BZ #13552]
63623         * configure.in: Remove --enable-omitfp support.
63624         * FAQ.in: Adjust.
63625         * config.make.in: Likewise.
63626         * Makeconfig: Likewise.
63627         * manual/install.texi: Likewise.
63629         In case anyone cares, the IA-64 architecture could move to ports.
63630         * sysdeps/ia64/*: Removed.
63631         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63632         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63634         [BZ #13555]
63635         * configure.in: Remove entries for unsupported architectures.
63637         [BZ #13533]
63638         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63639         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63640         routines.
63641         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63642         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63643         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63644         fall back to using wcrtomb.
63645         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63646         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63647         renaming.
63648         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63649         * wcsmbs/tst-c16c32-1.c: New file.
63651         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63652         local variable.
63654         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63656         * elf/tst-unique3.cc: Add explicit declaration of gets.
63657         * elf/tst-unique3lib.cc: Likewise.
63658         * elf/tst-unique3lib2.cc: Likewise.
63659         * elf/tst-unique4.cc: Likewise.
63661         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63663 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63665         [BZ #13566]
63666         * assert/assert.h (static_assert): Don't define for C++.
63667         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63668         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63670 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63672         * iconv/loop.c (single loop): Fix assertion in storing of
63673         remaining bytes.
63675         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63677 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63679         * posix/getconf.c: Update copyright year.
63680         * nss/getent.c: Likewise.
63681         * nss/makedb.c: Likewise.
63682         * iconv/iconvconfig.c: Likewise.
63683         * iconv/iconv_prog.c: Likewise.
63684         * elf/ldconfig.c: Likewise.
63685         * elf/pldd.c: Likewise.
63686         * elf/sotruss.ksh: Likewise.
63687         * catgets/gencat.c: Likewise.
63688         * csu/version.c: Likewise.
63689         * elf/ldd.bash.in: Likewise.
63690         * elf/sprof.c (print_version): Likewise.
63691         * locale/programs/locale.c: Likewise.
63692         * locale/programs/localedef.c: Likewise.
63693         * login/programs/pt_chown.c: Likewise.
63694         * nscd/nscd.c (print_version): Likewise.
63695         * debug/xtrace.sh: Likewise.
63696         * malloc/memusage.sh: Likewise.
63697         * malloc/mtrace.pl: Likewise.
63698         * debug/catchsegv.sh: Likewise.
63700 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63702         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63703         pure attribute.
63705 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63707         [BZ #13533]
63708         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63709         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63710         transformations.
63711         * iconv/gconv_int.h: Likewise.
63712         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63713         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63714         from libc for GLIBC_2.16.
63715         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63716         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63717         * wcsmbs/uchar.h: Really define mbstate_t.
63718         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63719         * wcsmbs/c16rtomb.c: New file.
63720         * wcsmbs/mbrtoc16.c: New file.
63721         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63722         for C/POSIX locale.
63723         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63724         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63726         * wcsmbs/wchar.h: Add missing __restrict.
63728 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63730         [BZ #13532]
63731         * time/Makefile (routines): Add timespec_get.
63732         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63733         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63734         timespec for ISO C11.
63735         * time/timespec_get.c: New file.
63736         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63737         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63739         [BZ #13531]
63740         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63741         * stdlib/stdlib.h: Declare aligned_alloc.
63742         * Versions.def: Add GLIBC_2.16 for libc.
63743         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63745         [BZ 13527]
63746         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63747         ISO C11.
63749         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63750         code.
63752         [BZ #13528]
63753         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63755         [BZ #13529]
63756         * assert/assert.h (static_assert): Define.
63758         * version.h: Update for 2.16 development version.
63760         [BZ #13526]
63761         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63762         _ISOC11_SOURCE.
63764         * version.h (RELEASE): Bump for 2.15 release.
63765         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63767         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63768         Patch by Marek Polacek <mpolacek@redhat.com>.
63770         * bits/byteswap.h: Protect long long constants with __extension__.
63771         * sysdeps/i386/bits/byteswap.h: Likewise.
63772         * sysdeps/ia64/bits/byteswap.h: Likewise.
63773         * sysdeps/s390/bits/byteswap.h: Likewise.
63774         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63776 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63778         [BZ #13540]
63779         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63780         destination buffer.
63781         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63783 2011-12-23  Marek Polacek  <polacek@redhat.com>
63785         * elf/dl-addr.c (determine_info): Add inline keyword.
63786         * elf/tst-auditmod4b.c (check_avx): Likewise.
63787         * elf/tst-auditmod6b.c (check_avx): Likewise.
63788         * elf/tst-auditmod6c.c (check_avx): Likewise.
63789         * elf/tst-auditmod7b.c (check_avx): Likewise.
63791 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63793         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63794         !__SSE_MATH__.
63796 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63798         [BZ #13540]
63799         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63800         processing for last bytes.
63802 2011-08-06  Bruno Haible  <bruno@clisp.org>
63804         [BZ #13061]
63805         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63806         U+0385, not to U+1FEE.
63808         [BZ #13062]
63809         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63810         entry for U+00A5 U+0301.
63812 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63814         [BZ #13166]
63815         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63816         buffer for the output is too small.
63818         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63819         optimization.
63821         [BZ #13185]
63822         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63823         SSE flags if possible.
63825 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63827         [BZ #13540]
63828         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63829         processing for last bytes.
63831 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63833         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63834         (syscall-list-default-options, syscall-list-default-condition)
63835         (syscall-list-includes): Define.
63836         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63837         list of ABIs and options and #if conditions for each ABI.  Do not
63838         handle common syscalls between ABIs specially.
63839         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63840         Remove.
63841         (syscall-list-variants, syscall-list-32bit-options)
63842         (syscall-list-32bit-condition, syscall-list-64bit-options)
63843         (syscall-list-64bit-condition): Define.
63844         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63845         (syscall-list-variants, syscall-list-32bit-options)
63846         (syscall-list-32bit-condition, syscall-list-64bit-options)
63847         (syscall-list-64bit-condition): Define.
63848         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63849         Remove.
63850         (syscall-list-variants, syscall-list-32bit-options)
63851         (syscall-list-32bit-condition, syscall-list-64bit-options)
63852         (syscall-list-64bit-condition): Define.
63853         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63854         Remove.
63855         (syscall-list-variants, syscall-list-32bit-options)
63856         (syscall-list-32bit-condition, syscall-list-64bit-options)
63857         (syscall-list-64bit-condition): Define.
63859 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63861         * locale/iso-639.def: Add brx entry.
63863         [BZ #13328]
63864         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63865         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63867         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63868         __feraiseexcept_renamed.
63870 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63872         [BZ #13538]
63873         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63874         EPOLLET with unsigned values.
63875         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63878         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63879         to large cancellation.
63880         * math/s_cacoshf.c: Likewise.
63881         * math/s_cacoshl.c: Likewise.
63883 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63885         [BZ #13305]
63886         [BZ #12786]
63887         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63888         * math/s_cacoshf.c: Likewise.
63889         * math/s_cacoshl.c: Likewise.
63891 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63893         [BZ #13439]
63894         * iconv/gconv.h: Define __GCONV_SWAP.
63895         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63896         * iconvdata/utf-16.c: Likewise.
63897         * iconvdata/utf-32.c: Likewise.
63899 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63901         [BZ #13524]
63902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63903         numerator after shifting it by one limb.
63905 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63908         under [__USE_EXTERN_INLINES].
63910 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63912         [BZ #13446]
63913         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63915 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63917         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63918         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63919         optimized code.
63920         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63922         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63923         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63924         for strncasecmp/strncasecmp_l compilation.
63925         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63926         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63928 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63930         [BZ #13484]
63931         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63932         of __asm__.
63934 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63936         [BZ #13506]
63937         * time/tzfile.c (__tzfile_read): Check values from file header.
63939 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63941         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63942         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63943         * powerpc/powerpc32/dl-start.S: Likewise.
63944         * powerpc/powerpc32/elf/start.S: Likewise.
63945         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63946         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63947         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63948         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63949         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63950         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63951         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63952         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63953         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63954         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63955         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63956         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63957         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63958         * powerpc/powerpc32/memset.S: Likewise.
63959         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63960         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63961         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63962         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63963         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63964         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63965         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63966         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63967         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63968         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63969         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63970         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63971         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63973 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63975         * math/libm-test.inc: Added more nearbyint tests.
63976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63981 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63983         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63984         FD_CLOEXEC.
63986 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63988         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63989         Add wcscpy-ssse3 wcscpy-c.
63990         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63991         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63992         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63993         * sysdeps/x86_64/wcschr.S: New file.
63994         * sysdeps/x86_64/wcsrchr.S: New file.
63995         * string/test-strcmp.c: Remove checking of wcscmp function for
63996         wrong alignments.
63997         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63998         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63999         wcsrchr-sse2 wcsrchr-c.
64000         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64001         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64002         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64003         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64004         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64005         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64006         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64007         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64008         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64009         * wcsmbc/wcschr.c (WCSCHR): New macro.
64011 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64013         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64014         * wcsmbs/test-wcsrchr.c: New file.
64015         * string/test-strrchr.c: Add wcsrchr support.
64016         (WIDE): New macro.
64017         * wcsmbs/test-wcscpy.c: New file.
64018         * string/test-strcpy.c: Add wcscpy support.
64019         (WIDE): New macro.
64021 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64023         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64024         the inner loop.
64026 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64028         [BZ #13472]
64029         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64031 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64033         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64034         Minor optimizations.
64036         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64037         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64038         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64040 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64042         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64043         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64044         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64045         for gcc to avoid warnings.
64046         * inet/Makefile (tests): Add tst-checks.
64047         * inet/tst-checks.c: New file.
64049         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64050         warning.
64052         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64053         __wmemcmp_sse2.
64055         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64056         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64058         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64060 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64062         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64063         problem.
64065         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64067 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64069         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64070         conditional on GCC version.
64071         (__arch_compare_and_exchange_val_8_acq)
64072         (__arch_compare_and_exchange_val_16_acq)
64073         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64074         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64075         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64077 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64079         * sysdeps/sh/backtrace.c: New file.
64081 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64083         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64084         parenthesis.
64086 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64088         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64089         falling back to utime.
64091 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64093         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64094         expectations for float.
64096 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64098         * locale/weight.h (findidx): Add parameter len.
64099         * locale/weightwc.h (findidx): Likewise.
64100         * posix/fnmatch_loop.c (FCT): Adjust caller.
64101         * posix/regcomp.c (build_equiv_class): Likewise.
64102         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64103         * posix/regexec.c (check_node_accept_bytes): Likewise.
64104         * string/strcoll_l.c (STRCOLL): Likewise.
64105         * string/strxfrm_l.c (STRXFRM): Likewise.
64107 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64109         * Makefile.in: Remove CVSOPT handling.
64110         * configure.in: Remove use of AC_REVISION.
64111         * iconvdata/Makefile (distribute): No need to filter out CVS.
64112         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64113         handling.
64115 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64118         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64119         [USE_AS_STRNCASECMP_L]: Likewise.
64120         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64121         NO_TLS_DIRECT_SEG_REFS.
64122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64123         Fix argument offsets for non-PIC.
64124         [USE_AS_STRNCASECMP_L]: Likewise.
64125         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64126         NO_TLS_DIRECT_SEG_REFS.
64128 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64130         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64131         O_CLOEXEC.
64132         * locale/loadlocale.c (_nl_load_locale): Likewise.
64134 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64136         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64137         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64138         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64139         (SYSCALL_GETTIME): Set errno on error.
64141         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64142         count references to noai6ai_cached.
64144 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64146         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64148         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64149         FD_CLOEXEC for /proc/self/maps.
64151         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64152         FD_CLOEXEC for /proc/meminfo.
64154         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64155         gai.conf.
64157         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64158         FD_CLOEXEC for given file.
64160         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64162         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64163         FD_CLOEXEC for /etc/hosts.
64164         (_gethtent): Likewise.
64166         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64168         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64169         cancellation and set FD_CLOEXEC for /etc/netgroup.
64171         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64172         reading /etc/publickey.
64174         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64175         allow cancellation when reading /etc/group.
64177         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64178         cancellation.
64179         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64181         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64182         when using data file.
64184         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64186         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64187         (write_nis_obj): Use "c" and "e" in fopen.
64189         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64191         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64193         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64195         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64197         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64198         locale.alias.
64200         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64202         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64204         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64206         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64207         file parsing and set FD_CLOEXEC.
64209 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64211         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64213 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64215         * malloc/arena.c (arena_get2): Don't call reused_arena when
64216         _int_new_arena failed.
64218 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64220         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64221         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64222         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64223         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64225         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64226         to compile strcasecmp and strncasecmp.
64227         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64228         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64232 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64234         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64235         locale-defines.sym to gen-as-const-headers.
64236         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64237         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64238         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64239         to compile strcasecmp and strncasecmp.
64240         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64241         strcasecmp_l and strncasecmp_l.
64242         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64243         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64244         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64245         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64246         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64247         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64248         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64249         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64250         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64251         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64252         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64254 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64256         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64257         result of SYSDEP_GETTIME_CPU to retval.
64258         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64259         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64261         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64262         variable.
64264         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64265         mantissa words.
64266         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64268         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64269         from unused variable.
64271         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64272         DWARF definitions.
64273         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64274         for assembling.
64276         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64277         over namespaces.
64279         * sunrpc/rpc_prot.c (rejected): Fix case value.
64281         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64282         unsigned long long int to avoid warnings in shift.
64284         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64285         of use of trans.
64286         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64287         variable tmp.
64289         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64290         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64291         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64293         * nis/nis_table.c (nis_list): Use variable of correct type for
64294         result of __follow_path call.
64296 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64298         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64299         of math functions ceil, trunc, floor, round, and sqrt, when
64300         avaliable on the platform.
64301         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64302         name clash.
64303         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64304         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64305         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64307 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64309         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64310         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64312 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64314         * include/unistd.h: Fix __readlink return type.
64315         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64317 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64319         * stdlib/ucontext.h: Undo last change for makecontext.
64321 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64323         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64325         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64326         * setjmp/setjmp.h: Mark functions as non-leaf.
64327         * setjmp/bits/setjmp2.h: Likewise.
64328         * stdlib/ucontext.h: Likewise.
64330 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64332         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64333         (reused_arena): Don't check arena limit.
64334         (arena_get2): Atomically check arena limit.
64336 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64338         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64339         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64342         instructions.
64344 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64346         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64347         handler when locking.
64349         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64350         Fix size of allocated buffer.
64352 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64354         [BZ #10103]
64355         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64356         declarations for long double functions.
64357         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64359         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64361 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64363         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64364         installed.
64366         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64367         is disabled.
64369 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64371         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64373 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64375         * include/alloca.h (stackinfo_alloca_round): Define.
64376         (extend_alloca): Use it.
64377         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64378         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64379         here.
64381         * scripts/check-local-headers.sh: Ignore libaudit.h.
64383         * nscd/Makefile (extra-objs): Make recursively expanded.
64385 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64387         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64388         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64390         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64391         * posix/tst-rfc3484-2.c: Likewise.
64392         * posix/tst-rfc3484-3.c: Likewise.
64394         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64395         process_vm_writev.
64396         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64397         process_vm_writev.
64398         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64399         process_vm_writev from libc using GLIBC_2.15 version.
64401         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64403 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64405         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64406         stack usage.
64408 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64410         [BZ #13367]
64411         * nss/getent.c (initgroups_keys): Show error message in case no group
64412         names are given.
64414         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64415         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64416         __bump_nl_timestamp.
64417         * nscd/connections (nscd_init): When host database is served open
64418         netlink socket and request notification about configuration changes.
64419         (main_loop_poll): Track netlink file descriptor and bump timestamp
64420         in case data becomes available.
64421         (main_loop_epoll): Likewise.
64422         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64423         (database_pers_head): Add extra_data fileds.
64424         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64425         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64426         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64427         Adjust caller.
64428         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64429         in6ai data, call __free_in6ai.
64430         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64431         Add -DHAVE_NETLINK.
64432         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64433         interface information.  Reuse previous data if netlink timestamp
64434         is not changed.
64435         (__bump_nl_timestamp): New function.
64436         (__free_in6ai): New function.
64438 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64441         close_not_cancel_no_status here.
64442         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64444 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64446         [BZ #13276]
64447         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64448         return value.
64450         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64451         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64452         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64454 2011-07-03  Andreas Jaeger  <aj@suse.de>
64456         [BZ #10709]
64457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64458         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64459         * math/libm-test.inc (sin_test): Add test case.
64461 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64463         [BZ #13337]
64464         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64465         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64467         * elf/chroot_canon.c (chroot_canon): Cleanups.
64469         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64471         [BZ #13335]
64472         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64473         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64475         * string/test-strchr.c: Make usable for strchrnul testing.
64476         * string/test-strchrnul.c: New file.
64477         * string/Makefile (strop-tests): Add strchrnul.
64479         * po/it.po: Update from translation team.
64480         * po/es.po: Likewise.
64482 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64484         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64485         the three constants needed as parameters.  Drop the others.
64486         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64487         __m128i_strloadu_tolower.
64488         Create and initialize variable zero and use it in all the places
64489         where _mm_setzero_si128 was used.
64491         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64492         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64493         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64495         anymore.
64496         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64497         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64498         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64499         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64500         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64501         __mpranred, __mptan.
64502         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64503         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64504         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64505         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64506         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64507         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64508         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64509         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64510         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64512 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64514         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64515         redefine if SHARED.
64516         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64518         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64519         wide char related routines to wcsmbs subdir.
64521 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64523         [BZ #13344]
64524         * misc/sys/cdefs.h (__THROWNL): Define.
64525         * posix/unistd.h: Use __THREADNL instead of __THREAD
64526         for memory synchronization functions.
64528 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64530         [BZ #13349]
64531         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64532         doesn't exist.
64533         * manual/stdio.texi (Obstack Streams): Node removed.
64535 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64537         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64539         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64541         * math/math_private.h (math_force_eval): Allow non-addressable
64542         arguments.
64543         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64545 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64547         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64548         file is not needed.
64550         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64553         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64554         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64555         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64557         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64558         Add AVX variants.
64559         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64560         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64561         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64562         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64563         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64564         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64565         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64566         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64567         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64568         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64569         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64570         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64571         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64572         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64573         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64574         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64575         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64576         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64577         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64579         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64580         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64582         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64583         place.  Use VEX encoding when compiling for AVX.
64585 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64587         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64588         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64590         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64592 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64594         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64595         useless if() expression.
64596         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64597         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64598         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64599         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64600         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64601         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64602         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64603         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64604         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64605         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64606         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64607         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64608         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64609         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64610         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64611         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64612         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64614         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64616         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64618 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64620         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64621         condition.
64622         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64624 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64626         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64627         .text section.  Avoid duplicate constants.
64628         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64630         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64636         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64637         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64638         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64639         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64640         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64641         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64642         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64643         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64644         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64645         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64646         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64648         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64649         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64650         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64651         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64652         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64653         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64654         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64655         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64656         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64657         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64658         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64659         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64660         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64661         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64662         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64663         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64664         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64665         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64666         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64667         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64668         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64670         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64671         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64672         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64674 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64676         * sysdeps/x86_64/dla.h: Move to ...
64677         * sysdeps/x86_64/fpu/dla.h: ...here.
64678         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64679         situations.  Use __builtin_fma only for gcc 4.6 and up.
64681         * config.make.in: Add have-mfma4 entry.
64682         * configure.in: Substitute libc_cv_cc_fma4.
64683         * math/Makefile (dbl-only-routines): Add sincostab.
64684         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64685         Use __sincostab not sincos.
64686         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64687         name is a macro.
64688         * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise.  Define singArctan2
64692         using __copysign.
64693         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64694         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64695         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64696         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64697         and __inv.
64698         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64699         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64700         __copysign.
64701         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64702         define aliases when function name is a macro.
64703         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64704         sysdeps/ieee754/dbl-64/sincos.tbl.
64705         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64706         fma4-enabled routines.
64707         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64708         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64709         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64710         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64711         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64712         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64714         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64715         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64716         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64717         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64718         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64719         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64720         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64721         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64722         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64723         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64724         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64725         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64726         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64727         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64728         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64729         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64732         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64733         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64734         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64735         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64736         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64738         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64739         rename.
64740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64749 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64751         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64753 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64755         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64757         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64758         prediction.
64759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64761         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64762         Remove unused variable magic_bits.
64763         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64765         * string/strnlen.c: Define and use STRNLEN macro.
64766         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64767         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64769         * wcsmbs/wcslen.c: Define and use WCSLEN.
64770         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64771         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64772         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64773         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64774         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64775         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64776         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64778 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64781         strnlen-sse2-no-bsf.
64782         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64783         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64784         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64785         Add strnlen support.
64786         (USE_AS_STRNLEN): New macro.
64787         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64788         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64789         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64790         * sysdeps/x86_64/wcslen.S: New file.
64792 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64794         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64795         XMM-moves are used for copying on small sizes.
64797 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64799         * wcsmbs/Makefile (strop-tests): Add wcschr.
64800         * wcsmbs/test-wcschr.c: New file.
64801         * string/test-strchr.c: Update.
64802         Add wcschr support.
64803         (WIDE): New macro.
64805 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64807         * wcsmbs/Makefile (strop-tests): Add wcslen.
64808         * wcsmbs/test-wcslen.c: New file.
64809         * string/test-strlen.c: Update.
64810         Add wcslen support.
64811         (WIDE): New macro.
64813 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64815         * po/it.po: Update from translation team.
64817 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64819         * sysdeps/x86_64/wcscmp.S: Update.
64820         Fix wrong comparison semantics.
64821         wcscmp shall use signed comparison not unsigned.
64822         Don't use substraction to avoid overflow bug.
64823         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64824         * wcsmbc/wcscmp.c: Likewise.
64825         * string/test-strcmp.c: Likewise.
64826         Add new tests to check cases with negative values.
64828 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64830         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64831         * sysdeps/x86_64/dla.h: ...here.  New file.
64832         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64837         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64838         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64840         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64842 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64844         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64845         __ynl_finite aliases.
64847 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64851         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64852         define DLA_FMA.
64853         [DLA_FMA] (EMULV): Use DLA_FMA.
64854         [DLA_FMA] (MUL12): Use EMULV.
64855         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64856         that are not needed.
64857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64862         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64863         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64865 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64867         * math/s_nan.c: Undef __nan.
64868         * math/s_nanf.c: Undef __nanf.
64869         * math/s_nanl.c: Undef __nanl.
64870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64871         "math_private.h".
64873 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64875         * math/s_catan.c: Add branch predictions.
64876         * math/s_catanf.c: Likewise.
64877         * math/s_catanh.c: Likewise.
64878         * math/s_catanhf.c: Likewise.
64879         * math/s_catanhl.c: Likewise.
64880         * math/s_catanl.c: Likewise.
64881         * math/s_cexp.c: Likewise.
64882         * math/s_cexpf.c: Likewise.
64883         * math/s_cexpl.c: Likewise.
64884         * math/s_clog.c: Likewise.
64885         * math/s_clog10.c: Likewise.
64886         * math/s_clog10f.c: Likewise.
64887         * math/s_clog10l.c: Likewise.
64888         * math/s_clogf.c: Likewise.
64889         * math/s_clogl.c: Likewise.
64890         * math/s_csqrt.c: Likewise.
64891         * math/s_csqrtf.c: Likewise.
64892         * math/s_csqrtl.c: Likewise.
64893         * math/s_ctanf.c: Likewise.
64894         * math/s_ctanh.c: Likewise.
64895         * math/s_ctanhf.c: Likewise.
64896         * math/s_ctanhl.c: Likewise.
64897         * math/s_ctanl.c: Likewise.
64899         * math/math_private.h: Define __nan, __nanf, __nanl.
64900         * math/s_cacosh.c: Include <math_private.h>.
64901         * math/s_cacoshl.c: Likewise.
64902         * math/s_casinh.c: Likewise.
64903         * math/s_casinhf.c: Likewise.
64904         * math/s_casinhl.c: Likewise.
64905         * math/s_ccos.c: Rely entire on ccosh.
64906         * math/s_ccosf.c: Rely entire on ccoshf.
64907         * math/s_ccosl.c: Rely entirely on ccoshl.
64908         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64909         Remove tests for FE_INVALID.
64910         * math/s_ccoshf.c: Likewise.
64911         * math/s_ccoshl.c: Likewise.
64912         * math/s_csin.c: Likewise.
64913         * math/s_csinf.c: Likewise.
64914         * math/s_csinh.c Likewise.
64915         * math/s_csinhf.c: Likewise.
64916         * math/s_csinhl.c: Likewise.
64917         * math/s_csinl.c: Likewise.
64918         * math/s_ctan.c: Likewise.
64919         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64920         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64921         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64923 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64926         compilation problems.
64928         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64929         __builtin_expect.
64931 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64933         * sysdeps/i386/configure.in: Test for -mfma4 option.
64934         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64935         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64936         COMMON_CPUID_INDEX_80000001.
64937         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64938         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64939         use it if FMA3 is not supported.
64940         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64942         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64943         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64945 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64947         [BZ #12892]
64948         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64949         it would create a cycle with a link time dependency.
64951 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64953         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64954         instruction.
64955         * string/Makefile (strop-tests): Add rawmemchr.
64956         * string/test-rawmemchr.c: New file.
64958         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64959         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64960         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64961         when compiling str{,n}casecmp and when AVX is available.  Hook up
64962         new optimized code in initializers.
64964 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64966         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64967         __feraiseexcept instead of feraiseexcept.
64969 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64971         * math/math_private.h: Define defaults for libc_fetestexcept and
64972         libc_feupdateenv.
64973         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64974         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64975         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64976         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64977         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64978         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64979         libc_fetestexcept and libc_feupdateenv.
64981         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64982         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64983         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64984         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64985         libc_feholdexcept_setround.
64987         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64988         Add s_nearbyint-c and s_nearbyintf-c.
64989         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64990         nearbyintf inlines.
64991         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64992         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64993         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64994         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64996         * math/math_private.h: Define defaults for libc_fegetround,
64997         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64998         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64999         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65000         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65001         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65002         standard functions.
65003         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65004         Remove comments and hacks for old compiler versions.
65005         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65006         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65007         libc_feholdexceptl.
65009 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65011         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65012         (__feraiseexcept_renamed): Add __NTH.
65013         (feraiseexcept): Add __NTH.  Rename local variables to fix
65014         namespace violations.
65016 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65018         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65020         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65022         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65023         recently added interfaces.
65024         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65026         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65027         about macro parameter expansion.
65029         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65030         __NO_MATH_INLINES is defined.  Cleanups.
65032         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65033         and __floorf is target has SSE4.1.
65034         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65035         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65036         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65037         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65039         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65040         name.
65041         (floorf): Likewise.
65043         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65045 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65047         * misc/sys/cdefs.h: Fix last change.
65049         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65050         database lookup.
65052 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65054         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65056         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65057         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65058         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65059         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65061         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65062         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65063         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65064         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65065         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65066         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65067         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65068         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65069         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65070         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65071         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65072         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65073         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65074         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65075         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65076         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65077         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65079         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65080         ceil, ceilf, floor, floorf.
65082         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65083         Perform IRELATIVE relocations last.
65085         * elf/do-rel.h: Add another parameter nrelative, replacing the
65086         local variable with the same name.  Change name of the function
65087         to end in Rel or Rela (uppercase).
65088         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65089         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65090         elf_dynamic_do_##reloc function.
65092 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65094         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65095         is sufficient, at least on modern CPUs.
65097         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65099         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65102         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65103         __expl_finite.
65104         * math/bits/math-finite.h: Add entries for exp.
65105         * math/e_expl.c: Add __*_finite alias.
65106         * sysdeps/i386/fpu/e_exp.S: Likewise.
65107         * sysdeps/i386/fpu/e_expf.S: Likewise.
65108         * sysdeps/i386/fpu/e_expl.c: Likewise.
65109         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65110         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65111         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65113         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65114         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65115         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65117         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65118         is sufficient, at least on modern CPUs.
65120         * ctype/ctype-info.c (__ctype_init): Define.
65121         * include/ctype.h (__ctype_init): Declare.
65122         (__ctype_b_loc): The variable is always initialized.
65123         (__ctype_toupper_loc): Likewise.
65124         (__ctype_tolower_loc): Likewise.
65125         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65126         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65128 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65130         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65132         * configure.in: Also look in $cxxmachine/include for C++ system
65133         headers.
65135 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65137         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65138         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65139         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65140         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65141         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65142         (USE_AS_WMEMCMP): New macro.
65143         Fixing indents.
65144         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65145         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65146         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65147         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65149         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65150         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65151         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65152         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65153         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65154         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65155         (USE_AS_WMEMCMP): New macro.
65156         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65157         * sysdeps/string/test-memcmp.c: Update.
65158         Fix simple_wmemcmp.
65159         Add new tests.
65160         * wcsmbs/wmemcmp.c: Update.
65161         (WMEMCMP): New macro.
65162         Fix overflow bug.
65164 2011-10-12  Andreas Jaeger  <aj@suse.de>
65166         [BZ #13268]
65167         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65169 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65171         * libio/iofwide.c (do_length): Avoid warning.
65173         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65175 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65177         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65179         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65180         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65181         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65182         * sysdeps/i386/i686/fpu/e_log.S: New file.
65183         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65184         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65186         * ctype/ctype.h: Add support for inlined isXXX functions when
65187         compiling C++ code.
65189 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65191         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65193         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65195 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65197         [BZ #13291]
65198         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65200 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65202         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65203         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65204         feraiseexcept.
65206         * sysdeps/x86_64/memrchr.S: Check for zero size.
65208         * string/stratcliff.c: Add memrchr tests.
65210 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65213         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65214         rawmemchr-sse2 rawmemchr-sse2-bsf.
65215         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65216         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65217         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65218         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65219         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65220         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65221         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65222         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65223         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65224         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65225         * string/memrchr.c (MEMRCHR): New macro.
65227 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65229         Add integration with gcc's -ffinite-math-only and optimize wrapper
65230         functions in libm.
65231         * Versions.def: Define GLIBC_2.15 version for libm.
65232         * math/Makefile (headers): Add bits/math-finite.h.
65233         * math/bits/math-finite.h: New file.
65234         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65235         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65236         * math/e_acoshl.c: Add __*_finite alias.
65237         * math/e_acosl.c: Likewise.
65238         * math/e_asinl.c: Likewise.
65239         * math/e_atan2l.c: Likewise.
65240         * math/e_atanhl.c: Likewise.
65241         * math/e_coshl.c: Likewise.
65242         * math/e_exp10.c: Likewise.
65243         * math/e_exp10f.c: Likewise.
65244         * math/e_exp10l.c: Likewise.
65245         * math/e_exp2l.c: Likewise.
65246         * math/e_fmodl.c: Likewise.
65247         * math/e_gammal_r.c: Likewise.
65248         * math/e_hypotl.c: Likewise.
65249         * math/e_j0l.c: Likewise.
65250         * math/e_j1l.c: Likewise.
65251         * math/e_jnl.c: Likewise.
65252         * math/e_lgammal_r.c: Likewise.
65253         * math/e_log10l.c: Likewise.
65254         * math/e_log2l.c: Likewise.
65255         * math/e_logl.c: Likewise.
65256         * math/e_powl.c: Likewise.
65257         * math/e_sinhl.c: Likewise.
65258         * math/e_sqrtl.c: Likewise.
65259         * math/e_scalb.c: Completely rewritten and optimized.
65260         * math/e_scalbf.c: Likewise.
65261         * math/e_scalbl.c: Likewise.
65262         * math/w_acos.c: Likewise.
65263         * math/w_acosf.c: Likewise.
65264         * math/w_acosl.c: Likewise.
65265         * math/w_acosh.c: Likewise.
65266         * math/w_acoshf.c: Likewise.
65267         * math/w_acoshl.c: Likewise.
65268         * math/w_asin.c: Likewise.
65269         * math/w_asinf.c: Likewise.
65270         * math/w_asinl.c: Likewise.
65271         * math/w_atan2.c: Likewise.
65272         * math/w_atan2f.c: Likewise.
65273         * math/w_atan2l.c: Likewise.
65274         * math/w_atanh.c: Likewise.
65275         * math/w_atanhf.c: Likewise.
65276         * math/w_atanhl.c: Likewise.
65277         * math/w_exp10.c: Likewise.
65278         * math/w_exp10f.c: Likewise.
65279         * math/w_exp10l.c: Likewise.
65280         * math/w_fmod.c: Likewise.
65281         * math/w_fmodf.c: Likewise.
65282         * math/w_fmodl.c: Likewise.
65283         * math/w_j0.c: Likewise.
65284         * math/w_j0f.c: Likewise.
65285         * math/w_j0l.c: Likewise.
65286         * math/w_j1.c: Likewise.
65287         * math/w_j1f.c: Likewise.
65288         * math/w_j1l.c: Likewise.
65289         * math/w_jn.c: Likewise.
65290         * math/w_jnf.c: Likewise.
65291         * math/w_log.c: Likewise.
65292         * math/w_logf.c: Likewise.
65293         * math/w_logl.c: Likewise.
65294         * math/w_log10.c: Likewise.
65295         * math/w_log10f.c: Likewise.
65296         * math/w_log10l.c: Likewise.
65297         * math/w_log2.c: Likewise.
65298         * math/w_log2f.c: Likewise.
65299         * math/w_log2l.c: Likewise.
65300         * math/w_pow.c: Likewise.
65301         * math/w_powf.c: Likewise.
65302         * math/w_powl.c: Likewise.
65303         * math/w_remainder.c: Likewise.
65304         * math/w_remainderf.c: Likewise.
65305         * math/w_remainderl.c: Likewise.
65306         * math/w_scalb.c: Likewise.
65307         * math/w_scalbf.c: Likewise.
65308         * math/w_scalbl.c: Likewise.
65309         * math/w_sqrt.c: Likewise.
65310         * math/w_sqrtf.c: Likewise.
65311         * math/w_sqrtl.c: Likewise.
65312         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65313         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65314         used.
65315         * math/math_private.h: Declare __kernel_standard_f.
65316         * math/w_cosh.c: Remove cruft and optimize a bit.
65317         * math/w_coshf.c: Likewise.
65318         * math/w_coshl.c: Likewise.
65319         * math/w_exp2.c: Likewise.
65320         * math/w_exp2f.c: Likewise.
65321         * math/w_exp2l.c: Likewise.
65322         * math/w_hypot.c: Likewise.
65323         * math/w_hypotf.c: Likewise.
65324         * math/w_hypotl.c: Likewise.
65325         * math/w_lgamma.c: Likewise.
65326         * math/w_lgamma_r.c: Likewise.
65327         * math/w_lgammaf.c: Likewise.
65328         * math/w_lgammaf_r.c: Likewise.
65329         * math/w_lgammal.c: Likewise.
65330         * math/w_lgammal_r.c: Likewise.
65331         * math/w_sinh.c: Likewise.
65332         * math/w_sinhf.c: Likewise.
65333         * math/w_sinhl.c: Likewise.
65334         * math/w_tgamma.c: Likewise.
65335         * math/w_tgammaf.c: Likewise.
65336         * math/w_tgammal.c: Likewise.
65337         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65339         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65340         Minor optimizations.  Pretty printing.  Remove cruft.
65341         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65342         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65343         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65344         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65345         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65346         * sysdeps/i386/fpu/e_asin.S: Likewise.
65347         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65348         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65349         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65350         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65351         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65352         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65353         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65354         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65355         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65356         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65357         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65358         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65359         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65360         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65361         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65362         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65363         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65364         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65365         * sysdeps/i386/fpu/e_log.S: Likewise.
65366         * sysdeps/i386/fpu/e_log10.S: Likewise.
65367         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65368         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65369         * sysdeps/i386/fpu/e_log2.S: Likewise.
65370         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65371         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65372         * sysdeps/i386/fpu/e_logf.S: Likewise.
65373         * sysdeps/i386/fpu/e_logl.S: Likewise.
65374         * sysdeps/i386/fpu/e_pow.S: Likewise.
65375         * sysdeps/i386/fpu/e_powf.S: Likewise.
65376         * sysdeps/i386/fpu/e_powl.S: Likewise.
65377         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65378         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65379         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65380         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65381         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65382         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65383         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65384         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65385         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65386         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65389         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65390         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65391         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65392         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65393         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65394         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65395         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65396         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65397         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65399         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65400         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65402         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65403         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65406         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65407         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65408         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65409         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65410         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65411         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65412         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65413         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65414         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65415         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65416         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65417         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65418         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65420         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65421         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65422         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65423         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65424         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65425         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65426         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65427         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65428         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65429         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65430         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65431         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65432         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65433         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65434         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65435         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65436         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65437         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65438         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65439         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65440         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65441         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65442         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65443         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65444         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65445         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65446         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65451         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65454         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65455         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65458         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65460         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65462         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65463         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65464         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65466         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65467         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65469         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65470         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65471         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65473         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65474         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65475         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65476         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65477         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65478         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65479         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65480         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65481         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65482         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65483         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65484         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65485         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65486         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65487         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65488         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65489         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65490         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65491         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65492         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65493         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65494         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65495         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65496         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65497         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65498         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65499         (__isnanf): Likewise.
65500         (__isinf_ns): Likewise.
65501         (__isinf_nsf): Likewise.
65502         (__finite): Likewise.
65503         (__finitef): Likewise.
65504         (__ieee754_sqrt): Define as macro.
65505         (__ieee754_sqrtf): Define as macro.
65506         (__ieee754_sqrtl): Define as macro.
65507         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65508         inlined copy.
65509         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65510         __FINITE_MATH_ONLY__ consistent.
65511         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65513 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65515         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65516         of rawmemchr.
65518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65520 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65522         * po/ja.po: Update from translation team.
65524 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65526         * locale/programs/locarchive.c (prepare_address_space): New function.
65527         (create_archive, enlarge_archive, open_archive): Use it.
65529         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65530         inside [SHARED], where it is used.
65532         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65534         * nss/getent.c (netgroup_keys): Remove unused variable.
65535         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65537 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65539         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65540         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65542         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65543         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65544         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65545         * math/Makefile (libm-calls): Add s_isinf_ns.
65546         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65547         * math/multc3.c: Likewise.
65548         * math/s_casin.c: Likewise.
65549         * math/s_casinf.c: Likewise.
65550         * math/s_casinl.c: Likewise.
65551         * math/s_ccos.c: Likewise.
65552         * math/s_ccosf.c: Likewise.
65553         * math/s_ccosl.c: Likewise.
65554         * math/s_ctan.c: Likewise.
65555         * math/s_ctanf.c: Likewise.
65556         * math/s_ctanh.c: Likewise.
65557         * math/s_ctanhf.c: Likewise.
65558         * math/s_ctanhl.c: Likewise.
65559         * math/s_ctanl.c: Likewise.
65560         * math/w_fmod.c: Likewise.
65561         * math/w_fmodf.c: Likewise.
65562         * math/w_fmodl.c: Likewise.
65563         * math/w_remainder.c: Likewise.
65564         * math/w_remainderf.c: Likewise.
65565         * math/w_remainderl.c: Likewise.
65566         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65567         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65568         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65570         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65571         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65572         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65573         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65575         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65576         of the number.
65577         * stdio-common/printf_fphex.c: Likewise.
65578         * stdio-common/printf_size.c: Likewise.
65580         * math/e_exp10.c: Include math_private.h using <...> not "...".
65581         * math/e_exp10f.c: Likewise.
65582         * math/e_exp10l.c: Likewise.
65583         * math/e_exp2l.c: Likewise.
65584         * math/e_j0l.c: Likewise.
65585         * math/e_j1l.c: Likewise.
65586         * math/e_jnl.c: Likewise.
65587         * math/e_lgammal_r.c: Likewise.
65588         * math/e_rem_pio2l.c: Likewise.
65589         * math/e_scalb.c: Likewise.
65590         * math/e_scalbf.c: Likewise.
65591         * math/e_scalbl.c: Likewise.
65592         * math/k_cosl.c: Likewise.
65593         * math/k_sinl.c: Likewise.
65594         * math/k_tanl.c: Likewise.
65595         * math/s_cacoshf.c: Likewise.
65596         * math/s_catan.c: Likewise.
65597         * math/s_catanf.c: Likewise.
65598         * math/s_catanh.c: Likewise.
65599         * math/s_catanhf.c: Likewise.
65600         * math/s_catanhl.c: Likewise.
65601         * math/s_catanl.c: Likewise.
65602         * math/s_ccosh.c: Likewise.
65603         * math/s_ccoshf.c: Likewise.
65604         * math/s_ccoshl.c: Likewise.
65605         * math/s_cexp.c: Likewise.
65606         * math/s_cexpf.c: Likewise.
65607         * math/s_cexpl.c: Likewise.
65608         * math/s_clog.c: Likewise.
65609         * math/s_clog10.c: Likewise.
65610         * math/s_clog10f.c: Likewise.
65611         * math/s_clog10l.c: Likewise.
65612         * math/s_clogf.c: Likewise.
65613         * math/s_clogl.c: Likewise.
65614         * math/s_csin.c: Likewise.
65615         * math/s_csinf.c: Likewise.
65616         * math/s_csinh.c: Likewise.
65617         * math/s_csinhf.c: Likewise.
65618         * math/s_csinhl.c: Likewise.
65619         * math/s_csinl.c: Likewise.
65620         * math/s_csqrt.c: Likewise.
65621         * math/s_csqrtf.c: Likewise.
65622         * math/s_csqrtl.c: Likewise.
65623         * math/s_ctan.c: Likewise.
65624         * math/s_ctanf.c: Likewise.
65625         * math/s_ctanh.c: Likewise.
65626         * math/s_ctanhf.c: Likewise.
65627         * math/s_ctanhl.c: Likewise.
65628         * math/s_ctanl.c: Likewise.
65629         * math/s_ldexp.c: Likewise.
65630         * math/s_ldexpf.c: Likewise.
65631         * math/s_ldexpl.c: Likewise.
65632         * math/s_significand.c: Likewise.
65633         * math/s_significandf.c: Likewise.
65634         * math/s_significandl.c: Likewise.
65635         * math/w_acos.c: Likewise.
65636         * math/w_acosf.c: Likewise.
65637         * math/w_acosh.c: Likewise.
65638         * math/w_acoshf.c: Likewise.
65639         * math/w_acoshl.c: Likewise.
65640         * math/w_acosl.c: Likewise.
65641         * math/w_asin.c: Likewise.
65642         * math/w_asinf.c: Likewise.
65643         * math/w_asinl.c: Likewise.
65644         * math/w_atan2.c: Likewise.
65645         * math/w_atan2f.c: Likewise.
65646         * math/w_atan2l.c: Likewise.
65647         * math/w_atanh.c: Likewise.
65648         * math/w_atanhf.c: Likewise.
65649         * math/w_atanhl.c: Likewise.
65650         * math/w_cosh.c: Likewise.
65651         * math/w_coshf.c: Likewise.
65652         * math/w_coshl.c: Likewise.
65653         * math/w_dremf.c: Likewise.
65654         * math/w_exp10.c: Likewise.
65655         * math/w_exp10f.c: Likewise.
65656         * math/w_exp10l.c: Likewise.
65657         * math/w_exp2.c: Likewise.
65658         * math/w_exp2f.c: Likewise.
65659         * math/w_fmod.c: Likewise.
65660         * math/w_fmodf.c: Likewise.
65661         * math/w_fmodl.c: Likewise.
65662         * math/w_hypot.c: Likewise.
65663         * math/w_hypotf.c: Likewise.
65664         * math/w_hypotl.c: Likewise.
65665         * math/w_j0.c: Likewise.
65666         * math/w_j0f.c: Likewise.
65667         * math/w_j0l.c: Likewise.
65668         * math/w_j1.c: Likewise.
65669         * math/w_j1f.c: Likewise.
65670         * math/w_j1l.c: Likewise.
65671         * math/w_jn.c: Likewise.
65672         * math/w_jnf.c: Likewise.
65673         * math/w_jnl.c: Likewise.
65674         * math/w_lgamma.c: Likewise.
65675         * math/w_lgamma_r.c: Likewise.
65676         * math/w_lgammaf.c: Likewise.
65677         * math/w_lgammaf_r.c: Likewise.
65678         * math/w_lgammal.c: Likewise.
65679         * math/w_lgammal_r.c: Likewise.
65680         * math/w_log.c: Likewise.
65681         * math/w_log10.c: Likewise.
65682         * math/w_log10f.c: Likewise.
65683         * math/w_log10l.c: Likewise.
65684         * math/w_log2.c: Likewise.
65685         * math/w_log2f.c: Likewise.
65686         * math/w_log2l.c: Likewise.
65687         * math/w_logf.c: Likewise.
65688         * math/w_logl.c: Likewise.
65689         * math/w_pow.c: Likewise.
65690         * math/w_powf.c: Likewise.
65691         * math/w_powl.c: Likewise.
65692         * math/w_remainder.c: Likewise.
65693         * math/w_remainderf.c: Likewise.
65694         * math/w_remainderl.c: Likewise.
65695         * math/w_scalb.c: Likewise.
65696         * math/w_scalbf.c: Likewise.
65697         * math/w_scalbl.c: Likewise.
65698         * math/w_sinh.c: Likewise.
65699         * math/w_sinhf.c: Likewise.
65700         * math/w_sinhl.c: Likewise.
65701         * math/w_sqrt.c: Likewise.
65702         * math/w_sqrtf.c: Likewise.
65703         * math/w_sqrtl.c: Likewise.
65704         * math/w_tgamma.c: Likewise.
65705         * math/w_tgammaf.c: Likewise.
65706         * math/w_tgammal.c: Likewise.
65708         * po/ja.po: Update from translation team.
65710 2011-09-29  Andreas Jaeger  <aj@suse.de>
65712         [BZ #13179]
65713         * sunrpc/netname.c (netname2host): Fix logic.
65715         [BZ #6779]
65716         [BZ #6783]
65717         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65718         correctly.
65719         * math/w_remainder.c (__remainder): Likewise.
65720         * math/w_remainderf.c (__remainderf): Likewise.
65721         * math/libm-test.inc (remainder_test): Add test cases.
65723 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65725         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65726         sdiv_qrnnd.
65728 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65730         * string/test-memcmp.c: Avoid unncessary #defines.
65731         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65733 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65735         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65736         Use new sse2 version for core i3 - i7 as it's faster
65737         than sse42 version.
65738         (bit_Prefer_PMINUB_for_stringop): New.
65739         * sysdeps/x86_64/rawmemchr.S: Update.
65740         Replace with faster SSE2 version.
65741         * sysdeps/x86_64/memrchr.S: New file.
65742         * sysdeps/x86_64/memchr.S: Update.
65743         Replace with faster SSE2 version.
65745 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65747         * elf/dl-load.c (lose): Add cast to avoid warning.
65749 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65751         * po/ca.po: Update from translation team.
65753         * inet/getnetgrent_r.c: Hook up nscd.
65754         * nscd/Makefile (routines): Add nscd_netgroup.
65755         (nscd-modules): Add netgroupcache.
65756         (CFLAGS-netgroupcache.c): Define.
65757         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65758         (cache_search): Add const to second parameter.
65759         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65760         INNETGR.
65761         (dbs): Add netgrdb entry.
65762         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65763         (verify_persistent_db): Handle netgrdb.
65764         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65765         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65766         GETFDNETGR.
65767         (netgroup_response_header): Define.
65768         (innetgroup_response_header): Define.
65769         (datahead): Add netgroup_response_header and innetgroup_response_header
65770         elements.
65771         * nscd/nscd.conf: Add entries for netgroup cache.
65772         * nscd/nscd.h (dbtype): Add netgrdb.
65773         (_PATH_NSCD_NETGROUP_DB): Define.
65774         (netgroup_iov_disabled): Declare.
65775         (xmalloc, xcalloc, xrealloc): Move declarations here.
65776         (cache_search): Adjust prototype.
65777         Add netgroup-related prototypes.
65778         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65779         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65780         (__nscd_innetgr): Declare.
65781         * nscd/selinux.c (perms): Use access_vector_t as element type and
65782         add netgroup-related initializers.
65783         * nscd/netgroupcache.c: New file.
65784         * nscd/nscd_netgroup.c: New file.
65785         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65786         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65787         For four parameters use innetgr.
65788         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65789         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65790         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65791         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65793         * nscd/connections.c (register_traced_file): Don't register file
65794         for disabled databases.
65796 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65798         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65800         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65801         from tree and freeing node.
65803 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65805         * nss/nsswitch.c (__nss_database_lookup): Handle
65806         nss_parse_service_list out of memory case.
65808 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65810         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65811         out of memory case.
65813 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65815         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65816         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65817         pass it down.
65818         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65819         elf_machine_rela, elf_machine_lazy_rel.
65820         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65821         (ELF_DYNAMIC_DO_REL): Likewise.
65822         (ELF_DYNAMIC_DO_RELA): Likewise.
65823         (ELF_DYNAMIC_RELOCATE): Likewise.
65824         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65825         to ELF_DYNAMIC_DO_REL.
65826         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65827         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65828         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65829         elf_machine_rela.
65830         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65831         skip_ifunc, don't call ifunc function if non-zero.
65832         (elf_machine_rela): Likewise.
65833         (elf_machine_lazy_rel): Likewise.
65834         (elf_machine_lazy_rela): Likewise.
65835         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65836         (elf_machine_lazy_rel): Likewise.
65837         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65838         Likewise.
65839         (elf_machine_lazy_rel): Likewise.
65840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65841         Likewise.
65842         (elf_machine_lazy_rel): Likewise.
65843         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65844         (elf_machine_lazy_rel): Likewise.
65845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65846         (elf_machine_lazy_rel): Likewise.
65847         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65848         (elf_machine_lazy_rel): Likewise.
65849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65850         (elf_machine_lazy_rel): Likewise.
65851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65852         (elf_machine_lazy_rel): Likewise.
65853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65854         (elf_machine_lazy_rel): Likewise.
65856 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65858         * nss/nss_files/files-init.c (_nss_files_init): Use static
65859         initialization for all the *_traced_file variables.
65861 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65863         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65865 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65867         [BZ #13226]
65868         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65870 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65872         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65873         Reread the line before reparsing it.
65875 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65877         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65879 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65880             Maxim Kuvyrkov  <maxim@codesourcery.com>
65881             Joseph Myers  <joseph@codesourcery.com>
65883         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65884         if needed for __stack_chk_guard.
65886 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65888         * sysdeps/posix/spawni.c (script_execute): Always define it.
65889         It will be optimized away if unused.
65890         (maybe_script_execute): New function.
65891         (__spawni): Call it.
65893         * Makerules: Don't include tls.make.
65894         (config-tls): Always set to thread.
65895         * tls.make.c: File removed.
65897 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65899         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65900         * config.make.in (CPPFLAGS-config): New substituted variable.
65902 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65904         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65906         [BZ #13192]
65907         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65908         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65910 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65912         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65913         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65914         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65915         (CALL_FAIL): Likewise.
65916         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65917         (CALL_FAIL): Macro removed.
65918         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65920 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65922         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65923         for __FINITE_MATH_ONLY__ == 1.
65925 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65927         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65928         __ieee754_sqrt instead of sqrt.
65929         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65930         __ieee754_sqrtf instead of sqrtf.
65931         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65932         __floorf instead of floorf.
65933         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65934         __floorf, __truncf instead of floorf, truncf.
65936 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65938         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65940         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65941         __extern_always_inline.
65942         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65943         32-bit.
65945 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65947         * elf/rtld.c (dl_main): Also relocate in dependency order when
65948         doing symbol dependency testing.
65950 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65953         Always define `refsym'.
65955 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65957         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65958         (__FD_ELT): Renamed from __FDELT.
65959         * misc/bits/select2.h (__FD_ELT): Likewise.
65960         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65961         __FD_MASK instead of __FDELT, __FDMASK.
65962         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65963         Likewise.
65964         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65965         Likewise.
65967         * elf/Makefile (gen-ldd): Fix pattern.
65969         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65970         (init_tls): Likewise.
65972 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65974         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65976 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65978         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65979         `struct cmsghdr *' instead of `void *'.
65980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65981         Likewise.
65983 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65985         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65986         if non-absolute.
65987         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65988         ldd_rewrite_script.
65990 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65992         * configure.in: Remove --with-tls option.
65993         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65994         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65995         out in case it is missing.
65996         * sysdeps/ia64/elf/configure.in: Likewise.
65997         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65998         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65999         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66000         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66001         * sysdeps/sh/elf/configure.in: Likewise.
66002         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66003         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66004         * sysdeps/x86_64/elf/configure.in: Likewise.
66005         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66006         * sysdeps/mach/hurd/tls.h: Likewise.
66008         [BZ #13067]
66009         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66011         [BZ #13090]
66012         * configure.in: Fix use of AC_INIT.
66014         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66016 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66018         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66019         __set_errno.
66020         * malloc/hooks.c: Likewise.
66022         [BZ #11929]
66023         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66024         variables statically.
66025         (narenas): Initialize.
66026         (list_lock): Initialize.
66027         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66028         initializtion of main_arena and list_lock.  Small cleanups.
66029         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66030         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66031         Add initializers to main_arena and mp_.
66032         (malloc_state): Remove pagesize member.  Change all users to use
66033         GLRO(dl_pagesize).
66035         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66036         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66037         is always initialized.
66039         * malloc/malloc.c: Removed unused configurations and dead code.
66040         * malloc/arena.c: Likewise.
66041         * malloc/hooks.c: Likewise.
66042         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66044         * include/tls.h: Removed.  USE___THREAD must always be defined.
66045         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66046         * elf/dl-libc.c: Likewise.
66047         * elf/dl-tsd.c: Likewise.
66048         * include/errno.h: Likewise.
66049         * include/netdb.h: Likewise.
66050         * include/resolv.h: Likewise.
66051         * inet/herrno-loc.c: Likewise.
66052         * inet/herrno.c: Likewise.
66053         * malloc/arena.c: Likewise.
66054         * malloc/hooks.c: Likewise.
66055         * malloc/malloc.c: Likewise.
66056         * resolv/res-state.c: Likewise.
66057         * resolv/res_libc.c: Likewise.
66058         * sysdeps/i386/dl-machine.h: Likewise.
66059         * sysdeps/ia64/dl-machine.h: Likewise.
66060         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66061         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66062         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66063         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66064         * sysdeps/sh/dl-machine.h: Likewise.
66065         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66066         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66067         * sysdeps/unix/i386/sysdep.S: Likewise.
66068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66069         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66074         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66075         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66078         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66079         * sysdeps/x86_64/dl-machine.h: Likewise.
66080         * tls.make.c: Likewise.
66082         * configure.in: Remove --with-__thread option.  Make tests for
66083         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66084         tls_model attribute fail if no support is available.  Remove
66085         USE_IN_LIBIO.
66086         * Makeconfig: Adjust for dropped configure option.  All features are
66087         now mandatory.
66088         * Makerules: Likewise.
66089         * Versions.def: Likewise.
66090         * argp/argp-fmtstream.c: Likewise.
66091         * argp/argp-fmtstream.h: Likewise.
66092         * argp/argp-help.c: Likewise.
66093         * assert/assert.c: Likewise.
66094         * config.h.in: Likewise.
66095         * config.make.in: Likewise.
66096         * configure: Likewise.
66097         * configure.in: Likewise.
66098         * csu/Versions: Likewise.
66099         * csu/init.c: Likewise.
66100         * elf/tst-audit2.c: Likewise.
66101         * elf/tst-tls10.c: Likewise.
66102         * elf/tst-tls10.h: Likewise.
66103         * elf/tst-tls11.c: Likewise.
66104         * elf/tst-tls12.c: Likewise.
66105         * elf/tst-tls14.c: Likewise.
66106         * elf/tst-tlsmod11.c: Likewise.
66107         * elf/tst-tlsmod12.c: Likewise.
66108         * elf/tst-tlsmod13.c: Likewise.
66109         * elf/tst-tlsmod13a.c: Likewise.
66110         * elf/tst-tlsmod14a.c: Likewise.
66111         * elf/tst-tlsmod15b.c: Likewise.
66112         * elf/tst-tlsmod16a.c: Likewise.
66113         * elf/tst-tlsmod16b.c: Likewise.
66114         * elf/tst-tlsmod7.c: Likewise.
66115         * elf/tst-tlsmod8.c: Likewise.
66116         * elf/tst-tlsmod9.c: Likewise.
66117         * gmon/gmon.c: Likewise.
66118         * grp/fgetgrent_r.c: Likewise.
66119         * grp/putgrent.c: Likewise.
66120         * hurd/fopenport.c: Likewise.
66121         * include/libc-symbols.h: Likewise.
66122         * include/tls.h: Likewise.
66123         * intl/gettextP.h: Likewise.
66124         * intl/loadinfo.h: Likewise.
66125         * locale/global-locale.c: Likewise.
66126         * locale/localeinfo.h: Likewise.
66127         * mach/devstream.c: Likewise.
66128         * malloc/arena.c: Likewise.
66129         * malloc/set-freeres.c: Likewise.
66130         * misc/err.c: Likewise.
66131         * misc/getttyent.c: Likewise.
66132         * misc/mntent_r.c: Likewise.
66133         * posix/getopt.c: Likewise.
66134         * posix/wordexp.c: Likewise.
66135         * pwd/fgetpwent_r.c: Likewise.
66136         * resolv/Versions: Likewise.
66137         * resolv/res_hconf.c: Likewise.
66138         * shadow/fgetspent_r.c: Likewise.
66139         * shadow/putspent.c: Likewise.
66140         * stdio-common/printf_fphex.c: Likewise.
66141         * stdio-common/tmpfile.c: Likewise.
66142         * stdlib/abort.c: Likewise.
66143         * stdlib/fmtmsg.c: Likewise.
66144         * sunrpc/auth_unix.c: Likewise.
66145         * sunrpc/clnt_perr.c: Likewise.
66146         * sunrpc/clnt_tcp.c: Likewise.
66147         * sunrpc/clnt_udp.c: Likewise.
66148         * sunrpc/clnt_unix.c: Likewise.
66149         * sunrpc/openchild.c: Likewise.
66150         * sunrpc/svc_simple.c: Likewise.
66151         * sunrpc/svc_tcp.c: Likewise.
66152         * sunrpc/svc_udp.c: Likewise.
66153         * sunrpc/svc_unix.c: Likewise.
66154         * sunrpc/xdr.c: Likewise.
66155         * sunrpc/xdr_array.c: Likewise.
66156         * sunrpc/xdr_rec.c: Likewise.
66157         * sunrpc/xdr_ref.c: Likewise.
66158         * sunrpc/xdr_stdio.c: Likewise.
66160 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66162         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66164 2011-07-03  Andreas Jaeger  <aj@suse.de>
66166         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66167         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66168         regenerate with gen-libm-tests.pl.
66170 2010-05-12  Petr Baudis  <pasky@suse.cz>
66172         [BZ #11589]
66173         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66174         around j0() zero points by switching to j1().
66175         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66182         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66183         instead of 0.
66184         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66185         instead of 0.
66186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66187         Patch in part by Pavel Roskin <proski@gnu.org>.
66189         [BZ #13138]
66190         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66191         realloc.
66192         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66193         Free memory block if necessary.
66195         [BZ #12847]
66196         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66197         be NULL.  Don't lock in this case.
66199 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66201         * elf/elf.h (ELFOSABI_GNU): New macro.
66202         (ELFOSABI_LINUX): Define to that.
66204 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66206         * string/strncat.c (strncat): Undef the symbol in case it has been
66207         defined in bits/string.h.
66209 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66211         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66213         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66214         link map.
66216 2011-08-17  Andreas Jaeger  <aj@suse.de>
66218         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66220 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66221             Ian Lance Taylor  <iant@google.com>
66223         * math/libm-test.inc (lround_test): New testcase.
66224         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66226 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66228         * Makefile: Remove support for automatic cvs check-ins.
66229         * Makerules: Likewise.
66230         * config.make.in: Likewise.
66231         * configure.in: Likewise.
66232         * intl/Makefile: Likewise.
66233         * locale/Makefile: Likewise.
66234         * po/Makefile: Likewise.
66235         * posix/Makefile: Likewise.
66236         * sysdeps/gnu/Makefile: Likewise.
66237         * sysdeps/mach/hurd/Makefile: Likewise.
66238         * sysdeps/sparc/sparc32/Makefile: Likewise.
66240         [BZ #13118]
66241         * posix/Makefile (bug-regex32-ENV): Define.
66242         Patch by John Stanley <jpsinthemix@verizon.net>.
66244         * misc/Makefile (headers): Add bits/select2.h.
66245         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66246         * misc/bits/select2.h: New file.
66247         * include/bits/select2.h: New file.
66248         * debug/Makefile (routines): Add fdelt_chk.
66249         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66250         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66251         FD_ISSET.
66252         * debug/fdelt_chk.c: New file.
66254         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66255         * wcsmbs/test-wmemcmp.c: Likewise.
66256         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66257         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66259 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66261         * string/Makefile (strop-tests): Add memcmp.
66262         * string/test-wmemcmp.c: New file.
66263         * string/test-memcmp.c: Add wmemcmp support.
66265 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66267         [BZ #13153]
66268         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66269         2011-07-19 change.
66271         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66272         garbage value in a __mach_port_mod_refs call in the cases of the
66273         task-self and thread-self ports.
66275 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66277         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66279 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66281         * elf/dl-load.c (lose): Check for non-null L.
66283 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66285         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66287         * elf/dl-libc.c (dlerror_run): Pass back error code from
66288         dl_catch_error.
66290         [BZ #13123]
66291         * elf/dl-load.c (lose): Free l_origin if it is valid.
66293         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66294         names.
66295         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66298         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66299         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66300         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66302 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66304         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66305         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66306         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66307         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66308         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66309         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66310         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66311         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66312         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66313         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66315 2011-08-15  Alan Modra  <amodra@gmail.com>
66317         [BZ #13092]
66318         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66319         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66320         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66321         ppc_mcount to static-only-routines.
66322         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66323         __mcount_internal.
66324         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66325         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66327 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66329         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66330         for finite and infinity parameters.
66332 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66335         and add nop instructions for throughput optimization.
66336         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66338 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66340         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66341         aligned copy for power7 with vector-scalar instructions.
66342         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66344 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66347         AVX check.
66349 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66351         [BZ #13144]
66352         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66353         last change.
66355 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66357         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66358         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66359         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66360         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66361         clock_gettime.
66363 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66365         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66366         Forgot to demangle the pointer.
66368         * sysdeps/i386/sysdep.h: Define atom_text_section.
66369         * sysdeps/x86_64/sysdep.h: Likewise.
66370         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66371         section with atom_text_section.
66372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66373         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66374         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66375         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66376         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66378         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66379         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66380         already be defined.  Change to take two parameters and don't assign
66381         result to variable.  Adjust all users.
66382         Define INTERNAL_GETTIME if not already defined.
66383         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66384         call.
66385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66386         HAVE_CLOCK_GETTIME_VSYSCALL.
66387         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66390         gettimeofday vsyscall, just use time.
66392 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66394         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66395         <errno.h>.
66397 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66399         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66400         syscall on x86-64.
66401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66402         syscall.
66403         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66405         syscall if possible.
66407 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66409         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66410         e_ident.  Don't pass to find_mapsXX.
66411         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66413 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66416         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66417         * sysdeps/x86_64/multiarch/strchr.S: Update.
66418         Check bit_slow_BSF bit.
66419         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66420         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66421         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66423 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66425         [BZ #13134]
66426         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66427         before glibc 2.15.
66428         (tryshell): Define.
66429         (__spawni): Change last parameter to be flag.  Test
66430         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66431         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66432         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66433         * posix/spawni.c: Likewise.
66434         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66435         * posix/spawnp.c: Likewise.  Change normal version to use
66436         SPAWN_XFLAGS_USE_PATH.
66437         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66438         SPAWN_XFLAGS_TRY_SHELL.
66440         [BZ #13150]
66441         * posix/glob.h: Remove gcc 1.x support.
66443         [BZ #13068]
66444         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66446 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66449         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66450         strrchr-sse2-bsf
66451         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66452         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66453         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66454         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66455         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66456         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66458 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66460         * sysdeps/x86_64/wcscmp.S: New file.
66462         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66463         wcscmp-c wcscmp-sse2
66464         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66465         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66466         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66467         * wcsmbs/wcscmp.c: Allow renaming.
66469 2011-09-05  David S. Miller  <davem@davemloft.net>
66471         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66472         stack slot, rather than the struct return pointer slot.
66473         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66474         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66476         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66478 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66480         * po/ja.po: Update from translation team.
66482         [BZ #13144]
66483         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66484         kernel in 64-bit binaries.
66486 2011-09-01  David S. Miller  <davem@davemloft.net>
66488         * elf/elf.h (HWCAP_SPARC_*): Move to..
66489         * sysdeps/sparc/sysdep.h: this new file and add new values.
66490         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66491         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66492         _DL_HWCAP_COUNT to 24.
66493         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66494         entries.
66495         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66496         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66497         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66498         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66499         instead of magic constants.
66500         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66502 2011-08-31  David S. Miller  <davem@davemloft.net>
66504         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66506         Reimplement to do errno handling inline.
66507         (SYSCALL_ERROR_HANDLER): New macro.
66508         (__SYSCALL_STRING): Do not do errno handling in asm.
66509         (__CLONE_SYSCALL_STRING): Delete.
66510         (__INTERNAL_SYSCALL_STRING): Delete.
66511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66512         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66513         (PSEUDO): Reimplement to do errno handling inline.
66514         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66515         (SYSCALL_ERROR_HANDLER): New macro.
66516         (__SYSCALL_STRING): Do not do errno handling in asm.
66517         (__CLONE_SYSCALL_STRING): Delete.
66518         (__INTERNAL_SYSCALL_STRING): Delete.
66519         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66520         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66521         i386.
66522         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66523         (inline_syscall*): Add 'err' argument.
66524         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66525         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66526         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66527         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66529         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66530         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66532 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66534         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66536 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66538         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66539         directive.
66541 2011-08-24  David S. Miller  <davem@davemloft.net>
66543         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66545 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66547         * elf/Makefile: Add rules to build and run unload8 test.
66548         * elf/unload8.c: New file.
66549         * elf/unload8mod1.c: New file.
66550         * elf/unload8mod1x.c: New file.
66551         * elf/unload8mod2.c: New file.
66552         * elf/unload8mod3.c: New file.
66554         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66555         it wasn't used.
66557 2011-08-23  David S. Miller  <davem@davemloft.net>
66559         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66560         subtract stack bias.
66561         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66562         %sp not %fp in calculations.
66563         (_JMPBUF_UNWINDS_ADJ): Likewise.
66565         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66566         (aio_suspend): Call it to force an exception region around the
66567         AIO_MISC_WAIT() invocation.
66569 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66571         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66572         backslash.
66574 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66576         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66577         protection macro.
66578         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66579         and <dl-machine.h>.
66580         (Elf64_FuncDesc): Remove.
66582 2011-08-22  David S. Miller  <davem@davemloft.net>
66584         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66585         sigaltstack check, add missing cfi directives.
66586         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66587         missing cfi directives, and sigaltstack handling.
66589 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66591         [BZ #11724]
66592         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66593         object is seen twice.
66594         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66596         * elf/Makefile (distribute): Add tst-initorder2.c.
66597         (tests): Add tst-initorder2.
66598         (modules-names): Add tst-initorder2a tst-initorder2b
66599         tst-initorder2c tst-initorder2d.  Add rules to build them.
66600         ($(objpfx)tst-initorder2.out): New rule.
66601         * elf/tst-initorder2.c: New file.
66602         * elf/tst-initorder2.exp: New file.
66604 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66606         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66608         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66609         dependencies back to end of function.
66611         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66612         $(elfobjdir)/ld.so.
66614 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66616         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66617         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66618         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66619         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66620         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66621         of __vdso_gettimeofday.
66622         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66623         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66624         attribute_hidden.
66625         (_libc_vdso_platform_setup): Remove initialization of
66626         __vdso_gettimeofday and __vdso_time.
66628 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66630         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66631         and fgetc_unlocked.
66632         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66633         getc_unlocked.
66635         * elf/dl-open.c (add_to_global): Report additions to the global scope
66636         for LD_DEBUG=scopes.
66637         (dl_open_worker): Also print scope of newly loaded dependencies.
66638         (_dl_show_scope): Indicate if there is no scope.
66640         [BZ #13114]
66641         * stdio-common/Makefile (tests): Add bug24.
66642         * stdio-common/bug24.c: New file.
66644 2011-08-19  Andreas Jaeger  <aj@suse.de>
66646         [BZ #13114]
66647         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66648         non-existant file when using close-on-exec mode.
66650 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66653         the very first instruction.
66655         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66656         the CFI state in the end.
66657         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66658         inclusion of dl-trampoline.h.
66659         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66661 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66663         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66664         expectations for long double.
66666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66667         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66669 2011-08-14  David S. Miller  <davem@davemloft.net>
66671         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66672         artificual limit depends upon the system page size.
66674 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66676         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66677         * resolv/Makefile: Define CFLAGS-libresolv.
66679 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66681         * nss/makedb.c (compute_tables): Make variables used in nested
66682         function static.
66684 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66686         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66687         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66688         if buffer was too small.
66690         * elf/pldd.c (main): Attach to all threads in the process.
66691         Rewrite /proc handling to use *at functions.
66693 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66695         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66696         specifies first scope to show.
66697         (dl_open_worker): Update callers.  Move printing scope of new
66698         object to before the relocation.
66699         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66700         * sysdeps/generic/ldsodefs.h: Update declaration.
66702         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66703         string for the scope number.
66705 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66707         * nscd/servicescache.c (cache_addserv): Make sure written is always
66708         initialized.
66710 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66712         * sysdeps/i386/i486/bits/atomic.h
66713         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66714         statement expression, so as to suppress "set but not used" warning.
66715         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66717         * string/strncat.c (STRNCAT): Use prototype definition.
66719         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66720         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66721         -Iprograms here.
66722         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66723         (localedef-modules): Add localedef.
66724         (locale-modules): Add locale.
66726         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66727         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66728         to avoid a warning.
66730 2011-08-14  David S. Miller  <davem@davemloft.net>
66732         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66733         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66735 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66737         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66738         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66739         * elf/rtld.c (dl_main): Set l_name of vDSO.
66740         Call _dl_show_scope when DL_DEBUG_SCOPES.
66741         (process_dl_debug): Recognize scopes flag and also set it for all.
66742         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66743         Declare _dl_show_scope.
66745         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66746         (do_dlopen): Pass caller_dlopen to dl_open.
66747         (__libc_dlopen_mode): Initialize caller_dlopen.
66749         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66750         of libc.  Make tolower call locale-independent.  Optimize a bit by
66751         using isdigit instead of isalnum.
66752         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66754 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66756         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66757         was a dependency or dynamically loaded.
66759 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66761         * intl/l10nflist.c: Allow architecture-specific pop function.
66762         * sysdeps/x86_64/l10nflist.c: New file.
66764         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66765         classification.
66767 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66769         * include/dirent.h: Add libc_hidden_proto for scandirat and
66770         scandirat64.  Don't declare __scandirat64.
66771         * dirent/scandirat.c: Add libc_hidden_def.
66772         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66773         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66775 2011-08-10  David S. Miller  <davem@davemloft.net>
66777         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66778         enum.
66779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66780         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66781         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66783 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66785         * Versions.def [libc]: Add GLIBC_2.15.
66786         * dirent/Makefile (routines): Add scandirat and scandirat64.
66787         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66788         GLIBC_2.15.
66789         * dirent/dirent.h: Declare scandirat and scandirat64.
66790         * dirent/scandirat.c: New file.
66791         * dirent/scandirat64.c: New file.
66792         * sysdeps/wordsize-64/scandirat.c: New file.
66793         * sysdeps/wordsize-64/scandirat64.c: New file.
66794         * dirent/opendir.c: Define opendirat.
66795         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66796         using scandirat.
66797         * dirent/scandir64.c: Adjust for scandir.c change.
66798         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66799         __scandirat64, and __scandir_cancel_handler.
66800         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66801         additional parameter and use openat instead of open (outside of ld.so).
66802         Add new __opendir as wrapper around __opendirat.
66803         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66804         here without requiring old scandirat implementation.
66806 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66808         * dirent/scandir.c (cancel_handler): Renamed to
66809         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66810         defined.  Adjust users.
66811         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66812         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66814 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66816         * string/test-string.h (IMPL): Use __STRING to expand name and then
66817         stringify it.
66819         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66820         of cleanups.
66822 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66824         * string/Makefile: Update.
66825         (strop-tests): Append strncat.
66826         * string/test-wcscmp.c: New file.
66827         New comprehensive test for wcscmp.
66828         * string/test-strcmp.c: Update.
66829         (WIDE): New define.
66831 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66833         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66834         line.
66836 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66839         encoding to ACE if AI_IDN.
66841 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66844         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66846 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66848         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66849         Fix overflow bug in strncat.
66850         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66852         * string/test-strncat.c: Update.
66853         Add new tests for checking overflow bugs.
66855 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66858         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66859         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66860         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66862         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66863         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66864         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66865         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66868         (USE_AS_STRCAT): Define.
66869         Add strcat and strncat support.
66870         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66872 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66874         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66875         __n bigger than INT_MAX+1.
66876         (__strncmp_g): Likewise.
66878 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66880         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66881         * libio/stido.h: Likewise.
66883         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66884         (AF_NFC): Define.
66885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66886         (AF_NFC): Define.
66888         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66894         [BZ #13021]
66895         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66896         installed.
66898         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66899         typo.
66900         (_dl_x86_64_save_sse): Likewise.
66902 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66905         OSXSAVE.
66906         (_dl_x86_64_save_sse): Likewise.
66908         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66910         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66912 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66915         change.
66916         (_dl_x86_64_save_sse): Use correct AVX check.
66918 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66921         bug in strncpy/strncat.
66922         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66924 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66926         * string/tester.c (test_strcat): Add tests for different alignments
66927         of source and destination.
66928         (test_strncat): Likewise.
66930 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66932         [BZ #12852]
66933         * posix/glob.c (glob): Check passed in values before using them in
66934         expressions to avoid some overflows.
66935         (glob_in_dir): Likewise.
66937         [BZ #13007]
66938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66939         check for AVX enablement so that we don't crash with old kernels and
66940         new hardware.
66941         * elf/tst-audit4.c: Add same checks here.
66942         * elf/tst-audit6.c: Likewise.
66944         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66946 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66948         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66950 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66952         * po/cs.po: Update from translation team.
66953         * po/bg.po: Likewise.
66955 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66957         * misc/sys/cdefs.h: Add support for const attribute.
66958         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66959         to gnu_dev_{major,minor,makedev} functions.
66961 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66963         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66965 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66967         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66968         strlen results.
66970 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66973         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66974         register in order to avoid conflicts with the soft frame pointer
66975         being held in r11 when necessary.
66976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66977         (INTERNAL_VSYSCALL_NCS): Likewise.
66979 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66981         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66982         * elf/dl-fini.c (_dl_fini): Adjust caller.
66983         * elf/dl-close.c (_dl_close_worker): Likewise.
66984         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66986 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66988         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66989         "aux_cache->nlibs < 0".
66991         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66992         in the reload-count case.
66994 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66997         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66998         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66999         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67000         * sysdeps/x86_64/multiarch/strcat.S: New file.
67001         * sysdeps/x86_64/multiarch/strncat.S: New file.
67002         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67003         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67004         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67005         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67006         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67007         (USE_AS_STRCAT): Define.
67008         Add strcat and strncat support.
67009         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67011         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67012         * string/strncat.c: Update.
67013         (USE_AS_STRNCAT): Define.
67014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67015         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67016         and i7.
67017         * sysdeps/x86_64/multiarch/init-arch.h
67018         (bit_Prefer_PMINUB_for_stringop): New.
67019         (index_Prefer_PMINUB_for_stringop): Likewise.
67020         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67021         bit_Prefer_PMINUB_for_stringop.
67023 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67025         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67026         buffer64.
67027         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67028         of casting of buffer.
67029         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67030         buffer32 and buffer64.
67031         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67032         writes instead of casting of buffer.
67033         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67034         buffer32.
67035         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67036         casting of buffer.
67038 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67040         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67042 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67044         * nscd/nscd.c (termination_handler): Don't do anything for a database
67045         if it has not yet been initialized.
67047 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67049         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67051 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67053         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67055 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67057         * po/nl.po: Update from translation team.
67058         * po/sv.po: Likewise.
67060 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67062         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67063         now disallowed by GCC.
67065         * configure.in (use-default-link): Default to yes if a test -shared
67066         link meets our qualifications.
67067         * configure: Regenerated.
67069         * config.make.in (output-format): New variable.
67070         * configure.in: Check for ld --print-output-format support.
67071         * configure: Regenerated.
67072         * Makerules ($(common-objpfx)format.lds)
67073         [$(output-format) != unknown]: Just use $(output-format),
67074         instead of the linker-script munging.
67076 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67078         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67079         of $(common-objpfx)shlib.lds.
67080         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67082         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67083         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67085         * configure.in (-z relro check): Adjust test code to add a large
67086         writable data section after it.
67087         * configure: Regenerated.
67089 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67091         * configure.in (-z relro check): Fix test code to make the variable
67092         truly const.
67093         * configure: Regenerated.
67095 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67097         * nscd/nscd.h (struct traced_file): Define.
67098         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67099         elements.  Add traced_files.
67100         (inotify_fd): Declare.
67101         (register_traced_file): Declare.
67102         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67103         (inotify_fd): Export.
67104         (resolv_conf_descr): Remove.
67105         (nscd_init): Move inotify descriptor creation to main.
67106         Don't register files for notification here.
67107         (register_traced_file): New function.
67108         (invalidate_cache): Don't use reset_res to determine whether to call
67109         res_init, go through the list of registered files.
67110         (main_loop_poll): The inotify descriptors are now stored in the
67111         structures for the traced files.
67112         (main_loop_epoll): Likewise
67113         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67114         to __nss_disable_nscd.
67115         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67116         for a database anymore.  Check the records for all the registered
67117         files instead.
67118         * nss/Makefile (libnss_files-routines): Add files-init.
67119         (libnss_db-routines): Add db-init.
67120         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67121         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67122         * nss/nss_db/db-init.c: New file.
67123         * nss/nss_files/files-init.c: New file.
67124         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67125         __nss_lookup_function.
67126         (__nss_lookup_function): Call nss_load_library.
67127         (nss_load_all_libraries): New function.
67128         (__nss_disable_nscd): Take parameter with callback function for files
67129         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67130         used for the cached services.
67131         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67132         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67133         options for features to all the files in nscd.
67135         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67137 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67139         * csu/elf-init.c (__libc_csu_init): Comment typo.
67141 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67143         * po/pl.po: Update from translation team.
67144         * po/ja.po: Likewise.
67145         * po/ru.po: Likewise.
67146         * po/ko.po: Likewise.
67147         * po/fr.po: Likewise.
67149 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67151         * configure.in (.ctors/.dtors header and trailer check):
67152         Use an empirical test on a built program.
67153         * configure: Regenerated.
67155         * configure.in (-z relro check): Use an empirical test on a built DSO.
67156         Detect, but do not require, on ia64.
67157         * configure: Regenerated.
67159         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67160         Update tests that use readelf to use $READELF instead.
67161         * configure: Regenerated.
67163 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67165         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67166         if the result is not used.
67168 2011-07-05  Andreas Jaeger  <aj@suse.de>
67170         [BZ#9696]
67171         * stdlib/tst-strtod.c: Add testcase.
67173 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67175         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67176         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67177         The latter has a higher limit.  Take additional parameter to pass to
67178         the new function.
67179         (__pathconf): Pass file to __statfs_link_max.
67180         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67181         __statfs_link_max.
67182         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67183         __statfs_link_max.
67185         [BZ #12868]
67186         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67187         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67188         Handle Lustre.
67189         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67190         (__statfs_filesize_max): Likewise.
67191         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67193 2011-07-05  Andreas Jaeger  <aj@suse.de>
67195         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67197 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67199         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67200         `status' variable.
67201         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67202         Likewise.
67204 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67206         * Makefile (strop-tests): Add strncat.
67207         * string/test-strncat.c: New file.
67209 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67211         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67213 2011-06-21  Andreas Jaeger  <aj@suse.de>
67215         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67216         Copy rule from iconvdata/Makefile.
67218 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67220         [BZ #12922]
67221         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67222         but no long options are defined, just return 'W'.
67224 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67226         [BZ #9696]
67227         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67229 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67231         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67232         netgroups to read.
67233         (innetgr): Likewise.
67235 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67237         * config.make.in (install_root): Default to $(DESTDIR).
67239 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67241         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67243 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67245         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67247         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67248         containing directory rather than embedding absolute directory names.
67250         * scripts/check-local-headers.sh: Rewritten using awk.
67251         Match by word, not by line.  Print error messages for matches.
67252         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67254         * Makerules [shlib-lds-flags empty]:
67255         ($(common-objpfx)libc_pic.opts): New target.
67256         ($(common-objpfx)libc_pic.os.clean): New target.
67257         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67259         * config.make.in (OBJCOPY): New variable.
67260         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67261         * configure: Regenerated.
67263         * config.make.in (use-default-link): New variable.
67264         * configure.in (use_default_link): Grok --with-default-link to set it.
67265         * configure: Regenerated.
67266         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67267         (shlib-lds, shlib-lds-flags): Define to empty.
67269         * Makerules (shlib-lds): New variable.
67270         (shlib-lds-flags): New variable.
67271         (build-shlib, build-moduile, build-module-asneeded): Use it.
67272         ($(common-objpfx)libc.so): Use $(shlib-lds).
67273         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67274         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67276         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67277         DT_FLAGS/DT_FLAGS_1 with zero flags.
67279         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67280         linker script munging.
67282 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67284         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67285         as 128-bit value.
67286         * crypt/sha512.c (sha512_process_block): Perform total addition using
67287         128-bit if possible.
67288         (__sha512_finish_ctx): Likewise.
67289         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67290         as 64-bit value.
67291         * crypt/sha256.c (SWAP64): Define.
67292         (sha256_process_block): Perform total addition using 64-bit if
67293         possible.
67294         (__sha256_finish_ctx): Likewise.
67296 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67298         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67300         * nscd/hstcache.c (cache_addhst): Likewise.
67301         * nscd/grpcache.c (cache_addgr): Likewise.
67302         * nscd/aicache.c (addhstaiX): Likewise
67303         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67305 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67307         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67309         * nscd/hstcache.c (cache_addhst): Likewise.
67310         * nscd/grpcache.c (cache_addgr): Likewise.
67311         * nscd/aicache.c (addhstaiX): Likewise
67313 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67315         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67316         domain only when needed.
67318 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67321         is always restored.
67323 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67325         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67326         are re-adding the entry.
67327         * nscd/servicescache.c (cache_addserv): Likewise.
67329 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67331         * sysdeps/generic/dl-irel.h: fix protection against multiple
67332         inclusions.
67333         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67335 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67337         [BZ #12935]
67338         * malloc/memusage.sh: Fix quoting in message.
67339         * debug/xtrace.sh: Likewise.
67341         * configure.in: Remove support for --experimental-malloc option, make
67342         it the default.
67343         * config.make.in: Likewise.
67344         * malloc/Makefile: Likewise.
67346 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67348         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67349         two-byte characters.
67351 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67353         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67354         AC_CACHE_CHECK invocation.
67355         * configure: Regenerated.
67357         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67359 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67361         [BZ #12350]
67362         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67363         bit from old_res_options.
67365         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67367         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67368         value type for setfct.
67370 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67373         __gettimeofday instead of gettimeofday.
67375 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67377         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67379 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67381         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67383         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67384         info.
67386 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67389         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67390         strcpy-sse2-unaligned strncpy-sse2-unaligned
67391         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67392         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67393         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67394         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67395         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67396         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67397         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67398         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67399         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67400         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67401         (STRCPY): Support SSE2 and SSSE3 versions.
67403 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67405         [BZ #12874]
67406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67407         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67408         kernels which artificially limit size of requests.
67410 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67413         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67414         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67415         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67416         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67417         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67418         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67419         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67420         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67421         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67422         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67423         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67424         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67425         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67426         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67428         Enable unaligned load optimization for Intel Core i3, i5 and i7
67429         processors.
67430         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67431         Define.
67432         (index_Fast_Unaligned_Load): Define.
67433         (HAS_FAST_UNALIGNED_LOAD): Define.
67435 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67437         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67439 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67441         [BZ #12907]
67442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67443         until it is clear that the information is realy needed.
67444         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67446 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67450 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67453         /sys/devices/system/cpu/online if it is usable.
67455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67456         reading the information from the /proc filesystem to once a second.
67458 2011-06-21  Andreas Jaeger  <aj@suse.de>
67460         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67461         NULL after inclusion of kernel headers.
67463 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67465         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67466         calls to internal_setent.
67468         [BZ #12885]
67469         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67470         addresses using gethostbyname4_r ignore IPv4 addresses.
67472         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67473         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67475         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67477 2011-06-20  David S. Miller  <davem@davemloft.net>
67479         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67480         inclusions.
67481         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67483         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67484         (elf_irel): Use it.
67485         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67486         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67487         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67488         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67489         * sysdeps/x86_64/dl-irel.h: Likewise.
67491         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67492         * elf/dl-sym.c: Likewise.
67494 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67496         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67497         need to dereference resplen2.
67499 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67501         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67503 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67505         * Makeconfig: Define vardbdir and inst_vardbdir.
67506         * nss/Makefile: Add rules to install db-Makefile.
67508         * nss/nss_db/db-XXX.c: Cleanup.
67510         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67511         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67512         GLIBC_PRIVATE.
67513         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67514         * nss/makedb.c: Implement -g option to specify that value strings
67515         are generated and should not be added to table iterated over for
67516         get*ent calls.
67517         * nss/nss_db/db-initgroups.c: New file.
67519         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67520         interface.
67522         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67523         (internal_getgrouplist): Adjust to name change.
67524         Update use_initgroups_entry if this is not the first call.
67525         * nss/databases.def: Add initgroups entry.
67527         * nss/makedb.c (compute_tables): Check result of multiple hash table
67528         sizes to minimize maximum chain length.
67530 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67532         * Versions.def: Add entry for libnss_db.
67533         * shlib-versions: Likewise.
67534         * nss/Makefile: Add rules to build libnss_db.
67535         * nss/Versions: Add libnss_db information.  Organize libnss_files
67536         entries better.
67537         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67538         makedb progra.  Some minor improvements to generate smaller files.
67539         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67540         here from...
67541         * nss/makedb.c: ...here.
67542         Improve database format to be smaller and require less memory at
67543         runtime.
67544         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67545         db anymore.
67546         * nss/nss_db/db-netgrp.c: Likewise.
67547         * nss/nss_db/db-open.c: Likewise.
67548         * nss/nss_files/flies-XXX.x: Adjust comments.
67549         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67550         * nss/nss_files/files-grp.c: Likewise.
67551         * nss/nss_files/files-hosts.c: Likewise.
67552         * nss/nss_files/files-network.c: Likewise.
67553         * nss/nss_files/files-proto.c: Likewise.
67554         * nss/nss_files/files-pwd.c: Likewise.
67555         * nss/nss_files/files-rpc.c: Likewise.
67556         * nss/nss_files/files-service.c: Likewise.
67557         * nss/nss_files/files-sgrp.c: Likewise.
67558         * nss/nss_files/files-spwd.c: Likewise.
67559         * nss/nss_db/db-alias.c: Removed.
67560         * nss/nss_db/dummy-db.h: Removed.
67562 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67564         * nss/makedb.c: Rewritten to not use database library.
67565         * nss/Makefile: Update to build new makedb program.
67567 2011-06-14  Andreas Jaeger  <aj@suse.de>
67569         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67570         memset declaration.
67572 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67575         tmpbuf.
67577 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67579         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67580         * elf/Makefile ($(objpfx)ld.so): Likewise.
67582         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67583         Don't list ld.so twice in dependencies.
67585         * posix/bug-regex31.c: Include <stdlib.h>.
67587         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67589         * nis/nss_compat/compat-spwd.c
67590         (getspent_next_nss_netgr): Remove unused variable.
67591         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67593         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67594         nonmembers" output to use the right array.
67596         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67598         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67600         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67601         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67602         * catgets/gencat.c (read_input_file): Likewise.
67603         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67605         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67606         variable definition inside #if's controlling its use.
67608         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67610         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67612         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67614         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67615         unreachable code.
67617         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67619         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67620         * configure: Regenerated.
67622         * Makerules: Revert last change.
67623         * elf/Makefile: Likewise.
67625 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67627         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67628         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67629         (reloc-link): Likewise.
67631 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67633         * elf/Makefile: Add rules to build pldd.
67634         * elf/pldd.c: New file.
67635         * elf/pldd-xx.c: New file.
67637 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67639         * version.h: Update for 2.15 development version.
67641 2011-06-07  David S. Miller  <davem@davemloft.net>
67643         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67644         ifuncs.
67645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67646         elf_machine_lazy_rel): Likewise.
67647         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67649         elf_machine_lazy_rel): Likewise.
67650         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67651         dl_hwcap via passed in argument.
67652         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67653         Likewise.
67655 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67657         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67659 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67661         [BZ #12849]
67662         * manual/fdl-1.1.texi: New file, verbatim from:
67663         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67664         * manual/lgpl-2.1.texi: New file, verbatim from:
67665         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67666         * manual/Makefile (licenses): New variable, list those new file names.
67667         (texis): Use it.
67668         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67670         * manual/fdl.texi: File removed.
67671         * manual/lesser.texi: File removed.
67672         * manual/libc.texinfo (Copying, Documentation License):
67673         Use new @include file names, put @appendix directive before @include.
67675 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67677         [BZ #12841]
67678         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67679         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67680         (mq_open): Add __NTH.
67682 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67685         Assume Intel Core i3/i5/i7 processor if AVX is available.
67687 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67690         typo.
67692 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67695         memory.  Use alloca_account.  Fix memory leak when retrying.
67697 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67699         * version.h (RELEASE): Bump for 2.14 release.
67700         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67702         * config.make.in (RANLIB): Remove entry.
67704 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67706         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67707         (libc.pot): Work around missing support for .ksh extension in xgettext.
67709         [BZ #12684]
67710         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67711         if both request failed.
67712         (send_dg): In case of server errors clear resplen or *resplen2.
67714         [BZ #12454]
67715         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67716         when there are multiple maps.
67717         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67718         (_dl_fini): Remove test here.
67720         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67722 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67724         [BZ #12350]
67725         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67726         bit from old_res_options.
67727         (gaih_inet): Likewise.
67729         [BZ #11099]
67730         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67731         as signed.
67733         * resolv/res_init.c (res_setoptions): Make the code more compact.
67735         [BZ #11558]
67736         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67737         set RES_USEVC.
67739         [BZ #11634]
67740         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67742         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67744         [BZ #11781]
67745         * malloc/malloc.h: Declare malloc hook variables as volatile.
67747         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67748         in last patch.
67750         [BZ #11799]
67751         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67752         raise in the comment.
67753         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67755         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67757 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67759         [BZ #12811]
67760         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67761         grow the buffers more if it already has to be sufficient.
67762         (build_wcs_upper_buffer): Likewise.
67763         * posix/regexec.c (check_matching): Likewise.
67764         (clean_state_log_if_needed): Likewise.
67765         (extend_buffers): Don't enlarge buffers beyond size of the input
67766         buffer.
67767         Patches mostly by Emil Wojak <emil@wojak.eu>.
67768         * posix/bug-regex32.c: New file.
67769         * posix/Makefile (tests): Add bug-regex32.
67771         * locale/findlocale.c (_nl_find_locale): Return right away if
67772         _nl_explode_name failed.
67773         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67775         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67777         * debug/xtrace.sh: Unify messages.
67778         * malloc/memusage.sh: Likewise.
67780         [BZ #12813]
67781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67782         time symbol from vDSO.  Substitute with vsyscall if not available.
67783         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67784         __vdso_time.
67786         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67787         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67788         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67789         Add sendmmsg and internal_sendmmsg.
67790         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67791         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67792         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67794         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67795         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67796         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67798 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67800         [BZ #12813]
67801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67802         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67803         available.
67804         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67805         __vdso_getcpu.
67807         [BZ #12814]
67808         * iconvdata/Makefile (tests): Add bug-iconv9.
67809         * iconvdata/bug-iconv9.c: New file.
67811 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67813         [BZ #12814]
67814         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67816 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67818         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67819         (struct user_regs_struct): Change intcs field back to cs.
67821 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67823         * po/ja.po: Update from translation team.
67825 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67827         [BZ #12795]
67828         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67829         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67831 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67833         * stdlib/longlong.h: Update from GCC.
67835 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67837         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67838         parameter name.
67839         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67840         Add parameter name.
67841         (__sysconf): Pass it down.
67843 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67845         [BZ #12671]
67846         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67847         some situations.
67848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67849         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67850         add in in __libc_use_alloca calls.  Adjust callers.
67851         (glob): Use malloc in some situations.
67853         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67854         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67855         pltexit.
67857 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67859         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67860         and CLOCK_BOOTTIME_ALARM.
67862         [BZ #12782]
67863         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67864         is returned.
67866         * string/_strerror.c (__strerror_r): Print negative errors as signed
67867         numbers.
67869         [BZ #12777]
67870         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67871         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67872         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67874         * configure.in: Fix typo in redirection and correct removal of test
67875         files in two cases.
67877         [BZ #12788]
67878         * locale/setlocale.c (new_composite_name): Fix test to check for
67879         identical name of all categories.
67881         [BZ #12792]
67882         * libio/filedoalloc.c (local_isatty): New function.
67883         (_IO_file_doallocate): Use local_isatty.
67884         * stdio-common/perror.c (perror): In case a new stream is used
67885         forward the stream error.
67886         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67887         error flag.
67889 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67891         [BZ #11869]
67892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67893         alloca.
67894         * include/alloca.h (extend_alloca_account): Define.
67896         [BZ #11857]
67897         * posix/regex.h: Fix comments with documentation of user-accessible
67898         fields after compilation and describe correct free'ing of pattern
67899         after re_compile_pattern.
67900         Patch by Reuben Thomas <rrt@sc3d.org>.
67902 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67904         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67905         and -mno-altivec to prevent the compiler from using Altivec and/or
67906         VSX instructions when the corresponding registers are not available.
67908 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67910         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67912 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67914         * libio/freopen.c (freopen): Use __dup2, not dup2.
67915         * libio/freopen64.c (freopen64): Likewise.
67917 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67919         [BZ #12775]
67920         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67921         * math/Makefile (tests): Add test-powl.
67922         (CFLAGS-test-powl.c): Define.
67923         * math/test-powl.c: New file.
67925 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67927         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67929 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67931         [BZ #11837]
67932         * iconvdata/gb18030.c: Update to GB18020-2005.
67934 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67936         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67937         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67938         Patch by Aharon Robbins <arnold@skeeve.com>.
67940         [BZ #11892]
67941         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67942         on the stack.
67944         [BZ #11895]
67945         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67946         through underflows.
67948         [BZ #12766]
67949         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67950         point to strings before performing equality test for error_one_per_line
67951         mode.
67953         [BZ #11697]
67954         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67956         [BZ #11820]
67957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67958         (struct user_fpregs_struct): Avoid __uint*_t types.
67960         [BZ #6420]
67961         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67962         symbol info.  Use it instead of calling _dl_addr locally.
67963         (lock_and_info): New function.
67964         (tr_freehook): Call lock_and_info and pass symbol info as additional
67965         parameter to tr_where.
67966         (tr_mallochook): Likewise.
67967         (tr_reallochook): Likewise.
67968         (tr_memalignhook): Likewise.
67970         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67971         used and couldn't be at all thread-safe.
67973 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67975         * libio/freopen.c (freopen): Don't close old file descriptor
67976         before the new one is opened.  Instead dup the new file descriptor
67977         to the old one after the new stream is created.
67978         * libio/freopen64.c (freopen64): Likewise.
67979         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67980         * libio/fileops.c (_IO_new_file_close_it): Handle new
67981         _IO_FLAGS2_NOCLOSE flag.
67982         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67983         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67984         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67985         _IO_FLAGS2_NOCLOSE flag.
67986         * include/unistd.h: Add hidden_proto for dup3.
67987         Define __have_dup3.
67988         * io/dup3.c: Define hidden symbol.
67989         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67991         [BZ #7101]
67992         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67993         when an incomplete long option is used.
67994         * posix/tst-getopt_long1.c: New file.
67995         * posix/Makefile (tests): Add tst-getopt_long1.
67997         [BZ #10138]
67998         * scripts/config.guess: Update from autoconf-2.68.
67999         * scripts/config.sub: Likewise.
68001         [BZ #10157]
68002         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68003         tests into ...
68004         (has_cpuclock): ...this.  New function.
68005         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68006         macro here based on has_cpuclock code.
68008         [BZ #10149]
68009         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68010         First byte (not low byte) is now always NUL.
68011         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68014         Use non-cancelable interfaces.
68016         [BZ #9809]
68017         * locale/iso-639.def: Add entry for Sorani.
68019         [BZ #11901]
68020         * include/stdlib.h: Move include protection to the right place.
68021         Define abort_msg_s.  Declare __abort_msg with it.
68022         * stdlib/abort.c (__abort_msg): Adjust type.
68023         * assert/assert.c (__assert_fail_base): New function.  Majority
68024         of code from __assert_fail.  Allocate memory for __abort_msg with
68025         mmap.
68026         (__assert_fail): Now call __assert_fail_base.
68027         * assert/assert-perr.c: Remove bulk of implementation.  Use
68028         __assert_fail_base.
68029         * include/assert.hL Declare __assert_fail_base.
68030         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68031         mmap.
68032         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68034 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68036         [BZ #11952]
68037         [BZ #12453]
68038         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68039         until all modules are registered in the DTV.
68040         * elf/Makefile: Add rules to build and run tst-tls19.
68041         * elf/tst-tls19.c: New file.
68042         * elf/tst-tls19mod1.c: New file.
68043         * elf/tst-tls19mod2.c: New file.
68044         * elf/tst-tls19mod3.c: New file.
68045         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68047         [BZ #12083]
68048         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68049         correctly.
68051         [BZ #12601]
68052         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68053         two-byte sequence errors.
68054         * iconvdata/Makefile (tests): Add bug-iconv8.
68055         * iconvdata/bug-iconv8.c: New file.
68057         [BZ #12626]
68058         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68059         buf2 definition.
68061         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68063         [BZ #12432]
68064         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68065         (dummy_getcfa): New function.
68066         (init): Get _Unwind_GetCFA address, use dummy if not found.
68067         (backtrace_helper): In recursion check, also check whether CFA changes.
68068         (__backtrace): Completely initialize arg.
68070         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68071         storing incomplete byte sequence in state object.  Avoid testing for
68072         guaranteed too small input if we know there is enough data available.
68074 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68076         * Makeconfig (+link-pie): Indent.
68077         * Rules (binaries-pie): Define if $(have-fpie) and
68078         $(build-shared).
68079         (binaries-shared): Also filter out $(binaries-pie).
68080         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68081         * nscd/Makefile (others-pie): Add nscd.
68082         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68083         ($(objpfx)nscd): Remove command override.
68084         * login/Makefile (others-pie): Add pt_chown.
68085         ($(objpfx)pt_chown): Remove command override.
68086         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68087         remove command overrides.
68089 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68091         * libio/tst_putwc.c: Fix error messages.
68093         [BZ #12724]
68094         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68095         currently writing and seek to current position when not.
68096         * libio/Makefile (tests): Add bug-fclose1.
68097         * libio/bug-fclose1.c: New file.
68099 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68101         [BZ #12511]
68102         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68103         don't set DF_1_NODELETE here.
68104         (do_lookup_x): When entering new entry test for copy relocation
68105         and if necessary set DF_1_NODELETE flag.
68106         * elf/tst-unique4.cc: New file.
68107         * elf/tst-unique4.h: New file.
68108         * elf/tst-unique4lib.cc: New file.
68109         * elf/Makefile: Add rules to build and run tst-unique4.
68110         Patch by Piotr Bury <pbury@goahead.com>.
68112 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68114         [BZ #12052]
68115         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68117         [BZ #12625]
68118         * misc/mntent_r.c (addmntent): Flush the stream after the output
68120         [BZ #12393]
68121         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68122         (is_trusted_path_normalize): Skip initial colon.  Append slash
68123         to empty buffer.  Duplicate is_trusted_path code but allow
68124         constructed patch to be prefix.
68125         (is_dst): Allow $ORIGIN followed by /.
68126         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68127         Correct testing of result of is_trusted_path_normalize
68128         (decompose_rpath): Fix warning.
68130 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68132         [BZ #11257]
68133         * grp/initgroups.c (internal_getgrouplist): When we found the service
68134         list through the initgroups entry in nsswitch.conf do not always
68135         continue on a successful lookup.  Don't always use the
68136         __nss_group_database value if it is set.
68137         * nss/nsswitch.conf (initgroups): Change action for successful db
68138         lookup to continue for compatibility.
68140 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68142         [BZ #11532]
68143         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68144         and CP774 modules.
68145         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68146         and CP774 modules.
68147         * iconvdata/tst-tables.sh: Likewise.
68148         * iconvdata/cp770.c: New file.
68149         * iconvdata/cp771.c: New file.
68150         * iconvdata/cp772.c: New file.
68151         * iconvdata/cp773.c: New file.
68152         * iconvdata/cp774.c: New file.
68153         * iconvdata/testdata/CP770: New file.
68154         * iconvdata/testdata/CP770..UTF8: New file.
68155         * iconvdata/testdata/CP771: New file.
68156         * iconvdata/testdata/CP771..UTF8: New file.
68157         * iconvdata/testdata/CP772: New file.
68158         * iconvdata/testdata/CP772..UTF8: New file.
68159         * iconvdata/testdata/CP773: New file.
68160         * iconvdata/testdata/CP773..UTF8: New file.
68161         * iconvdata/testdata/CP774: New file.
68162         * iconvdata/testdata/CP774..UTF8: New file.
68164         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68165         END CHARMAP line.
68166         * iconvdata/gen-8bit-gap.sh: Likewise.
68167         * iconvdata/gen-8bit.sh: Likewise.
68169         * locale/iso-639.def: Add ary entry.
68171         [BZ #11258]
68172         * locale/C-translit.h.in: Add U20A1 transliteration.
68174         [BZ #12178]
68175         * locale/iso-639.def: Add wae entry.
68176         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68178         [BZ #12545]
68179         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68180         for n.
68182         [BZ #12711]
68183         * locale/C-translit.h.in: Add entry for U20B9.
68184         Patch by pravin.d.s@gmail.com.
68186 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68188         [BZ #12713]
68189         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68190         ENAMETOOLONG use generic getcwd.
68191         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68192         in rtld.  Use *stat64.
68193         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68194         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68195         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68196         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68197         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68198         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68199         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68200         __fstatat64 macros.
68201         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68202         * dirent/rewinddir.c: Add libc_hidden_def.
68203         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68204         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68206         * include/dirent.h (__alloc_dir): Add flags parameter.
68207         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68208         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68209         __alloc_dir.
68210         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68211         from fdopendir if O_CLOEXEC is already set.
68213 2011-03-15  Alan Modra  <amodra@gmail.com>
68215         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68216         l_tls_firstbyte_offset non-zero.  Save padding offset in
68217         l_tls_firstbyte_offset for later use.
68218         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68219         freeing static tls block.
68221 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68223         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68224         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68225         being defined by the kernel headers.
68227 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68229         [BZ #12734]
68230         * resolv/resolv.h: Define RES_NOTLDQUERY.
68231         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68232         no-tld-query and set RES_NOTLDQUERY.
68233         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68234         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68235         modern BIND to search name as TLD unless forbidden.
68237 2011-05-07  Petr Baudis  <pasky@suse.cz>
68238             Ulrich Drepper  <drepper@gmail.com>
68240         [BZ #12393]
68241         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68242         (is_trusted_path): ...to here.
68243         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68244         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68245         using is_trusted_path_normalize() in setuid scripts.
68247 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68249         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68250         __BEGIN/__END_DECLS.
68252 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68254         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68255         NSS_STATUS_NOTFOUND if no record was found.
68257 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68259         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68260         (headers-not-in-tirpc): Remove rpc/netdb.h
68261         * resolv/netdb.h: Revert last change.
68263 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68265         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68266         circular dependency between libgcc.a and libc.a.
68268 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68270         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68271         * nis/Makefile: Don't install rpcsvc/*.
68272         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68273         instead of <rpc/types.h>.
68274         (MAXHOSTNAMELEN): Define.
68276 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68278         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68280 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68282         [BZ #12714]
68283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68284         gethostbyname4_r when IPv6 results are possible.
68286 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68288         [BZ #12723]
68289         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68290         _PC_PIPE_BUF handling.
68292 2011-04-30  Bruno Haible  <bruno@clisp.org>
68294         [BZ #12717]
68295         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68296         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68297         to 'int'.
68298         * inet/getnameinfo.c (getnameinfo): Likewise.
68300 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68302         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68303         to groups setting in database lookup.
68304         * nss/nsswitch.conf: Add initgroups entry.
68306 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68308         [BZ #12685]
68309         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68310         mode string.
68311         Patch by Eric Blake <eblake@redhat.com>.
68313 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68315         * sunrpc/Makefile (need-export-routines): Add svc_run.
68316         (routines): Remove svc_run.
68317         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68318         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68319         * sunrpc/svc_run.c (svc_run): Likewise.
68320         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68322 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68324         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68325         problem in reallocation in last patch.
68327 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68329         * sunrpc/Makefile: Move inclusion of Rules.
68331 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68333         * nss/nss_files/files-initgroups.c: New file.
68334         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68335         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68336         _nss_files_initgroups_dyn.
68338 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68340         * elf/elf.h (R_ARM_IRELATIVE): Define.
68342 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68344         * po/ru.po: Update from translation team.
68346 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68348         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68349         dependencies.
68351 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68353         [BZ #12653]
68354         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68355         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68357         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68360 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68362         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68363         differing bytes.
68364         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68368 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68370         [BZ #12420]
68371         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68372         storing it.
68373         * stdlib/bug-getcontext.c: New file.
68374         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68376 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68378         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68379         instructions into .machine "z9-109".
68380         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68381         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68383 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68385         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68386         between environment variables and auxiliary vector.
68388 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68390         * Makefile: Add rules to build linkobj/libc.so.
68391         * include/libc-symbols.h: Define libc_hidden_nolink.
68392         * include/rpc/auth.h: Mark functions which are to be hidden.
68393         * include/rpc/auth_des.h: Likewise.
68394         * include/rpc/auth_unix.h: Likewise.
68395         * include/rpc/clnt.h: Likewise.
68396         * include/rpc/des_crypt.h: Likewise.
68397         * include/rpc/key_prot.h: Likewise.
68398         * include/rpc/pmap_clnt.h: Likewise.
68399         * include/rpc/pmap_prot.h: Likewise.
68400         * include/rpc/pmap_rmt.h: Likewise.
68401         * include/rpc/rpc_msg.h: Likewise.
68402         * include/rpc/svc.h: Likewise.
68403         * include/rpc/svc_auth.h: Likewise.
68404         * include/rpc/xdr.h: Likewise.
68405         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68406         * nss/Makefile: Likewise.
68407         * sunrpc/Makefile: Don't install headers.  Build library with normal
68408         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68409         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68410         for the compat linking library.  Remove use of INTDEF/INTUSE.
68411         * sunrpc/auth_none.c: Likewise.
68412         * sunrpc/auth_unix.c: Likewise.
68413         * sunrpc/authdes_prot.c: Likewise.
68414         * sunrpc/authuxprot.c: Likewise.
68415         * sunrpc/clnt_gen.c: Likewise.
68416         * sunrpc/clnt_perr.c: Likewise.
68417         * sunrpc/clnt_raw.c: Likewise.
68418         * sunrpc/clnt_simp.c: Likewise.
68419         * sunrpc/clnt_tcp.c: Likewise.
68420         * sunrpc/clnt_udp.c: Likewise.
68421         * sunrpc/clnt_unix.c: Likewise.
68422         * sunrpc/des_crypt.c: Likewise.
68423         * sunrpc/des_soft.c: Likewise.
68424         * sunrpc/get_myaddr.c: Likewise.
68425         * sunrpc/key_call.c: Likewise.
68426         * sunrpc/key_prot.c: Likewise.
68427         * sunrpc/netname.c: Likewise.
68428         * sunrpc/pm_getmaps.c: Likewise.
68429         * sunrpc/pm_getport.c: Likewise.
68430         * sunrpc/pmap_clnt.c: Likewise.
68431         * sunrpc/pmap_prot.c: Likewise.
68432         * sunrpc/pmap_prot2.c: Likewise.
68433         * sunrpc/pmap_rmt.c: Likewise.
68434         * sunrpc/publickey.c: Likewise.
68435         * sunrpc/rpc_cmsg.c: Likewise.
68436         * sunrpc/rpc_common.c: Likewise.
68437         * sunrpc/rpc_dtable.c: Likewise.
68438         * sunrpc/rpc_prot.c: Likewise.
68439         * sunrpc/rpc_thread.c: Likewise.
68440         * sunrpc/rtime.c: Likewise.
68441         * sunrpc/svc.c: Likewise.
68442         * sunrpc/svc_auth.c: Likewise.
68443         * sunrpc/svc_authux.c: Likewise.
68444         * sunrpc/svc_raw.c: Likewise.
68445         * sunrpc/svc_run.c: Likewise.
68446         * sunrpc/svc_simple.c: Likewise.
68447         * sunrpc/svc_tcp.c: Likewise.
68448         * sunrpc/svc_udp.c: Likewise.
68449         * sunrpc/svc_unix.c: Likewise.
68450         * sunrpc/svcauth_des.c: Likewise.
68451         * sunrpc/xcrypt.c: Likewise.
68452         * sunrpc/xdr.c: Likewise.
68453         * sunrpc/xdr_array.c: Likewise.
68454         * sunrpc/xdr_float.c: Likewise.
68455         * sunrpc/xdr_intXX_t.c: Likewise.
68456         * sunrpc/xdr_mem.c: Likewise.
68457         * sunrpc/xdr_rec.c: Likewise.
68458         * sunrpc/xdr_ref.c: Likewise.
68459         * sunrpc/xdr_sizeof.c: Likewise.
68460         * sunrpc/xdr_stdio.c: Likewise.
68462 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68464         [BZ #12650]
68465         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68466         * sysdeps/ia64/dl-tls.h: Likewise.
68467         * sysdeps/powerpc/dl-tls.h: Likewise.
68468         * sysdeps/s390/dl-tls.h: Likewise.
68469         * sysdeps/sh/dl-tls.h: Likewise.
68470         * sysdeps/sparc/dl-tls.h: Likewise.
68471         * sysdeps/x86_64/dl-tls.h: Likewise.
68472         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68474 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68476         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68477         rpath element also skip the following colon.
68478         (expand_dynamic_string_token): Add is_path parameter and pass
68479         down to DL_DST_REQUIRED and _dl_dst_substitute.
68480         (decompose_rpath): Call expand_dynamic_string_token with
68481         non-zero is_path.  Ignore empty rpaths.
68482         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68483         with zero is_path.
68485 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68488         Make cancelable.
68490 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68492         [BZ #12655]
68493         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68494         Patch by Filipe David Manana <fdmanana@apache.org>.
68496 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68499         Maintain aligned stack.
68500         (CHECK_RSP): Remove unused macro.
68502 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68504         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68505         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68507 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68509         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68511         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68513 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68515         [BZ #12518]
68516         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68517         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68518         * sysdeps/x86_64/memmove.c: New file.
68519         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68520         (memcpy): Renamed to ...
68521         (__new_memcpy): This.
68522         (memcpy): Provide GLIBC_2_14 memcpy.
68523         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68524         (memcpy): Provide GLIBC_2_2_5 memcpy.
68526 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68528         [BZ #12631]
68529         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68531 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68533         * misc/syncfs.c: New file.
68534         * misc/Makefile (routines): Add syncfs.
68535         * posix/unistd.h: Declare syncfs.
68536         * sysdeps/unix/syscalls.list: Add syncfs.
68538 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68540         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68541         open_by_handle_at.
68542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68543         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68545         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68547         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68548         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68550 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68553         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68554         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68556         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68558         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68560         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68561         sync_file_range.c with -fexceptions.
68562         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68563         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68564         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68565         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68566         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68567         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68568         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68569         sync_file_range as cancellation point
68570         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68571         now a wrapper around __call_sync_file_range with cancellation handling.
68572         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68573         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68574         function name to __call_sync_file_range.
68575         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68576         Add call_sync_file_range.
68578 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68581         bits/timex.h.
68583 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68585         * iconv/iconv.h: Fix typo in comment.
68586         * io/fcntl.h: Likewise.
68587         * libio/stdio.h: Likewise.
68588         * posix/spawn.h: Likewise.
68589         * posix/unistd.h: Likewise.
68590         * stdlib/stdlib.h: Likewise.
68591         * time/time.h: Likewise.
68592         * wcsmbs/wchar.h: Likewise.
68594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68595         open_by_handle): Add.
68596         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68597         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68598         Augment a few comments.
68599         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68601         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68604         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68605         open_by_handle.
68607         * io/fcntl.h (AT_EMPTY_PATH): Define.
68609 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68611         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68612         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68613         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68614         to...
68615         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68616         * Versions.def: Add GLIBC_2.14.
68617         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68618         Export.
68620 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68622         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68623         round counter.
68624         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68626 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68628         [BZ #12597]
68629         * string/test-strncmp.c (do_page_test): New function.
68630         (check2): Likewise.
68631         (test_main): Call check2.
68632         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68634 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68636         [BZ #12587]
68637         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68638         Handle cache information in CPU leaf 4.
68639         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68641 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68643         [BZ #12583]
68644         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68645         character representation.
68646         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68648 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68650         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68651         END(__isnan) to END(__isnanf) to match function entry point/label
68652         EALIGN(__isnanf,...).
68654 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68656         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68658 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68660         [BZ #12510]
68661         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68662         copy from the symbol referenced in the relocation to initialize the
68663         used variable.
68664         Patch by Piotr Bury <pbury@goahead.com>.
68665         * elf/Makefile: Add rules to build and tst-unique3.
68666         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68667         * elf/tst-unique3.cc: New file.
68668         * elf/tst-unique3.h: New file.
68669         * elf/tst-unique3lib.cc: New file.
68670         * elf/tst-unique3lib2.cc: New file.
68672         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68674 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68676         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68677         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68678         to _start.
68680 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68682         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68683         to-be-loaded object along a path to loader is ld.so.
68685 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68686             Ulrich Drepper  <drepper@gmail.com>
68688         * sysdeps/x86_64/memset.S: After aligning destination, code
68689         branches to different locations depending on the value of
68690         misalignment, when multiarch is enabled. Fix this.
68692 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68694         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68695         Set _x86_64_preferred_memory_instruction for AMD processsors.
68696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68697         Set bit_Prefer_SSE_for_memop for AMD processors.
68699 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68701         * libio/fmemopen.c (fmemopen): Optimize a bit.
68703 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68705         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68707 2011-03-03  Roland McGrath  <roland@redhat.com>
68709         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68711 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68713         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68714         __bzero_ultra1 instead of __memset_ultra1.
68716 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68717             Ulrich Drepper  <drepper@gmail.com>
68719         [BZ #12509]
68720         * include/link.h (struct link_map): Add l_orig_initfini.
68721         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68722         returning unsuccessfully.
68723         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68724         close of a file loaded at startup, restore the original l_initfini
68725         list.
68726         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68727         list, store the pointer.
68728         * elf/Makefile ($(objpfx)noload-mem): New rule.
68729         (noload-ENV): Define.
68730         (tests): Add $(objpfx)noload-mem.
68731         * elf/noload.c: Include <memcheck.h>.
68732         (main): Call mtrace.  Close all opened handles.
68734 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68736         [BZ #12454]
68737         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68738         dependencies are missing.
68740 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68742         Fix __if_freereq crash: Unlike the generic version which uses free,
68743         Hurd needs munmap.
68744         * sysdeps/mach/hurd/ifreq.h: New file.
68746 2011-01-27  Petr Baudis  <pasky@suse.cz>
68747             Ulrich Drepper  <drepper@gmail.com>
68749         [BZ 12445]#
68750         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68751         to extend_alloca().
68752         * stdio-common/bug23.c: New file.
68753         * stdio-common/Makefile (tests): Add bug23.
68755 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68756             Ulrich Drepper  <drepper@gmail.com>
68758         [BZ #12489]
68759         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68760         before performing relro protection.  At old place add assertion
68761         to make sure nothing changed.
68763 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68764             Glauber de Oliveira Costa  <glommer@gmail.com>
68766         * elf/elf.h: Add new ARM TLS relocs.
68768 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68771         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68772         cast from r3.
68773         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68774         'tests' variable.
68775         * sysdeps/wordsize-64/tst-writev.c: New file.
68777 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68779         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68780         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68781         insns in _dl_start to prevent a TOC reference before relocs are
68782         resolved.
68784 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68786         [BZ #12469]
68787         * Makeconfig: Remove RANLIB definition.
68788         * Makerules: Don't use RANLIB.
68789         * aclocal.m4: Remove ranlib test.
68790         * configure.in: No need to check for ranlib.
68791         * elf/rtld-Rules: Don't use RANLIB.
68793 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68795         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68796         protection macro.
68797         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68798         inclusion protection macro.
68800         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68801         SIGRTMIN and SIGRTMAX and print information in that case only when
68802         SIGRTMIN is defined.
68804 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68806         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68807         arginfo fn returning -1.
68809         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68810         and thousands string is zero terminated.
68812 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68815         sysdeps/unix/sysv/linux/bits/socket.h.
68817 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68819         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68820         (__CPU_COUNT): Remove old macros.
68821         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68822         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68823         (__CPU_ALLOC, __CPU_FREE): Add macros.
68824         (__sched_cpualloc, __sched_cpufree): Add declarations.
68826 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68828         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68829         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68830         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68831         (readdhstai): Return value of addhstaiX call.
68832         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68833         (addgrbyX): Return value returned by cache_addgr.
68834         (readdgrbyname): Return value returned by addgrbyX.
68835         (readdgrbygid): Likewise.
68836         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68837         (addpwbyX): Return value returned by cache_addpw.
68838         (readdpwbyname): Return value returned by addhstbyX.
68839         (readdpwbyuid): Likewise.
68840         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68841         (addservbyX): Return value returned by cache_addserv.
68842         (readdservbyname): Return value returned by addservbyX:
68843         (readdservbyport): Likewise.
68844         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68845         (addhstbyX): Return value returned by cache_addhst.
68846         (readdhstbyname): Return value returned by addhstbyX.
68847         (readdhstbyaddr): Likewise.
68848         (readdhstbynamev6): Likewise.
68849         (readdhstbyaddrv6): Likewise.
68850         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68851         (readdinitgroups): Return value returned by addinitgroupsX.
68852         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68853         (prune_cache): Keep track of timeout value of re-added entries.
68854         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68855         * nscd/nscd.h: Adjust prototypes of readd* functions.
68857 2011-02-04  Roland McGrath  <roland@redhat.com>
68859         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68860         (nis_stats): Likewise.
68861         * nis/nis_modify.c (nis_modify): Likewise.
68862         * nis/nis_remove.c (nis_remove): Likewise.
68863         * nis/nis_add.c (nis_add): Likewise.
68865         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68867         * posix/fnmatch_loop.c: Add some consts.
68869         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68871 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68873         [BZ #12460]
68874         * config.make.in (config-cflags-novzeroupper): Define.
68875         * configure.in: Substitute libc_cv_cc_novzeroupper.
68876         * elf/Makefile (AVX-CFLAGS): Define.
68877         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68878         (CFLAGS-tst-auditmod4a.c): Likewise.
68879         (CFLAGS-tst-auditmod4b.c): Likewise.
68880         (CFLAGS-tst-auditmod6b.c): Likewise.
68881         (CFLAGS-tst-auditmod6c.c): Likewise.
68882         (CFLAGS-tst-auditmod7b.c): Likewise.
68883         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68885 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68887         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68888         function to the callback.
68889         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68891 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68893         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68894         of errno.
68896 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68898         [BZ #11724]
68899         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68900         of constructors.
68901         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68902         of destructors.
68903         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68905         [BZ #11724]
68906         * elf/Makefile: Add rules to build and run new test.
68907         * elf/tst-initorder.c: New file.
68908         * elf/tst-initorder.exp: New file.
68909         * elf/tst-initordera1.c: New file.
68910         * elf/tst-initordera2.c: New file.
68911         * elf/tst-initordera3.c: New file.
68912         * elf/tst-initordera4.c: New file.
68913         * elf/tst-initorderb1.c: New file.
68914         * elf/tst-initorderb2.c: New file.
68915         * elf/tst-order-a1.c: New file.
68916         * elf/tst-order-a2.c: New file.
68917         * elf/tst-order-a3.c: New file.
68918         * elf/tst-order-a4.c: New file.
68919         * elf/tst-order-b1.c: New file.
68920         * elf/tst-order-b2.c: New file.
68921         * elf/tst-order-main.c: New file.
68922         New test case by George Gensure <werkt0@gmail.com>.
68924 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68927         decoding ACE if AI_CANONIDN.
68929 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68931         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68933 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68935         * version.h (RELEASE): Bump for 2.13 release.
68936         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68938         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68940         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68941         MADV_NOHUGEPAGE.
68942         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68943         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68944         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68945         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68946         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68947         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68949         * posix/getconf.c: Update copyright year.
68950         * catgets/gencat.c: Likewise.
68951         * csu/version.c: Likewise.
68952         * debug/catchsegv.sh: Likewise.
68953         * debug/xtrace.sh: Likewise.
68954         * elf/ldconfig.c: Likewise.
68955         * elf/ldd.bash.in: Likewise.
68956         * elf/sprof.c (print_version): Likewise.
68957         * iconv/iconv_prog.c: Likewise.
68958         * iconv/iconvconfig.c: Likewise.
68959         * locale/programs/locale.c: Likewise.
68960         * locale/programs/localedef.c: Likewise.
68961         * malloc/memusage.sh: Likewise.
68962         * malloc/mtrace.pl: Likewise.
68963         * nscd/nscd.c (print_version): Likewise.
68964         * nss/getent.c: Likewise.
68966         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68967         PF_CAIF, and PF_ALG.
68968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68970 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68972         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68973         (modules-names): Use them.
68974         (ifunc-test-modules, ifunc-pie-tests): Define.
68975         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68976         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68977         (test-extras): Likewise.
68978         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68979         $(compile-command.c).
68980         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68981         (all-built-dso): Define.
68982         (check-textrel.out, check-execstack.out): Depend on it.
68984         * configure.in: Don't override --enable-multi-arch.
68986 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68988         [BZ #6812]
68989         * nscd/hstcache.c (tryagain): Define.
68990         (cache_addhst): Return tryagain not notfound for temporary errors.
68991         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68992         failed.
68994 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68996         [BZ #10563]
68997         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68998         to make the syscall.
68999         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69001         [BZ #12378]
69002         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69003         and fall back to matching as normal character if the string ends before
69004         the matching ']' is found.  This is what POSIX requires.
69005         * posix/testfnm.c: Adjust test result.
69006         * posix/globtest.sh: Adjust test result.  Add new test.
69007         * posix/tst-fnmatch.input: Likewise.
69008         * posix/tst-fnmatch2.c: Add new test.
69010 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69012         * elf/Makefile (check-execstack): Revert last change.  Depend on
69013         check-execstack.h.
69014         (check-execstack.h): New target.
69015         (generated): Add check-execstack.h.
69016         * elf/check-execstack.c: Include "check-execstack.h".
69017         (main): Revert last change.
69018         (handle_file): Return zero if GNU_STACK is absent and
69019         DEFAULT_STACK_PERMS doesn't include PF_X.
69021 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69023         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69024         in child fails because the descriptor is already closed.
69025         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69026         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69027         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69029         [BZ #12397]
69030         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69031         syscall.
69033         [BZ #10484]
69034         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69035         temporary buffer used to handle multi lookups locally.
69036         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69038 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69040         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69041         loader is ld.so.
69043 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69045         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69046         alignment for SSE2.
69048 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69050         [BZ #12394]
69051         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69052         characters.  When rounding increased number of integer digits recompute
69053         number of groups.
69054         * stdio-common/tst-grouping.c: New file.
69055         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69057 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69059         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69060         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69062         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69063         void.
69064         * bits/select.h: Likewise.
69066 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69068         * po/ja.po: Update from translation team.
69070 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69072         [BZ #11155]
69073         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69074         implementation just like for lxstat, fxstatat, et al.
69076 2010-12-27  Jim Meyering  <meyering@redhat.com>
69078         [BZ #12348]
69079         * posix/regexec.c (build_trtable): Return failure indication upon
69080         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69082 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69084         [BZ #12201]
69085         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69086         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69087         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69088         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69090         [BZ #12207]
69091         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69093         [BZ #12204]
69094         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69095         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69097 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69099         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69100         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69101         script has SORT_BY_INIT_PRIORITY.
69102         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69103         NO_CTORS_DTORS_SECTIONS is defined.
69104         * elf/soinit.c: Likewise.
69105         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69106         NO_CTORS_DTORS_SECTIONS is defined.
69107         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69108         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69109         * sysdeps/sh/init-first.c: Likewise.
69110         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69112 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69114         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69115         always use the slow path.
69117 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69119         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69120         similar rule which adds the sysdep directories to the header search in
69121         order to pick up the correct platform stackinfo.h.
69122         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69123         perform test if it is, otherwise return successfully without testing.
69124         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69125         DEFAULT_STACK_PERMS define in stackinfo.h.
69126         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69127         defined in stackinfo.h.
69128         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69129         DEFAULT_STACK_PERMS defined in stackinfo.h.
69130         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69131         * sysdeps/ia64/stackinfo.h: Likewise.
69132         * sysdeps/s390/stackinfo.h: Likewise.
69133         * sysdeps/sh/stackinfo.h: Likewise.
69134         * sysdeps/sparc/stackinfo.h: Likewise.
69135         * sysdeps/x86_64/stackinfo.h: Likewise.
69136         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69137         PF_X for powerpc64.  Retain PF_X for powerpc32.
69139 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69141         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69142         accurately.
69143         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69144         GETDENTS_64BIT_ALIGNED.
69146 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69148         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69150 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69152         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69153         _GNU_SOURCE.
69155         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69156         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69157         Remove __restrict.
69158         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69159         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69161 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69163         [BZ #11655]
69164         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69165         are initialized.
69167 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69169         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69171 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69173         * po/it.po: Update from translation team.
69175 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69178         unused codes.
69180 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69182         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69184 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69186         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69187         specially.
69188         (gaih_getanswer_slice): Likewise.
69190 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69194 2010-05-31  Petr Baudis  <pasky@suse.cz>
69196         [BZ #11149]
69197         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69198         silently even in the chroot mode.
69200 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69202         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69203         last patch a bit.  Pretty printing
69205 2010-05-31  Petr Baudis <pasky@suse.cz>
69207         [BZ #10085]
69208         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69209         initialization of skip_initgroups_dyn.
69211 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69213         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69214         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69216 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69218         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69220 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69222         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69223         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69224         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69225         ($(objpfx)tst-fnmatch-mem): New rule.
69226         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69227         * posix/tst-fnmatch.c (main): Call mtrace.
69229 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69232         Support Intel processor model 6 and model 0x2c.
69234 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69236         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69237           signed comparison.
69239 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69241         [BZ #12205]
69242         * string/test-strncasecmp.c (check_result): New function.
69243         (do_one_test): Use it.
69244         (check1): New function.
69245         (test_main): Use it.
69246         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69247         Support strcasecmp and strncasecmp.
69249 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69251         [BZ #12194]
69252         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69253         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69255 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69257         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69258         IFUNC support.
69259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69260         memset-x86-64.
69261         * sysdeps/x86_64/multiarch/bzero.S: New file.
69262         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69263         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69264         * sysdeps/x86_64/multiarch/memset.S: New file.
69265         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69267         Set bit_Prefer_SSE_for_memop for Intel processors.
69268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69269         Define.
69270         (index_Prefer_SSE_for_memop): Define.
69271         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69273 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69276         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69278 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69280         [BZ #12191]
69281         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69282         (__x86_64_raw_data_cache_size_half): Likewise.
69283         (__x86_64_raw_shared_cache_size): Likewise.
69284         (__x86_64_raw_shared_cache_size_half): Likewise.
69286         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69287         (__x86_64_raw_data_cache_size_half): Likewise.
69288         (__x86_64_raw_shared_cache_size): Likewise.
69289         (__x86_64_raw_shared_cache_size_half): Likewise.
69290         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69291         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69292         and __x86_64_raw_shared_cache_size_half.  Round
69293         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69294         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69295         to multiple of 256 bytes.
69297 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69299         [BZ #12167]
69300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69301         of inacessible symlinks.  Verify result of symlink before returning it.
69302         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69303         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69305 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69307         * math/math.h (isinf): Fix typo in comment.
69309 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69311         * po/da.po: Update from translation team.
69313 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69315         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69316         is added to the list.
69318 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69319             Ulrich Drepper  <drepper@gmail.com>
69321         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69322         the global list here.  Move code to...
69323         (_dl_add_to_namespace_list): ...here.  New function.
69324         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69325         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69326         * elf/dl-load.c (lose): Don't remove the element from the list.
69327         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69328         (_dl_map_object): Likewise.
69330 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69332         [BZ #12159]
69333         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69334         into all bytes of SSE register.
69335         Patch by Richard Li <richardpku@gmail.com>.
69337 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69339         [BZ #12140]
69340         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69341         perturbing.
69343 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69345         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69346         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69347         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69348         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69350         submachine.
69351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69353 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69355         * include/dlfcn.h (__RTLD_SECURE): Define.
69356         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69357         mode & __RTLD_SECURE instead.
69358         (open_path): Rename preloaded parameter to secure.
69359         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69360         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69361         * elf/dl-deps.c (openaux): Likewise.
69362         * elf/rtld.c (struct map_args): Remove is_preloaded.
69363         (map_doit): Don't use it.
69364         (dl_main): Likewise.
69365         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69366         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69368 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69370         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69371         (sysd-rules-targets): Remove duplicates.
69372         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69373         rtld-%.$o dependency.
69375 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69377         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69378         _dl_map_object do it.
69380 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69382         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69383         fast fma builtins, define the macros in the C99 standard.
69384         (FP_FAST_FMAF): Likewise.
69385         (FP_FAST_FMAL): Likewise.
69386         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69388         * bits/mathdef.h: Update copyright year.
69389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69391 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69393         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69394         builtins, define the macros in the C99 standard.
69395         (FP_FAST_FMAF): Likewise.
69396         (FP_FAST_FMAL): Likewise.
69397         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69398         multiply/add.
69399         (FP_FAST_FMAF): Likewise.
69401 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69403         [BZ #3268]
69404         * math/libm-test.inc (fma_test): Some new testcases.
69405         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69406         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69407         y and infinite z.  Do multiplication by C already in long double.
69408         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69410         y and infinite z.  Do bitwise or of inexact bit into u.d.
69411         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69412         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69413         * sysdeps/i386/fpu/s_fma.S: Removed.
69414         * sysdeps/i386/fpu/s_fmal.S: Removed.
69416 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69418         [BZ #3268]
69419         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69421         computation is not scheduled after fetestexcept.  Fix value
69422         of minimum denormal long double.
69424 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69426         [BZ #3268]
69427         * math/libm-test.inc (fma_test): Add some more tests.
69428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69429         correctly.
69431 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69433         * scripts/data/localplt-s390-linux-gnu.data: New file.
69434         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69436 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69438         [BZ #3268]
69439         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69440         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69441         instead of dbl-64.
69442         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69443         inlines.
69444         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69446         if one of x and y is very large and the other is subnormal.
69447         * sysdeps/s390/fpu/s_fmaf.c: New file.
69448         * sysdeps/s390/fpu/s_fma.c: New file.
69449         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69450         * sysdeps/powerpc/fpu/s_fma.S: New file.
69451         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69452         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69453         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69455 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69457         [BZ #3268]
69458         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69459         fma tests.
69460         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69461         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69462         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69463         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69464         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69465         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69466         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69468 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69470         [BZ #12078]
69471         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69472         * posix/bug-regex31.input: Add test case.
69474 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69476         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69477         * posix/bug-regex31.input: New file.
69479         [BZ #12078]
69480         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69481         (parse_sub_exp): Fix last change, use postorder.
69483         * posix/bug-regex31.c: New file.
69484         * posix/Makefile: Add rules to build and run bug-regex31.
69486         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69488         [BZ #12078]
69489         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69491         [BZ #12108]
69492         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69493         to have entries in sys_siglist.
69495         [BZ #12093]
69496         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69497         be NULL.
69499 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69501         [BZ #3268]
69502         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69503         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69504         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69505         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69506         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69507         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69508         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69509         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69510         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69511         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69512         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69513         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69514         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69515         * math/ftestexcept.c (fetestexcept): Likewise.
69516         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69517         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69518         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69519         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69520         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69521         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69522         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69524 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69526         [BZ #12107]
69527         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69528         newline.
69530 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69532         * string/bug-strstr1.c: New file.
69533         * string/Makefile: Add rules to build and run bug-strstr1.
69535 2010-10-05  Eric Blake  <eblake@redhat.com>
69537         [BZ #12092]
69538         * string/str-two-way.h (two_way_long_needle): Always clear memory
69539         when skipping input due to the shift table.
69541 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69543         [BZ #12005]
69544         * malloc/mcheck.c: Handle large requests.
69546         [BZ #12077]
69547         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69548         for strncmp and strncasecmp.
69549         * string/stratcliff.c: Add tests for strcmp and strncmp.
69550         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69552 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69554         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69555         __set_fpscr.
69557 2010-09-30  Andreas Jaeger  <aj@suse.de>
69559         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69560         (CGROUP_SUPER_MAGIC): Define.
69561         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69562         Handle btrfs and cgroup file systems.
69563         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69564         Likewise.
69566 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69568         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69569         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69571 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69573         [BZ #12067]
69574         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69575         trying to locate the ELF header.
69577 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69579         [BZ #11611]
69580         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69581         Mask out sign-bit copies when constructing f_fsid.
69583 2010-09-24  Petr Baudis <pasky@suse.cz>
69585         * debug/stack_chk_fail_local.c: Add missing licence exception.
69586         * debug/warning-nop.c: Likewise.
69588 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69590         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69591         implementing getdents64 using getdents syscall, set d_type if
69592         __ASSUME_GETDENTS32_D_TYPE.
69594 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69596         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69597         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69599 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69601         [BZ #12037]
69602         * posix/unistd.h: Undo change of feature selection for ftruncate from
69603         2010-01-11.
69605 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69607         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69608         detection.
69610 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69612         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69613         fanotify_mark.
69614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69616 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69618         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69619         variables after CHECK_SP call.
69620         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69622 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69623             Ulrich Drepper  <drepper@redhat.com>
69625         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69626         re-relocationg ld.so.
69627         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69628         _dl_init_paths call.
69629         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69630         here anymore.
69632 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69634         * resolv/res_init.c (__res_vinit): Count the default server we added.
69636 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69637             Ulrich Drepper  <drepper@redhat.com>
69639         [BZ #11968]
69640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69641         (____longjmp_chk): Use %ebx for saving value across system call.
69642         Add unwind info.
69644 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69646         * manual/Makefile: Don't mix pattern rules with normal rules.
69648 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69650         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69651         operation.
69652         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69653         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69654         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69655         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69657         Likewise.
69659 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69661         [BZ #11979]
69662         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69663         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69665 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69667         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69668         * sysdeps/x86_64/addmul_1.S: Likewise.
69669         * sysdeps/x86_64/lshift.S: Likewise.
69670         * sysdeps/x86_64/mul_1.S: Likewise.
69671         * sysdeps/x86_64/rshift.S: Likewise.
69672         * sysdeps/x86_64/sub_n.S: Likewise.
69673         * sysdeps/x86_64/submul_1.S: Likewise.
69675 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69677         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69678         Define __sched_param instead of SCHED_* and sched_param when
69679         <bits/sched.h> is included with __need_schedparam defined.
69680         * bits/sched.h [__need_schedparam]
69681         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69682         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69683         (__defined_schedparam): Define to 1.
69684         (__sched_param): New structure, identical to sched_param.
69685         (__need_schedparam): Undefine.
69687 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69689         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69690         (epoll_create1): Declare.
69692         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69694 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69696         [BZ #7066]
69697         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69698         shifting retval into place.
69700 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69702         * nis/rpcsvc/nis.h: Update copyright notice.
69703         * nis/rpcsvc/nis.x: Likewise.
69704         * nis/rpcsvc/nis_callback.h: Likewise.
69705         * nis/rpcsvc/nis_callback.x: Likewise.
69706         * nis/rpcsvc/nis_object.x: Likewise.
69707         * nis/rpcsvc/nis_tags.h: Likewise.
69708         * nis/rpcsvc/yp.h: Likewise.
69709         * nis/rpcsvc/yp.x: Likewise.
69710         * nis/rpcsvc/ypupd.h: Likewise.
69711         * nis/yp_xdr.c: Likewise.
69712         * nis/ypupdate_xdr.c: Likewise.
69714         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69715         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69716         (pmap_getport): Use __libc_rpc_getport.
69717         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69718         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69719         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69721 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69724         fanotify_mark.
69726 2010-08-27  Roland McGrath  <roland@redhat.com>
69728         * sysdeps/i386/i686/multiarch/Makefile
69729         (CFLAGS-varshift.c): New variable.
69731 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69733         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69734         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69738         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69740 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69742         * sysdeps/x86_64/strlen.S: Unroll the loop.
69743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69744         strlen-sse2 strlen-sse2-bsf.
69745         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69746         __strlen_no_bsf if bit_Slow_BSF is set.
69747         (__strlen_sse42): Removed.
69748         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69749         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69751 2010-08-25  Roland McGrath  <roland@redhat.com>
69753         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69754         * sysdeps/x86_64/multiarch/varshift.c: New file.
69755         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69756         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69757         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69758         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69760 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69763         strlen-sse2 strlen-sse2-bsf.
69764         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69765         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69766         (__strlen_sse2): Removed.
69767         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69770         bit_Slow_BSF for Atom.
69771         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69772         (index_Slow_BSF): Define.
69773         (HAS_SLOW_BSF): Define.
69775 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69777         [BZ #10851]
69778         * resolv/res_init.c (__res_vinit): When no server address at all
69779         is given default to loopback.
69781 2010-08-24  Roland McGrath  <roland@redhat.com>
69783         * configure.in: Remove config-name.h generation.
69784         * configure: Regenerated.
69785         * config-name.in: File removed.
69786         * scripts/config-uname.sh: New file.
69787         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69788         ($(objdir)config-name.h): New target.
69790         * sunrpc/rpc_parse.h: Avoid nested comment.
69792 2010-08-24  Richard Henderson  <rth@redhat.com>
69793             Ulrich Drepper  <drepper@redhat.com>
69794             H.J. Lu  <hongjiu.lu@intel.com>
69796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69798         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69799         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69800         _mm_alignr_epi8 with _mm_loadu_si128.
69801         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69802         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69803         (__m128i_shift_right): Removed.
69804         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69805         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69806         * sysdeps/x86_64/multiarch/varshift.h: New file.
69807         * sysdeps/x86_64/multiarch/varshift.S: New file.
69809 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69811         * configure.in: Move assembler checks to before sysdep dir checking.
69813 2010-08-20  Petr Baudis  <pasky@suse.cz>
69815         * LICENSES: Sync the sunrpc license.
69817 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69819         * sunrpc/auth_des.c: Update copyright notice once again.
69820         * sunrpc/auth_none.c: Likewise.
69821         * sunrpc/auth_unix.c: Likewise.
69822         * sunrpc/authdes_prot.c: Likewise.
69823         * sunrpc/authuxprot.c: Likewise.
69824         * sunrpc/bindrsvprt.c: Likewise.
69825         * sunrpc/clnt_gen.c: Likewise.
69826         * sunrpc/clnt_perr.c: Likewise.
69827         * sunrpc/clnt_raw.c: Likewise.
69828         * sunrpc/clnt_simp.c: Likewise.
69829         * sunrpc/clnt_tcp.c: Likewise.
69830         * sunrpc/clnt_udp.c: Likewise.
69831         * sunrpc/clnt_unix.c: Likewise.
69832         * sunrpc/des_crypt.c: Likewise.
69833         * sunrpc/des_soft.c: Likewise.
69834         * sunrpc/get_myaddr.c: Likewise.
69835         * sunrpc/getrpcport.c: Likewise.
69836         * sunrpc/key_call.c: Likewise.
69837         * sunrpc/key_prot.c: Likewise.
69838         * sunrpc/openchild.c: Likewise.
69839         * sunrpc/pm_getmaps.c: Likewise.
69840         * sunrpc/pm_getport.c: Likewise.
69841         * sunrpc/pmap_clnt.c: Likewise.
69842         * sunrpc/pmap_prot.c: Likewise.
69843         * sunrpc/pmap_prot2.c: Likewise.
69844         * sunrpc/pmap_rmt.c: Likewise.
69845         * sunrpc/rpc/auth.h: Likewise.
69846         * sunrpc/rpc/auth_unix.h: Likewise.
69847         * sunrpc/rpc/clnt.h: Likewise.
69848         * sunrpc/rpc/des_crypt.h: Likewise.
69849         * sunrpc/rpc/key_prot.h: Likewise.
69850         * sunrpc/rpc/netdb.h: Likewise.
69851         * sunrpc/rpc/pmap_clnt.h: Likewise.
69852         * sunrpc/rpc/pmap_prot.h: Likewise.
69853         * sunrpc/rpc/pmap_rmt.h: Likewise.
69854         * sunrpc/rpc/rpc.h: Likewise.
69855         * sunrpc/rpc/rpc_des.h: Likewise.
69856         * sunrpc/rpc/rpc_msg.h: Likewise.
69857         * sunrpc/rpc/svc.h: Likewise.
69858         * sunrpc/rpc/svc_auth.h: Likewise.
69859         * sunrpc/rpc/types.h: Likewise.
69860         * sunrpc/rpc/xdr.h: Likewise.
69861         * sunrpc/rpc_clntout.c: Likewise.
69862         * sunrpc/rpc_cmsg.c: Likewise.
69863         * sunrpc/rpc_common.c: Likewise.
69864         * sunrpc/rpc_cout.c: Likewise.
69865         * sunrpc/rpc_dtable.c: Likewise.
69866         * sunrpc/rpc_hout.c: Likewise.
69867         * sunrpc/rpc_main.c: Likewise.
69868         * sunrpc/rpc_parse.c: Likewise.
69869         * sunrpc/rpc_parse.h: Likewise.
69870         * sunrpc/rpc_prot.c: Likewise.
69871         * sunrpc/rpc_sample.c: Likewise.
69872         * sunrpc/rpc_scan.c: Likewise.
69873         * sunrpc/rpc_scan.h: Likewise.
69874         * sunrpc/rpc_svcout.c: Likewise.
69875         * sunrpc/rpc_tblout.c: Likewise.
69876         * sunrpc/rpc_util.c: Likewise.
69877         * sunrpc/rpc_util.h: Likewise.
69878         * sunrpc/rpcinfo.c: Likewise.
69879         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69880         * sunrpc/rpcsvc/key_prot.x: Likewise.
69881         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69882         * sunrpc/rpcsvc/mount.x: Likewise.
69883         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69884         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69885         * sunrpc/rpcsvc/rex.x: Likewise.
69886         * sunrpc/rpcsvc/rstat.x: Likewise.
69887         * sunrpc/rpcsvc/rusers.x: Likewise.
69888         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69889         * sunrpc/rpcsvc/spray.x: Likewise.
69890         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69891         * sunrpc/rtime.c: Likewise.
69892         * sunrpc/svc.c: Likewise.
69893         * sunrpc/svc_auth.c: Likewise.
69894         * sunrpc/svc_authux.c: Likewise.
69895         * sunrpc/svc_raw.c: Likewise.
69896         * sunrpc/svc_run.c: Likewise.
69897         * sunrpc/svc_simple.c: Likewise.
69898         * sunrpc/svc_tcp.c: Likewise.
69899         * sunrpc/svc_udp.c: Likewise.
69900         * sunrpc/svc_unix.c: Likewise.
69901         * sunrpc/svcauth_des.c: Likewise.
69902         * sunrpc/xcrypt.c: Likewise.
69903         * sunrpc/xdr.c: Likewise.
69904         * sunrpc/xdr_array.c: Likewise.
69905         * sunrpc/xdr_float.c: Likewise.
69906         * sunrpc/xdr_mem.c: Likewise.
69907         * sunrpc/xdr_rec.c: Likewise.
69908         * sunrpc/xdr_ref.c: Likewise.
69909         * sunrpc/xdr_sizeof.c: Likewise.
69910         * sunrpc/xdr_stdio.c: Likewise.
69912         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69913         handling.
69915 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69917         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69919 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69921         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69922         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69924         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69925         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69926         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69927         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69928         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69930         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69931         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69932         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69933         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69934         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69936 2010-07-26  Anton Blanchard  <anton@samba.org>
69938         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69939         * malloc/arena.c (heap_trim): Likewise.
69941 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69943         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69944         here.  Not...
69945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69946         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69948 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69950         * sysdeps/i386/elf/Makefile: New file.
69952 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69954         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69955         from fanotify_init.
69956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69957         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69959 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69961         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69962         of strncasecmp_l.
69963         * sysdeps/multiarch/strcmp.S: Likewise.
69965 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69967         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69968         strncase_l-nonascii.
69969         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69970         Add strncase_l-ssse3.
69971         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69972         * sysdeps/x86_64/strcmp.S: Likewise.
69973         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69974         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69975         * sysdeps/x86_64/strncase.S: New file.
69976         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69977         * sysdeps/x86_64/strncase_l.S: New file.
69978         * string/Makefile (strop-tests): Add strncasecmp.
69979         * string/test-strncasecmp.c: New file.
69981         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69982         warning.
69984         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69985         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69987 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69989         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69991 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69993         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69994         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69995         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69997 2010-05-01  Alan Modra  <amodra@gmail.com>
69999         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70000         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70001         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70002         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70003         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70004         tidying.  Don't tail-call __sigjmp_save for static lib.
70005         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70006         save location.
70007         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70008         (CALL_MCOUNT): Add eh info, and nop after bl.
70009         (TAIL_CALL_SYSCALL_ERROR): New macro.
70010         (PSEUDO_RET): Use it.
70011         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70012         Correct save location of integer regs and cr.
70013         (_dl_profile_resolve): Correct cr save location.  Delete nops
70014         after bl when SHARED.  Reduce cfi size a little by better
70015         placement of cfi directives.
70016         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70017         make a stack frame.  Instead use parm save area as a temp.
70018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70019         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70021         Don't make a stack frame for parent, use parm save area.
70022         Increase child stack frame to 112 bytes.  Don't save unused reg,
70023         and adjust reg usage.  Set up cfi on error recovery and
70024         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70026         (__makecontext): Add dummy nop after jump to exit.
70027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70028         Use correct parm save area and cr save, reduce stack frame.
70029         Correct cfi for possible PSEUDO_RET frame setup.
70030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70031         Branch to local label emitted by PSEUDO_RET rather than
70032         __syscall_error.
70034 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70036         [BZ #11904]
70037         * locale/programs/locale.c (print_assignment): New function.
70038         (show_locale_vars): Use it.
70040 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70042         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70043         field.
70044         (struct statfs64): Likewise.
70045         (_STATFS_F_FLAGS): Define.
70046         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70047         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70048         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70049         (ST_VALID): Define locally.
70050         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70051         __statvfs_getflags, use the provided value.
70052         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70053         __ASSUME_STATFS_F_FLAGS.
70055         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70057         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70058         Add sys/fanotify.h.
70059         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70060         fanotify_mask for GLIBC_2.13.
70061         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70062         fanotify_init and fanotify_mark.
70063         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70064         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70066         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70067         Add prlimit.
70068         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70069         prlimit64 for GLIBC_2.13.
70070         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70071         prlimit64.
70072         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70073         syscall.
70074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70076         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70078         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70079         add prlimit alias.
70080         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70082         [BZ #11903]
70083         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70084         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70086         * nss/Makefile: Add rules to build and run tst-nss-test1.
70087         * shlib-versions: Add entry for libnss_test1.
70088         * nss/nss_test1.c: New file.
70089         * nss/tst-nss-test1.c: New file.
70091         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70092         (__nss_configure_lookup): Set appropriate entry in
70093         __nss_configure_lookup to true.
70094         * nss/nsswitch.h: Define enum with indeces of databases in
70095         databases and __nss_database_custom arrays.  Declare
70096         __nss_database_custom.
70097         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70098         to avoid using nscd when custom rules are installed.
70099         * nss/getXXbyYY_r.c: Likewise.
70100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70102         * nss/nss_files/files-parse.c: Whitespace fixes.
70104 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70106         [BZ #11883]
70107         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70108         * posix/fnmatch_loop.c: Likewise.
70110 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70112         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70113         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70114         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70115         * Versions.def [GLIBC_2.13]: Add.
70117 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70119         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70120         Also fail if tpwd after pwuid call is NULL.
70122 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70124         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70125         when converting to ms.
70127 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70129         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70130         EOPNOTSUPP errors with ENOTTY.
70131         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70132         EOPNOTSUPP errors with ENOTTY.
70134 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70136         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70137         Add strcasecmp_l-ssse3.
70138         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70139         strcasecmp.
70140         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70141         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70142         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70144 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70146         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70148         * string/Makefile (strop-tests): Add strcasecmp.
70149         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70150         strcasecmp_l-nonascii.
70151         (gen-as-const-headers): Add locale-defines.sym.
70152         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70153         * sysdeps/x86_64/strcasecmp.S: New file.
70154         * sysdeps/x86_64/strcasecmp_l.S: New file.
70155         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70156         * sysdeps/x86_64/locale-defines.sym: New file.
70157         * string/test-strcasecmp.c: New file.
70159         * string/test-strcasestr.c: Test both ends of the range of characters.
70160         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70162 2010-07-29  Roland McGrath  <roland@redhat.com>
70164         [BZ #11856]
70165         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70167 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70169         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70170         for ld.so.
70172 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70174         * manual/memory.texi (Malloc Tunable Parameters): Document
70175         M_PERTURB.
70177 2010-07-26  Roland McGrath  <roland@redhat.com>
70179         [BZ #11840]
70180         * configure.in (-fgnu89-inline check): Set and substitute
70181         gnu89_inline, not libc_cv_gnu89_inline.
70182         * configure: Regenerated.
70183         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70185 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70187         * string/test-strnlen.c: New file.
70188         * string/Makefile (strop-tests): Add strnlen.
70189         * string/tester.c (test_strnlen): Add a few more test cases.
70190         * string/tst-strlen.c: Better error reporting.
70192         * sysdeps/x86_64/strnlen.S: New file.
70194 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70196         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70197         lower-latency instructions.
70199 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70201         * string/test-strcasestr.c: New file.
70202         * string/test-strstr.c: New file.
70203         * string/Makefile (strop-tests): Add strstr and strcasestr.
70204         * string/str-two-way.h: Don't undefine MAX.
70205         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70207 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70210         strcasestr-nonascii.
70211         (CFLAGS-strcasestr-nonascii.c): Define.
70212         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70213         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70214         Remove unused attribute.
70216 2010-07-20  Roland McGrath  <roland@redhat.com>
70218         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70219         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70220         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70221         like LD_HWCAP_MASK can disable hwcaps.
70223 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70225         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70227 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70229         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70230         call in strcasestr.
70231         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70232         __strcasestr_sse42_nonascii.
70233         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70234         strcasestr-nonascii.c.
70235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70237 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70239         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70240         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70241         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70242         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70244 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70247         fcntl.
70249 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70251         [BZ #11577]
70252         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70253         dl_signal_cerror.
70255 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70258         _PC_PIPE_BUF using F_GETPIPE_SZ.
70260 2010-07-05  Roland McGrath  <roland@redhat.com>
70262         * manual/arith.texi (Rounding Functions): Fix rint description
70263         implicit in round description.
70265 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70267         * elf/Makefile: Fix linking for a few tests to make recent linker
70268         happy.
70270 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70272         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70273         $(common-objpfx)libc_nonshared.a.
70275 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70277         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70278         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70279         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70280         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70281         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70282         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70283         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70284         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70299         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70300         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70301         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70302         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70303         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70304         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70305         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70306         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70307         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70308         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70309         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70310         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70326 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70328         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70329         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70330         * string/memmove.c (memmove): Renamed to ...
70331         (MEMMOVE): ...this.  Default to memmove.
70332         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70333         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70334         (END_CHK): Define.
70335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70336         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70337         mempcpy-ssse3-back memmove-ssse3-back.
70338         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70339         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70340         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70341         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70342         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70343         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70344         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70345         * sysdeps/x86_64/multiarch/memmove.c: New file.
70346         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70347         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70348         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70349         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70352         Define.
70353         (index_Fast_Copy_Backward): Define.
70354         (HAS_ARCH_FEATURE): Define.
70355         (HAS_FAST_REP_STRING): Define.
70356         (HAS_FAST_COPY_BACKWARD): Define.
70358 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70360         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70361         Restore proper fallback handling.
70363 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70365         [BZ #11701]
70366         * posix/group_member.c (__group_member): Correct checking loop.
70368         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70369         OOM in getpwuid_r correctly.  Return error number when the caller
70370         should return, otherwise -1.
70371         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70372         call returning > 0 value.
70373         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70375 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70377         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70378         libc_nonshared.a from targets in modules-names.
70380 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70382         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70383         requires it.
70385 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70387         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70388         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70389         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70392 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70394         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70396 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70398         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70399         and F_GETPIPE_SZ.
70400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70401         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70404         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70405         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70407 2010-06-14  Roland McGrath  <roland@redhat.com>
70409         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70411 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70413         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70414         __REDIRECT followed by __THROW.
70415         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70416         * posix/getopt.h (getopt): Likewise.
70418 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70420         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70421         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70422         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70423         in AT_FLAGS.
70424         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70425         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70427 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70429         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70431 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70433         [BZ #11640]
70434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70435         Properly check family and model.
70437 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70439         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70441 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70443         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70445 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70447         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70448         symbol reference.
70450 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70452         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70453         symbol reference.
70455 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70457         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70458         and internal_recvmmsg.
70459         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70460         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70461         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70462         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70464         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70465         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70466         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70468 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70470         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70472 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70474         POWER7 optimizations.
70475         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70476         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70478 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70480         * version.h: Update for 2.13 development version.
70482 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70484         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70485         exceptions.  Return 0.
70487 2010-05-07  Roland McGrath  <roland@redhat.com>
70489         * elf/ldconfig.c (main): Add a const.
70491 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70493         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70494         (args_options): Add no-idn option.
70495         (ahosts_keys_int): Add idn_flags to ai_flags.
70496         (parse_option): Handle 'i' option to clear idn_flags.
70498         * malloc/malloc.c (_int_free): Possible race in the most recently
70499         added check.  Only act on the data if no current modification
70500         happened.
70502 See ChangeLog.17 for earlier changes.