hurd: install correct number of send rights on fork
[glibc.git] / ChangeLog
blob62beb762c4dada59699b5218774d813d9495dc98
1 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4         rights for its main user thread in NEWTASK.
6 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13         [BZ #14259]
14         * Makeconfig: Rename localedir to complocaledir.
15         Rename inst_localedir to inst_complocaledir.
16         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18         * configure.ac: Use libc_cv_complocaledir.
19         * configure: Regenerate.
20         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21         -DCOMPLOCALEDIR.
22         * locale/findlocale.c: Use COMPLOCALEDIR.
23         * locale/loadarchive.c: Likewise.
24         * locale/programs/locale.c: Likewise.
25         * locale/programs/localedef.c: Likewise.
26         * locale/programs/locarchive.c: Likewise.
27         * localedata/Makefile: Use inst_complocaledir.
28         * sysdeps/gnu/configure: Regenerate.
29         * sysdeps/hppa/configure: Regenerate.
30         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
31         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
34         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
35         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
36         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
38 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
40         [BZ #19058]
41         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
42         AS_NEEDED.
43         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
44         workaround.
45         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
46         libmvec-static-only-routines): Added new file.
47         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
49 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
52         of interrupted RPC instead of restoring it.
54         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
55         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
56         libc_hidden_def.
57         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
58         into initialized data instead of common. Define rtld_hidden_data_def.
59         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
60         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
61         libc_hidden_def.
62         (if_freenameindex): Add libc_hidden_weak.
63         (if_nameindex): Add libc_hidden_weak.
64         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
65         __open64.
66         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
67         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
68         * sysdeps/mach/nanosleep.c: Include <time.h>
69         (__nanosleep): Rename to __libc_nanosleep.
70         (__nanosleep): Add weak_alias.
71         (nanosleep): Update alias.
73 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
75         * stdlib/strtod_nan.c: New file.
76         * stdlib/strtod_nan_double.h: Likewise.
77         * stdlib/strtod_nan_float.h: Likewise.
78         * stdlib/strtod_nan_main.c: Likewise.
79         * stdlib/strtod_nan_narrow.h: Likewise.
80         * stdlib/strtod_nan_wide.h: Likewise.
81         * stdlib/strtof_nan.c: Likewise.
82         * stdlib/strtold_nan.c: Likewise.
83         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
84         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
85         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
86         * wcsmbs/wcstod_nan.c: Likewise.
87         * wcsmbs/wcstof_nan.c: Likewise.
88         * wcsmbs/wcstold_nan.c: Likewise.
89         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
90         strtold_nan.
91         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
92         wcstof_nan.
93         * include/stdlib.h (__strtof_nan): Declare and use
94         libc_hidden_proto.
95         (__strtod_nan): Likewise.
96         (__strtold_nan): Likewise.
97         (__wcstof_nan): Likewise.
98         (__wcstod_nan): Likewise.
99         (__wcstold_nan): Likewise.
100         * include/wchar.h (____wcstoull_l_internal): Declare.
101         * stdlib/strtod_l.c: Do not include <ieee754.h>.
102         (____strtoull_l_internal): Remove declaration.
103         (STRTOF_NAN): Define macro.
104         (SET_MANTISSA): Remove macro.
105         (STRTOULL): Likewise.
106         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
107         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
108         (STRTOF_NAN): Define macro.
109         (SET_MANTISSA): Remove macro.
110         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
111         (SET_MANTISSA): Remove macro.
112         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
113         macro.
114         (SET_MANTISSA): Remove macro.
115         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
116         macro.
117         (SET_MANTISSA): Remove macro.
118         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
119         (SET_MANTISSA): Remove macro.
120         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
121         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
122         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
124         [BZ #19266]
125         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
126         upper case and lower case letters inside NAN(), not using TOLOWER.
127         * stdlib/tst-strtod-nan-locale-main.c: New file.
128         * stdlib/tst-strtod-nan-locale.c: Likewise.
129         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
130         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
131         Depend on $(gen-locales).
132         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
133         * wcsmbs/tst-wcstod-nan-locale.c: New file.
134         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
135         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
136         Depend on $(gen-locales).
137         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
139 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
141         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
143         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
145         __finitel, __isinfl, and __isnanl.
146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
147         Likewise.
148         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
150         __finitel.
151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
152         Likewise.
153         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
155 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
157         * malloc/memusage.c (me): Remove redundant getenv call.
159 2015-10-24  Florian Weimer  <fweimer@redhat.com>
161         [BZ #19143]
162         [BZ #19164]
163         * nptl/check-cpuset.h: Remove.
164         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
165         Remove CPU set size check.
166         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
167         Likewise.
168         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
169         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
170         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
171         (__pthread_setaffinity_new): Remove CPU set size check.
172         * sysdeps/unix/sysv/linux/sched_setaffinity.c
173         (__kernel_cpumask_size): Remove.
174         (__sched_setaffinity_new): Remove CPU set size check.
175         * manual/threads.texi (Default Thread Attributes): Remove stale
176         reference to check_cpuset_attr, determine_cpumask_size in comment.
177         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
178         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
179         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
180         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
181         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
182         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
183         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
184         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
185         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
186         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
187         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
188         skeleton test file.
189         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
190         tst-affinity-pid.
192 2015-11-24  Florian Weimer  <fweimer@redhat.com>
194         * scripts/update-abilist.sh: New file.
195         * Makefile (+subdir_targets): Add subdir_update-all-abi.
196         * Makerules (update-all-abi-%, update-all-abi)
197         (subdir_update-all-abi): New targets.
198         * elf/Makefile (update-all-abi): New target.
200 2015-11-24  Florian Weimer  <fweimer@redhat.com>
202         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
203         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
204         (__libc_lock_define_initialized): Use it.
205         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
206         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
207         * malloc/malloc.c (main_arena): Likewise.
208         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
209         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
211 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
213         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
214         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
215         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
216         (PTRACE_O_MASK): Update value.
217         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
218         New value in enum __ptrace_setoptions.
219         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
220         (PTRACE_O_MASK): Update value.
221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
222         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
223         (PTRACE_O_MASK): Update value.
224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
225         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
226         (PTRACE_O_MASK): Update value.
227         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
228         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
229         (PTRACE_O_MASK): Update value.
230         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
231         New value in enum __ptrace_setoptions.
232         (PTRACE_O_MASK): Update value.
233         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
234         New value in enum __ptrace_setoptions.
235         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
236         (PTRACE_O_MASK): Update value.
238         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
239         New macro.
240         (PACKET_AUXDATA): Likewise.
241         (PACKET_ORIGDEV): Likewise.
242         (PACKET_VERSION): Likewise.
243         (PACKET_HDRLEN): Likewise.
244         (PACKET_RESERVE): Likewise.
245         (PACKET_TX_RING): Likewise.
246         (PACKET_LOSS): Likewise.
247         (PACKET_VNET_HDR): Likewise.
248         (PACKET_TX_TIMESTAMP): Likewise.
249         (PACKET_TIMESTAMP): Likewise.
250         (PACKET_FANOUT): Likewise.
251         (PACKET_TX_HAS_OFF): Likewise.
252         (PACKET_QDISC_BYPASS): Likewise.
253         (PACKET_ROLLOVER_STATS): Likewise.
254         (PACKET_FANOUT_DATA): Likewise.
255         (PACKET_MR_UNICAST): Likewise.
257         [BZ #19242]
258         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
259         (TOUPPER): Likewise.
260         * stdlib/tst-strtol-locale-main.c: New file.
261         * stdlib/tst-strtol-locale.c: Likewise.
262         * stdlib/Makefile (tests): Add tst-strtol-locale.
263         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
264         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
265         Depend on $(gen-locales).
266         * wcsmbs/tst-wcstol-locale.c: New file.
267         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
268         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
269         tr_TR.ISO-8859-9.
270         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
271         Depend on $(gen-locales).
273 2015-11-20  Roland McGrath  <roland@hack.frob.com>
275         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
276         __glibc_likely instead of __builtin_expect.  After falling back to
277         dyncode_create in a non-ET_DYN case, use the allocate_code_data
278         system interface to register the code pages as occupied.
280 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
282         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
283         [!ARM_MATH_PRIVATE_H].
284         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
285         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
286         [!HPPA_MATH_PRIVATE_H].
287         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
288         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
289         to [!I386_MATH_PRIVATE_H].
290         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
291         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
292         Change guard to [!M68K_MATH_PRIVATE_H].
293         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
294         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
295         guard to [!MICROBLAZE_MATH_PRIVATE_H].
296         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
297         macro.
298         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
299         [!MIPS_MATH_PRIVATE_H].
300         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
301         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
302         [!NIO2_MATH_PRIVATE_H].
303         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
304         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
305         [!TILE_MATH_PRIVATE_H].
306         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
308         [BZ #15421]
309         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
310         initialize with 0 and define as weak alias of __signgam.
311         * include/math.h [!_ISOMAC] (__signgam): Declare.
312         * math/Makefile (libm-calls): Add w_lgamma_compat.
313         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
314         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
315         test-signgam-ullong-init.
316         (tests-static): Add test-signgam-uchar-static,
317         test-signgam-uchar-init-static, test-signgam-uint-static,
318         test-signgam-uint-init-static, test-signgam-ullong-static and
319         test-signgam-ullong-init-static.
320         (CFLAGS-test-signgam-uchar.c): New variable.
321         (CFLAGS-test-signgam-uchar-init.c): Likewise.
322         (CFLAGS-test-signgam-uchar-static.c): Likewise.
323         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
324         (CFLAGS-test-signgam-uint.c): Likewise.
325         (CFLAGS-test-signgam-uint-init.c): Likewise.
326         (CFLAGS-test-signgam-uint-static.c): Likewise.
327         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
328         (CFLAGS-test-signgam-ullong.c): Likewise.
329         (CFLAGS-test-signgam-ullong-init.c): Likewise.
330         (CFLAGS-test-signgam-ullong-static.c): Likewise.
331         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
332         * math/Versions (libm): Add GLIBC_2.23.
333         * math/lgamma-compat.h: New file.
334         * math/test-signgam-main.c: Likewise.
335         * math/test-signgam-uchar-init-static.c: Likewise.
336         * math/test-signgam-uchar-init.c: Likewise.
337         * math/test-signgam-uchar-static.c: Likewise.
338         * math/test-signgam-uchar.c: Likewise.
339         * math/test-signgam-uint-init-static.c: Likewise.
340         * math/test-signgam-uint-init.c: Likewise.
341         * math/test-signgam-uint-static.c: Likewise.
342         * math/test-signgam-uint.c: Likewise.
343         * math/test-signgam-ullong-init-static.c: Likewise.
344         * math/test-signgam-ullong-init.c: Likewise.
345         * math/test-signgam-ullong-static.c: Likewise.
346         * math/test-signgam-ullong.c: Likewise.
347         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
348         wrapper of w_lgamma_main.c.
349         * math/w_lgamma_compat.c: New file.
350         * math/w_lgamma_compatf.c: Likewise.
351         * math/w_lgamma_compatl.c: Likewise.
352         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
353         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
354         defining compatibility symbols.
355         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
356         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
357         wrapper of w_lgammaf_main.c.
358         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
359         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
360         defining compatibility symbols.
361         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
362         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
363         wrapper of w_lgammal_main.c.
364         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
365         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
366         defining compatibility symbols.
367         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
368         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
369         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
370         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
371         <lgamma-compat.h>.
372         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
373         (__ieee754_gamma): Define as alias.
374         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
375         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
376         <lgamma-compat.h>.
377         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
378         (__ieee754_gammaf): Define as alias.
379         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
380         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
381         <lgamma-compat.h>.
382         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
383         (__ieee754_gammal): Define as alias.
384         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
385         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
386         <math/w_lgamma_compat.c>.
387         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
388         Define as alias of __lgamma_compat and use in defining lgammal.
389         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
390         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
391         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
392         (USE_AS_COMPAT): New macro.
393         (LGAMMA_OLD_VER): Undefine and redefine.
394         (lgammal): Do not define here.
395         (gammal): Only define here if [GAMMA_ALIAS].
396         * conform/linknamespace.pl (@whitelist): Remove signgam.
397         * sysdeps/nacl/libm.abilist: Update.
398         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
399         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
400         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
404         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
405         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
407         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
408         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
409         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
411         Likewise.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
413         Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
415         Likewise.
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
417         Likewise.
418         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
419         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
420         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
421         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
422         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
424         Likewise.
425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
426         Likewise.
427         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
428         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
429         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
431 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
433         [BZ #16364]
434         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
435         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
437 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
439         * sysdeps/s390/fpu/bits/mathinline.h:
440         Use __asm__ [__volatile__] instead of asm [volatile].
441         * sysdeps/s390/abort-instr.h: Likewise.
442         * sysdeps/s390/atomic-machine.h: Likewise.
443         * sysdeps/s390/bits/string.h: Likewise.
444         * sysdeps/s390/dl-tls.h: Likewise.
445         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
446         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
447         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
448         * sysdeps/s390/fpu/fesetround.c: Likewise.
449         * sysdeps/s390/fpu/fpu_control.h: Likewise.
450         * sysdeps/s390/fpu/s_fma.c: Likewise.
451         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
452         * sysdeps/s390/memusage.h: Likewise.
453         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
454         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
455         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
456         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
457         * sysdeps/s390/nptl/tls.h: Likewise.
458         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
459         * sysdeps/s390/s390-32/backtrace.c: Likewise.
460         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
461         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
462         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
463         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
464         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
465         * sysdeps/s390/s390-64/backtrace.c: Likewise.
466         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
467         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
468         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
469         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
470         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
471         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
472         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
473         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
474         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
475         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
476         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
478         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
480         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
482 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
485         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
486         Add lwarx hint, and use macro for acquire instruction.
487         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
488         Likewise.
489         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
490         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
491         update to use new atomic macros.
493 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
495         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
496         (__lll_trylock_elision): Fix setting of adapt_count.
497         * sysdeps/unix/sysv/linux/powerpc/htm.h
498         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
499         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
500         (_ABORT_SYSCALL): Renumber, and clarify definition.
501         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
503 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
505         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
506         after system headers to prevent MIN/MAX redefinition.  Define
507         HAVE_ALLOCA to preserve builtin alloca usage.
509 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
512         static and don't set or restore rounding.
513         (__cos)[IN_SINCOS]: Likewise.
514         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
515         (__sincos): Set and restore rounding mode.  Remove check for infinite
516         or NaN input.
518         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
520         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
521         as used.
523 2015-11-16  Florian Weimer  <fweimer@redhat.com>
525         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
527 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
529         * config.make.in (have-glob-dat-reloc): New.
530         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
531         target supports GLOB_DAT relocaton. AC_SUBST.
532         * configure: Regenerated.
533         * elf/Makefile (tests): Add tst-prelink.
534         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
535         (tst-prelink-ENV): New.
536         ($(objpfx)tst-prelink-conflict.out): Likewise.
537         ($(objpfx)tst-prelink-cmp.out): Likewise.
538         * sysdeps/x86/tst-prelink.c: Moved to ...
539         * elf/tst-prelink.c: Here.
540         * sysdeps/x86/tst-prelink.exp: Moved to ...
541         * elf/tst-prelink.exp: Here.
542         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
543         (tst-prelink-ENV): Removed.
544         ($(objpfx)tst-prelink-conflict.out): Likewise.
545         ($(objpfx)tst-prelink-cmp.out): Likewise.
546         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
548 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
550         [BZ #14551]
551         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
552         (__mpn_construct_long_double): If high part overflows to infinity,
553         set errno and recompute overflowed result of the correct sign.
554         * sysdeps/ieee754/ldbl-128ibm/Makefile
555         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
556         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
557         $(libm).
558         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
560 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
562         [BZ #15479]
563         [BZ #19238]
564         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
565         floating-point state after first operation on input.  Restore full
566         state rather than just rounding mode.
567         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
568         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
569         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
571         [BZ #19235]
572         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
573         add 0.5 to integer arguments.
574         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
575         Likewise.
576         (.LC2): New object.
578 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
580         * scripts/pylintrc (reports): Set to no.
582 2015-11-10  Roland McGrath  <roland@hack.frob.com>
584         * elf/dl-load.c (open_verify): Take new argument FD.
585         Skip __open call if passed FD is not -1.
586         (_dl_map_object, open_path): Update callers.
587         * elf/dl-sysdep-open.h: New file.
588         * elf/dl-load.c: Include it.
589         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
590         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
591         * sysdeps/nacl/dl-sysdep-open.h: New file.
592         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
593         from libc to rtld.
595 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #19228]
598         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
599         and restore full floating-point state.
600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
601         Likewise.
602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
603         Likewise.
604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
605         Likewise.
606         * math/test-nearbyint-except-2.c: New file.
607         * math/Makefile (tests): Add test-nearbyint-except-2.
609 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
611         [BZ #19178]
612         * sysdeps/x86/Makefile (tests): Add tst-prelink.
613         (tst-prelink-ENV): New.
614         ($(objpfx)tst-prelink-conflict.out): Likewise.
615         ($(objpfx)tst-prelink-cmp.out): Likewise.
616         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
617         * sysdeps/x86/tst-prelink.c: New file.
618         * sysdeps/x86/tst-prelink.exp: Likewise.
620 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
622         * math/auto-libm-test-in: Add another test of pow.
623         * math/auto-libm-test-out: Regenerated.
624         * math/libm-test.inc (pow_test_data): Add another test.
626 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
628         [BZ #19219]
629         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
630         weak_alias to nearbyintl.
632 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
634         * sysdeps/aarch64/bits/string.h: New file.
635         (_STRING_ARCH_unaligned): Define.
637 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
639         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
640         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
641         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
642         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
645 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
647         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
648         for original name of the DSO.  Add it to the name list of the DSO
649         if it is actually given.
650         (_dl_map_object): Keep track of whether an audit module rewrote
651         the file name.  If yes, pass the original name to
652         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
653         debugging is enabled, log the change of the file name.
654         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
655         _dl_map_object_from_fd.
656         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
657         * elf/tst-audit11.c: New file
658         * elf/tst-auditmod11.c: New file.
659         * elf/tst-audit11mod1.c: New file.
660         * elf/tst-audit11mod2.c: New file.
661         * elf/tst-audit11mod2.map: New file.
662         * elf/tst-audit12.c: New file
663         * elf/tst-auditmod12.c: New file.
664         * elf/tst-audit12mod1.c: New file.
665         * elf/tst-audit12mod2.c: New file.
666         * elf/tst-audit12mod2.map: New file.
667         * elf/tst-audit12mod3.c: New file.
669 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
671         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
672         Don't create weak aliases,
673         because versioned symbols are created later.
674         * sysdeps/s390/s390-32/setjmp.S
675         (setjmp, _setjmp): Remove weak and rename to an unique name
676         in SHARED case due to existing versioned symbols.
677         * sysdeps/s390/s390-64/setjmp.S: Likewise.
678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
679         (getcontext): Create weak alias only in non SHARED case.
680         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
682 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
684         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
685         (__ASSUME_*_SYSCALL) Define new macros.
686         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
687         Remove socketcall syscalls.
688         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
689         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
690         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
691         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
692         * sysdeps/unix/sysv/linux/send.c (__libc_send):
693         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
695 2015-11-09  Florian Weimer  <fweimer@redhat.com>
697         [BZ #12926]
698         Terminate process on invalid netlink response.
699         * sysdeps/unix/sysv/linux/netlinkaccess.h
700         (__netlink_assert_response): Declare.
701         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
702         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
703         (sysdep_routines): Add netlink_assert_response.
704         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
705         __netlink_assert_response.
706         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
707         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
708         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
709         __netlink_assert_response.
711 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
713         [BZ #19178]
714         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
715         (RTYPE_CLASS_PLT): Likewise.
716         (RTYPE_CLASS_COPY): Likewise.
717         (RTYPE_CLASS_TLS): Likewise.
718         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
719         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
720         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
721         DL_DEBUG_PRELINK.
723 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
725         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
726         calls with argument -0.5.
727         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
729         * configure.ac (libc_cv_z_nodelete): Remove configure test.
730         (libc_cv_z_nodlopen): Likewise.
731         (libc_cv_z_initfirst): Likewise.
732         * configure: Regenerated.
734 2015-11-06  Florian Weimer  <fweimer@redhat.com>
736         Simplify abilist format to be line-based.
737         * scripts/abilist.awk: Collect descriptors in the descs variable.
738         (emit): Write descs variable and sort it
739         externally, with sort.
740         * sysdeps/**/*.abilist: Convert to new format.
742 2015-11-06  Mark Wielaard  <mjw@redhat.com>
744         [BZ #11460]
745         * io/Makefile (routines): Add fts64.
746         (tests): Add tst-fts and tst-fts-lfs.
747         (CFLAGS-fts64.c): New.
748         * io/Versions (GLIBC_2.23): New.
749         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
750         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
751         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
752         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
753         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
754         (FTSENT64): Likewise.
755         (fts64_children): Likewise.
756         (fts64_close): Likewise.
757         (fts64_open): Likewise.
758         (fts64_read): Likewise.
759         (fts64_set): Likewise.
760         * io/fts64.c: New file.
761         * io/tst-fts.c: New test.
762         * io/tst-fts-lfs.c: Likewise.
763         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
764         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
765         fts64_set.
766         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
776         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
777         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
778         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
780         Likewise.
781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
782         Likewise.
783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
793         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
794         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
795         * sysdeps/wordsize-64/fts.c: New file.
796         * sysdeps/wordsize-64/fts64.c: Likewise.
797         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
798         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
799         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
800         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
802 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
804         * math/libm-test.inc (NON_FINITE): New macro.
805         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
806         * math/gen-libm-test.pl (show_exceptions): Add argument
807         $non_finite.
808         (parse_args): Update call to show_exceptions.
809         * math/test-math-finite.h: New file.
810         * math/test-math-no-finite.h: Likewise.
811         * math/test-double-finite.c: Likewise.
812         * math/test-float-finite.c: Likewise.
813         * math/test-ldouble-finite.c: Likewise.
814         * math/test-double.c: Include "test-math-no-finite.h".
815         * math/test-float.c: Include "test-math-no-finite.h".
816         * math/test-ldouble.c: Include "test-math-no-finite.h".
817         * math/test-math-inline.h (TEST_FINITE): New macro.
818         * math/test-math-vector.h (TEST_FINITE): Likewise.
819         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
820         (libm-tests): Add test-float-finite and test-double-finite.
821         ($(objpfx)test-float-finite.o): New dependency on
822         $(objpfx)libm-test.stmp.
823         ($(objpfx)test-double-finite.o): Likewise.
824         ($(objpfx)test-ldouble-finite.o): Likewise.
825         (libm-test-no-inline-cflags): New variable.
826         (libm-test-finite-cflags): Likewise.
827         (CFLAGS-test-float-finite.c): Likewise.
828         (CFLAGS-test-double-finite.c): Likewise.
829         (CFLAGS-test-ldouble-finite.c): Likewise.
830         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
831         (CFLAGS-test-double.c): Likewise.
832         (CFLAGS-test-ldouble.c): Likewise.
834 2015-11-05  Roland McGrath  <roland@hack.frob.com>
836         * io/fcntl.c (__fcntl): Add ... to prototype.
837         * misc/ioctl.c (__ioctl): Likewise.
838         * misc/syscall.c (syscall): Likewise.
840 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
842         * scripts/list-fixed-bugs.py: New file.
844         [BZ #19213]
845         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
846         returned for argument 1.
847         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
848         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
849         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
850         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
851         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
852         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
854         [BZ #19211]
855         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
856         __USE_XOPEN], not if [!__USE_ISOC99].
857         (lgammaf): Likewise.
858         (lgammal): Likewise.
859         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
860         (gammaf): Likewise.
861         (gammal): Likewise.
862         * math/test-signgam-finite-c11.c: New file.
863         * math/test-signgam-finite-c99.c: Likewise.
864         * math/test-signgam-finite.c: Likewise.
865         * math/Makefile (tests): Add test-signgam-finite,
866         test-signgam-finite-c99 and test-signgam-finite-c11.
867         (CFLAGS-test-signgam-finite.c): New variable.
868         (CFLAGS-test-signgam-finite-c99.c): Likewise.
869         (CFLAGS-test-signgam-finite-c11.c): Likewise.
871         [BZ #19212]
872         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
873         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
874         500].
875         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
876         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
877         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
878         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
879         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
880         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
881         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
882         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
883         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
884         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
886         [BZ #19209]
887         * math/bits/math-finite.h (ldexp): Remove declaration.
888         (ldexpf): Likewise.
889         (ldexpl): Likewise.
891         [BZ #19205]
892         * math/bits/math-finite.h (acosf): Condition declaration on
893         [__USE_ISOC99].
894         (acosl): Likewise.
895         (acoshf): Likewise.
896         (acoshl): Likewise.
897         (asinf): Likewise.
898         (asinl): Likewise.
899         (atan2f): Likewise.
900         (atan2l): Likewise.
901         (atanhf): Likewise.
902         (atanhl): Likewise.
903         (coshf): Likewise.
904         (coshl): Likewise.
905         (expf): Likewise.
906         (expl): Likewise.
907         (fmodf): Likewise.
908         (fmodl): Likewise.
909         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
910         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
911         (j0l): Likewise.
912         (y0f): Likewise.
913         (y0l): Likewise.
914         (j1f): Likewise.
915         (j1l): Likewise.
916         (y1f): Likewise.
917         (y1l): Likewise.
918         (jnf): Likewise.
919         (jnl): Likewise.
920         (ynf): Likewise.
921         (ynl): Likewise.
922         (lgammaf_r): Condition declaration on [__USE_ISOC99].
923         (lgammal_r): Likewise.
924         (__lgamma_r_finite): New declaration.
925         (__lgammaf_r_finite): Likewise.
926         (__lgammal_r_finite): Likewise.
927         (lgamma): Use __lgamma_r_finite.
928         (lgammaf): Condition definition on [__USE_ISOC99].  Use
929         __lgammaf_r_finite.
930         (lgammal): Condition definition on [__USE_ISOC99].  Use
931         __lgammal_r_finite.
932         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
933         __lgamma_r_finite.
934         (gammaf): Condition definition on [__USE_ISOC99].  Use
935         __lgammaf_r_finite.
936         (gammal): Condition definition on [__USE_ISOC99].  Use
937         __lgammal_r_finite.
938         (logf): Condition declaration on [__USE_ISOC99].
939         (logl): Likewise.
940         (log10f): Likewise.
941         (log10l): Likewise.
942         (ldexpf): Likewise.
943         (ldexpl): Likewise.
944         (powf): Likewise.
945         (powl): Likewise.
946         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
947         __USE_ISOC99].
948         (remainderf): Condition declaration on [__USE_ISOC99].
949         (remainderl): Likewise.
950         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
951         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
952         (scalbl): Likewise.
953         (sinhf): Condition declaration on [__USE_ISOC99].
954         (sinhl): Likewise.
955         (sqrtf): Likewise.
956         (sqrtl): Likewise.
958 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
960         * sysdeps/arm/atomic-machine.h
961         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
962         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
963         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
964         Remove conditional code.
965         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
966         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
967         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
968         Change conditional to [__ASSEMBLER__].
969         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
970         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
971         [!__ASSEMBLER__].
972         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
973         code.
974         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
975         conditional macro definitions.
976         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
977         (__arch_compare_and_exchange_val_16_acq): Likewise.
978         (__arch_compare_and_exchange_val_32_acq): Likewise.
979         (atomic_exchange_and_add): Likewise.
980         (atomic_add): Likewise.
981         (atomic_add_negative): Likewise.
982         (atomic_add_zero): Likewise.
983         (atomic_bit_set): Likewise.
984         (atomic_bit_test_set): Likewise.
985         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
986         code unconditional.
987         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
989         * math/test-math-errno.h: New file.
990         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
991         empty.
992         (TEST_ERRNO): New macro.
993         (TEST_EXCEPTIONS): Likewise.
994         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
995         (TEST_EXCEPTIONS): Likewise.
996         * math/test-math-vector.h (TEST_ERRNO): Likewise.
997         * math/test-double.c: Include "test-math-errno.h".
998         * math/test-float.c: Likewise.
999         * math/test-ldouble.c: Likewise.
1000         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1001         code unconditional.
1002         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1003         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1004         unconditional.
1005         (test_errno): Only run code if TEST_ERRNO.
1006         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1008 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1010         * nptl/tst-once5.cc: Remove attribution.
1012 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1014         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1015         sqrt, tan, tanh, y0, y1 and yn.
1016         * math/auto-libm-test-out: Regenerated.
1017         * math/libm-test.inc (scalb_test_data): Add more tests.
1018         (scalbn_test_data): Likewise.
1019         (scalbln_test_data): Likewise.
1020         (signbit_test_data): Likewise.
1021         (sin_test_data): Likewise.
1022         (sincos_test_data): Likewise.
1023         (sinh_test_data): Likewise.
1024         (sqrt_test_data): Likewise.
1025         (tan_test_data): Likewise.
1026         (tanh_test_data): Likewise.
1027         (tgamma_test_data): Likewise.
1028         (y0_test_data): Likewise.
1029         (y1_test_data): Likewise.
1030         (yn_test_data): Likewise.
1031         (significand_test_data): Likewise.
1032         * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 2015-11-03  David Kastrup  <dak@gnu.org>
1036         [BZ #18604]
1037         * assert/assert.h (assert): Don't macro-expand failed assertion
1038         expression in error message.
1039         * malloc/malloc.c (assert): Likewise.
1041 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1043         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1044         test.
1045         * configure: Regenerated.
1047 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1049         * math/libm-test.inc (modf_test_data): Add more tests.
1050         (nearbyint_test_data): Likewise.
1051         (nextafter_test_data): Likewise.
1052         (nexttoward_test_data): Likewise.
1053         (pow_test_data): Likewise.
1054         (remainder_test_data): Likewise.
1055         (remquo_test_data): Likewise.
1056         (rint_test_data): Likewise.
1058         [BZ #19201]
1059         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1060         Check for zero remainder in case of large exponents and ensure
1061         correct sign of result in that case.
1062         * math/libm-test.inc (remainder_test_data): Add more tests.
1064         [BZ #6799]
1065         * math/s_nextafter.c: Include <errno.h>.
1066         (__nextafter): Set errno on overflow and underflow.
1067         * math/s_nexttowardf.c: Include <errno.h>.
1068         (__nexttowardf): Set errno on overflow and underflow.
1069         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1070         (__nextafterl): Set errno on overflow and underflow.
1071         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1072         (__nexttoward): Set errno on overflow and underflow.
1073         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1074         (__nexttowardf): Set errno on overflow and underflow.
1075         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1076         (__nextafterf): Set errno on overflow and underflow.
1077         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1078         (__nextafterl): Set errno on overflow and underflow.
1079         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1080         (__nexttoward): Set errno on overflow and underflow.
1081         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1082         (__nexttowardf): Set errno on overflow and underflow.
1083         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1084         (__nextafterl): Set errno on overflow and underflow.
1085         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1086         (__nexttoward): Set errno on overflow and underflow.
1087         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1088         (__nexttowardf): Set errno on overflow and underflow.
1089         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1090         (__nexttoward): Set errno on overflow and underflow.
1091         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1092         (__nexttowardf): Set errno on overflow and underflow.
1093         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1094         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1095         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1096         (__nextafterl): Set errno on overflow and underflow.
1097         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1098         setting to be missing on overflow.  Add more tests.
1099         (nexttoward_test_data): Likewise.
1101         * configure.ac (libc_cv_initfini_array): Remove configure test.
1102         * configure: Regenerated.
1104 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1106         [BZ #19189]
1107         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1108         non-finite argument handle arguments with negative sign.
1110         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1111         result from infinite argument.
1112         (j1_test_data): Likewise.
1113         (jn_test_data): Likewise.
1114         (y0_test_data): Likewise.
1115         (y1_test_data): Likewise.
1116         (yn_test_data): Likewise.
1118         [BZ #16171]
1119         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1120         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1121         * math/w_remainderf.c (dremf): Define as weak alias of
1122         __remainderf.
1123         * math/w_remainderl.c (dreml): Define as weak alias of
1124         __remainderl.
1125         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1126         __remainder.
1127         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1128         __remainderf.
1129         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1130         __remainderl.
1131         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1132         weak alias of remainderl.
1133         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1134         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1135         alias of __remainder.
1136         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1137         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1138         strong alias of __remainderl.
1139         (dreml): Use long_double_symbol.
1140         * math/Makefile (libm-calls): Remove w_drem.
1141         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1142         (CFLAGS-nldbl-drem.c): Remove variable.
1143         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1144         * math/w_drem.c: Remove file.
1145         * math/w_dremf.c: Likewise.
1146         * math/w_dreml.c: Likewise.
1147         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1148         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1149         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1151         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1152         * sysdeps/i386/configure: Regenerated.
1153         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1154         * sysdeps/x86_64/configure: Regenerated.
1156         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1157         test.
1158         (libc_cv_visibility_attribute): Likewise.
1159         (libc_cv_protected_data): Test unconditionally.
1160         (libc_cv_broken_visibility_attribute): Remove configure test.
1161         (libc_cv_have_sdata_section): Test unconditionally.
1162         * configure: Regenerated.
1164         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1165         * include/scratch_buffer.h: Include <stddef.h> instead of
1166         <libc-internal.h>.
1167         (struct scratch_buffer): Use max_align_t instead of
1168         libc_max_align_t.
1170 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1172         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1173         instead of extend_alloca.  Change control flow to avoid a goto.
1174         Remove assert which is trivially always true.
1176 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1178         [BZ #16068]
1179         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1180         (FE_ALL_EXCEPT_X86): New macro.
1181         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1182         FE_ALL_EXCEPT.  Ensure precision control is included in
1183         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1184         handle "denormal operand exception" and clear FZ and DAZ bits.
1185         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1186         (FE_ALL_EXCEPT_X86): New macro.
1187         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1188         FE_ALL_EXCEPT.  Ensure precision control is included in
1189         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1190         handle "denormal operand exception" and clear FZ and DAZ bits.
1191         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1192         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1193         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1194         test-fenv-x87 and test-fenv-sse-2.
1195         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1197         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1198         * math/test-double.h (BUILD_COMPLEX): New macro.
1199         * math/test-float.h (BUILD_COMPLEX): Likewise.
1200         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1202         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1203         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1204         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1206         instead of DBL_DENORM_MIN in comment.
1207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1208         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1210         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1211         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1212         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1214 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1216         [BZ# 19048]
1217         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1218         attached_threads member.
1219         (main_arena): Initialize attached_threads.
1220         * malloc/arena.c (list_lock): Update comment.
1221         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1222         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1223         (deattach_arena): New function.
1224         (_int_new_arena): Initialize arena reference count and deattach
1225         replaced arena.
1226         (get_free_list, reused_arena): Update reference count and deattach
1227         replaced arena.
1228         (arena_thread_freeres): Update arena reference count and only put
1229         unreferenced arenas on the free list.
1231 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1233         [BZ #19181]
1234         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1235         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1236         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1237         * math/test-fenv-clear-main.c: New file.
1238         * math/test-fenv-clear.c: Likewise.
1239         * math/Makefile (tests): Add test-fenv-clear.
1240         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1241         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1242         test-fenv-clear-sse.
1243         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1245         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1246         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1247         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1249 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1251         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1252         static libc.
1254 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1256         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1257         test.
1258         * sysdeps/i386/configure: Regenerated.
1259         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1260         test.
1261         * sysdeps/x86_64/configure: Regenerated.
1262         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1264         memset-avx2 unconditionally instead of conditionally on
1265         [$(config-cflags-avx2) = yes].
1266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1267         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1268         unconditional.
1269         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1270         * sysdeps/x86_64/multiarch/memset_chk.S
1271         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1272         to [IS_IN (libc) && SHARED].
1274 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1276         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1277         configure test.
1278         * sysdeps/arm/configure: Regenerated.
1279         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1280         Define variable if not already defined.
1282         [BZ #17404]
1283         * sysdeps/mips/atomic-machine.h
1284         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1285         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1286         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1288         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1289         unconditional.
1290         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1291         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1292         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1293         unconditional.
1294         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1295         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1296         unconditional.
1297         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1298         * stdlib/setenv.c
1299         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1300         code unconditional.
1301         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1302         Remove conditional code.
1303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1304         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1305         unconditional.
1306         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1307         code.
1308         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1309         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1310         unconditional.
1311         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1312         code.
1313         * sysdeps/ieee754/ldbl-128/k_tanl.c
1314         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1315         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1316         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1317         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1318         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1320         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1321         unconditional.
1322         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1323         code.
1324         * sysdeps/ieee754/ldbl-96/k_tanl.c
1325         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1326         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1328         * nptl/tst-initializers1-c11.c: New file.
1329         * nptl/tst-initializers1-gnu11.c: Likewise.
1330         * nptl/Makefile (tests): Add these new tests.
1331         (CFLAGS-tst-initializers1-c11.c): New variable.
1332         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1334         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1335         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1336         instead of -std=gnu99.
1337         * configure.ac (systemtap): Test with -std=gnu11 instead of
1338         -std=gnu99.
1339         * configure: Regenerated.
1340         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1341         in compilation command in comment.
1343         * sysdeps/nptl/configure.ac: Remove file.
1344         * sysdeps/nptl/configure: Remove generated file.
1345         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1346         * configure: Regenerated.
1347         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1348         * config.make.in (have-forced-unwind): Remove variable.
1349         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1350         unconditional.
1351         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1352         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1353         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1354         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1355         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1356         unconditional.
1358 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1360         [BZ #19174]
1361         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1362         .skip_lock_out_of_tbegin_retries.
1363         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1364         (__lll_lock_elision): Likewise, and respect a value of
1365         try_tbegin <= 0.
1367 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1369         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1370         statement.
1372 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1374         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1375         variable.
1376         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1377         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1379         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1380         of -std=c1x -D_ISOC11_SOURCE.
1382         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1383         * configure: Regenerated.
1384         * manual/install.texi (Tools for Compilation): Document
1385         requirement for GCC 4.7 or later.
1386         * INSTALL: Regenerated.
1388 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1390         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1391         on CNT to a conditional jump to 'puntdata'.
1393 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1395         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1396         (libc_cv_gcc_tls_model_attr): Likewise.
1397         * configure: Regenerated.
1399         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1400         * configure: Regenerated.
1401         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1403 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1405         * configure.ac (old_glibc_headers): Remove configure test.
1406         * configure: Regenerated.
1407         * config.make.in (old-glibc-headers): Remove variable.
1408         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1409         (install): Remove dependency on remove-old-headers.
1410         (headers2_0): Remove variable.
1411         (remove-old-headers): Remove rule.
1413         * configure.ac (libc_cv_dot_text): Remove configure test.
1414         (libc_cv_asm_set_directive): Use .text instead of
1415         ${libc_cv_dot_text} in configure test.
1416         * configure: Regenerated.
1418 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1420         [BZ #19168]
1421         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1423 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1425         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1426         not support static linking.
1427         * configure: Regenerate.
1429 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1431         * math/libm-test.inc (check_float_internal): Do not special-case
1432         errors up to 0.5 ulp.
1434         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1435         log2.
1436         * math/auto-libm-test-out: Regenerated.
1437         * math/libm-test.inc (MAX_EXP): New macro.
1438         (ilogb_test_data): Add more tests.
1439         (isfinite_test_data): Likewise.
1440         (isgreater_test_data): Likewise.
1441         (isgreaterequal_test_data): Likewise.
1442         (isinf_test_data): Likewise.
1443         (isless_test_data): Likewise.
1444         (islessequal_test_data): Likewise.
1445         (islessgreater_test_data): Likewise.
1446         (isnan_test_data): Likewise.
1447         (isnormal_test_data): Likewise.
1448         (issignaling_test_data): Likewise.
1449         (isunordered_test_data): Likewise.
1450         (j0_test_data): Likewise.
1451         (j1_test_data): Likewise.
1452         (jn_test_data): Likewise.
1453         (lgamma_test_data): Likewise.
1454         (log_test_data): Likewise.
1455         (log10_test_data): Likewise.
1456         (log1p_test_data): Likewise.
1457         (log2_test_data): Likewise.
1458         (logb_test_data): Likewise.
1459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1461         [BZ #18611]
1462         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1463         avoid excess range and precision on underflow.
1464         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1465         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1466         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1467         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1468         underflow.
1469         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1471         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1472         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1473         * math/auto-libm-test-in: Do not allow missing errno setting for
1474         tests of j1 and jn.
1475         * math/auto-libm-test-out: Regenerated.
1477 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1479         [BZ #15491]
1480         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1481         floating-point environment instead of clearing all exceptions.
1482         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1483         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1484         merging in "invalid" exceptions from frndint.
1485         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1486         * math/test-nearbyint-except.c: New file.
1487         * math/Makefile (tests): Add test-nearbyint-except.
1489 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1491         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1493         * sysdeps/tile/libm-test-ulps: Regenerated.
1495 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1498         (__NR_sync_file_range2): Assume it is always defined.
1499         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1500         (__NR_sync_file_range): Assume it is always defined.
1502 2015-10-22  Andreas Schwab  <schwab@suse.de>
1504         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1505         INTERNAL_SYSCALL_ERRNO.
1506         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1507         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1508         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1509         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1510         Likewise.
1511         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1513 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1515         * io/tst-fcntl.c (fd): New static variable.
1516         (do_prepare): Open temporary file here....
1517         (do_test): ...not here.
1519         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1521 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1523         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1524         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1525         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1526         Moved before "#ifdef __ASSEMBLER__".
1528 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1530         [BZ #19156]
1531         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1532         arguments very close to 0.
1534 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1536         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1537         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1539 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1541         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1542         New.  Defined for GCC 5 and above when not compiling for
1543         profiling.
1544         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1546         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1547         Renamed to ...
1548         (CFLAGS-epoll_pwait.o): This.
1549         (CFLAGS-mmap.c): Renamed to ...
1550         (CFLAGS-mmap.o): This.
1551         (CFLAGS-mmap64.c): Renamed to ...
1552         (CFLAGS-mmap64.o): This.
1553         (CFLAGS-epoll_pwait.os): New.
1554         (CFLAGS-mmap.os): Likewise.
1555         (CFLAGS-mmap64.os): Likewise.
1556         (CFLAGS-semtimedop.os): Likewise.
1557         (CFLAGS-semtimedop.c): Renamed to ...
1558         (CFLAGS-semtimedop.o): This.
1560 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1562         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1563         warning message.
1565 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1567         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1568         * Makefile ($(objpfx)c++-types-check.out): Filter out
1569         $(+gccwarn-c) instead of -Wstrict-prototypes.
1571         * io/fts.c (fts_open): Convert to prototype-style function
1572         definition.
1573         * malloc/mcheck.c (mcheck): Likewise.
1574         (mcheck_pedantic): Likewise.
1575         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1576         internal_function.
1577         (re_search_internal): Likewise.
1578         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1579         prototype-style function definition.
1580         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1581         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1582         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1583         (xdr_utmpptr): Likewise.
1584         (xdr_utmparr): Likewise.
1585         (xdr_utmpidle): Likewise.
1586         (xdr_utmpidleptr): Likewise.
1587         (xdr_utmpidlearr): Likewise.
1589         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1590         log, log10 and log2.
1591         * math/auto-libm-test-out: Regenerated.
1592         * math/libm-test.inc (fmod_test_data): Add more tests.
1593         (fpclassify_test_data): Likewise.
1594         (frexp_test_data): Likewise.
1595         (hypot_test_data): Likewise.
1596         (ilogb_test_data): Likewise.
1598 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1600         * debug/fortify_fail.c (__fortify_fail): Convert to
1601         prototype-style function definition.  Use internal_function.
1602         * libio/genops.c (save_for_backup): Convert to prototype-style
1603         function definition.
1604         * libio/wgenops.c (save_for_wbackup): Likewise.
1605         * login/grantpt.c (grantpt): Likewise.
1606         * login/ptsname.c (ptsname): Likewise.
1607         (__ptsname_r): Likewise.
1608         * login/unlockpt.c (unlockpt): Likewise.
1609         * mach/msgserver.c (__mach_msg_server): Likewise.
1610         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1611         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1612         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1613         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1614         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1615         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1616         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1617         Likewise.
1618         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1619         internal_function.
1620         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1621         prototype-style function definition.
1622         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1623         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1624         (__pthread_create_2_0): Likewise.
1625         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1626         * nptl/register-atfork.c (__register_atfork): Likewise.
1627         * posix/glob.c (glob): Likewise.
1628         * posix/regcomp.c (re_comp): Likewise.
1629         * posix/regexec.c (re_exec): Likewise.
1630         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1631         [!__STDC__]: Remove conditional code.
1632         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1633         [!__STDC__]: Remove conditional code.
1634         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1635         [!__STDC__]: Remove conditional code.
1636         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1637         [!__STDC__]: Remove conditional code.
1638         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1639         [!__STDC__]: Remove conditional code.
1640         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1641         [!__STDC__]: Remove conditional code.
1642         * stdlib/mul.c [__STDC__]: Make code unconditional.
1643         [!__STDC__]: Remove conditional code.
1644         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1645         [!__STDC__]: Remove conditional code.
1646         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1647         [!__STDC__]: Remove conditional code.
1648         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1649         function definition.
1650         (STRTOF): Likewise.
1651         * stdlib/strtod_l.c (__STRTOF): Likewise.
1652         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1653         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1654         (__strtol_l): Likewise.
1655         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1656         [!__STDC__]: Remove conditional code.
1657         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1658         definition.
1659         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1660         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1661         type.
1662         (__strcasecmp): Convert to prototype-style function definition.
1663         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1664         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1665         type.
1666         (__strncasecmp): Convert to prototype-style function definition.
1667         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1668         * sunrpc/xdr.c (xdr_union): Likewise.
1669         * sunrpc/xdr_array.c (xdr_array): Likewise.
1670         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1671         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1672         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1673         Likewise.
1674         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1675         Likewise.
1676         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1677         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1678         Likewise.
1679         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1680         (LOCALE_PARAM_PROTO): Likewise.
1681         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1682         argument type.
1683         (ut_argument_spec): Remove macro.
1684         (ut_argument_spec_iso): Rename to ut_argument_spec.
1685         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1686         prototype-style function definition.
1687         (memcpy_uppcase): Likewise.
1688         (__strftime_internal): Likewise.
1689         (my_strftime): Likewise.
1690         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1691         (LOCALE_PARAM_DECL): Likewise.
1692         [_LIBC] (LOCALE_PARAM): Include argument type.
1693         (__strptime_internal): Convert to prototype-style function
1694         definition.
1695         (strptime): Likewise.
1696         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1697         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1698         type.
1699         (__wcscasecmp): Convert to prototype-style function definition.
1700         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1701         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1702         type.
1703         (__wcsncasecmp): Convert to prototype-style function definition.
1705         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1706         function definition.
1707         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1708         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1709         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1710         * elf/dl-minimal.c (_itoa): Likewise.
1711         * hurd/hurdmalloc.c (malloc): Likewise.
1712         (free): Likewise.
1713         (realloc): Likewise.
1714         * inet/inet6_option.c (inet6_option_space): Likewise.
1715         (inet6_option_init): Likewise.
1716         (inet6_option_append): Likewise.
1717         (inet6_option_alloc): Likewise.
1718         (inet6_option_next): Likewise.
1719         (inet6_option_find): Likewise.
1720         * io/ftw.c (FTW_NAME): Likewise.
1721         (NFTW_NAME): Likewise.
1722         (NFTW_NEW_NAME): Likewise.
1723         (NFTW_OLD_NAME): Likewise.
1724         * libio/iofwide.c (_IO_fwide): Likewise.
1725         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1726         (_IO_str_init_static): Likewise.
1727         (_IO_str_init_readonly): Likewise.
1728         (_IO_str_overflow): Likewise.
1729         (_IO_str_underflow): Likewise.
1730         (_IO_str_count): Likewise.
1731         (_IO_str_seekoff): Likewise.
1732         (_IO_str_pbackfail): Likewise.
1733         (_IO_str_finish): Likewise.
1734         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1735         (_IO_wstr_overflow): Likewise.
1736         (_IO_wstr_underflow): Likewise.
1737         (_IO_wstr_count): Likewise.
1738         (_IO_wstr_seekoff): Likewise.
1739         (_IO_wstr_pbackfail): Likewise.
1740         (_IO_wstr_finish): Likewise.
1741         * locale/programs/localedef.c (normalize_codeset): Likewise.
1742         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1743         (add_locales_to_archive): Likewise.
1744         (delete_locales_from_archive): Likewise.
1745         * malloc/malloc.c (__libc_mallinfo): Likewise.
1746         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1747         * misc/tsearch.c (__tfind): Likewise.
1748         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1749         * nptl/pthread_attr_getdetachstate.c
1750         (__pthread_attr_getdetachstate): Likewise.
1751         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1752         Likewise.
1753         * nptl/pthread_attr_getinheritsched.c
1754         (__pthread_attr_getinheritsched): Likewise.
1755         * nptl/pthread_attr_getschedparam.c
1756         (__pthread_attr_getschedparam): Likewise.
1757         * nptl/pthread_attr_getschedpolicy.c
1758         (__pthread_attr_getschedpolicy): Likewise.
1759         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1760         Likewise.
1761         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1762         Likewise.
1763         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1764         Likewise.
1765         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1766         Likewise.
1767         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1768         (__pthread_attr_init_2_0): Likewise.
1769         * nptl/pthread_attr_setdetachstate.c
1770         (__pthread_attr_setdetachstate): Likewise.
1771         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1772         Likewise.
1773         * nptl/pthread_attr_setinheritsched.c
1774         (__pthread_attr_setinheritsched): Likewise.
1775         * nptl/pthread_attr_setschedparam.c
1776         (__pthread_attr_setschedparam): Likewise.
1777         * nptl/pthread_attr_setschedpolicy.c
1778         (__pthread_attr_setschedpolicy): Likewise.
1779         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1780         Likewise.
1781         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1782         Likewise.
1783         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1784         Likewise.
1785         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1786         Likewise.
1787         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1788         Likewise.
1789         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1790         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1791         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1792         use internal_function.
1793         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1794         prototype-style function definition.
1795         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1796         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1797         internal_function.
1798         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1799         Convert to prototype-style function definition.
1800         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1801         Likewise.
1802         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1803         Likewise.
1804         (__pthread_mutex_unlock): Likewise.
1805         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1806         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1807         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1808         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1809         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1810         * nss/makedb.c (process_input): Likewise.
1811         * posix/fnmatch.c (__strchrnul): Likewise.
1812         (__wcschrnul): Likewise.
1813         (fnmatch): Likewise.
1814         * posix/fnmatch_loop.c (FCT): Likewise.
1815         * posix/glob.c (globfree): Likewise.
1816         (__glob_pattern_type): Likewise.
1817         (__glob_pattern_p): Likewise.
1818         * posix/regcomp.c (re_compile_pattern): Likewise.
1819         (re_set_syntax): Likewise.
1820         (re_compile_fastmap): Likewise.
1821         (regcomp): Likewise.
1822         (regerror): Likewise.
1823         (regfree): Likewise.
1824         * posix/regexec.c (regexec): Likewise.
1825         (re_match): Likewise.
1826         (re_search): Likewise.
1827         (re_match_2): Likewise.
1828         (re_search_2): Likewise.
1829         (re_search_stub): Likewise.  Use internal_function
1830         (re_copy_regs): Likewise.
1831         (re_set_registers): Convert to prototype-style function
1832         definition.
1833         (prune_impossible_nodes): Likewise.  Use internal_function.
1834         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1835         prototype-style function definition.
1836         (inet_net_pton_ipv4): Likewise.
1837         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1838         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1839         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1840         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1841         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1842         Make variadic.
1843         * time/strptime_l.c (localtime_r): Convert to prototype-style
1844         function definition.
1845         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1846         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1847         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1848         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1850         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1851         definition.
1852         (_ufc_doit_r): Likewise.
1853         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1854         (_ufc_output_conversion_r): Likewise.
1855         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1856         * inet/rcmd.c (rcmd_af): Likewise.
1857         (rcmd): Likewise.
1858         (ruserok_af): Likewise.
1859         (ruserok): Likewise.
1860         (ruserok2_sa): Likewise.
1861         (ruserok_sa): Likewise.
1862         (iruserok_af): Likewise.
1863         (iruserok): Likewise.
1864         (__ivaliduser): Likewise.
1865         (__validuser2_sa): Likewise.
1866         * inet/rexec.c (rexec_af): Likewise.
1867         (rexec): Likewise.
1868         * inet/ruserpass.c (ruserpass): Likewise.
1869         * locale/programs/xmalloc.c (xcalloc): Likewise.
1870         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1871         * math/w_drem.c (__drem): Likewise.
1872         * math/w_dremf.c (__dremf): Likewise.
1873         * math/w_dreml.c (__dreml): Likewise.
1874         * misc/daemon.c (daemon): Likewise.
1875         * resolv/res_debug.c (p_fqnname): Likewise.
1876         * stdlib/div.c (div): Likewise.
1877         * string/memcmp.c (memcmp_bytes): Likewise.
1878         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1879         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1881         * crypt/cert.c (main): Convert to prototype-style function
1882         definition.
1883         * io/pipe.c (__pipe): Likewise.
1884         * io/pipe2.c (__pipe2): Likewise.
1885         * misc/futimesat.c (futimesat): Likewise.
1886         * misc/utimes.c (__utimes): Likewise.
1887         * posix/execve.c (__execve): Likewise.
1888         * posix/execvp.c (execvp): Likewise.
1889         * posix/execvpe.c (__execvpe): Likewise.
1890         * posix/fexecve.c (fexecve): Likewise.
1891         * socket/socketpair.c (socketpair): Likewise.
1892         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1893         * stdlib/erand48.c (erand48): Likewise.
1894         * stdlib/erand48_r.c (__erand48_r): Likewise.
1895         * stdlib/jrand48.c (jrand48): Likewise.
1896         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1897         * stdlib/lcong48.c (lcong48): Likewise.
1898         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1899         * stdlib/nrand48.c (nrand48): Likewise.
1900         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1901         * stdlib/seed48.c (seed48): Likewise.
1902         * stdlib/seed48_r.c (__seed48_r): Likewise.
1903         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1904         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1905         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1907 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1909         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1910         * configure: Regenerated.
1911         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1912         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1913         unconditional.
1914         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1915         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1916         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1917         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1918         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1919         unconditional.
1920         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1922         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1923         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1925         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1926         function definition.
1927         * crypt/crypt_util.c (__encrypt_r): Likewise.
1928         * libio/genops.c (_IO_no_init): Likewise.
1929         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1930         (_IO_old_fopencookie): Likewise.
1931         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1932         * libio/iogetline.c (_IO_getline): Likewise.
1933         (_IO_getline_info): Likewise.
1934         * libio/iogetwline.c (_IO_getwline): Likewise.
1935         (_IO_getwline_info): Likewise.
1936         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1937         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1938         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1939         (find_entry): Likewise.
1940         (iterate_table): Likewise.
1941         (lookup): Likewise.
1942         * login/forkpty.c (forkpty): Likewise.
1943         * misc/hsearch_r.c (__hsearch_r): Likewise.
1944         * misc/select.c (__select): Likewise.
1945         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1946         Likewise.
1947         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1948         Likewise.
1949         * nptl/old_pthread_cond_timedwait.c
1950         (__pthread_cond_timedwait_2_0): Likewise.
1951         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1952         * nptl/pthread_barrierattr_getpshared.c
1953         (pthread_barrierattr_getpshared): Likewise.
1954         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1955         Likewise.
1956         * nptl/pthread_mutex_setprioceiling.c
1957         (pthread_mutex_setprioceiling): Likewise.
1958         * nptl/pthread_mutexattr_getprioceiling.c
1959         (pthread_mutexattr_getprioceiling): Likewise.
1960         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1961         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1962         Likewise.
1963         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1964         Likewise.
1965         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1966         Likewise.
1967         * socket/recvfrom.c (__recvfrom): Likewise.
1968         * socket/sendto.c (__sendto): Likewise.
1969         * socket/setsockopt.c (__setsockopt): Likewise.
1970         * stdio-common/_itoa.c (_itoa): Likewise.
1971         * stdio-common/_itowa.c (_itowa): Likewise.
1972         * stdio-common/reg-printf.c (__register_printf_specifier):
1973         Likewise.
1974         (__register_printf_function): Likewise.
1975         * stdio-common/tempname.c (__path_search): Likewise.
1976         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1977         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1978         * stdlib/random_r.c (__initstate_r): Likewise.
1979         * stdlib/setenv.c (__add_to_environ): Likewise.
1980         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1981         * streams/getpmsg.c (getpmsg): Likewise.
1982         * streams/putmsg.c (putmsg): Likewise.
1983         * streams/putpmsg.c (putpmsg): Likewise.
1984         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1985         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1986         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1987         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1988         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1989         * sunrpc/svc_udp.c (cache_get): Likewise.
1990         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1991         * sysdeps/mach/hurd/getcwd.c
1992         (__canonicalize_directory_name_internal): Likewise.
1993         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1994         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1995         * sysdeps/mach/hurd/select.c (__select): Likewise.
1996         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1997         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1998         * sysdeps/sparc/nptl/pthread_barrier_init.c
1999         (__pthread_barrier_init): Likewise.
2000         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2001         (__pthread_cond_timedwait): Likewise.
2002         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2003         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2004         Likewise.
2005         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2006         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2007         Likewise.
2008         * sysvipc/semtimedop.c (semtimedop): Likewise.
2009         * time/setitimer.c (__setitimer): Likewise.
2010         * time/strftime_l.c (emacs_strftime): Likewise.
2012 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2014         * config.make.in (have-ssp): Delete.
2015         (stack-protector): New variable.
2016         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2017         cache test for -fstack-protector-strong.  Export stack_protector to
2018         the best ssp flag.
2019         * configure: Regenerated.
2020         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2021         * nscd/Makefile (CFLAGS-nscd): Likewise.
2022         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2024 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2026         [BZ #19122]
2027         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2028         attribute_hidden.
2030 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2032         [BZ #18743]
2033         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2034         code to...
2035         (ELIDE_LOCK): ...here.
2036         (__get_new_count): New function with part of the code from
2037         __elide_lock that updates the value of adapt_count after a
2038         transaction abort.
2039         (__elided_trylock): Moved this code to...
2040         (ELIDE_TRYLOCK): ...here.
2042 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2044         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2045         * configure: Regenerate.
2046         * INSTALL: Regenerate.
2047         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2048         and tweak grammar.
2050 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2052         * login/programs/pt_chown.c: Include signal.h
2053         (main): Clear any signal mask from the parent process.
2055 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2057         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2058         * configure: Regenerated.
2059         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2060         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2061         $(gnu89-inline-CFLAGS).
2063         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2064         test.
2065         (libc_cv_asm_weakext_directive): Likewise.
2066         * configure: Regenerated.
2067         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2068         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2069         * include/libc-symbols.h
2070         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2071         #error.
2072         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2073         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2075         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2076         prototype-style function definition.
2077         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2078         * sysdeps/i386/ffs.c (__ffs): Likewise.
2079         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2080         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2081         Likewise.
2082         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2083         Likewise.
2084         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2086         Likewise.
2087         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2088         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2089         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2090         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2091         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2092         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2093         * sysdeps/mach/hurd/access.c (__access): Likewise.
2094         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2095         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2096         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2097         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2098         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2099         (cthread_getspecific): Likewise.
2100         (cthread_setspecific): Likewise.
2101         (__libc_getspecific): Likewise.
2102         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2103         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2104         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2105         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2106         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2107         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2108         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2109         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2110         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2111         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2112         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2113         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2114         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2115         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2116         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2117         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2118         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2119         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2120         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2121         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2122         * sysdeps/mach/hurd/link.c (__link): Likewise.
2123         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2124         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2125         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2126         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2127         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2128         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2129         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2130         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2131         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2132         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2133         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2134         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2135         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2136         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2137         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2138         * sysdeps/mach/hurd/send.c (__send): Likewise.
2139         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2140         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2141         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2142         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2143         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2144         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2145         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2146         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2147         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2148         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2149         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2150         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2151         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2152         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2153         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2154         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2155         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2156         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2157         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2158         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2159         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2160         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2161         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2162         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2163         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2164         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2165         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2166         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2167         * sysdeps/posix/alarm.c (alarm): Likewise.
2168         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2169         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2170         * sysdeps/posix/dup.c (__dup): Likewise.
2171         * sysdeps/posix/dup2.c (__dup2): Likewise.
2172         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2173         (main): Likewise.
2174         * sysdeps/posix/flock.c (__flock): Likewise.
2175         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2176         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2177         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2178         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2179         * sysdeps/posix/isatty.c (__isatty): Likewise.
2180         * sysdeps/posix/killpg.c (killpg): Likewise.
2181         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2182         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2183         * sysdeps/posix/raise.c (raise): Likewise.
2184         * sysdeps/posix/remove.c (remove): Likewise.
2185         * sysdeps/posix/rename.c (rename): Likewise.
2186         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2187         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2188         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2189         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2190         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2191         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2192         * sysdeps/posix/sigset.c (sigset): Likewise.
2193         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2194         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2195         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2196         * sysdeps/posix/time.c (time): Likewise.
2197         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2198         (ttyname): Likewise.
2199         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2200         * sysdeps/posix/utime.c (utime): Likewise.
2201         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2202         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2203         Likewise.
2204         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2205         (pthread_spin_trylock): Likewise.
2206         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2207         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2208         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2209         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2210         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2211         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2212         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2213         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2214         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2215         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2216         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2217         * sysdeps/s390/ffs.c (__ffs): Likewise.
2218         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2219         Likewise.
2220         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2221         Likewise.
2222         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2223         Likewise.
2224         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2225         (pthread_barrier_destroy): Likewise.
2226         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2227         (__pthread_barrier_wait): Likewise.
2228         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2229         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2230         (__pthread_barrier_wait): Likewise.
2231         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2232         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2233         (memcmp_not_common_alignment): Likewise.
2234         (MEMCMP): Likewise.
2235         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2236         (_wordcopy_fwd_dest_aligned): Likewise.
2237         (_wordcopy_bwd_aligned): Likewise.
2238         (_wordcopy_bwd_dest_aligned): Likewise.
2239         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2240         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2241         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2242         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2243         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2244         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2245         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2246         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2247         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2248         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2249         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2250         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2251         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2252         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2253         * sysdeps/unix/stime.c (stime): Likewise.
2254         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2255         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2256         Likewise.  Use internal_function.
2257         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2258         Convert to prototype-style function definition.
2259         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2260         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2261         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2262         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2263         Likewise.  Use internal_function.
2264         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2265         prototype-style function definition
2266         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2267         Likewise.
2268         (__getlogin_r): Likewise.
2269         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2271         (__pthread_cond_broadcast): Likewise.
2272         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2273         (__pthread_cond_destroy): Likewise.
2274         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2275         (__pthread_cond_init): Likewise.
2276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2277         (__pthread_cond_signal): Likewise.
2278         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2279         (__pthread_cond_wait): Likewise.
2280         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2281         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2282         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2285         Likewise.
2286         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2289         Likewise.
2290         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2292         (__ftruncate64): Likewise.
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2294         (truncate64): Likewise.
2295         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2296         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2297         (pthread_getcpuclockid): Likewise.
2298         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2299         Likewise.
2300         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2301         Likewise.
2302         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2303         Likewise.
2304         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2305         Likewise.
2306         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2307         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2308         (__libc_sigaction): Likewise.
2309         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2310         Likewise.
2311         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2312         (__sigprocmask): Likewise.
2313         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2314         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2315         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2316         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2317         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2318         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2319         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2320         Likewise.
2321         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2322         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2323         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2324         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2326         Likewise.
2327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2328         (__sigprocmask): Likewise.
2329         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2330         (cfgetispeed): Likewise.
2331         (cfsetospeed): Likewise.
2332         (cfsetispeed): Likewise.
2333         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2334         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2335         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2336         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2337         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2338         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2339         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2340         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2341         Likewise.
2342         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2343         Likewise.
2344         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2345         Likewise.
2346         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2347         Likewise.
2348         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2350 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2352         sunrpc: Rewrite with explicit TLS access using __thread.
2353         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2354         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2355         directly.
2356         (__rpc_thread_variables): Access thread_rpc_vars directly.
2357         Eliminate redundant assignment of the tvp variable.
2359 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2361         malloc: Rewrite with explicit TLS access using __thread.
2362         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2363         (tsd_setspecific, tsd_getspecific): Remove.
2364         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2365         (tsd_setspecific, tsd_getspecific): Likewise.
2366         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2367         (tsd_setspecific, tsd_getspecific): Likewise.
2368         * malloc/arena.c (thread_arena): New TLS variable.
2369         (arena_key): Remove variable.
2370         (arena_get): Use thread_arena.
2371         (arena_lookup): Remove macro.
2372         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2373         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2374         (_int_new_arena, get_free_list, reused_arena)
2375         (arena_thread_freeres): Use thread_arena.
2376         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2377         tsd_getspecific, tsd_setspecific from safety annotations.
2378         (Allocating Cleared Space): Remove arena_lookup from safety
2379         annotations.
2381 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2383         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2384         struct scratch_buffer instead of extend_alloca.
2386 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2388         * sysdeps/unix/sysv/linux/kernel-features.h
2389         (__ASSUME_SOCK_CLOEXEC): Remove.
2390         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2391         (__have_paccept): Remove unused macro.
2392         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2393         * misc/syslog.c (openlog_internal): Remove fallback code for
2394         !__ASSUME_SOCK_CLOEXEC.
2395         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2396         missing SOCK_CLOEXEC.
2397         * nscd/connections.c (have_sock_cloexec): Remove definition.
2398         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2399         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2400         !__ASSUME_SOCK_CLOEXEC.
2401         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2402         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2403         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2404         definition.
2405         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2406         code for !__ASSUME_SOCK_CLOEXEC.
2408 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2410         [BZ #18982]
2411         * manual/stdio.texi (Variable Arguments Output): Add portability
2412         note, explaining that vfprintf clobbers the va_list pointer.
2414 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2416         * math/libm-test.inc (fabs_test_data): Add more tests.
2417         (fdim_test_data): Likewise.
2418         (fma_test_data): Likewise.
2419         (fmax_test_data): Likewise.
2420         (fmin_test_data): Likewise.
2421         (fmod_test_data): Likewise.
2423 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2425         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2426         data.
2428 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2430         * math/libm-test.inc (ceil_test_data): Add more tests and more
2431         expectations for "inexact".
2432         (floor_test_data): Add more tests.
2433         (round_test_data): Likewise.
2434         (trunc_test_data): Likewise.
2436         * crypt/cert.c (good_bye): Convert to prototype-style function
2437         definition.
2438         (get8): Likewise.
2439         (put8): Likewise.
2440         * crypt/crypt-entry.c (crypt): Likewise.
2441         (__fcrypt): Likewise.
2442         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2443         (_ufc_set_bits): Likewise.
2444         (_ufc_clearmem): Likewise.
2445         (__init_des_r): Likewise.
2446         (shuffle_sb): Likewise.
2447         (shuffle_sb): Likewise.
2448         (_ufc_setup_salt_r): Likewise.
2449         (_ufc_mk_keytab_r): Likewise.
2450         (_ufc_dofinalperm_r): Likewise.
2451         (encrypt): Likewise.
2452         (__setkey_r): Likewise.
2453         (setkey): Likewise.
2454         * crypt/md5.c (md5_init_ctx): Likewise.
2455         (md5_read_ctx): Likewise.
2456         (md5_finish_ctx): Likewise.
2457         (md5_stream): Likewise.
2458         (md5_buffer): Likewise.
2459         (md5_process_bytes): Likewise.
2460         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2461         (__sha256_finish_ctx): Likewise.
2462         (__sha256_process_bytes): Likewise.
2463         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2464         (__sha512_finish_ctx): Likewise.
2465         (__sha512_process_bytes): Likewise.
2466         * ctype/isctype.c (__isctype): Likewise.
2467         * debug/backtrace.c (__backtrace): Likewise.
2468         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2469         * debug/fgets_chk.c (__fgets_chk): Likewise.
2470         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2471         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2472         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2473         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2474         * debug/memset_chk.c (__memset_chk): Likewise.
2475         * debug/strcat_chk.c (__strcat_chk): Likewise.
2476         * debug/strncat_chk.c (__strncat_chk): Likewise.
2477         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2478         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2479         * dirent/dirfd.c (dirfd): Likewise.
2480         * dirent/getdents.c (__getdirentries): Likewise.
2481         * dirent/getdents64.c (getdirentries64): Likewise.
2482         * dirent/rewinddir.c (__rewinddir): Likewise.
2483         * dirent/seekdir.c (seekdir): Likewise.
2484         * dirent/telldir.c (telldir): Likewise.
2485         * elf/sln.c (makesymlinks): Likewise.
2486         (makesymlink): Likewise.
2487         * gmon/gmon.c (__moncontrol): Likewise.
2488         (__monstartup): Likewise.
2489         (write_hist): Likewise.
2490         (write_call_graph): Likewise.
2491         (write_bb_counts): Likewise.
2492         * grp/setgroups.c (setgroups): Likewise.
2493         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2494         * inet/inet_net.c (inet_network): Likewise.
2495         * inet/inet_netof.c (inet_netof): Likewise.
2496         * inet/rcmd.c (rresvport_af): Likewise.
2497         (rresvport): Likewise.
2498         * io/access.c (__access): Likewise.
2499         * io/chdir.c (__chdir): Likewise.
2500         * io/chmod.c (__chmod): Likewise.
2501         * io/chown.c (__chown): Likewise.
2502         * io/close.c (__close): Likewise.
2503         * io/creat.c (creat): Likewise.
2504         * io/creat64.c (creat64): Likewise.
2505         * io/dup.c (__dup): Likewise.
2506         * io/dup2.c (__dup2): Likewise.
2507         * io/dup3.c (__dup3): Likewise.
2508         * io/euidaccess.c (__euidaccess): Likewise.
2509         * io/faccessat.c (faccessat): Likewise.
2510         * io/fchmod.c (__fchmod): Likewise.
2511         * io/fchmodat.c (fchmodat): Likewise.
2512         * io/fchown.c (__fchown): Likewise.
2513         * io/fchownat.c (fchownat): Likewise.
2514         * io/fcntl.c (__fcntl): Likewise.
2515         * io/flock.c (__flock): Likewise.
2516         * io/fts.c (fts_load): Likewise.
2517         (fts_close): Likewise.
2518         (fts_read): Likewise.
2519         (fts_set): Likewise.
2520         (fts_children): Likewise.
2521         (fts_build): Likewise.
2522         (fts_stat): Likewise.
2523         (fts_sort): Likewise.
2524         (fts_alloc): Likewise.
2525         (fts_lfree): Likewise.
2526         (fts_palloc): Likewise.
2527         (fts_padjust): Likewise.
2528         (fts_maxarglen): Likewise.
2529         (fts_safe_changedir): Likewise.
2530         * io/getwd.c (getwd): Likewise.
2531         * io/isatty.c (__isatty): Likewise.
2532         * io/lchown.c (__lchown): Likewise.
2533         * io/link.c (__link): Likewise.
2534         * io/linkat.c (linkat): Likewise.
2535         * io/lseek.c (__libc_lseek): Likewise.
2536         * io/mkdir.c (__mkdir): Likewise.
2537         * io/mkdirat.c (mkdirat): Likewise.
2538         * io/mkfifo.c (mkfifo): Likewise.
2539         * io/mkfifoat.c (mkfifoat): Likewise.
2540         * io/open.c (__libc_open): Likewise.
2541         * io/open64.c (__libc_open64): Likewise.
2542         * io/readlink.c (__readlink): Likewise.
2543         * io/readlinkat.c (readlinkat): Likewise.
2544         * io/rmdir.c (__rmdir): Likewise.
2545         * io/symlink.c (__symlink): Likewise.
2546         * io/symlinkat.c (symlinkat): Likewise.
2547         * io/ttyname.c (ttyname): Likewise.
2548         * io/ttyname_r.c (__ttyname_r): Likewise.
2549         * io/umask.c (__umask): Likewise.
2550         * io/unlink.c (__unlink): Likewise.
2551         * io/unlinkat.c (unlinkat): Likewise.
2552         * io/utime.c (utime): Likewise.
2553         * libio/clearerr.c (clearerr): Likewise.
2554         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2555         * libio/feof.c (_IO_feof): Likewise.
2556         * libio/feof_u.c (feof_unlocked): Likewise.
2557         * libio/ferror.c (_IO_ferror): Likewise.
2558         * libio/ferror_u.c (ferror_unlocked): Likewise.
2559         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2560         * libio/fileno.c (__fileno): Likewise.
2561         * libio/fputc.c (fputc): Likewise.
2562         * libio/fputc_u.c (fputc_unlocked): Likewise.
2563         * libio/fputwc.c (fputwc): Likewise.
2564         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2565         * libio/freopen.c (freopen): Likewise.
2566         * libio/freopen64.c (freopen64): Likewise.
2567         * libio/fseek.c (fseek): Likewise.
2568         * libio/fseeko.c (fseeko): Likewise.
2569         * libio/fseeko64.c (fseeko64): Likewise.
2570         * libio/ftello.c (__ftello): Likewise.
2571         * libio/ftello64.c (ftello64): Likewise.
2572         * libio/fwide.c (fwide): Likewise.
2573         * libio/genops.c (_IO_un_link): Likewise.
2574         (_IO_link_in): Likewise.
2575         (_IO_least_marker): Likewise.
2576         (_IO_switch_to_main_get_area): Likewise.
2577         (_IO_switch_to_backup_area): Likewise.
2578         (_IO_switch_to_get_mode): Likewise.
2579         (_IO_free_backup_area): Likewise.
2580         (_IO_switch_to_put_mode): Likewise.
2581         (__overflow): Likewise.
2582         (__underflow): Likewise.
2583         (__uflow): Likewise.
2584         (_IO_setb): Likewise.
2585         (_IO_doallocbuf): Likewise.
2586         (_IO_default_underflow): Likewise.
2587         (_IO_default_uflow): Likewise.
2588         (_IO_default_xsputn): Likewise.
2589         (_IO_sgetn): Likewise.
2590         (_IO_default_xsgetn): Likewise.
2591         (_IO_sync): Likewise.
2592         (_IO_default_setbuf): Likewise.
2593         (_IO_default_seekpos): Likewise.
2594         (_IO_default_doallocate): Likewise.
2595         (_IO_init): Likewise.
2596         (_IO_old_init): Likewise.
2597         (_IO_default_sync): Likewise.
2598         (_IO_default_finish): Likewise.
2599         (_IO_default_seekoff): Likewise.
2600         (_IO_sputbackc): Likewise.
2601         (_IO_sungetc): Likewise.
2602         (_IO_set_column): Likewise.
2603         (_IO_set_column): Likewise.
2604         (_IO_adjust_column): Likewise.
2605         (_IO_get_column): Likewise.
2606         (_IO_init_marker): Likewise.
2607         (_IO_remove_marker): Likewise.
2608         (_IO_marker_difference): Likewise.
2609         (_IO_marker_delta): Likewise.
2610         (_IO_seekmark): Likewise.
2611         (_IO_unsave_markers): Likewise.
2612         (_IO_nobackup_pbackfail): Likewise.
2613         (_IO_default_pbackfail): Likewise.
2614         (_IO_default_seek): Likewise.
2615         (_IO_default_stat): Likewise.
2616         (_IO_default_read): Likewise.
2617         (_IO_default_write): Likewise.
2618         (_IO_default_showmanyc): Likewise.
2619         (_IO_default_imbue): Likewise.
2620         (_IO_iter_next): Likewise.
2621         (_IO_iter_file): Likewise.
2622         * libio/getc.c (_IO_getc): Likewise.
2623         * libio/getwc.c (_IO_getwc): Likewise.
2624         * libio/iofclose.c (_IO_new_fclose): Likewise.
2625         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2626         * libio/iofflush.c (_IO_fflush): Likewise.
2627         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2628         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2629         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2630         * libio/iofgets.c (_IO_fgets): Likewise.
2631         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2632         * libio/iofgetws.c (fgetws): Likewise.
2633         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2634         * libio/iofopen64.c (_IO_fopen64): Likewise.
2635         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2636         (_IO_cookie_write): Likewise.
2637         (_IO_cookie_seek): Likewise.
2638         (_IO_cookie_close): Likewise.
2639         (_IO_cookie_seekoff): Likewise.
2640         (_IO_old_cookie_seek): Likewise.
2641         * libio/iofputs.c (_IO_fputs): Likewise.
2642         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2643         * libio/iofputws.c (fputws): Likewise.
2644         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2645         * libio/iofread.c (_IO_fread): Likewise.
2646         * libio/iofread_u.c (__fread_unlocked): Likewise.
2647         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2648         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2649         * libio/ioftell.c (_IO_ftell): Likewise.
2650         * libio/iofwrite.c (_IO_fwrite): Likewise.
2651         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2652         * libio/iogets.c (_IO_gets): Likewise.
2653         * libio/iopadn.c (_IO_padn): Likewise.
2654         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2655         (_IO_new_popen): Likewise.
2656         (_IO_new_proc_close): Likewise.
2657         * libio/ioputs.c (_IO_puts): Likewise.
2658         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2659         (_IO_seekoff): Likewise.
2660         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2661         (_IO_seekpos): Likewise.
2662         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2663         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2664         * libio/ioungetc.c (_IO_ungetc): Likewise.
2665         * libio/ioungetwc.c (ungetwc): Likewise.
2666         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2667         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2668         * libio/iowpadn.c (_IO_wpadn): Likewise.
2669         * libio/libc_fatal.c (__libc_fatal): Likewise.
2670         * libio/memstream.c (__open_memstream): Likewise.
2671         (_IO_mem_sync): Likewise.
2672         (_IO_mem_finish): Likewise.
2673         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2674         (_IO_old_file_close_it): Likewise.
2675         (_IO_old_file_finish): Likewise.
2676         (_IO_old_file_fopen): Likewise.
2677         (_IO_old_file_attach): Likewise.
2678         (_IO_old_file_setbuf): Likewise.
2679         (_IO_old_do_write): Likewise.
2680         (old_do_write): Likewise.
2681         (_IO_old_file_underflow): Likewise.
2682         (_IO_old_file_overflow): Likewise.
2683         (_IO_old_file_sync): Likewise.
2684         (_IO_old_file_seekoff): Likewise.
2685         (_IO_old_file_write): Likewise.
2686         (_IO_old_file_xsputn): Likewise.
2687         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2688         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2689         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2690         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2691         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2692         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2693         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2694         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2695         (_IO_old_popen): Likewise.
2696         (_IO_old_proc_close): Likewise.
2697         * libio/oldpclose.c (__old_pclose): Likewise.
2698         * libio/pclose.c (__new_pclose): Likewise.
2699         * libio/peekc.c (_IO_peekc_locked): Likewise.
2700         * libio/putc.c (_IO_putc): Likewise.
2701         * libio/putc_u.c (putc_unlocked): Likewise.
2702         * libio/putchar.c (putchar): Likewise.
2703         * libio/putchar_u.c (putchar_unlocked): Likewise.
2704         * libio/putwc.c (putwc): Likewise.
2705         * libio/putwc_u.c (putwc_unlocked): Likewise.
2706         * libio/putwchar.c (putwchar): Likewise.
2707         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2708         * libio/rewind.c (rewind): Likewise.
2709         * libio/setbuf.c (setbuf): Likewise.
2710         * libio/setlinebuf.c (setlinebuf): Likewise.
2711         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2712         * libio/vscanf.c (_IO_vscanf): Likewise.
2713         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2714         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2715         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2716         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2717         (_IO_switch_to_main_wget_area): Likewise.
2718         (_IO_switch_to_wbackup_area): Likewise.
2719         (_IO_wsetb): Likewise.
2720         (_IO_wdefault_pbackfail): Likewise.
2721         (_IO_wdefault_finish): Likewise.
2722         (_IO_wdefault_uflow): Likewise.
2723         (__woverflow): Likewise.
2724         (__wuflow): Likewise.
2725         (__wunderflow): Likewise.
2726         (_IO_wdefault_xsputn): Likewise.
2727         (_IO_wdefault_xsgetn): Likewise.
2728         (_IO_wdoallocbuf): Likewise.
2729         (_IO_wdefault_doallocate): Likewise.
2730         (_IO_switch_to_wget_mode): Likewise.
2731         (_IO_free_wbackup_area): Likewise.
2732         (_IO_switch_to_wput_mode): Likewise.
2733         (_IO_sputbackwc): Likewise.
2734         (_IO_sungetwc): Likewise.
2735         (_IO_adjust_wcolumn): Likewise.
2736         (_IO_init_wmarker): Likewise.
2737         (_IO_wmarker_delta): Likewise.
2738         (_IO_seekwmark): Likewise.
2739         (_IO_unsave_wmarkers): Likewise.
2740         * libio/wmemstream.c (open_wmemstream): Likewise.
2741         (_IO_wmem_sync): Likewise.
2742         (_IO_wmem_finish): Likewise.
2743         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2744         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2745         * locale/programs/simple-hash.c (init_hash): Likewise.
2746         (delete_hash): Likewise.
2747         (insert_entry): Likewise.
2748         (set_entry): Likewise.
2749         (next_prime): Likewise.
2750         (is_prime): Likewise.
2751         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2752         (xmalloc): Likewise.
2753         (xrealloc): Likewise.
2754         * locale/programs/xstrdup.c (xstrdup): Likewise.
2755         * localedata/collate-test.c (xstrcoll): Likewise.
2756         * localedata/xfrm-test.c (xstrcmp): Likewise.
2757         * login/getlogin_r.c (__getlogin_r): Likewise.
2758         * login/getpt.c (__posix_openpt): Likewise.
2759         * login/login_tty.c (login_tty): Likewise.
2760         * login/setlogin.c (setlogin): Likewise.
2761         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2762         (mach_msg_destroy_port): Likewise.
2763         (mach_msg_destroy_memory): Likewise.
2764         * malloc/mcheck.c (flood): Likewise.
2765         * misc/acct.c (acct): Likewise.
2766         * misc/brk.c (__brk): Likewise.
2767         * misc/chflags.c (chflags): Likewise.
2768         * misc/chroot.c (chroot): Likewise.
2769         * misc/fchflags.c (fchflags): Likewise.
2770         * misc/fstab.c (getfsspec): Likewise.
2771         (getfsfile): Likewise.
2772         * misc/fsync.c (fsync): Likewise.
2773         * misc/ftruncate.c (__ftruncate): Likewise.
2774         * misc/ftruncate64.c (__ftruncate64): Likewise.
2775         * misc/getdomain.c (getdomainname): Likewise.
2776         (getdomainname): Likewise.
2777         * misc/gethostname.c (__gethostname): Likewise.
2778         * misc/getpass.c (getpass): Likewise.
2779         * misc/getttyent.c (skip): Likewise.
2780         (value): Likewise.
2781         * misc/gtty.c (gtty): Likewise.
2782         * misc/hsearch.c (hsearch): Likewise.
2783         (hcreate): Likewise.
2784         * misc/hsearch_r.c (__hcreate_r): Likewise.
2785         (__hdestroy_r): Likewise.
2786         * misc/ioctl.c (__ioctl): Likewise.
2787         * misc/mkdtemp.c (mkdtemp): Likewise.
2788         * misc/mkostemp.c (mkostemp): Likewise.
2789         * misc/mkostemp64.c (mkostemp64): Likewise.
2790         * misc/mkostemps.c (mkostemps): Likewise.
2791         * misc/mkostemps64.c (mkostemps64): Likewise.
2792         * misc/mkstemp.c (mkstemp): Likewise.
2793         * misc/mkstemp64.c (mkstemp64): Likewise.
2794         * misc/mkstemps.c (mkstemps): Likewise.
2795         * misc/mkstemps64.c (mkstemps64): Likewise.
2796         * misc/mktemp.c (__mktemp): Likewise.
2797         * misc/preadv.c (preadv): Likewise.
2798         * misc/preadv64.c (preadv64): Likewise.
2799         * misc/pwritev.c (pwritev): Likewise.
2800         * misc/pwritev64.c (pwritev64): Likewise.
2801         * misc/readv.c (__readv): Likewise.
2802         * misc/revoke.c (revoke): Likewise.
2803         * misc/setdomain.c (setdomainname): Likewise.
2804         * misc/setegid.c (setegid): Likewise.
2805         * misc/seteuid.c (seteuid): Likewise.
2806         * misc/sethostid.c (sethostid): Likewise.
2807         * misc/sethostname.c (sethostname): Likewise.
2808         * misc/setregid.c (__setregid): Likewise.
2809         * misc/setreuid.c (__setreuid): Likewise.
2810         * misc/sstk.c (sstk): Likewise.
2811         * misc/stty.c (stty): Likewise.
2812         * misc/syscall.c (syscall): Likewise.
2813         * misc/syslog.c (setlogmask): Likewise.
2814         * misc/truncate.c (__truncate): Likewise.
2815         * misc/truncate64.c (truncate64): Likewise.
2816         * misc/ualarm.c (ualarm): Likewise.
2817         * misc/usleep.c (usleep): Likewise.
2818         * misc/ustat.c (ustat): Likewise.
2819         * misc/writev.c (__writev): Likewise.
2820         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2821         * nptl/old_pthread_cond_broadcast.c
2822         (__pthread_cond_broadcast_2_0): Likewise.
2823         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2824         Likewise.
2825         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2826         Likewise.
2827         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2828         Likewise.
2829         * nptl/pt-raise.c (raise): Likewise.
2830         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2831         Likewise.
2832         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2833         * nptl/pthread_barrierattr_destroy.c
2834         (pthread_barrierattr_destroy): Likewise.
2835         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2836         Likewise.
2837         * nptl/pthread_barrierattr_setpshared.c
2838         (pthread_barrierattr_setpshared): Likewise.
2839         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2840         Likewise.
2841         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2842         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2843         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2844         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2845         Likewise.
2846         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2847         Likewise.
2848         * nptl/pthread_condattr_getpshared.c
2849         (pthread_condattr_getpshared): Likewise.
2850         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2851         Likewise.
2852         * nptl/pthread_condattr_setpshared.c
2853         (pthread_condattr_setpshared): Likewise.
2854         * nptl/pthread_detach.c (pthread_detach): Likewise.
2855         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2856         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2857         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2858         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2859         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2860         Likewise.
2861         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2862         Likewise.
2863         * nptl/pthread_mutex_getprioceiling.c
2864         (pthread_mutex_getprioceiling): Likewise.
2865         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2866         Likewise.
2867         * nptl/pthread_mutexattr_getprotocol.c
2868         (pthread_mutexattr_getprotocol): Likewise.
2869         * nptl/pthread_mutexattr_getpshared.c
2870         (pthread_mutexattr_getpshared): Likewise.
2871         * nptl/pthread_mutexattr_getrobust.c
2872         (pthread_mutexattr_getrobust): Likewise.
2873         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2874         Likewise.
2875         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2876         Likewise.
2877         * nptl/pthread_mutexattr_setprioceiling.c
2878         (pthread_mutexattr_setprioceiling): Likewise.
2879         * nptl/pthread_mutexattr_setprotocol.c
2880         (pthread_mutexattr_setprotocol): Likewise.
2881         * nptl/pthread_mutexattr_setpshared.c
2882         (pthread_mutexattr_setpshared): Likewise.
2883         * nptl/pthread_mutexattr_setrobust.c
2884         (pthread_mutexattr_setrobust): Likewise.
2885         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2886         Likewise.
2887         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2888         Likewise.
2889         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2890         Likewise.
2891         * nptl/pthread_rwlockattr_getkind_np.c
2892         (pthread_rwlockattr_getkind_np): Likewise.
2893         * nptl/pthread_rwlockattr_getpshared.c
2894         (pthread_rwlockattr_getpshared): Likewise.
2895         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2896         Likewise.
2897         * nptl/pthread_rwlockattr_setkind_np.c
2898         (pthread_rwlockattr_setkind_np): Likewise.
2899         * nptl/pthread_rwlockattr_setpshared.c
2900         (pthread_rwlockattr_setpshared): Likewise.
2901         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2902         Likewise.
2903         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2904         Likewise.
2905         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2906         Likewise.
2907         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2908         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2909         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2910         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2911         * nptl/sem_close.c (sem_close): Likewise.
2912         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2913         * nptl/sem_init.c (__old_sem_init): Likewise.
2914         * nptl/sigaction.c (__sigaction): Likewise.
2915         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2916         * posix/_exit.c (_exit): Likewise.
2917         * posix/alarm.c (alarm): Likewise.
2918         * posix/confstr.c (confstr): Likewise.
2919         * posix/fpathconf.c (__fpathconf): Likewise.
2920         * posix/getgroups.c (__getgroups): Likewise.
2921         * posix/getpgid.c (__getpgid): Likewise.
2922         * posix/group_member.c (__group_member): Likewise.
2923         * posix/pathconf.c (__pathconf): Likewise.
2924         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2925         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2926         * posix/setgid.c (__setgid): Likewise.
2927         * posix/setpgid.c (__setpgid): Likewise.
2928         * posix/setuid.c (__setuid): Likewise.
2929         * posix/sleep.c (__sleep): Likewise.
2930         * posix/sysconf.c (__sysconf): Likewise.
2931         * posix/times.c (__times): Likewise.
2932         * posix/uname.c (__uname): Likewise.
2933         * posix/waitid.c (__waitid): Likewise.
2934         * pwd/getpw.c (__getpw): Likewise.
2935         * resolv/base64.c (b64_pton): Likewise.
2936         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2937         * resolv/gethnamaddr.c (Dprintf): Likewise.
2938         (gethostbyname): Likewise.
2939         (gethostbyname2): Likewise.
2940         (gethostbyaddr): Likewise.
2941         (_sethtent): Likewise.
2942         (_gethtbyname): Likewise.
2943         (_gethtbyname2): Likewise.
2944         (_gethtbyaddr): Likewise.
2945         (map_v4v6_address): Likewise.
2946         (map_v4v6_hostent): Likewise.
2947         (addrsort): Likewise.
2948         (ht_sethostent): Likewise.
2949         (ht_gethostbyname): Likewise.
2950         (ht_gethostbyaddr): Likewise.
2951         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2952         (inet_net_ntop_ipv4): Likewise.
2953         * resolv/inet_neta.c (inet_neta): Likewise.
2954         * resolv/inet_ntop.c (inet_ntop): Likewise.
2955         (inet_ntop4): Likewise.
2956         (inet_ntop6): Likewise.
2957         * resolv/inet_pton.c (__inet_pton): Likewise.
2958         (inet_pton4): Likewise.
2959         (inet_pton6): Likewise.
2960         * resolv/res_debug.c (loc_aton): Likewise.
2961         (loc_ntoa): Likewise.
2962         * resource/getpriority.c (__getpriority): Likewise.
2963         * resource/getrusage.c (__getrusage): Likewise.
2964         * resource/nice.c (nice): Likewise.
2965         * resource/setpriority.c (__setpriority): Likewise.
2966         * resource/setrlimit64.c (setrlimit64): Likewise.
2967         * resource/vlimit.c (vlimit): Likewise.
2968         * resource/vtimes.c (vtimes): Likewise.
2969         * rt/aio_error.c (aio_error): Likewise.
2970         * rt/aio_return.c (aio_return): Likewise.
2971         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2972         * signal/kill.c (__kill): Likewise.
2973         * signal/killpg.c (killpg): Likewise.
2974         * signal/raise.c (raise): Likewise.
2975         * signal/sigaction.c (__sigaction): Likewise.
2976         * signal/sigaddset.c (sigaddset): Likewise.
2977         * signal/sigaltstack.c (sigaltstack): Likewise.
2978         * signal/sigandset.c (sigandset): Likewise.
2979         * signal/sigblock.c (__sigblock): Likewise.
2980         * signal/sigdelset.c (sigdelset): Likewise.
2981         * signal/sigempty.c (sigemptyset): Likewise.
2982         * signal/sigfillset.c (sigfillset): Likewise.
2983         * signal/sighold.c (sighold): Likewise.
2984         * signal/sigignore.c (sigignore): Likewise.
2985         * signal/sigintr.c (siginterrupt): Likewise.
2986         * signal/sigisempty.c (sigisemptyset): Likewise.
2987         * signal/sigismem.c (sigismember): Likewise.
2988         * signal/signal.c (signal): Likewise.
2989         * signal/sigorset.c (sigorset): Likewise.
2990         * signal/sigpause.c (__sigpause): Likewise.
2991         * signal/sigpending.c (sigpending): Likewise.
2992         * signal/sigprocmask.c (__sigprocmask): Likewise.
2993         * signal/sigrelse.c (sigrelse): Likewise.
2994         * signal/sigreturn.c (__sigreturn): Likewise.
2995         * signal/sigset.c (sigset): Likewise.
2996         * signal/sigsetmask.c (__sigsetmask): Likewise.
2997         * signal/sigstack.c (sigstack): Likewise.
2998         * signal/sigsuspend.c (__sigsuspend): Likewise.
2999         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3000         * signal/sysv_signal.c (__sysv_signal): Likewise.
3001         * socket/accept.c (accept): Likewise.
3002         * socket/accept4.c (__libc_accept4): Likewise.
3003         * socket/bind.c (__bind): Likewise.
3004         * socket/connect.c (__connect): Likewise.
3005         * socket/getpeername.c (getpeername): Likewise.
3006         * socket/getsockname.c (__getsockname): Likewise.
3007         * socket/getsockopt.c (getsockopt): Likewise.
3008         * socket/listen.c (__listen): Likewise.
3009         * socket/recv.c (__recv): Likewise.
3010         * socket/recvmsg.c (__recvmsg): Likewise.
3011         * socket/send.c (__send): Likewise.
3012         * socket/sendmsg.c (__sendmsg): Likewise.
3013         * socket/shutdown.c (shutdown): Likewise.
3014         * socket/sockatmark.c (sockatmark): Likewise.
3015         * socket/socket.c (__socket): Likewise.
3016         * stdio-common/ctermid.c (ctermid): Likewise.
3017         * stdio-common/cuserid.c (cuserid): Likewise.
3018         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3019         * stdio-common/remove.c (remove): Likewise.
3020         * stdio-common/rename.c (rename): Likewise.
3021         * stdio-common/renameat.c (renameat): Likewise.
3022         * stdio-common/tempname.c (__gen_tempname): Likewise.
3023         * stdio-common/xbug.c (InitBuffer): Likewise.
3024         (AppendToBuffer): Likewise.
3025         (ReadFile): Likewise.
3026         * stdlib/a64l.c (a64l): Likewise.
3027         * stdlib/drand48_r.c (drand48_r): Likewise.
3028         * stdlib/getcontext.c (getcontext): Likewise.
3029         * stdlib/getenv.c (getenv): Likewise.
3030         * stdlib/l64a.c (l64a): Likewise.
3031         * stdlib/llabs.c (llabs): Likewise.
3032         * stdlib/lldiv.c (lldiv): Likewise.
3033         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3034         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3035         * stdlib/putenv.c (putenv): Likewise.
3036         * stdlib/random.c (__srandom): Likewise.
3037         (__initstate): Likewise.
3038         (__setstate): Likewise.
3039         * stdlib/random_r.c (__srandom_r): Likewise.
3040         (__setstate_r): Likewise.
3041         (__random_r): Likewise.
3042         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3043         * stdlib/setcontext.c (setcontext): Likewise.
3044         * stdlib/setenv.c (setenv): Likewise.
3045         (unsetenv): Likewise.
3046         * stdlib/srand48.c (srand48): Likewise.
3047         * stdlib/srand48_r.c (__srand48_r): Likewise.
3048         * stdlib/swapcontext.c (swapcontext): Likewise.
3049         * stdlib/system.c (__libc_system): Likewise.
3050         * stdlib/tst-strtod.c (expand): Likewise.
3051         * stdlib/tst-strtol.c (expand): Likewise.
3052         * stdlib/tst-strtoll.c (expand): Likewise.
3053         * streams/fattach.c (fattach): Likewise.
3054         * streams/fdetach.c (fdetach): Likewise.
3055         * streams/getmsg.c (getmsg): Likewise.
3056         * streams/isastream.c (isastream): Likewise.
3057         * string/ffs.c (__ffs): Likewise.
3058         * string/ffsll.c (ffsll): Likewise.
3059         * string/memcmp.c (memcmp_common_alignment): Likewise.
3060         (memcmp_not_common_alignment): Likewise.
3061         (MEMCMP): Likewise.
3062         * string/memcpy.c (memcpy): Likewise.
3063         * string/memmove.c (MEMMOVE): Likewise.
3064         * string/memset.c (memset): Likewise.
3065         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3066         * string/strchrnul.c (STRCHRNUL): Likewise.
3067         * string/strerror.c (strerror): Likewise.
3068         * string/strndup.c (__strndup): Likewise.
3069         * string/strverscmp.c (__strverscmp): Likewise.
3070         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3071         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3072         (clnttcp_freeres): Likewise.
3073         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3074         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3075         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3076         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3077         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3078         (xdr_callhdr): Likewise.
3079         * sunrpc/rpcinfo.c (udpping): Likewise.
3080         (tcpping): Likewise.
3081         (pstatus): Likewise.
3082         (pmapdump): Likewise.
3083         (brdcst): Likewise.
3084         (deletereg): Likewise.
3085         (getprognum): Likewise.
3086         (getvers): Likewise.
3087         (get_inet_address): Likewise.
3088         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3089         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3090         (svcudp_stat): Likewise.
3091         (svcudp_recv): Likewise.
3092         (svcudp_reply): Likewise.
3093         (svcudp_getargs): Likewise.
3094         (svcudp_freeargs): Likewise.
3095         (svcudp_destroy): Likewise.
3096         * sunrpc/xdr.c (xdr_bytes): Likewise.
3097         (xdr_netobj): Likewise.
3098         (xdr_string): Likewise.
3099         (xdr_wrapstring): Likewise.
3100         * sunrpc/xdr_float.c (xdr_float): Likewise.
3101         (xdr_double): Likewise.
3102         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3103         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3104         * sysvipc/ftok.c (ftok): Likewise.
3105         * sysvipc/msgctl.c (msgctl): Likewise.
3106         * sysvipc/msgget.c (msgget): Likewise.
3107         * sysvipc/msgrcv.c (msgrcv): Likewise.
3108         * sysvipc/msgsnd.c (msgsnd): Likewise.
3109         * sysvipc/semget.c (semget): Likewise.
3110         * sysvipc/semop.c (semop): Likewise.
3111         * sysvipc/shmat.c (shmat): Likewise.
3112         * sysvipc/shmctl.c (shmctl): Likewise.
3113         * sysvipc/shmdt.c (shmdt): Likewise.
3114         * sysvipc/shmget.c (shmget): Likewise.
3115         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3116         * termios/speed.c (cfgetospeed): Likewise.
3117         (cfgetispeed): Likewise.
3118         (cfsetospeed): Likewise.
3119         (cfsetispeed): Likewise.
3120         * termios/tcflow.c (tcflow): Likewise.
3121         * termios/tcflush.c (tcflush): Likewise.
3122         * termios/tcgetattr.c (__tcgetattr): Likewise.
3123         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3124         * termios/tcgetsid.c (tcgetsid): Likewise.
3125         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3126         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3127         * time/adjtime.c (__adjtime): Likewise.
3128         * time/dysize.c (dysize): Likewise.
3129         * time/ftime.c (ftime): Likewise.
3130         * time/getitimer.c (__getitimer): Likewise.
3131         * time/gettimeofday.c (__gettimeofday): Likewise.
3132         * time/gmtime.c (__gmtime_r): Likewise.
3133         (gmtime): Likewise.
3134         * time/localtime.c (__localtime_r): Likewise.
3135         (localtime): Likewise.
3136         * time/offtime.c (__offtime): Likewise.
3137         * time/settimeofday.c (__settimeofday): Likewise.
3138         * time/stime.c (stime): Likewise.
3139         * time/strftime_l.c (tm_diff): Likewise.
3140         (iso_week_days): Likewise.
3141         * time/strptime.c (strptime): Likewise.
3142         * time/time.c (time): Likewise.
3143         * time/timespec_get.c (timespec_get): Likewise.
3144         * time/tzset.c (tzset_internal): Likewise.
3145         (compute_change): Likewise.
3146         (__tz_compute): Likewise.
3147         * wcsmbs/btowc.c (__btowc): Likewise.
3148         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3149         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3150         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3151         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3152         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3153         * wcsmbs/wcscat.c (__wcscat): Likewise.
3154         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3155         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3156         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3157         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3158         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3159         * wcsmbs/wcslen.c (__wcslen): Likewise.
3160         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3161         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3162         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3163         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3164         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3165         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3166         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3167         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3168         * wcsmbs/wcstok.c (wcstok): Likewise.
3169         * wcsmbs/wctob.c (wctob): Likewise.
3170         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3171         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3172         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3173         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3174         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3175         * wcsmbs/wmemset.c (__wmemset): Likewise.
3176         * wctype/wcfuncs.c (__towlower): Likewise.
3177         (__towupper): Likewise.
3179         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3180         (lll_unlock_elision): Add adapt_count parameter.
3182 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3184         * sysdeps/nptl/configure.ac: Do not give errors based on the
3185         results of top-level configure tests.
3186         * sysdeps/nptl/configure: Regenerated.
3188         * configure.ac (libc_cv_Bgroup): Remove configure test.
3189         * configure: Regenerated.
3190         * config.make.in (have-Bgroup): Remove variable.
3192         * configure.ac (sizeof_long_double): Remove configure test.
3193         * configure: Regenerated.
3194         * config.make.in (sizeof-long-double): Remove variable.
3196         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3197         * configure: Regenerated.
3198         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3199         variable.
3200         (exceptions): Likewise.
3201         * sysdeps/arm/configure: Regenerated.
3202         * config.make.in (exceptions): Remove variable.
3203         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3204         $(exceptions).
3205         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3206         (CFLAGS-vdprintf_chk.c): Likewise.
3207         (CFLAGS-printf_chk.c): Likewise.
3208         (CFLAGS-fprintf_chk.c): Likewise.
3209         (CFLAGS-vprintf_chk.c): Likewise.
3210         (CFLAGS-vfprintf_chk.c): Likewise.
3211         (CFLAGS-gets_chk.c): Likewise.
3212         (CFLAGS-fgets_chk.c): Likewise.
3213         (CFLAGS-fgets_u_chk.c): Likewise.
3214         (CFLAGS-fread_chk.c): Likewise.
3215         (CFLAGS-fread_u_chk.c): Likewise.
3216         (CFLAGS-wprintf_chk.c): Likewise.
3217         (CFLAGS-fwprintf_chk.c): Likewise.
3218         (CFLAGS-vwprintf_chk.c): Likewise.
3219         (CFLAGS-vfwprintf_chk.c): Likewise.
3220         (CFLAGS-fgetws_chk.c): Likewise.
3221         (CFLAGS-fgetws_u_chk.c): Likewise.
3222         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3223         (CFLAGS-fputc.c): Likewise.
3224         (CFLAGS-fputwc.c): Likewise.
3225         (CFLAGS-freopen64.c): Likewise.
3226         (CFLAGS-freopen.c): Likewise.
3227         (CFLAGS-fseek.c): Likewise.
3228         (CFLAGS-fseeko64.c): Likewise.
3229         (CFLAGS-fseeko.c): Likewise.
3230         (CFLAGS-ftello64.c): Likewise.
3231         (CFLAGS-ftello.c): Likewise.
3232         (CFLAGS-fwide.c): Likewise.
3233         (CFLAGS-genops.c): Likewise.
3234         (CFLAGS-getc.c): Likewise.
3235         (CFLAGS-getchar.c): Likewise.
3236         (CFLAGS-getwc.c): Likewise.
3237         (CFLAGS-getwchar.c): Likewise.
3238         (CFLAGS-iofclose.c): Likewise.
3239         (CFLAGS-iofflush.c): Likewise.
3240         (CFLAGS-iofgetpos64.c): Likewise.
3241         (CFLAGS-iofgetpos.c): Likewise.
3242         (CFLAGS-iofgets.c): Likewise.
3243         (CFLAGS-iofgetws.c): Likewise.
3244         (CFLAGS-iofputs.c): Likewise.
3245         (CFLAGS-iofputws.c): Likewise.
3246         (CFLAGS-iofread.c): Likewise.
3247         (CFLAGS-iofsetpos64.c): Likewise.
3248         (CFLAGS-iofsetpos.c): Likewise.
3249         (CFLAGS-ioftell.c): Likewise.
3250         (CFLAGS-iofwrite.c): Likewise.
3251         (CFLAGS-iogetdelim.c): Likewise.
3252         (CFLAGS-iogetline.c): Likewise.
3253         (CFLAGS-iogets.c): Likewise.
3254         (CFLAGS-iogetwline.c): Likewise.
3255         (CFLAGS-ioputs.c): Likewise.
3256         (CFLAGS-ioseekoff.c): Likewise.
3257         (CFLAGS-ioseekpos.c): Likewise.
3258         (CFLAGS-iosetbuffer.c): Likewise.
3259         (CFLAGS-iosetvbuf.c): Likewise.
3260         (CFLAGS-ioungetc.c): Likewise.
3261         (CFLAGS-ioungetwc.c): Likewise.
3262         (CFLAGS-oldfileops.c): Likewise.
3263         (CFLAGS-oldiofclose.c): Likewise.
3264         (CFLAGS-oldiofgetpos64.c): Likewise.
3265         (CFLAGS-oldiofgetpos.c): Likewise.
3266         (CFLAGS-oldiofsetpos64.c): Likewise.
3267         (CFLAGS-oldiofsetpos.c): Likewise.
3268         (CFLAGS-peekc.c): Likewise.
3269         (CFLAGS-putc.c): Likewise.
3270         (CFLAGS-putchar.c): Likewise.
3271         (CFLAGS-putwc.c): Likewise.
3272         (CFLAGS-putwchar.c): Likewise.
3273         (CFLAGS-rewind.c): Likewise.
3274         (CFLAGS-wfileops.c): Likewise.
3275         (CFLAGS-wgenops.c): Likewise.
3276         (CFLAGS-oldiofopen.c): Likewise.
3277         (CFLAGS-iofopen.c): Likewise.
3278         (CFLAGS-iofopen64.c): Likewise.
3279         (CFLAGS-oldtmpfile.c): Likewise.
3280         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3281         (CFLAGS-fprintf.c): Likewise.
3282         (CFLAGS-printf.c): Likewise.
3283         (CFLAGS-vfwprintf.c): Likewise.
3284         (CFLAGS-vfscanf.c): Likewise.
3285         (CFLAGS-vfwscanf.c): Likewise.
3286         (CFLAGS-fscanf.c): Likewise.
3287         (CFLAGS-scanf.c): Likewise.
3288         (CFLAGS-isoc99_vfscanf.c): Likewise.
3289         (CFLAGS-isoc99_vscanf.c): Likewise.
3290         (CFLAGS-isoc99_fscanf.c): Likewise.
3291         (CFLAGS-isoc99_scanf.c): Likewise.
3292         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3293         (CFLAGS-isoc99_fwscanf.c): Likewise.
3294         (CFLAGS-isoc99_vwscanf.c): Likewise.
3295         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3297         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3298         after mkstemp64.
3299         * login/tst-utmp.c (do_prepare): Likewise.
3300         * rt/tst-aio.c (do_prepare): Likewise.
3301         * rt/tst-aio64.c (do_prepare): Likewise.
3303 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3305         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3306         (__lll_lock_elision): Remove adapt_count decrement...
3307         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3308         (__lll_trylock_elision): Likewise.
3309         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3310         (__lll_unlock_elision): ... to here. And utilize
3311         new adapt_count parameter.
3312         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3313         (__lll_unlock_elision): Update to include adapt_count
3314         parameter.
3315         (lll_unlock_elision): Pass pointer to adapt_count
3316         variable.
3318 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3320         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3321         Add elision adapt_count parameter to list of arguments.
3322         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3323         (lll_unlock_elision): Update with new parameter list
3324         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3325         (lll_unlock_elision): Likewise
3326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3327         (lll_unlock_elision): Likewise
3329 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3331         [BZ #19122]
3332         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3333         attribute_hidden.
3335         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3336         attribute_hidden.
3337         [IS_IN (rtld)] (__strdup): Likewise.
3338         [IS_IN (rtld)] (__strerror_r): Likewise.
3339         [IS_IN (rtld)] (__strsep_g): Likewise.
3340         [IS_IN (rtld)] (memchr): Likewise.
3341         [IS_IN (rtld)] (memcmp): Likewise.
3342         [IS_IN (rtld)] (memcpy): Likewise.
3343         [IS_IN (rtld)] (memmove): Likewise.
3344         [IS_IN (rtld)] (memset): Likewise.
3345         [IS_IN (rtld)] (rawmemchr): Likewise.
3346         [IS_IN (rtld)] (stpcpy): Likewise.
3347         [IS_IN (rtld)] (strchr): Likewise.
3348         [IS_IN (rtld)] (strcmp): Likewise.
3349         [IS_IN (rtld)] (strlen): Likewise.
3350         [IS_IN (rtld)] (strnlen): Likewise.
3351         [IS_IN (rtld)] (strsep): Likewise.
3353         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3354         attribute_hidden.
3355         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3357         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3358         attribute_hidden.
3359         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3361         * include/setjmp.h (__longjmp): Add attribute_hidden.
3362         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3364         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3365         Add attribute_hidden.
3367         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3368         [IS_IN (rtld)] (__open): Likewise.
3369         [IS_IN (rtld)] (__fcntl): Likewise.
3371         * include/dirent.h (__opendirat): Add attribute_hidden.
3372         (__getdents): Likewise.
3373         (__getdents64): Likewise.
3374         (__alloc_dir): Likewise.
3375         [IS_IN (rtld)] (__closedir): Likewise.
3376         [IS_IN (rtld)] (__fdopendir): Likewise.
3377         [IS_IN (rtld)] (__readdir): Likewise.
3378         [IS_IN (rtld)] (__readdir64): Likewise.
3379         [IS_IN (rtld)] (__rewinddir): Likewise.
3381         * include/dlfcn.h (_dl_catch_error): Moved to ...
3382         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3383         attribute_hidden.
3385         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3386         (_itoa_word): Likewise.
3388         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3389         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3390         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3391         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3392         (_dl_higher_prime_number): Likewise.
3393         (_dl_debug_printf_c): Likewise.
3394         (_dl_signal_cerror): Likewise.
3395         (_dl_receive_error): Likewise.
3396         (_dl_reloc_bad_type): Likewise.
3397         (_dl_resolve_conflicts): Likewise.
3398         (_dl_check_all_versions): Likewise.
3399         (_dl_check_map_versions): Likewise.
3400         (_dl_sort_fini): Likewise.
3401         (_dl_debug_initialize): Likewise.
3402         (_dl_init_paths): Likewise.
3403         (_dl_show_auxv): Likewise.
3404         (_dl_next_ld_env_entry): Likewise.
3405         (_dl_important_hwcaps): Likewise.
3406         (_dl_load_cache_lookup): Likewise.
3407         (_dl_update_slotinfo): Likewise.
3408         (_dl_show_scope): Likewise.
3410         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3411         attribute_hidden.
3412         (_wordcopy_fwd_dest_aligned): Likewise.
3413         (_wordcopy_bwd_aligned): Likewise.
3414         (_wordcopy_bwd_dest_aligned): Likewise.
3416         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3417         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3418         Likewise.
3419         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3420         Likewise.
3421         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3423 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3425         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3426         GCC 5 requirement.
3428 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3430         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3431         test.
3432         * sysdeps/i386/configure: Regenerated.
3433         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3434         code unconditional.
3436         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3437         test.
3438         (libc_cv_asm_popsection_directive): Likewise.
3439         * configure: Regenerated.
3440         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3441         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3442         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3443         (__make_section_unallocated): Make definition unconditional.
3444         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3445         Remove conditional definition.
3446         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3447         (__make_section_unallocated): Likewise.
3449         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3450         * configure: Regenerated.
3451         * config.make.in (static-libgcc): Remove variable.
3452         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3453         $(static-libgcc).
3454         (build-module-helper): Likewise.
3456         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3457         * configure: Regenerated.
3459 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3461         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3462         (struct char_buffer): New type.
3463         (char_buffer_start, char_buffer_size, char_buffer_error)
3464         (char_buffer_rewind, char_buffer_add): New functions.
3465         (ADDW): Remove macro, replaced by the char_buffer_add function.
3466         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3467         of extend_alloca.  Make control flow more explicit.
3469 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3471         [BZ #19137]
3472         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3473         Add -fomit-frame-pointer.
3474         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3476 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3478         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3479         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3481         only if !__GNUC_PREREQ (5,0).
3482         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3483         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3484         (INTERNAL_SYSCALL_NCS): Likewise.
3485         (LOADREGS_0): New macro for GCC 5.
3486         (ASMARGS_0): Likewise.
3487         (LOADREGS_1): Likewise.
3488         (ASMARGS_1): Likewise.
3489         (LOADREGS_2): Likewise.
3490         (ASMARGS_2): Likewise.
3491         (LOADREGS_3): Likewise.
3492         (ASMARGS_3): Likewise.
3493         (LOADREGS_4): Likewise.
3494         (ASMARGS_4): Likewise.
3495         (LOADREGS_5): Likewise.
3496         (ASMARGS_5): Likewise.
3497         (LOADREGS_6): Likewise.
3498         (ASMARGS_6): Likewise.
3500 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3502         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3503         -fomit-frame-pointer.
3504         (CFLAGS-mmap64.c): Likewise.
3505         (CFLAGS-semtimedop.c): Likewise.
3506         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3507         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3508         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3509         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3511 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3513         [BZ #18928]
3514         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3515         _dl_pointer_guard member.
3516         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3517         initializer.
3518         (security_init): Always set up pointer guard.
3519         (process_envvars): Do not process LD_POINTER_GUARD.
3521 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3523         [BZ #19134]
3524         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3525         (.LC2): Likewise.
3526         (.LC3): Likewise.
3527         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3529 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3531         [BZ #19129]
3532         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3533         r0 and r1.
3535 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3537         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3539 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3541         * include/stap-probe.h: Fix macro definition formatting.
3543 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3545         [BZ #19074]
3546         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3547         load and store num_ifs.
3549 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3551         [BZ #18822]
3552         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3553         (__sched_getaffinity_new): Add libc_hidden_proto and
3554         libc_hidden_def.
3556 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3558         [BZ #19007]
3559         * scripts/localplt.awk: Also allow GOT references.
3560         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3561         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3562         with "+ REL R_386_GLOB_DAT".
3563         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3564         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3566 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3568         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3569         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3570         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3571         Likewise.
3572         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3573         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3574         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3575         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3576         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3577         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3578         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3579         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3583 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3585         [BZ #19125]
3586         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3587         <math_private.h> and <stdint.h>.
3588         (__llround): Avoid conversions to and from long long int, and
3589         subtractions, where those might raise spurious exceptions.
3590         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3591         <math_private.h> and <stdint.h>.
3592         (__llroundf): Avoid conversions to and from long long int, and
3593         subtractions, where those might raise spurious exceptions.
3595 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3597         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3598         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3599         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3600         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3601         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3602         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3603         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3604         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3605         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3606         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3607         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3608         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3609         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3610         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3611         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3612         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3613         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3614         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3615         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3616         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3617         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3618         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3619         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3620         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3621         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3622         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3623         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3624         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3625         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3626         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3627         (__xstat64_conv): Likewise.
3628         (__xstat32_conv): Likewise.
3630 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3632         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3633         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3634         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3635         <sysdeps/unix/sysv/linux/sysdep.h>.
3636         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3637         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3638         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3639         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3640         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3641         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3642         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3643         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3644         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3647         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3649         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3650         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3652         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3653         (sysdep-dl-routines): Add sysdep.
3654         [$(subdir) == nptl] (libpthread-routines): Likewise.
3655         [$(subdir) == rt] (librt-routines): Likewise.
3656         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3657         PIC when branching to SYSCALL_ERROR_LABEL.
3658         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3659         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3660         <sysdeps/unix/sysv/linux/sysdep.h>.
3661         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3662         (SYSCALL_ERROR_ERRNO): Removed.
3663         (SYSCALL_ERROR_HANDLER): Changed to empty.
3664         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3665         (__syscall_error): New prototype.
3666         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3667         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3669 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3671         [BZ #19124]
3672         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3673         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3674         _dl_runtime_resolve_avx.
3675         (_dl_runtime_profile_avx512): Make it a hidden alias of
3676         _dl_runtime_profile_avx.
3678 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3680         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3681         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3682         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3683         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3685         [BZ #16422]
3686         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3687         New configure test.
3688         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3689         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3690         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3691         <math_private.h> and <stdint.h>.
3692         (__llrint): Avoid conversions to long long int where those might
3693         raise spurious exceptions.
3694         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3695         <math_private.h> and <stdint.h>.
3696         (__llrintf): Avoid conversions to long long int where those might
3697         raise spurious exceptions.
3699 2015-10-12  Andreas Schwab  <schwab@suse.de>
3701         [BZ #18969]
3702         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3703         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3704         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3705         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3706         $(gen-locales).
3707         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3708         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3709         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3710         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3711         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3712         $(gen-locales).
3713         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3714         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3715         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3716         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3717         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3718         ($(objpfx)tst-ftell-active-handler.out)
3719         ($(objpfx)tst-ftell-append.out)
3720         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3721         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3722         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3723         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3724         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3725         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3726         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3727         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3728         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3729         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3730         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3731         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3732         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3733         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3734         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3735         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3736         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3737         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3738         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3739         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3740         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3741         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3742         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3743         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3744         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3745         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3746         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3747         $(gen-locales).
3748         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3749         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3750         $(gen-locales).
3751         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3752         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3753         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3754         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3755         $(gen-locales).
3756         * libio/tst_wprintf2.c (main): Use explicit locale.
3757         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3759 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3761         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3762         __msg_sig_post.
3763         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3765 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3767         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3768         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3770         * sysdeps/arm/libm-test-ulps: Regenerated.
3772         [BZ #15470]
3773         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3775         [BZ #16399]
3776         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3777         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3778         and <fix-fp-int-convert-overflow.h>.
3779         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3780         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3781         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3782         and <fix-fp-int-convert-overflow.h>.
3783         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3784         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3785         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3786         <fix-fp-int-convert-overflow.h>.
3787         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3788         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3789         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3790         <fix-fp-int-convert-overflow.h>.
3791         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3792         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3793         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3794         and <fix-fp-int-convert-overflow.h>.
3795         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3796         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3797         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3798         <limits.h> and <fix-fp-int-convert-overflow.h>.
3799         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3800         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3801         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3802         and <fix-fp-int-convert-overflow.h>.
3803         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3804         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3805         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3806         and <fix-fp-int-convert-overflow.h>.
3807         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3808         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3809         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3811 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3813         [BZ #18589]
3814         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3815         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3816         $(gen-locales).
3818 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3819             Phil Blundell <pb@pbcl.net>
3821         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3822         * nptl/tst-cancel26.c: New file.
3823         * nptl/tst-cancel27.c: Likewise.
3825 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3827         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3828         __ILP32__ isn't defined.
3829         (lrint): Likewise.
3830         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3831         (lrintf): Likewise.
3832         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3833         (lrintl): Likewise.
3834         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3835         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3836         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3838 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3843         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3844         file.
3845         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3846         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3848 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3850         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3851         configure test.
3852         * sysdeps/i386/configure: Regenerated.
3853         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3854         configure test.
3855         * sysdeps/x86_64/configure: Regenerated.
3856         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3857         Make code unconditional.
3859         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3860         test.
3861         * sysdeps/i386/configure: Regenerated.
3862         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3863         test.
3864         * sysdeps/x86_64/configure: Regenerated.
3865         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3866         Make code unconditional.
3867         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3868         Likewise.
3869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3870         Likewise.
3871         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3872         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3873         code unconditional.
3874         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3875         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3876         code unconditional.
3877         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3878         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3879         code unconditional.
3880         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3881         code unconditional.
3882         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3883         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3884         code unconditional.
3885         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3886         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3887         code unconditional.
3888         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3889         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3890         code unconditional.
3891         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3892         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3893         code unconditional.
3894         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3895         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3897         [BZ #19095]
3898         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3899         mantissa to long int before shifting left.
3901 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3903         [BZ #19094]
3904         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3905         <limits.h>.
3906         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3907         when result overflows but exception would not result from cast.
3908         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3909         <limits.h>.
3910         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3911         when result overflows but exception would not result from cast.
3912         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3913         <limits.h>.
3914         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3915         when result overflows but exception would not result from cast.
3916         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3917         <limits.h>.
3918         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3919         when result overflows but exception would not result from cast.
3920         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3921         <limits.h>.
3922         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3923         when result overflows but exception would not result from cast.
3924         * math/libm-test.inc (lrint_test_data): Add more tests.
3925         (llrint_test_data): Likewise.
3927 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3929         [BZ #18872]
3930         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3931         Move out from under [$(run-built-tests) = yes] conditional.
3932         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3933         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3935 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3937         [BZ #18589]
3938         * string/Makefile (tests): Add bug-strcoll2.
3939         (LOCALES): Add cs_CZ.UTF-8.
3940         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3942         [BZ #18589]
3943         * string/bug-strcoll2.c: New file.
3944         * locale/categories.def: Revert commit
3945         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3946         * locale/langinfo.h: Likewise.
3947         * locale/localeinfo.h: Likewise.
3948         * locale/C-collate.c: Likewise.
3949         * locale/programs/ld-collate.c (collate_output): Likewise.
3950         * string/strcoll_l.c (STRDIFF): Likewise.
3951         (STRCOLL): Likewise.
3952         * wcsmbs/wcscoll_l.c: Likewise.
3954 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3956         * math/libm-test.inc (lround_test_data): Do not expect the absence
3957         of "inexact" for some tests with non-integer arguments.
3958         (llround_test_data): Likewise.
3960         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3961         test.
3962         (libc_cv_cc_sse2avx): Likewise.
3963         * sysdeps/i386/configure: Regenerated.
3964         * sysdeps/i386/i686/multiarch/Makefile
3965         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3966         [$(subdir) = math].
3967         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3968         code unconditional.
3969         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3970         Likewise.
3971         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3972         Likewise.
3973         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3974         Likewise.
3975         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3976         test.
3977         (libc_cv_cc_sse2avx): Likewise.
3978         * sysdeps/x86_64/configure: Regenerated.
3979         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3980         unconditional.
3981         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3982         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3983         unconditional.
3984         (_dl_runtime_profile)
3985         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3986         conditional code.
3987         * sysdeps/x86_64/fpu/multiarch/Makefile
3988         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3989         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3990         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3991         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3992         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3993         * sysdeps/x86_64/fpu/multiarch/e_log.c
3994         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3995         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3996         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3997         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3998         Likewise.
3999         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4000         Likewise.
4001         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4002         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4003         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4004         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4005         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4006         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4007         (HAVE_SSE2AVX_SUPPORT): Likewise.
4009 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4011         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4012         instead of #pragma optimize.
4014 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4016         [BZ #17195]
4017         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4018         as is similarly done in systrim and _int_free already.
4020 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4022         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4024 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4026         [BZ #19088]
4027         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4028         <limits.h>.
4029         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4030         overflows but exception would not result from cast.
4031         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4032         and <limits.h>.
4033         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4034         overflows but exception would not result from cast.
4035         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4036         <limits.h>.
4037         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4038         overflows but exception would not result from cast.
4039         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4040         <limits.h>.
4041         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4042         overflows but exception would not result from cast.
4043         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4044         <limits.h>.
4045         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4046         overflows but exception would not result from cast.
4047         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4048         <limits.h>.
4049         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4050         overflows but exception would not result from cast.
4051         * math/libm-test.inc (lround_test_data): Add more tests.
4052         (llround_test_data): Likewise.
4054 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4056         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4057         (CFLAGS-ialloc.c): Ditto.
4058         (CFLAGS-scheck.c): Ditto.
4060 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4062         [BZ #19086]
4063         * manual/filesys.texi (Storage Allocation): Fix argument order for
4064         posix_fallocate64.
4066 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4068         [BZ #19085]
4069         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4070         exponent below 48 inside case for non-overflowing exponent.
4071         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4073 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4075         * iconvdata/cp737.h (from_idx): Add const.
4076         * iconvdata/cp775.h (from_idx): Likewise.
4078 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4080         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4081         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4082         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4084         [BZ #19079]
4085         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4086         file, conditioned on [!_LP64].
4087         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4088         [!_LP64] (__lround): Do not define as function or alias.
4089         [!_LP64] (lround): Likewise.
4090         [!_LP64] (__lroundl): Likewise.
4091         [!_LP64] (lroundl): Likewise.
4092         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4093         macro.
4094         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4095         Likewise.
4097 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4099         * math/libm-test.inc (lrint_test_data): Add more tests.
4100         (llrint_test_data): Likewise.
4101         (lround_test_data): Likewise.
4102         (llround_test_data): Likewise.
4104         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4105         (llrint_test_data): Add tests used for lrint.
4107         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4108         test.
4109         * sysdeps/i386/configure: Regenerated.
4110         * sysdeps/i386/i686/multiarch/Makefile
4111         [$(config-cflags-sse4) = yes]: Make code unconditional.
4112         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4113         Likewise.
4114         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4115         Likewise.
4116         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4117         test.
4118         * sysdeps/x86_64/configure: Regenerated.
4119         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4120         Make code unconditional.
4121         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4122         Likewise.
4123         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4124         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4126         * scripts/rpm2dynsym.sh: Remove file.
4128 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4130         * configure.ac (libc_cv_cxx_thread_local): Define.
4131         * configure: Regenerate.
4132         * config.make.in (have-cxx-thread_local): Define.
4133         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4134         (LDLIBS-tst-thread_local1): Define.
4135         (tests): Add tst-thread_local1.
4136         [have-cxx-thread_local != yes] (tests-unsupported): Add
4137         tst-thread_local1.
4138         * nptl/tst-thread_local1.cc: New file.
4140 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4142         [BZ #19078]
4143         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4144         (u_thres): Likewise.
4145         (__expl): Determine whether to call __kernel_standard_l based on
4146         value of result, not argument.
4148         * math/libm-test.inc (scalb_test_data): Add more expectations for
4149         the "inexact" exception.
4151         [BZ #19077]
4152         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4153         0.0L for argument 1.0L.
4155         [BZ #19076]
4156         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4157         constant 0.0L when computing infinite result.
4159 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4161         [BZ #10432]
4162         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4163         malloc_usable_size.
4165 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4167         [BZ #19018]
4168         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4169         Mangle function pointer before storing it.
4170         (__call_tls_dtors): Demangle function pointer before calling it.
4172 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4174         [BZ #19012]
4175         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4176         Clean up on failure.
4178 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4180         [BZ #19071]
4181         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4182         long int variable to store possibly incremented high part of
4183         mantissa.
4184         * math/libm-test.inc (lround_test_data): Add tests used for
4185         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4186         for tests requiring 64-bit long.  Do not condition tests on
4187         [TEST_FLOAT] unnecessarily.
4188         (llround_test_data): Add tests used for lround.  Add another
4189         expectation for the "inexact" exception.  Do not condition tests
4190         on [TEST_FLOAT] unnecessarily.
4192         [BZ #887]
4193         [BZ #19049]
4194         [BZ #19050]
4195         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4196         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4197         <fix-int-fp-convert-zero.h>.
4198         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4199         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4200         <fix-int-fp-convert-zero.h>.
4201         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4202         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4203         <fix-int-fp-convert-zero.h>.
4204         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4205         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4206         <fix-int-fp-convert-zero.h>.
4207         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4208         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4209         <fix-int-fp-convert-zero.h>.
4210         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4211         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4212         <fix-int-fp-convert-zero.h>.
4213         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4214         * sysdeps/ieee754/flt-32/s_erff.c: Include
4215         <fix-int-fp-convert-zero.h>.
4216         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4217         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4218         <fix-int-fp-convert-zero.h>.
4219         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4221         <fix-int-fp-convert-zero.h>.
4222         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4223         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4224         <fix-int-fp-convert-zero.h>.
4225         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4226         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4227         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4228         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4229         file.
4230         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4232 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4236 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4238         [BZ #19059]
4239         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4240         overflowing computation.
4241         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4242         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4243         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4244         Likewise.
4245         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4246         Likewise.
4247         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4248         Likewise.
4249         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4250         Likewise.
4251         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4252         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4253         Likewise.
4254         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4255         Likewise.
4256         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4258         * nss/rewrite_field.c (__nss_rewrite_field): Use
4259         internal_function.
4260         * nss/valid_field.c (__nss_valid_field): Likewise.
4261         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4263 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4265         [BZ #18724]
4266         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4267         (__nss_invalid_field_characters, __nss_valid_field)
4268         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4269         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4270         tst-field.c: New file.
4271         * nss/Makefile (routines): Add valid_field, rewrite_field.
4272         (tests-static): Define unconditionally.
4273         (tests): Include tests-static.
4274         [build-static-nss] (tests-static): Use append.
4275         [build-static-nss] (tests): Remove modification.
4276         * nss/getent.c (print_group): Call putgrent.  Report error.
4277         (print_gshadow): Call putsgent.  Report error.
4278         (print_passwd): Call putpwent.  Report error.
4279         (print_shadow): Call putspent.  Report error.
4280         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4281         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4282         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4283         name, password, directory, shell fields for valid syntax.  Rewrite
4284         GECOS field to match syntax.
4285         * pwd/Makefile (tests): Add tst-putpwent.
4286         * pwd/tst-putpwent.c: New file.
4287         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4288         Check grName, grpasswd, gr_mem fields for valid syntax.
4289         Change loop variable i to size_t.
4290         * grp/Makefile (tests): Add tst-putgrent.
4291         * grp/tst-putgrent.c: New file.
4292         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4293         valid syntax.
4294         * shadow/Makefile (tests): Add tst-putspent.
4295         * shadow/tst-putspent.c: New file.
4296         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4297         sg_mem fields for valid syntax.
4298         * gshadow/Makefile (tests): Add tst-putsgent.
4299         * gshadow/tst-putsgent.c: New file.
4301 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4303         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4304         assembly instructions.
4306 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4308         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4309         prefix from operands.
4311 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4313         [BZ #16347]
4314         [BZ #19046]
4315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4316         <libc-internal.h>.
4317         (MAXLGM): Do not use diagnostic control macros.
4318         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4319         threshold for ldbl-128ibm.
4320         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4321         instead of multiplying by log then subtracting.
4322         * math/auto-libm-test-in: Add more tests of lgamma.
4323         * math/auto-libm-test-out: Regenerated.
4325         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4326         (TYPE_HEX_DIG): Likewise.
4327         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4328         precisions when printing floating-point numbers.
4329         (check_float_internal): Likewise.
4331 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4333         [BZ #16620]
4334         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4335         of log (10) rounded downward to 48 bits.
4336         (log10_low): Use corresponding low part of log (10).
4338         [BZ #19032]
4339         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4340         compute result as (x - x) / (x - x) not as 0 / 0.
4341         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4342         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4344         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4345         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4346         and expm1.
4347         * math/auto-libm-test-out: Regenerated.
4348         * math/libm-test.inc (acos_test_data): Add more tests.
4349         (asin_test_data): Likewise.
4350         (asinh_test_data): Likewise.
4351         (atan_test_data): Likewise.
4352         (atanh_test_data): Likewise.
4353         (atan2_test_data): Likewise.
4354         (cbrt_test_data): Likewise.
4355         (ceil_test_data): Likewise.
4356         (copysign_test_data): Likewise.
4357         (cos_test_data): Likewise.
4358         (cosh_test_data): Likewise.
4359         (erf_test_data): Likewise.
4360         (erfc_test_data): Likewise.
4361         (exp_test_data): Likewise.
4362         (exp10_test_data): Likewise.
4363         (exp2_test_data): Likewise.
4364         (expm1_test_data): Likewise.
4365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4367 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4369         [BZ #19006]
4370         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4371         to ...
4372         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4373         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4374         to ...
4375         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4376         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4377         to ...
4378         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4379         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4380         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4381         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4382         to ...
4383         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4384         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4385         Moved to ...
4386         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4387         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4388         Moved to ...
4389         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4390         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4391         to ...
4392         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4393         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4394         Moved to ...
4395         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4397         to ...
4398         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4399         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4400         Removed.
4401         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4404         Likewise.
4405         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4406         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4407         Likewise.
4408         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4409         Likewise.
4410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4411         Likewise.
4412         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4413         Likewise.
4414         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4415         Likewise.
4416         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4419         Likewise.
4420         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4421         Likewise.
4422         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4423         Likewise.
4424         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4425         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4426         Likewise.
4427         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4428         Likewise.
4429         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4432         Likewise.
4433         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4434         Likewise.
4435         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4436         Replace ../i486/pthread_cond_timedwait.S with
4437         ../pthread_cond_timedwait.S.
4439 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4441         * math/libm-test.inc (acos_test_data): Refine expectations for
4442         errno and "inexact" exceptions.
4443         (acosh_test_data): Likewise.
4444         (asin_test_data): Likewise.
4445         (asinh_test_data): Likewise.
4446         (atan_test_data): Likewise.
4447         (atanh_test_data): Likewise.
4448         (atan2_test_data): Likewise.
4449         (cbrt_test_data): Likewise.
4450         (ceil_test_data): Likewise.
4451         (copysign_test_data): Likewise.
4452         (cosh_test_data): Likewise.
4453         (erf_test_data): Likewise.
4454         (erfc_test_data): Likewise.
4455         (exp_test_data): Likewise.
4456         (exp10_test_data): Likewise.
4457         (exp2_test_data): Likewise.
4458         (expm1_test_data): Likewise.
4459         (fabs_test_data): Likewise.
4460         (floor_test_data): Likewise.
4461         (fma_test_data): Likewise.
4462         (fmax_test_data): Likewise.
4463         (fmin_test_data): Likewise.
4464         (fmod_test_data): Likewise.
4465         (fpclassify_test_data): Likewise.
4466         (frexp_test_data): Likewise.
4467         (hypot_test_data): Likewise.
4468         (ilogb_test_data): Likewise.
4469         (isgreater_test_data): Likewise.
4470         (isgreaterequal_test_data): Likewise.
4471         (isinf_test_data): Likewise.
4472         (isless_test_data): Likewise.
4473         (islessequal_test_data): Likewise.
4474         (islessgreater_test_data): Likewise.
4475         (isnan_test_data): Likewise.
4476         (isnormal_test_data): Likewise.
4477         (issignaling_test_data): Likewise.
4478         (isunordered_test_data): Likewise.
4479         (j0_test_data): Likewise.
4480         (j1_test_data): Likewise.
4481         (jn_test_data): Likewise.
4482         (lgamma_test_data): Likewise.
4483         (lrint_test_data): Likewise.
4484         (llrint_test_data): Likewise.
4485         (log_test_data): Likewise.
4486         (log10_test_data): Likewise.
4487         (log1p_test_data): Likewise.
4488         (log2_test_data): Likewise.
4489         (logb_test_data): Likewise.
4490         (lround_test_data): Likewise.
4491         (llround_test_data): Likewise.
4492         (modf_test_data): Likewise.
4493         (nearbyint_test_data): Likewise.
4494         (nextafter_test_data): Likewise.
4495         (nexttoward_test_data): Likewise.
4496         (pow_test_data): Likewise.
4497         (remainder_test_data): Likewise.
4498         (remquo_test_data): Likewise.
4499         (rint_test_data): Likewise.
4500         (round_test_data): Likewise.
4501         (signbit_test_data): Likewise.
4502         (sinh_test_data): Likewise.
4503         (sqrt_test_data): Likewise.
4504         (tanh_test_data): Likewise.
4505         (tgamma_test_data): Likewise.
4506         (trunc_test_data): Likewise.
4507         (y0_test_data): Likewise.
4508         (y1_test_data): Likewise.
4509         (yn_test_data): Likewise.
4510         (significand_test_data): Likewise.
4512 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4514         * manual/filesys.texi (Storage Allocation): Document that
4515         posix_fallocate emulation fails when fd is open with O_WRONLY.
4517 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4519         [BZ #19016]
4520         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4521         allow more cases with X^2 + Y^2 >= 0.5.
4522         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4523         normal element in sum instead of special-casing based on values of
4524         arguments.
4525         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4526         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4527         -1 as normal element in sum instead of special-casing based on
4528         values of arguments.
4529         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4530         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4531         (__x2y2m1): Update comment.
4532         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4533         as normal element in sum instead of special-casing based on values
4534         of arguments.
4535         * math/s_clog.c (__clog): Handle more cases using log1p without
4536         hypot.
4537         * math/s_clog10.c (__clog10): Likewise.
4538         * math/s_clog10f.c (__clog10f): Likewise.
4539         * math/s_clog10l.c (__clog10l): Likewise.
4540         * math/s_clogf.c (__clogf): Likewise.
4541         * math/s_clogl.c (__clogl): Likewise.
4542         * math/auto-libm-test-in: Add more tests of clog and clog10.
4543         * math/auto-libm-test-out: Regenerated.
4544         * sysdeps/i386/fpu/libm-test-ulps: Update.
4545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547 2015-09-28  Martin Sebor  <msebor@redhat.com>
4549         [BZ #18969]
4550         * string/Makefile (LOCALES): Define.
4551         (gen-locales.mk): Include.
4552         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4553         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4554         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4555         on setlocale failure.
4557 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4559         [BZ #18985]
4560         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4561         (__strftime_internal): Likewise.
4562         * time/tst-strftime.c (do_bz18985): New test.
4563         (do_test): Call it.
4565 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #18956]
4568         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4569         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4570         extracting high part.
4571         * math/auto-libm-test-in: Add another test of pow.
4572         * math/auto-libm-test-out: Regenerated.
4573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4575 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4577         [BZ #18825]
4578         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4579         New macro.
4580         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4581         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4582         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4583         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4584         DBL_NARROW_EVAL, reloading the PIC register as needed.
4585         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4586         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4587         FLT_NARROW_EVAL.  Use separate return path for case when first
4588         argument is NaN.
4589         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4590         DEFINE_LDBL_MIN.
4591         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4592         PIC register.
4593         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4594         math_check_force_underflow_nonneg.
4595         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4596         underflow for subnormal result.
4597         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4599         math_check_force_underflow_nonneg.
4600         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4601         math_check_force_underflow.
4602         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4603         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4604         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4605         DEFINE_LDBL_MIN.
4606         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4607         * math/auto-libm-test-in: Add more tests of pow.
4608         * math/auto-libm-test-out: Regenerated.
4610 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4612         * nss/bug17079.c (init_test_items): Add diagnostic for
4613         inconsistent entries.
4614         (test_buffer_size): Skip inconsistent entries.
4616 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4618         [BZ #13304]
4619         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4620         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4621         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4623         [BZ #13304]
4624         * sysdeps/microblaze/s_fma.c: New file.
4625         * sysdeps/microblaze/s_fmaf.c: Likewise.
4626         * sysdeps/microblaze/sfp-machine.h: Likewise.
4628 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4630         [BZ #17250]
4631         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4632         member.
4634 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4636         [BZ #18803]
4637         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4638         (MO): New macro.
4639         (__ieee754_hypot) [PIC]: Load PIC register.
4640         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4641         DBL_NARROW_EVAL.
4642         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4643         math_check_force_underflow_nonneg in case where result might be
4644         tiny.
4645         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4646         Likewise.
4647         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4648         Likewise.
4649         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4650         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4651         * math/auto-libm-test-in: Add more tests of hypot.
4652         * math/auto-libm-test-out: Regenerated.
4654 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4656         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4658 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4660         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4661         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4662         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4663         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4664         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4665         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4666         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4668         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4669         LOAD_PIC_REG.
4671         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4672         (FLT_CHECK_FORCE_UFLOW): Likewise.
4673         (DBL_CHECK_FORCE_UFLOW): Likewise.
4674         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4675         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4676         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4677         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4678         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4679         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4680         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4681         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4682         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4683         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4684         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4685         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4686         (flt_min): Replace with use of DEFINE_FLT_MIN.
4687         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4688         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4689         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4690         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4691         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4692         (flt_min): Replace with use of DEFINE_FLT_MIN.
4693         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4694         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4696         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4697         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4698         (flt_min): Replace with use of DEFINE_FLT_MIN.
4699         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4700         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4701         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4702         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4703         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4704         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4705         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4706         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4707         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4708         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4709         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4710         (flt_min): Replace with use of DEFINE_FLT_MIN.
4711         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4712         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4713         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4714         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4715         main computation.
4716         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4717         (flt_min): Replace with use of DEFINE_FLT_MIN.
4718         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4719         main computation.
4720         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4721         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4722         (MO): New macro.
4723         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4724         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4725         (flt_min): Replace with use of DEFINE_FLT_MIN.
4726         (MO): New macro.
4727         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4728         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4729         (__log1pl): Use MO.
4731         [BZ #19003]
4732         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4733         $(config-cflags-nofma).
4735 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4737         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4739 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4741         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4742         (TWO127): Likewise.
4744         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4745         (min_of_type): Likewise.
4746         (math_check_force_underflow): Likewise.
4747         (math_check_force_underflow_nonneg): Likewise.
4748         (math_check_force_underflow_complex): Likewise.
4749         * math/e_exp2l.c (__ieee754_exp2l): Use
4750         math_check_force_underflow_nonneg.
4751         * math/k_casinh.c (__kernel_casinh): Likewise.
4752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4754         * math/s_catan.c (__catan): Use
4755         math_check_force_underflow_complex.
4756         * math/s_catanf.c (__catanf): Likewise.
4757         * math/s_catanh.c (__catanh): Likewise.
4758         * math/s_catanhf.c (__catanhf): Likewise.
4759         * math/s_catanhl.c (__catanhl): Likewise.
4760         * math/s_catanl.c (__catanl): Likewise.
4761         * math/s_ccosh.c (__ccosh): Likewise.
4762         * math/s_ccoshf.c (__ccoshf): Likewise.
4763         * math/s_ccoshl.c (__ccoshl): Likewise.
4764         * math/s_cexp.c (__cexp): Likewise.
4765         * math/s_cexpf.c (__cexpf): Likewise.
4766         * math/s_cexpl.c (__cexpl): Likewise.
4767         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4768         * math/s_clog10.c (__clog10): Likewise.
4769         * math/s_clog10f.c (__clog10f): Likewise.
4770         * math/s_clog10l.c (__clog10l): Likewise.
4771         * math/s_clogf.c (__clogf): Likewise.
4772         * math/s_clogl.c (__clogl): Likewise.
4773         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4774         * math/s_csinf.c (__csinf): Likewise.
4775         * math/s_csinh.c (__csinh): Likewise.
4776         * math/s_csinhf.c (__csinhf): Likewise.
4777         * math/s_csinhl.c (__csinhl): Likewise.
4778         * math/s_csinl.c (__csinl): Likewise.
4779         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4780         * math/s_csqrtf.c (__csqrtf): Likewise.
4781         * math/s_csqrtl.c (__csqrtl): Likewise.
4782         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4783         * math/s_ctanf.c (__ctanf): Likewise.
4784         * math/s_ctanh.c (__ctanh): Likewise.
4785         * math/s_ctanhf.c (__ctanhf): Likewise.
4786         * math/s_ctanhl.c (__ctanhl): Likewise.
4787         * math/s_ctanl.c (__ctanl): Likewise.
4788         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4789         instead of volatile.
4790         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4791         math_check_force_underflow.
4792         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4793         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4794         volatile when forcing underflow.
4795         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4796         math_check_force_underflow_nonneg.
4797         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4798         Likewise.
4799         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4800         math_check_force_underflow.
4801         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4802         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4803         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4804         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4805         math_check_force_underflow_nonneg.
4806         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4807         math_check_force_underflow.
4808         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4810         instead of volatile.
4811         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4812         math_check_force_underflow.
4813         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4814         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4815         math_check_force_underflow_nonneg.
4816         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4817         math_check_force_underflow.
4818         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4819         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4820         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4821         math_check_force_underflow_nonneg.
4822         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4823         Likewise.
4824         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4825         math_check_force_underflow.
4826         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4827         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4828         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4829         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4830         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4831         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4832         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4833         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4834         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4835         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4836         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4837         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4838         Likewise.
4839         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4840         math_check_force_underflow_nonneg.
4841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4842         Likewise.
4843         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4844         math_check_force_underflow.
4845         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4846         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4847         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4848         Likewise.
4849         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4850         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4851         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4852         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4853         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4854         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4856         instead of volatile.
4857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4858         math_check_force_underflow.
4859         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4860         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4861         math_check_force_underflow.
4862         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4863         Likewise.
4864         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4865         Use math_check_force_underflow_nonneg.
4866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4867         math_check_force_underflow.
4868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4869         Likewise.
4870         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4871         Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4873         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4878         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4879         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4880         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4881         math_check_force_underflow_nonneg.
4882         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4883         math_check_force_underflow.
4884         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4885         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4886         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4887         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4888         math_check_force_underflow_nonneg.
4889         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4890         math_check_force_underflow.
4891         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4892         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4893         instead of volatile.
4894         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4895         math_check_force_underflow.
4897         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4898         * stdlib/strtod_l.c: Include <math_private.h>.
4899         (overflow_value): Use math_narrow_eval.
4900         (underflow_value): Likewise.
4901         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4902         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4903         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4904         (__ieee754_gamma_r): Likewise.
4905         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4906         Likewise.
4907         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4908         Likewise.
4909         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4910         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4911         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4912         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4913         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4914         (__ieee754_gammaf_r): Likewise.
4915         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4916         Likewise.
4917         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4918         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4919         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4920         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4921         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4922         volatile.
4923         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4925         math_narrow_eval.
4926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4927         Likewise.
4928         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4929         Likewise.
4930         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4931         Likewise.
4932         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4933         volatile.
4934         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4935         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4936         math_narrow_eval.
4937         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4938         Likewise.
4939         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4940         Likewise.
4942 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4944         * nptl/Versions: Remove ignored symbols.
4946 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4948         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4949         * nss/Makefile (tests): Update.
4951 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4953         * nss/bug18287.c: New file.
4954         * nss/Makefile (tests): Add bug18287.
4956 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4958         * mach/Versions (__mach_host_self_): Add symbol.
4960 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4962         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4963         vm_page_size.
4965 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4967         Really fix sysdeps/i386/fpu/s_scalbn.S build
4969         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4970         (libc: GLIBC_2_22): Remove unused version set.
4972 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4974         * config.make.in (enable-timezone-tools): New variable.
4975         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4976         (enable_timezone_tools): Export to generated files.
4977         * configure: Regenerate.
4978         * INSTALL: Regenerate.
4979         * manual/install.texi (--disable-timezone-tools): Document new flag.
4980         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4981         ifeq ($(enable-timezone-tools),yes) check.
4983 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4985         * timezone/Makefile: Revert previous change.
4987         [BZ #18980]
4988         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4989         (DEFINE_DBL_MIN): Likewise.
4990         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4991         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4992         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4993         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4994         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4995         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4996         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4997         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4998         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4999         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5000         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5001         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5002         (flt_min): Replace with use of DEFINE_FLT_MIN.
5003         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5004         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5005         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5006         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5007         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5008         (flt_min): Replace with use of DEFINE_FLT_MIN.
5009         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5010         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5011         (flt_min): Replace with use of DEFINE_FLT_MIN.
5012         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5013         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5014         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5015         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5016         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5017         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5018         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5019         (__ieee754_pow): Use DBL_NARROW_EVAL.
5020         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5021         (__ieee754_powf): Use FLT_NARROW_EVAL.
5022         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5023         (__ieee754_expf_sse2): Convert double-precision result to single
5024         precision.
5025         * sysdeps/i386/fpu/libm-test-ulps: Update.
5027 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5029         * timezone/Makefile: Ignore unused variable errors due to private.h
5030         (time_t_min) and (time_t_max).
5031         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5032         Likewise.
5034 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5036         [BZ #18981]
5037         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5038         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5039         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5040         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5041         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5042         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5043         (__scalbn): Use DBL_NARROW_EVAL.
5044         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5045         (__scalbnf): Use FLT_NARROW_EVAL.
5047 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5049         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5050         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5051         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5052         * stdio-common/printf_fp.c (___printf_fp):
5053         Use signbit to get the sign. Use isinf macro to allow inlining.
5054         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5055         * stdio-common/printf_size.c (__printf_size): Likewise.
5057 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5059         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5061 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5063         [BZ #18980]
5064         * sysdeps/generic/math_private.h: Include <float.h>.
5065         (math_narrow_eval): New macro.
5066         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5067         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5068         math_narrow_eval on overflowing return value.
5069         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5070         Likewise.
5071         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5072         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5073         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5074         Likewise.
5075         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5077 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5079         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5080         * math/Makefile: Remove isinf_ns.c.
5081         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5082         * math/multc3.c (__multc3): Likewise.
5083         * math/s_casin.c (__casin): Likewise.
5084         * math/s_casinf.c (__casinf): Likewise.
5085         * math/s_casinl.c (__casinl): Likewise.
5086         * math/s_cproj.c (__cproj): Likewise.
5087         * math/s_cprojf.c (__cprojf): Likewise.
5088         * math/s_cprojl.c (__cprofl): Likewise.
5089         * math/s_ctan.c (__ctan): Likewise.
5090         * math/s_ctanf.c (__ctanf): Likewise.
5091         * math/s_ctanh.c (__ctanh): Likewise.
5092         * math/s_ctanhf.c (__ctanhf): Likewise.
5093         * math/s_ctanhl.c (__ctanhl): Likewise.
5094         * math/s_ctanl.c (__ctanl): Likewise.
5095         * math/w_fmod.c (__fmod): Likewise.
5096         * math/w_fmodf.c (__fmodf): Likewise.
5097         * math/w_fmodl.c (_fmodl): Likewise.
5098         * math/w_remainder.c (__remainder): Likewise.
5099         * math/w_remainderf.c (__remainderf): Likewise.
5100         * math/w_remainderl.c (__remainderl): Likewise.
5101         * math/w_scalb.c (__scalb): Likewise.
5102         * math/w_scalbf.c (__scalbf): Likewise.
5103         * math/w_scalbl.c (__scalbl): Likewise.
5104         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5105         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5106         with isinf.
5107         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5109         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5110         __isinf_nsf with isinf.
5111         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5112         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5113         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5114         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5115         with isinf.
5116         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5117         __isinf_nsl with isinf.
5118         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5119         with isinf.
5120         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5121         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5122         __isinf_nsl with isinf.
5123         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5124         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5125         with isinf.
5127 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5129         * resolv/base64.c (rcsid): Remove unused static.
5130         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5131         static.  (tqpi1): Likewise.
5132         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5133         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5134         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5135         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5136         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5137         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5138         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5139         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5140         Likewise.
5142 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5144         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5145         <nptl/pthreadP.h>.
5146         (_longjmp_unwind): Use __libc_ptf_call.
5147         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5149 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5151         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5152         * sysdeps/arm/__longjmp.S: Likewise
5154 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5156         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5157         Use __builtin_signbit.
5158         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5159         Use __builtin_signbitf.
5160         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5161         Use __builtin_signbitl.
5162         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5163         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5165 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5167         [BZ #15367]
5168         [BZ #17441]
5170         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5171         * math/math.h (fpclassify): Use __builtin_fpclassify when
5172         available.  (signbit): Use __builtin_signbit(f/l).
5173         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5174         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5175         (isinf): Use __builtin_isinf_sign.
5177 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5179         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5180         * benchtests/bench-math-inlines.c: New benchmark.
5181         * benchtests/bench-util.h: New file.
5182         * benchtests/bench-util.c: New file.
5183         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5185 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5187         * elf/tst-dlmopen1.c: Define TEST_SO.
5188         (do_test): Use TEST_SO.
5190         * elf/dl-load.c: Include libc-internal.h.
5191         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5193 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5195         [BZ #17887]
5196         * time/strptime_l.c (__strptime_internal): Make %z accept
5197         [+-]HH:MM time zones.
5199 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5201         [BZ #17886]
5202         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5203         valid time zone.
5205 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5207         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5208         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5209         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5210         (__ASSUME_FDATASYNC): Delete.
5212 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5214         * conform/linknamespace.pl: Require weak undefined symbols to be
5215         in the standard namespace.
5216         (%strong_syms): Rename to %seen_syms.
5217         (%strong_seen): Rename to %seen_where.
5219 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5221         [BZ #18970]
5222         * misc/error.c (error): Replace pthread_setcancelstate with
5223         __pthread_setcancelstate.
5224         (error_at_line): Likewise.
5225         * posix/wordexp.c (parse_comm): Likewise.
5226         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5227         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5228         (__pthread_setcancelstate): This.
5229         (pthread_setcancelstate): Add an alias.
5230         * nptl/nptl-init.c (pthread_functions): Replace
5231         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5232         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5233         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5234         hidden_proto.
5235         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5236         it with hidden_def.
5237         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5238         (pthread_setcancelstate): Renamed to ...
5239         (__pthread_setcancelstate): This.
5240         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5241         __libc_ptf_call with __pthread_setcancelstate.
5243 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5244             Andreas Schwab  <schwab@suse.de>
5246         [BZ #17118]
5247         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5248         result when imaginary part of argument is infinite using sine and
5249         cosine.
5250         * math/s_ctanf.c (__ctanf): Likewise.
5251         * math/s_ctanl.c (__ctanl): Likewise.
5252         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5253         of result when real part of argument is infinite using sine and
5254         cosine.
5255         * math/s_ctanhf.c (__ctanhf): Likewise.
5256         * math/s_ctanhl.c (__ctanhl): Likewise.
5257         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5258         (ctanh_test_data): Add more tests of ctanh.
5260 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5262         [BZ #15384]
5263         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5264         bit-mask as in subtraction.
5265         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5266         Likewise.
5267         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5268         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5271         [BZ #18951]
5272         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5273         underflow exception for small results.
5274         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5275         Likewise.
5276         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5277         Likewise.
5278         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5279         Likewise.
5280         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5281         Likewise.
5282         * math/auto-libm-test-in: Add more tests of tgamma.
5283         * math/auto-libm-test-out: Regenerated.
5285 2015-09-17  Andreas Schwab  <schwab@suse.de>
5287         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5289 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5291         [BZ #18977]
5292         * math/bits/mathcalls.h
5293         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5294         not declare.
5295         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5296         Likewise.
5297         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5298         Likewise.
5299         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5300         Likewise.
5301         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5302         Likewise.
5303         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5304         Likewise.
5305         * conform/data/math.h-data
5306         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5307         function.
5308         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5309         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5310         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5311         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5312         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5314         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5316         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5320         [BZ #6803]
5321         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5322         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5323         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5324         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5325         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5326         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5327         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5328         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5329         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5331         Likewise.
5332         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5333         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5334         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5335         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5336         long_double_symbol calls.
5337         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5338         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5339         strong alias of __ldexpl.
5340         (scalbnl): Define using long_double_symbol.
5341         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5342         Remove alias.
5343         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5344         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5345         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5346         (scalbln_test_data): Add more errno expectations.
5348 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5350         Cache the host port like we cache the task port.  This way we do not
5351         need to call the kernel just to get the port.  Furthermore, we no
5352         longer increase the reference count on every invocation of
5353         `mach_host_self'.
5355         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5356         Protect declarations against the macro expansion.
5357         * mach/mach_init.c (__mach_host_self_): New variable.
5358         (mach_init): Initialize `__mach_host_self_'.
5359         * mach/mach_init.h (__mach_host_self_): New declaration.
5360         (__mach_host_self, mach_host_self): New macros.
5361         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5362         Release reference.
5364 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5366         [BZ #4404]
5367         * po/de.po: Update from Translation Project.
5369         [BZ #16415]
5370         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5371         (__expm1l): Remove code to handle positive infinity and overflow.
5372         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5373         variable.
5374         (__expm1l): Remove code to handle positive infinity and overflow.
5376 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5377             Paul Pluzhnikov  <ppluzhnikov@google.com>
5379         [BZ #18872]
5380         * stdio-common/Makefile (tst-printf-bz18872): New test.
5381         (tst-printf-bz18872-mem.out): Likewise.
5382         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5383         * stdio-common/vfprintf.c: Fix memory leaks.
5385 2015-09-16  Andreas Schwab  <schwab@suse.de>
5387         [BZ #17244]
5388         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5389         Remove extra va_start/va_end calls.
5391         [BZ #17243]
5392         * posix/execl.c (execl): Add missing va_end.
5393         * posix/execle.c (execle): Likewise.
5394         * posix/execlp.c (execlp): Likewise.
5396 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5398         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5399         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5401 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5403         [BZ #18967]
5404         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5405         undefine around includes of <bits/mathcalls.h>.
5406         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5407         not declare function.
5408         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5409         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5410         (scalb): Likewise.
5411         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5412         not define macro.
5413         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5414         variable.
5415         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5416         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5417         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5419         [BZ #18857]
5420         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5421         return non-finite argument without doing ordered comparisons on
5422         it.
5424         [BZ #16296]
5425         * math/fenv.h (fegetround): Use __attribute_pure__.
5426         * include/fenv.h (__fegetround): Likewise.
5428         [BZ #18595]
5429         * math/s_ctan.c (__ctan): Force underflow exception for results
5430         whose real or imaginary part has small absolute value.
5431         * math/s_ctanf.c (__ctanf): Likewise.
5432         * math/s_ctanh.c (__ctanh): Likewise.
5433         * math/s_ctanhf.c (__ctanhf): Likewise.
5434         * math/s_ctanhl.c (__ctanhl): Likewise.
5435         * math/s_ctanl.c (__ctanl): Likewise.
5436         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5437         and ctanh.  Add more tests of ctan and ctanh.
5439         [BZ #15918]
5440         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5441         handling of cases where one argument is an infinity.
5443         [BZ #18875]
5444         [BZ #18966]
5445         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5446         (MO): New macro.
5447         (__ieee754_exp10): For small results, force underflow exception
5448         and remove excess range and precision from return value.
5449         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5450         (MO): New macro.
5451         (__ieee754_exp10f): For small results, force underflow exception
5452         and remove excess range and precision from return value.
5453         * math/auto-libm-test-in: Add more tests of exp10.
5454         * math/auto-libm-test-out: Regenerated.
5456 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5458         [BZ #18875]
5459         [BZ #18961]
5460         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5461         (MO): New macro.
5462         (__ieee754_exp): For small results, force underflow exception and
5463         remove excess range and precision from return value.
5464         (__exp_finite): Likewise.
5465         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5466         (MO): New macro.
5467         (__ieee754_expf): For small results, force underflow exception and
5468         remove excess range and precision from return value.
5469         (__expf_finite): Likewise.
5470         * math/auto-libm-test-in: Add more tests of exp.
5471         * math/auto-libm-test-out: Regenerated.
5473         [BZ #16521]
5474         [BZ #18875]
5475         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5476         small results.
5477         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5478         (MO): New macro.
5479         (__ieee754_exp2): For small results, force underflow exception and
5480         remove excess range and precision from return value.
5481         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5482         (MO): New macro.
5483         (__ieee754_exp2f): For small results, force underflow exception
5484         and remove excess range and precision from return value.
5485         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5486         (MO): New macro.
5487         (__ieee754_exp2l): Force underflow exception for small results.
5488         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5489         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5490         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5491         (MO): New macro.
5492         (__ieee754_exp2l): Force underflow exception for small results.
5493         * math/auto-libm-test-in: Add more tests or exp2.
5494         * math/auto-libm-test-out: Regenerated.
5496 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5498         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5500         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5501         /dev/null.
5503 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5505         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5506         io fs process)): Drop spurious backslash.
5508 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5511         Use sysinfo system call instead of parsing /proc/meminfo.
5512         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5513         Likewise.
5515 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5517         [BZ #16985]
5518         * programs/localedef.c (main): Display argv[remaining] when
5519         output_path is NULL.
5521 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5523         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5524         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5525         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5526         tanh.
5527         * math/auto-libm-test-out: Regenerated.
5528         * sysdeps/i386/fpu/libm-test-ulps: Update.
5529         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5530         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5533 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5535         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5536         Use 'override' keyword to freeze the value here, preventing
5537         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5539 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5541         [BZ #14912]
5542         * sysdeps/aarch64/bits/atomic.h: Move to ...
5543         * sysdeps/aarch64/atomic-machine.h: ...here.
5544         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5545         _AARCH64_ATOMIC_MACHINE_H.
5546         * sysdeps/alpha/bits/atomic.h: Move to ...
5547         * sysdeps/alpha/atomic-machine.h: ...here.
5548         * sysdeps/arm/bits/atomic.h: Move to ...
5549         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5550         * bits/atomic.h: Move to ...
5551         * sysdeps/generic/atomic-machine.h: ...here.
5552         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5553         * sysdeps/i386/bits/atomic.h: Move to ...
5554         * sysdeps/i386/atomic-machine.h: ...here.
5555         * sysdeps/ia64/bits/atomic.h: Move to ...
5556         * sysdeps/ia64/atomic-machine.h: ...here.
5557         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5558         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5559         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5560         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5561         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5562         * sysdeps/microblaze/bits/atomic.h: Move to ...
5563         * sysdeps/microblaze/atomic-machine.h: ...here.
5564         * sysdeps/mips/bits/atomic.h: Move to ...
5565         * sysdeps/mips/atomic-machine.h: ...here.
5566         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5567         * sysdeps/powerpc/bits/atomic.h: Move to ...
5568         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5569         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5570         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5571         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5572         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5573         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5574         <atomic-machine.h> instead of <bits/atomic.h>.
5575         * sysdeps/s390/bits/atomic.h: Move to ...
5576         * sysdeps/s390/atomic-machine.h: ...here.
5577         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5578         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5579         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5580         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5581         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5582         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5583         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5584         * sysdeps/tile/bits/atomic.h: Move to ...
5585         * sysdeps/tile/atomic-machine.h: ...here.
5586         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5587         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5588         <sysdeps/tile/atomic-machine.h> instead of
5589         <sysdeps/tile/bits/atomic.h>.
5590         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5591         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5592         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5593         <sysdeps/tile/atomic-machine.h> instead of
5594         <sysdeps/tile/bits/atomic.h>.
5595         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5596         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5597         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5598         <sysdeps/arm/atomic-machine.h> instead of
5599         <sysdeps/arm/bits/atomic.h>.
5600         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5601         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5602         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5603         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5604         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5605         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5606         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5607         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5608         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5610         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5611         * sysdeps/x86_64/bits/atomic.h: Move to ...
5612         * sysdeps/x86_64/atomic-machine.h: ...here.
5613         * include/atomic.h: Include <atomic-machine.h> instead of
5614         <bits/atomic.h>.
5616         * sysdeps/mips/mips32/libm-test-ulps: Update.
5617         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5619         [BZ #18952]
5620         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5621         not convert non-integer negative arguments to int to determine the
5622         value of signgam.
5623         * math/auto-libm-test-in: Add more tests of lgamma.
5624         * math/auto-libm-test-out: Regenerated.
5626         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5627         cosh, csqrt, erfc, expm1 and lgamma.
5628         * math/auto-libm-test-out: Regenerated.
5629         * sysdeps/i386/fpu/libm-test-ulps: Update.
5630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5632 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5634         [BZ #2542]
5635         [BZ #2543]
5636         [BZ #2558]
5637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5638         __lgamma_neg for arguments from -28.0 to -2.0.
5639         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5640         __lgamma_negf for arguments from -15.0 to -2.0.
5641         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5642         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5643         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5644         Call __lgamma_negl for arguments from -33.0 to -2.0.
5645         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5646         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5647         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5648         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5649         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5650         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5651         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5652         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5653         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5654         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5655         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5656         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5657         (__lgamma_neg): Likewise.
5658         (__lgamma_negl): Likewise.
5659         (__lgamma_product): Likewise.
5660         (__lgamma_productl): Likewise.
5661         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5662         * math/auto-libm-test-in: Add more tests of lgamma.
5663         * math/auto-libm-test-out: Regenerated.
5664         * sysdeps/i386/fpu/libm-test-ulps: Update.
5665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5667 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5669         [BZ #18675]
5670         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5672 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5674         [BZ #14912]
5675         * bits/libc-lock.h: Move to ...
5676         * sysdeps/generic/libc-lock.h: ...here.
5677         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5678         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5679         * sysdeps/mach/hurd/libc-lock.h: ...here.
5680         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5681         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5682         * sysdeps/mach/bits/libc-lock.h: Move to ...
5683         * sysdeps/mach/libc-lock.h: ...here.
5684         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5685         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5686         * sysdeps/nptl/libc-lock.h: ...here.
5687         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5688         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5689         * sysdeps/nptl/libc-lockP.h: ...here.
5690         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5691         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5692         <bits/libc-lock.h>.
5693         * dirent/scandir-tail.c: Likewise.
5694         * dlfcn/dlerror.c: Likewise.
5695         * elf/dl-close.c: Likewise.
5696         * elf/dl-iteratephdr.c: Likewise.
5697         * elf/dl-lookup.c: Likewise.
5698         * elf/dl-open.c: Likewise.
5699         * elf/dl-support.c: Likewise.
5700         * elf/dl-writev.h: Likewise.
5701         * elf/rtld.c: Likewise.
5702         * grp/fgetgrent.c: Likewise.
5703         * gshadow/fgetsgent.c: Likewise.
5704         * gshadow/sgetsgent.c: Likewise.
5705         * iconv/gconv_conf.c: Likewise.
5706         * iconv/gconv_db.c: Likewise.
5707         * iconv/gconv_dl.c: Likewise.
5708         * iconv/gconv_int.h: Likewise.
5709         * iconv/gconv_trans.c: Likewise.
5710         * include/link.h: Likewise.
5711         * inet/getnameinfo.c: Likewise.
5712         * inet/getnetgrent.c: Likewise.
5713         * inet/getnetgrent_r.c: Likewise.
5714         * intl/bindtextdom.c: Likewise.
5715         * intl/dcigettext.c: Likewise.
5716         * intl/finddomain.c: Likewise.
5717         * intl/gettextP.h: Likewise.
5718         * intl/loadmsgcat.c: Likewise.
5719         * intl/localealias.c: Likewise.
5720         * intl/textdomain.c: Likewise.
5721         * libidn/idn-stub.c: Likewise.
5722         * libio/libioP.h: Likewise.
5723         * locale/duplocale.c: Likewise.
5724         * locale/freelocale.c: Likewise.
5725         * locale/newlocale.c: Likewise.
5726         * locale/setlocale.c: Likewise.
5727         * login/getutent_r.c: Likewise.
5728         * login/getutid_r.c: Likewise.
5729         * login/getutline_r.c: Likewise.
5730         * login/utmp-private.h: Likewise.
5731         * login/utmpname.c: Likewise.
5732         * malloc/mtrace.c: Likewise.
5733         * misc/efgcvt.c: Likewise.
5734         * misc/error.c: Likewise.
5735         * misc/fstab.c: Likewise.
5736         * misc/getpass.c: Likewise.
5737         * misc/mntent.c: Likewise.
5738         * misc/syslog.c: Likewise.
5739         * nis/nis_call.c: Likewise.
5740         * nis/nis_callback.c: Likewise.
5741         * nis/nss-default.c: Likewise.
5742         * nis/nss_compat/compat-grp.c: Likewise.
5743         * nis/nss_compat/compat-initgroups.c: Likewise.
5744         * nis/nss_compat/compat-pwd.c: Likewise.
5745         * nis/nss_compat/compat-spwd.c: Likewise.
5746         * nis/nss_nis/nis-alias.c: Likewise.
5747         * nis/nss_nis/nis-ethers.c: Likewise.
5748         * nis/nss_nis/nis-grp.c: Likewise.
5749         * nis/nss_nis/nis-hosts.c: Likewise.
5750         * nis/nss_nis/nis-network.c: Likewise.
5751         * nis/nss_nis/nis-proto.c: Likewise.
5752         * nis/nss_nis/nis-pwd.c: Likewise.
5753         * nis/nss_nis/nis-rpc.c: Likewise.
5754         * nis/nss_nis/nis-service.c: Likewise.
5755         * nis/nss_nis/nis-spwd.c: Likewise.
5756         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5757         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5758         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5759         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5760         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5761         * nis/nss_nisplus/nisplus-network.c: Likewise.
5762         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5763         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5764         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5765         * nis/nss_nisplus/nisplus-service.c: Likewise.
5766         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5767         * nis/ypclnt.c: Likewise.
5768         * nptl/libc_pthread_init.c: Likewise.
5769         * nss/getXXbyYY.c: Likewise.
5770         * nss/getXXent.c: Likewise.
5771         * nss/getXXent_r.c: Likewise.
5772         * nss/nss_db/db-XXX.c: Likewise.
5773         * nss/nss_db/db-netgrp.c: Likewise.
5774         * nss/nss_db/nss_db.h: Likewise.
5775         * nss/nss_files/files-XXX.c: Likewise.
5776         * nss/nss_files/files-alias.c: Likewise.
5777         * nss/nsswitch.c: Likewise.
5778         * posix/regex_internal.h: Likewise.
5779         * posix/wordexp.c: Likewise.
5780         * pwd/fgetpwent.c: Likewise.
5781         * resolv/res_hconf.c: Likewise.
5782         * resolv/res_libc.c: Likewise.
5783         * shadow/fgetspent.c: Likewise.
5784         * shadow/lckpwdf.c: Likewise.
5785         * shadow/sgetspent.c: Likewise.
5786         * socket/opensock.c: Likewise.
5787         * stdio-common/reg-modifier.c: Likewise.
5788         * stdio-common/reg-printf.c: Likewise.
5789         * stdio-common/reg-type.c: Likewise.
5790         * stdio-common/vfprintf.c: Likewise.
5791         * stdio-common/vfscanf.c: Likewise.
5792         * stdlib/abort.c: Likewise.
5793         * stdlib/cxa_atexit.c: Likewise.
5794         * stdlib/fmtmsg.c: Likewise.
5795         * stdlib/random.c: Likewise.
5796         * stdlib/setenv.c: Likewise.
5797         * string/strsignal.c: Likewise.
5798         * sunrpc/auth_none.c: Likewise.
5799         * sunrpc/bindrsvprt.c: Likewise.
5800         * sunrpc/create_xid.c: Likewise.
5801         * sunrpc/key_call.c: Likewise.
5802         * sunrpc/rpc_thread.c: Likewise.
5803         * sysdeps/arm/backtrace.c: Likewise.
5804         * sysdeps/generic/ldsodefs.h: Likewise.
5805         * sysdeps/generic/stdio-lock.h: Likewise.
5806         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5807         * sysdeps/i386/backtrace.c: Likewise.
5808         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5809         * sysdeps/m68k/backtrace.c: Likewise.
5810         * sysdeps/mach/hurd/cthreads.c: Likewise.
5811         * sysdeps/mach/hurd/dirstream.h: Likewise.
5812         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5813         * sysdeps/nptl/malloc-machine.h: Likewise.
5814         * sysdeps/nptl/stdio-lock.h: Likewise.
5815         * sysdeps/posix/dirstream.h: Likewise.
5816         * sysdeps/posix/getaddrinfo.c: Likewise.
5817         * sysdeps/posix/system.c: Likewise.
5818         * sysdeps/pthread/aio_suspend.c: Likewise.
5819         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5820         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5821         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5822         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5823         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5824         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5825         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5826         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5827         * sysdeps/unix/sysv/linux/system.c: Likewise.
5828         * sysdeps/x86_64/backtrace.c: Likewise.
5829         * time/alt_digit.c: Likewise.
5830         * time/era.c: Likewise.
5831         * time/tzset.c: Likewise.
5832         * wcsmbs/wcsmbsload.c: Likewise.
5833         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5834         instead of <bits/libc-lock.h> in comment.
5836 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5838         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5839         Only use .set mips2 if the current ISA is below mips2.
5840         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5841         Likewise.
5842         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5843         mips32r2 if the current ISA is below mips32r2.
5844         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5845         (TLS_IE): Updated to use the TLD_RDHWR macro.
5846         (TLS_LE): Likewise.
5847         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5848         __ASSEMBLER__ condition.
5850 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5852         Fix parallel build of before-compile targets.
5854         * sysdeps/mach/Makefile ($(patsubst
5855         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5856         mach-before-compile target.
5857         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5858         io fs process)): Move rule to dedicated hurd-before-compile target.
5860 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5862         Fix rules generating headers in hurd/ and mach/ when initial make call
5863         has subdir= explicitly set.
5865         * sysdeps/mach/Makefile ($(patsubst
5866         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5867         calling $(MAKE).
5868         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5869         io fs process)): Force subdir to hurd when calling $(MAKE).
5870         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5871         subdir to mach when calling $(MAKE).
5873 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5875         Check sysheaders when looking for Mach and Hurd headers
5877         * sysdeps/mach/configure.ac: Add sysheaders check.
5878         * sysdeps/mach/configure: Regenerate.
5879         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5880         * sysdeps/mach/hurd/configure: Regenerate.
5882 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5884         [BZ #18921]
5885         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5886         Fix inverted sense of test of 'o_directory_works' value.
5887         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5888         Bernhard Voelker <mail@bernhard-voelker.de>.
5890 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5892         [BZ #14912]
5893         * bits/linkmap.h: Move to ...
5894         * sysdeps/generic/linkmap.h: ...here.
5895         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5896         * sysdeps/aarch64/linkmap.h: ...here.
5897         * sysdeps/arm/bits/linkmap.h: Move to ...
5898         * sysdeps/arm/linkmap.h: ...here.
5899         * sysdeps/hppa/bits/linkmap.h: Move to ...
5900         * sysdeps/hppa/linkmap.h: ...here.
5901         * sysdeps/ia64/bits/linkmap.h: Move to ...
5902         * sysdeps/ia64/linkmap.h: ...here.
5903         * sysdeps/mips/bits/linkmap.h: Move to ...
5904         * sysdeps/mips/linkmap.h: ...here.
5905         * sysdeps/s390/bits/linkmap.h: Move to ...
5906         * sysdeps/s390/linkmap.h: ...here.
5907         * sysdeps/sh/bits/linkmap.h: Move to ...
5908         * sysdeps/sh/linkmap.h: ...here.
5909         * sysdeps/x86/bits/linkmap.h: Move to ...
5910         * sysdeps/x86/linkmap.h: ...here.
5911         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5913 2015-09-04  Andreas Schwab  <schwab@suse.de>
5915         [BZ #18635]
5916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5917         (__makecontext): Terminate FDE before return label.
5918         (__novec_makecontext): Likewise.
5920 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5922         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5923         first member of struct sv in syscall macro.
5925 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5927         [BZ #14912]
5928         * bits/stdio-lock.h: Move to ...
5929         * sysdeps/generic/stdio-lock.h: ...here.
5930         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5931         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5932         * sysdeps/nptl/stdio-lock.h: ...here.
5933         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5934         * include/libio.h: Include <stdio-lock.h> instead of
5935         <bits/stdio-lock.h>.
5936         * sysdeps/nptl/fork.c: Likewise.
5937         * sysdeps/pthread/flockfile.c: Likewise.
5938         * sysdeps/pthread/ftrylockfile.c: Likewise.
5939         * sysdeps/pthread/funlockfile.c: Likewise.
5941         [BZ #14912]
5942         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5943         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5944         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5945         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5946         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5947         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5948         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5950 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5952         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5953         (test-xfail-tst-protected1b): New variable.
5955 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5957         [BZ #14912]
5958         * bits/libc-tsd.h: Move to ...
5959         * sysdeps/generic/libc-tsd.h: ...here.
5960         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5961         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5962         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5963         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5964         * include/ctype.h: Include <libc-tsd.h> instead of
5965         <bits/libc-tsd.h>.
5966         * include/rpc/rpc.h: Likewise.
5967         * locale/localeinfo.h: Likewise.
5968         * sunrpc/rpc_thread.c: Likewise.
5969         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5970         * sysdeps/nptl/malloc-machine.h: Likewise.
5972         * Makefile (headers): Remove bits/libc-lock.h.
5973         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5975         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5976         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5977         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5978         <bits/stdio-lock.h>.
5979         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5980         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5982 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5984         [BZ #18757]
5985         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5986         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5987         BZ #18757.
5989 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5991         * malloc/mtrace.pl: Filter out NULL entries.
5993 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5995         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5996         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5997         macro.
5999         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6000         (TCP_CC_INFO): Likewise.
6001         (TCP_SAVE_SYN): Likewise.
6002         (TCP_SAVED_SYN): Likewise.
6004 2015-08-31  Brett Neumeier <brett@neumeier.us>
6006         [BZ #18870]
6007         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6009 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6011         [BZ #18873]
6012         Fix broken overflow check in posix_fallocate
6013         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6014         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6015         Fix parenthesization typo.
6017 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6019         [BZ #18887]
6020         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6021         tst-mntent-blank-passno.
6022         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6023         * misc/tst-mntent-blank-corrupt.c: New test.
6024         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6025         * misc/tst-mntent.c (do_test): ... here.
6027 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6029         [BZ #4404]
6030         * po/de.po: Fix SIGALRM typo.
6032 2015-08-28  James Perkins  <james@loowit.net>
6034         * time/tst-strptime2.c (tests): Replace short list of test
6035         strings for strptime %z specifier with code which exhaustively
6036         tests every combination of sign and 0 to 5 digits. Tests for
6037         rejection of invalid strings.
6039 2015-08-28  James Perkins  <james@loowit.net>
6041         [BZ #16141]
6042         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6043         calculation, removing incorrect decimal time rounding, so that
6044         all minute values result in a valid seconds value.
6045         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6046         offset range limits to UTC-99:59 through UTC+99:59 to parse
6047         current and historical use cases.
6048         * time/tst-strptime2.c (tests): Modify and add tests for the
6049         strptime %z input field descriptor, specifically conversion of
6050         minutes to seconds and validating an offset range of -9959 to
6051         +9959.
6053 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6054             Dmitry V. Levin  <ldv@altlinux.org>
6056         [BZ #18877]
6057         * posix/Makefile (tests): Add tst-mmap-offset.
6058         * posix/tst-mmap.c: New file.
6059         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6060         offset calculation for negative values.
6062 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6064         * sysdeps/i386/init-arch.h: New file.
6065         * sysdeps/i386/i586/init-arch.h: Likewise.
6066         * sysdeps/i386/i686/init-arch.h: Likewise.
6067         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6068         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6069         * sysdeps/x86/cpu-features.h (bit_I586): New.
6070         (bit_I686): Likewise.
6071         (bit_CX8): Likewise.
6072         (bit_CMOV): Likewise.
6073         (index_CX8): Likewise.
6074         (index_CMOV): Likewise.
6075         (index_I586): Likewise.
6076         (index_I686): Likewise.
6077         (reg_CX8): Likewise.
6078         (reg_CMOV): Likewise.
6079         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6080         available at compile-time.
6081         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6082         available at compile-time.
6083         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6084         (USE_I686): Likewise.
6086 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6088         * sysdeps/i386/bcopy.S: New file.
6089         * sysdeps/i386/bzero.S: Likewise.
6090         * sysdeps/i386/memcpy.S: Likewise.
6091         * sysdeps/i386/memmove.S: Likewise.
6092         * sysdeps/i386/mempcpy.S: Likewise.
6093         * sysdeps/i386/memset.S: Likewise.
6094         * sysdeps/i386/bzero.c: Removed.
6095         * sysdeps/i386/memset.c: Likewise.
6096         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6097         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6098         * sysdeps/i386/i586/memset_chk.S: Likewise.
6099         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6100         * sysdeps/i386/memcpy_chk.S: Here.
6101         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6102         * sysdeps/i386/memmove_chk.S: Here.
6103         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6104         * sysdeps/i386/mempcpy_chk.S: Likewise.
6105         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6106         * sysdeps/i386/memset_chk.S: Likewise.
6108 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6110         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6111         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6112         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6113         * soft-fp/fmadf4.c: Ditto.
6114         * soft-fp/fmatf4.c: Ditto.
6116 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6118         * sysdeps/i386/i586/Implies: Removed.
6119         * sysdeps/i386/i686/Implies: Likewise.
6121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6123         * sysdeps/i386/i486/strlen.S: Moved to ...
6124         * sysdeps/i386/strlen.S: Here.
6126 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6128         * sysdeps/i386/i486/strcat.S: Moved to ...
6129         * sysdeps/i386/strcat.S: Here.
6131 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6133         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6134         * sysdeps/i386/pthread_spin_trylock.S: Here.
6135         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6136         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6138 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6140         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6141         * sysdeps/i386/string-inlines.c: Here.
6143 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6145         * sysdeps/i386/i486/htonl.S: Moved ...
6146         * sysdeps/i386/htonl.S: here.
6148 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6150         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6151         * sysdeps/i386/bits/atomic.h: Here.
6153 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6155         * sysdeps/i386/i486/Versions: Removed.
6157 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6159         [BZ #2898]
6160         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6161         Based on patch by Aurelien Jarno.
6163 2015-08-26  Stan Shebs  <stanshebs@google.com>
6165         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6166         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6168 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6170         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6171         * sysdeps/powerpc/dl-procinfo.c:
6172         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6173         feature so it shows when LD_SHOW_AUXV=1.
6175 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6177         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6178         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6179         definition.  ISA 2.07B no longer requires full sync.
6181 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6183         [BZ #18863]
6184         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6185         (si_call_addr): Define.
6186         (si_syscall): Define.
6187         (si_arch): Define.
6189 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6191         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6192         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6193         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6194         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6195         (__memset_zero_constant_len_parameter): New.
6196         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6197         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6198         (__memset_zero_constant_len_parameter): Don't define if
6199         __memset_chk or USE_AS_BZERO are defined.
6201         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6202         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6203         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6205         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6206         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6207         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6208         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6209         comments.
6210         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6211         -mno-mmx for $(all-rtld-routines).
6212         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6213         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6214         i386.
6216 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6218         * sysdeps/generic/unwind.h
6219         (_Unwind_Word): Use __mode__(__unwind_word__)
6220         instead of __mode__(__word__).
6221         (_Unwind_Sword): Likewise.
6223         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6224         (MAX_NEEDED_INPUT): New define.
6225         (MAX_NEEDED_OUTPUT): New define.
6227         * NEWS: New item for IBM z13 string optimizations.
6229         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6230         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6231         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6232         * sysdeps/s390/multiarch/Makefile
6233         (sysdep_routines): Add memrchr functions.
6234         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6235         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6237         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6238         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6239         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6240         * sysdeps/s390/multiarch/Makefile
6241         (sysdep_routines): Add wmemcmp functions.
6242         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6243         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6244         * benchtests/bench-wmemcmp.c: New File.
6245         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6247         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6248         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6249         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6250         * sysdeps/s390/multiarch/Makefile
6251         (sysdep_routines): Add wmemset functions.
6252         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6253         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6254         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6255         * string/test-memset.c: Add wmemset support.
6256         * wcsmbs/test-wmemset.c: New File.
6257         * wcsmbs/Makefile (strop-tests): Add wmemset.
6258         * benchtests/bench-memset.c: Add wmemset support.
6259         * benchtests/bench-wmemset.c: New File.
6260         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6262         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6263         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6264         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6265         * sysdeps/s390/multiarch/Makefile
6266         (sysdep_routines): Add memccpy functions.
6267         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6268         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6269         * string/memccpy.c: Use MEMCCPY if defined.
6271         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6272         * sysdeps/s390/multiarch/memchr.c: Likewise.
6273         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6274         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6275         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6276         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6277         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6278         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6279         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6280         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6281         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6282         and rawmemchr functions.
6283         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6284         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6285         and wmemchr.
6286         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6287         * string/test-memchr.c: Add wmemchr support.
6288         * wcsmbs/test-wmemchr.c: New File.
6289         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6290         * benchtests/bench-memchr.c: Add wmemchr support.
6291         * benchtests/bench-wmemchr.c: New File.
6292         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6294         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6295         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6296         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6297         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6298         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6299         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6300         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6301         wcscspn functions.
6302         * sysdeps/s390/multiarch/ifunc-impl-list.c
6303         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6304         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6305         * string/test-strcspn.c: Add wcscspn support.
6306         * wcsmbs/test-wcscspn.c: New File.
6307         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6308         * benchtests/bench-strcspn.c: Add wcscspn support.
6309         * benchtests/bench-wcscspn.c: New File.
6310         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6312         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6313         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6314         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6315         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6316         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6317         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6319         wcspbrk functions.
6320         * sysdeps/s390/multiarch/ifunc-impl-list.c
6321         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6322         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6323         * string/test-strpbrk.c: Add wcspbrk support.
6324         * wcsmbs/test-wcspbrk.c: New File.
6325         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6326         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6327         * benchtests/bench-wcspbrk.c: New File.
6328         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6330         * sysdeps/s390/multiarch/strspn-c.c: New File.
6331         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6332         * sysdeps/s390/multiarch/strspn.c: Likewise.
6333         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6334         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6335         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6336         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6338         wcsspn functions.
6339         * sysdeps/s390/multiarch/ifunc-impl-list.c
6340         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6341         * string/test-strspn.c: Add wcsspn support.
6342         * wcsmbs/test-wcsspn.c: New File.
6343         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6344         * benchtests/bench-strspn.c: Add wcsspn support.
6345         * benchtests/bench-wcsspn.c: New File.
6346         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6348         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6349         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6350         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6351         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6352         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6353         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6355         wcsrchr functions.
6356         * sysdeps/s390/multiarch/ifunc-impl-list.c
6357         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6358         * benchtests/bench-wcsrchr.c: New File.
6359         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6361         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6362         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6363         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6364         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6365         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6366         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6368         wcschrnul functions.
6369         * sysdeps/s390/multiarch/ifunc-impl-list.c
6370         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6371         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6372         * string/test-strchr.c: Add wcschrnul support.
6373         * wcsmbs/test-wcschrnul.c: New File.
6374         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6375         * benchtests/bench-strchr.c: Add wcschrnul support.
6376         * benchtests/bench-wcschrnul.c: New File.
6377         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6379         * sysdeps/s390/multiarch/strchr-c.c: New File.
6380         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6381         * sysdeps/s390/multiarch/strchr.c: Likewise.
6382         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6383         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6384         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6385         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6386         wcschr functions.
6387         * sysdeps/s390/multiarch/ifunc-impl-list.c
6388         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6389         * string/strchr.c (STRCHR): Define and use macro.
6390         * benchtests/bench-wcschr.c: New File.
6391         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6393         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6394         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6395         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6396         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6397         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6398         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6400         wcsncmp functions.
6401         * sysdeps/s390/multiarch/ifunc-impl-list.c
6402         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6403         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6404         * benchtests/bench-strncmp.c: Add wcsncmp support.
6405         * benchtests/bench-wcsncmp.c: New File.
6406         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6408         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6409         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6410         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6411         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6412         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6413         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6414         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6416         wcscmp functions.
6417         * sysdeps/s390/multiarch/ifunc-impl-list.c
6418         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6419         * string/strcmp.c (STRCMP): Define and use macro.
6420         * benchtests/bench-wcscmp.c: New File.
6421         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6422         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6423         instead of _HAVE_STRING_ARCH_memchr.
6425         * sysdeps/s390/multiarch/strncat-c.c: New File.
6426         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6427         * sysdeps/s390/multiarch/strncat.c: Likewise.
6428         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6429         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6430         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6432         wcsncat functions.
6433         * sysdeps/s390/multiarch/ifunc-impl-list.c
6434         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6435         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6436         * string/test-strncat.c: Add wcsncat support.
6437         * wcsmbs/test-wcsncat.c: New File.
6438         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6439         * benchtests/bench-strncat.c: Add wcsncat support.
6440         * benchtests/bench-wcsncat.c: New File.
6441         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6443         * sysdeps/s390/multiarch/strcat-c.c: New File.
6444         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6445         * sysdeps/s390/multiarch/strcat.c: Likewise.
6446         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6447         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6448         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6449         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6450         wcscat functions.
6451         * sysdeps/s390/multiarch/ifunc-impl-list.c
6452         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6453         * string/strcat.c (STRCAT): Define and use macro.
6454         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6455         * string/test-strcat.c: Add wcscat support.
6456         * wcsmbs/test-wcscat.c: New File.
6457         * wcsmbs/Makefile (strop-tests): Add wcscat.
6458         * benchtests/bench-strcat.c: Add wcscat support.
6459         * benchtests/bench-wcscat.c: New File.
6460         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6462         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6463         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6464         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6465         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6466         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6467         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6468         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6469         wcpncpy functions.
6470         * sysdeps/s390/multiarch/ifunc-impl-list.c
6471         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6472         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6473         * string/test-stpncpy.c: Add wcpncpy support.
6474         * wcsmbs/test-wcpncpy.c: New File.
6475         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6476         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6477         * benchtests/bench-wcpncpy.c: New File.
6478         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6480         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6481         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6482         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6483         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6484         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6485         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6486         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6487         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6488         wcsncpy functions.
6489         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6490         * sysdeps/s390/multiarch/ifunc-impl-list.c
6491         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6492         * string/test-strncpy.c: Add wcsncpy support.
6493         * wcsmbs/test-wcsncpy.c: New File.
6494         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6495         * benchtests/bench-strncpy.c: Add wcsncpy support.
6496         * benchtests/bench-wcsncpy.c: New File.
6497         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6499         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6500         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6501         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6502         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6503         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6504         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6505         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6506         wcpcpy functions.
6507         * string/stpcpy.c: Use STPCPY if defined.
6508         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6509         * sysdeps/s390/multiarch/ifunc-impl-list.c
6510         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6511         * string/test-stpcpy.c: Add wcpcpy support.
6512         * wcsmbs/test-wcpcpy.c: New File.
6513         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6514         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6515         * benchtests/bench-wcpcpy.c: New File.
6516         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6518         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6519         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6520         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6521         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6522         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6523         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6524         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6526         wcscpy functions.
6527         * sysdeps/s390/multiarch/ifunc-impl-list.c
6528         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6529         * benchtests/bench-wcscpy.c: New File.
6530         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6532         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6533         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6534         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6535         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6536         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6537         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6538         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6539         wcsnlen functions.
6540         * sysdeps/s390/multiarch/ifunc-impl-list.c
6541         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6542         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6543         * string/test-strnlen.c: Add wcsnlen support.
6544         * wcsmbs/test-wcsnlen.c: New File.
6545         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6546         * benchtests/bench-strnlen.c: Add wcsnlen support.
6547         * benchtests/bench-wcsnlen.c: New File.
6548         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6550         * sysdeps/s390/multiarch/Makefile: New File.
6551         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6552         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6553         * sysdeps/s390/multiarch/strlen.c: Likewise.
6554         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6555         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6556         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6557         * string/strlen.c (STRLEN): Define and use macro.
6558         * sysdeps/s390/multiarch/ifunc-impl-list.c
6559         (IFUNC_VX_IMPL): New macro function.
6560         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6561         * benchtests/Makefile (wcsmbs-bench): New variable.
6562         (string-bench-all): Added wcsmbs-bench.
6563         * benchtests/bench-wcslen.c: New File.
6565         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6566         s390_vx_libc_ifunc2): New macro function.
6568         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6569         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6570         assembler support.
6571         * sysdeps/s390/configure: Regenerated.
6573         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6574         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6576         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6577         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6578         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6580         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6581         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6582         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6583         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6584         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6585         (memcmp, bcmp): Use __memcmp_default as alias source.
6586         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6587         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6588         Rename to __memcmp_default.
6589         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6590         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6591         (memcpy): Use __memcpy_default as alias source.
6592         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6593         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6594         Rename to __memcpy_default.
6595         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6596         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6597         (memset): Use __memset_default as alias source.
6598         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6599         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6600         Rename to __memset_default.
6601         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6602         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6604         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6605         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6606         (memcmp, bcmp): Use __memcmp_default as alias source.
6607         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6608         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6609         Rename to __memcmp_default.
6610         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6611         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6612         (memcpy): Use __memcpy_default as alias source.
6613         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6614         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6615         Rename to __memcpy_default.
6616         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6617         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6618         (memset): Use __memset_default as alias source.
6619         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6620         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6621         Rename to __memset_default.
6622         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6623         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6625         [BZ #18610]
6626         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6627         __ieee_instruction_pointer to __unused.
6628         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6629         __ieee_instruction_pointer.
6630         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6631         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6632         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6633         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6634         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6635         Mark dxc-field as reserved.
6637 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6639         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6640         if the weak reference is not null.
6642 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6644         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6646         [BZ #11214]
6647         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6649 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6651         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6652         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6653         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6654         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6655         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6656         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6657         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6658         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6659         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6660         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6661         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6662         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6663         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6664         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6665         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6666         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6667         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6668         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6670 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6672         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6673         register other than r0 for tabort, it has special meaning.
6674         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6675         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6676         transaction before starting syscall.
6678 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6680         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6682 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6684         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6686         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6687         * sysdeps/x86_64/rtld-memset.S: Likewise.
6688         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6689         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6690         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6691         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6693         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6695 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6697         * debug/strcpy_chk.c: Improve performance.
6698         * debug/stpcpy_chk.c: Likewise.
6699         * sysdeps/x86_64/strcpy_chk.S: Remove.
6700         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6702         [BZ #18240]
6703         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6705 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6707         [BZ #15128]
6708         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6709         ifuncmain8.
6710         (modules-names): Add ifuncmod8.
6711         ($(objpfx)ifuncmain8): New rule.
6712         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6713         <cpuid.h>.
6714         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6715         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6716         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6717         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6718         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6719         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6720         * sysdeps/x86_64/ifuncmain8.c: New file.
6721         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6722         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6723         Removed.
6724         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6725         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6726         Change rtld_savespace_sse to __glibc_unused2.
6727         (RTLD_CHECK_FOREIGN_CALL): Removed.
6728         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6729         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6730         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6732 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6734         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6736 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6738         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6739         Unconditionally set __fpcr to avoid uninialized warning.
6740         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6742 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6744         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6745         is corrupt.
6747         * malloc/arena.c (arena_get2): Drop unused argument.
6748         (arena_lock): Adjust.
6749         (arena_get_retry): Likewise.
6751 2015-08-24  Andreas Schwab  <schwab@suse.de>
6753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6754         Don't define.
6755         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6756         (__ASSUME_IPC64): Don't undef.
6757         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6758         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6759         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6760         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6761         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6762         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6763         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6764         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6765         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6766         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6767         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6768         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6769         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6770         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6771         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6772         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6773         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6774         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6775         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6776         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6777         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6779 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6781         * manual/Makefile (install): Only build manual when perl is available.
6783 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6785         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6786         '#undef memcpy' by '#undef memchr'.
6788 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6790         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6791         memchr not point to the internal __GI_memchr implementation.
6793 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6795         * timezone/Makefile (CFLAGS-zdump.c): Remove
6796         -Wno-strict-prototypes.
6797         (CFLAGS-zic.c): Likewise.
6798         (CFLAGS-ialloc.c): Likewise.
6799         (CFLAGS-scheck.c): Likewise.
6801         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6802         -Wno-error=undef.
6804 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6806         * i386/i686/multiarch/strcasestr-c.c: Removed.
6807         * x86_64/multiarch/strcasestr.c: Likewise.
6808         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6809         Remove strcasestr.
6811 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6813         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6815         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6816         variables for high and low parts before possibly modifying them.
6818 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6820         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6821         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6822         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6823         of "multiarch/init-arch.h".
6824         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6825         * sysdeps/x86/init-arch.h: This.
6827 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6829         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6830         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6832 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6834         [BZ #17787]
6835         * manual/macros.texi: Add twoexp macro.
6836         * manual/filesys.texi: Fix exponents.
6837         * manual/llio.texi: Likewise.
6838         * manual/stdio.texi: Likewise.
6840 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6842         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6843         incorrect use.
6845 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6847         [BZ #18370]
6848         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6849         whose real or imaginary part has small absolute value.
6850         * math/s_csqrtf.c (__csqrtf): Likewise.
6851         * math/s_csqrtl.c (__csqrtl): Likewise.
6852         * math/auto-libm-test-in: Add more tests of csqrt.
6853         * math/auto-libm-test-out: Regenerated.
6854         * sysdeps/i386/fpu/libm-test-ulps: Update.
6856 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6858         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6859         __ppc_set_ppr_very_low): New functions.
6860         * manual/platform.texi: Add documentation about
6861         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6863 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6865         * string/stpncpy.c (stpncpy): Improve performance using
6866         __strnlen/memcpy/memset.
6868 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6870         [BZ #18796]
6871         * scripts/test-installation.pl: Don't add -lmvec to build options if
6872         libmvec wasn't built.
6874 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6876         [BZ #14341]
6877         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6878         case when there is a gap between DT_REL and DT_JMPREL sections.
6879         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6880         (LDFLAGS-tst-split-dynreloc): New.
6881         (tst-split-dynreloc-ENV): Likewise.
6882         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6883         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6885 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6887         [BZ #18822]
6888         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6889         attribute_hidden.
6890         (__xstat64_conv): Likewise.
6891         (__xstat32_conv): Likewise.
6893 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6895         [BZ #18822]
6896         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6897         Don't load %ebx when calling __setcontext.  Call __setcontext
6898         with HIDDEN_JUMPTARGET.
6899         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6900         libc_hidden_def.
6902 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6904         * sysdeps/i386/i686/Makefile
6905         [$(subdir) == string] (sysdep_routines): Moved to ...
6906         * sysdeps/i386/Makefile: Here.
6907         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6908         * sysdeps/i386/cacheinfo.c: Here.
6909         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6910         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6911         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6912         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6914 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6916         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6917         __i586__ is defined.
6918         (HAS_I686): Defined to 1 if __i686__ is defined.
6920 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6922         * elf/Makefile [$(have-z-execstack) = yes]
6923         (CPPFLAGS-tst-execstack.c): New variable.
6925         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6926         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6927         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6928         UTMPX || _HAVE_UT_TV].
6929         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6930         UTMPX || _HAVE_UT_TV - 0].
6932 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6934         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6935         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6936         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6938 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6940         * sysdeps/powerpc/dl-procinfo.c:
6941         (_dl_powerpc_cap_flags): Added missing strings for some
6942         hwcap features.
6943         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6945 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6947         Port the 0x7efe...feff pattern to GCC 6.
6948         See Steve Ellcey's bug report in:
6949         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6950         * string/memrchr.c (MEMRCHR):
6951         * string/rawmemchr.c (RAWMEMCHR):
6952         * string/strchr.c (strchr):
6953         * string/strchrnul.c (STRCHRNUL):
6954         Rewrite code to avoid issues with signed shift overflow.
6956 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6958         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6959         whether cpuid is available only if HAS_CPUID is 0.
6960         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6961         (HAS_I586): Likewise.
6962         (HAS_I686): Likewise.
6964 2015-08-18  Zack Weinberg  <zackw@panix.com>
6966         * misc/Versions (libc): Add GLIBC_2.23.
6968 2015-08-18  Alan Modra  <amodra@gmail.com>
6970         [BZ #18421]
6971         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6972         .Lp__global.
6973         (_start): Load %dp via .Lp__global.
6974         [!SHARED]: Use .section .rodata.
6976 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6978         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6979         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6981 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6983         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6984         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6986 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6988         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6989         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6991 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6993         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6994         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6996 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6998         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6999         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7001 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7003         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7004         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7006 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7008         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7010 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7012         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7013         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7014         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7015         (__ASSUME_LWS_CAS): Delete.
7017 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7019         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7020         * sysdeps/hppa/configure: Regenerated.
7021         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7022         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7023         * sysdeps/hppa/nptl/tls.h: Likewise.
7025 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7027         [BZ #18823]
7028         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7029         for scaling up small arguments.
7030         * math/s_csqrtf.c (__csqrtf): Likewise.
7031         * math/s_csqrtl.c (__csqrtl): Likewise.
7032         * math/auto-libm-test-in: Add more tests of csqrt.
7033         * math/auto-libm-test-out: Regenerated.
7035 2015-08-17  Andreas Schwab  <schwab@suse.de>
7037         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7038         version set GLIBC_2.19.
7040 2015-08-16  Zack Weinberg  <zackw@panix.com>
7042         [BZ #18681]
7043         * misc/regexp.h: This interface is no longer supported.
7044         Remove all contents, leaving only an #error directive.
7045         * misc/regexp.c (loc1, loc2, locs, step, advance):
7046         Demote to compatibility symbols.
7048 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7050         [BZ #18084]
7051         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7052         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7053         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7054         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7055         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7056         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7057         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7058         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7059         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7061 2015-08-15  Zack Weinberg  <zackw@panix.com>
7063         [BZ #18795]
7064         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7065         buffer length is known to be too large, not if it's known to be
7066         small enough.
7067         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7068         overflow at runtime, involving a length parameter, twice: once
7069         with a compile-time constant length parameter, once without.
7071 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #18824]
7074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7075         scaling x * y up instead of down.
7076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7077         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7078         * math/auto-libm-test-in: Add more tests of fma.
7079         * math/auto-libm-test-out: Regenerated.
7081 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7083         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7085 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7087         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7088         unnecessary movq.
7089         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7090         Likewise.
7092 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7094         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7095         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7096         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7097         and tgamma.
7098         * math/auto-libm-test-out: Regenerated.
7099         * sysdeps/i386/fpu/libm-test-ulps: Update.
7100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102         [BZ #16520]
7103         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7104         (__tanh): Force underflow exception for arguments with small
7105         absolute value.
7106         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7107         (__tanhf): Force underflow exception for arguments with small
7108         absolute value.
7109         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7110         (__tanhl): Force underflow exception for arguments with small
7111         absolute value.
7112         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7113         (__tanhl): Force underflow exception for arguments with small
7114         absolute value.
7115         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7116         (__tanhl): Force underflow exception for arguments with small
7117         absolute value.
7118         * math/auto-libm-test-in: Add more tests of tanh.
7119         * math/auto-libm-test-out: Regenerated.
7120         * sysdeps/i386/fpu/libm-test-ulps: Update.
7122 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7124         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7125         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7127 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7129         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7130         <cpuid.h>.
7132 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7134         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7135         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7139         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7140         Remove $(objpfx)init-arch.o.
7141         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7142         init-arch.
7143         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7144         (INIT_ARCH_EXT): Defined as empty.
7145         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7146         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7147         __init_cpu_features call.  Replace HAS_XXX with
7148         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7149         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7151         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7153         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7154         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7155         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7156         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7157         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7160         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7162         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7164         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7165         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7166         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7169         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7173         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7177         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7187         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7188         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7189         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7190         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7191         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7192         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7193         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7194         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7195         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7196         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7197         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7198         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7199         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7200         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7201         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7202         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7203         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7204         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7205         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7206         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7207         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7208         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7209         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7210         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7212         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7214         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7215         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7216         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7217         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7218         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7219         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7220         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7221         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7222         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7223         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7227         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7228         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7229         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7231 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7233         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7234         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7235         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7236         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7237         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7238         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7239         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7240         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7241         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7242         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7243         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7244         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7245         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7246         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7247         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7248         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7249         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7250         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7251         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7252         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7254         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7255         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7256         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7257         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7258         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7259         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7260         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7261         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7262         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7263         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7264         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7265         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7266         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7267         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7268         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7269         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7270         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7271         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7272         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7273         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7274         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7275         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7277 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7279         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7280         (dl_platform_init): Call init_cpu_features.
7281         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7282         * sysdeps/i386/i686/cacheinfo.c
7283         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7284         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7285         * sysdeps/i386/i686/multiarch/Versions: Removed.
7286         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7287         Removed.
7288         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7289         * sysdeps/unix/sysv/linux/x86/Makefile
7290         (libpthread-sysdep_routines): Remove init-arch.
7291         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7292         <sysdeps/x86_64/dl-procinfo.c> instead of
7293         sysdeps/generic/dl-procinfo.c>.
7294         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7295         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7296         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7297         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7298         [$(subdir) == elf] (tests-static): Add
7299         tst-get-cpu-features-static.
7300         * sysdeps/x86/Versions: New file.
7301         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7302         * sysdeps/x86/cpu-features.c: Likewise.
7303         * sysdeps/x86/cpu-features.h: Likewise.
7304         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7305         * sysdeps/x86/libc-start.c: Likewise.
7306         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7307         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7308         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7309         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7310         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7311         Assume USE_MULTIARCH is defined and don't check it.
7312         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7313         (is_amd): Likewise.
7314         (max_cpuid): Likewise.
7315         (intel_check_word): Likewise.
7316         (__cache_sysconf): Don't call __init_cpu_features.
7317         (__x86_preferred_memory_instruction): Removed.
7318         (init_cacheinfo): Don't call __init_cpu_features. Replace
7319         __cpu_features with GLRO(dl_x86_cpu_features).
7320         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7321         (dl_platform_init): Call init_cpu_features.
7322         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7323         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7324         * sysdeps/x86_64/multiarch/Versions: Removed.
7325         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7326         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7327         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7328         Removed.
7329         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7331 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7333         [BZ #18820]
7334         * libio/Makefile (test-fmemopen-mem): New test.
7335         * libio/test-fmemopen.c (do_bz18820): New test.
7336         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7337         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7339 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7341         [BZ #16734]
7342         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7343         (FREE_BUF): Delete.
7344         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7345         * libio/genops.c (_IO_setb): Use malloc and free directly.
7346         (_IO_default_doallocate, _IO_default_finish): Likewise.
7347         ( _IO_unbuffer_all): Likewise.
7348         ( libc_freeres_fn): Likewise.
7349         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7350         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7351         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7352         (_IO_wdefault_doallocate): Likewise.
7354 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7356         [BZ #18086]
7357         * sysdeps/posix/nice.c (nice): Restore old errno.
7358         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7360 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7364 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7366         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7367         __bcopy and add a weak_alias to bcopy.
7368         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7369         for static build.
7371         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7372         cleanup macro usage.
7373         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7376         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7378         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7379         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7380         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7381         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7382         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7384         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7385         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7386         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7389         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7391         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7393         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7394         libc_hidden_def.
7395         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7397         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7398         (sysdep_routines): Add strstr-ppc64.
7399         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7401 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7403         [BZ #18778]
7404         * elf/Makefile (tests): Add Add tst-nodelete2.
7405         (modules-names): Add tst-nodelete2mod.
7406         (tst-nodelete2mod.so-no-z-defs): New.
7407         ($(objpfx)tst-nodelete2): Likewise.
7408         ($(objpfx)tst-nodelete2.out): Likewise.
7409         (LDFLAGS-tst-nodelete2): Likewise.
7410         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7411         out of loop through all loaded libraries.
7412         * elf/tst-nodelete2.c: New file.
7413         * elf/tst-nodelete2mod.c: Likewise.
7414         * elf/tst-znodelete-zlib.cc: Delete.
7416 2015-08-11  Andreas Schwab  <schwab@suse.de>
7418         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7419         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7420         (__openat64_nocancel): Likewise.
7422 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7424         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7425         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7426         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7427         * math/auto-libm-test-out: Regenerated.
7428         * sysdeps/i386/fpu/libm-test-ulps: Update.
7429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7431 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7433         [BZ #18790]
7434         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7435         threshold for returning +/- 1.
7436         * math/auto-libm-test-in: Add more tests of tanh.
7437         * math/auto-libm-test-out: Regenerated.
7438         * sysdeps/i386/fpu/libm-test-ulps: Update.
7440 2015-08-10  Andreas Schwab  <schwab@suse.de>
7442         [BZ #18781]
7443         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7444         MORE_OFLAGS to oflag.
7445         * io/test-lfs.c (do_test): Test openat64.
7447 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7449         [BZ #18789]
7450         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7451         smaller threshold for returning the argument.
7452         * math/auto-libm-test-in: Add more tests of sinh.
7453         * math/auto-libm-test-out: Regenerated.
7454         * sysdeps/i386/fpu/libm-test-ulps: Update.
7456 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7458         [BZ #18674]
7459         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7460         break.
7462 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7464         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7465         (generated): Don't add $(addprefix z.,$(tzfiles)).
7467 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7469         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7470         * scripts/sysd-rules.awk: Likewise.
7472 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7474         * iconvdata/tst-tables.sh: Change echo -n to printf.
7475         * nss/db-Makefile: Likewise.
7476         * posix/tst-getconf.sh: Likewise.
7477         * stdio-common/tst-unbputc.sh: Likewise.
7479 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7481         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7482         MADV_*_PAGES defines behind this feature check.
7484 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7486         [BZ #18480]
7487         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7488         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7489         Define.
7490         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7491         LOAD_REGS_5, LOAD_REGS_6): Update.
7492         (INTERNAL_SYSCALL): Update using new LOAD defines.
7493         (INTERNAL_SYSCALL_NCS): Likewise.
7494         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7496 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7498         [BZ #16734]
7499         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7501 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7503         [BZ #17905]
7504         * catgets/Makefile (tst-catgets-mem): New test.
7505         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7506         * catgets/open_catalog.c (__open_catalog): Likewise.
7507         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7509 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7511         [BZ #18787]
7512         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7513         clobber registers.
7514         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7515         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7516         Cast return to __typeof (oldval).
7518 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7520         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7521         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7522         and delete sys/syscall.h include.
7524 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7526         [BZ #16517]
7527         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7528         (tan): Force underflow exception for arguments with small absolute
7529         value.
7530         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7531         (__kernel_tanf): Force underflow exception for arguments with
7532         small absolute value.
7533         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7534         (__kernel_tanl): Force underflow exception for arguments with
7535         small absolute value.
7536         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7537         (__kernel_tanl): Force underflow exception for arguments with
7538         small absolute value.
7539         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7540         (__kernel_tanl): Force underflow exception for arguments with
7541         small absolute value.
7542         * math/auto-libm-test-in: Add more tests of tan.
7543         * math/auto-libm-test-out: Regenerated.
7545 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7547         Fix sysdeps/i386/fpu/s_scalbn.S build
7549         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7551 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7553         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7555 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7557         Fix gcrt0.o compilation
7559         When static-start-installed-name is different from
7560         start-installed-name, we must not use the shared objects.
7562         * csu/Makefile
7563         (extra-objs): Add gmon-start.o when building shared library and
7564         $(static-start-installed-name) is different from
7565         $(start-installed-name).
7566         $(objpfx)g$(static-start-installed-name): When building shared
7567         library and $(static-start-installed-name) is different from
7568         $(static-start-installed-name), revert to non-shared rule,
7569         i.e. using $(objpfx)% and gmon-start.o.
7571 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7573         [BZ #16519]
7574         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7575         (__ieee754_sinh): Force underflow exception for arguments with
7576         small absolute value.
7577         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7578         (__ieee754_sinhf): Force underflow exception for arguments with
7579         small absolute value.
7580         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7581         (__ieee754_sinhl): Force underflow exception for arguments with
7582         small absolute value.
7583         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7584         (__ieee754_sinhl): Force underflow exception for arguments with
7585         small absolute value.
7586         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7587         (__ieee754_sinhl): Force underflow exception for arguments with
7588         small absolute value.
7589         * math/auto-libm-test-in: Add more tests of sinh.
7590         * math/auto-libm-test-out: Regenerated.
7591         * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7595         * libio/oldfileops.c: Include unistd.h.
7597 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7599         * stdlib/isomac.c: Include ctype.h.
7601 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7603         * dirent/tst-seekdir.c (main): Converted to ...
7604         (do_test): ... this.
7605         (TEST_FUNCTION): New macro.
7606         Include test-skeleton.c.
7607         * elf/tst-dlmodcount.c (main): Converted to ...
7608         (do_test): ... this.
7609         (TEST_FUNCTION): New macro.
7610         Include test-skeleton.c.
7611         * elf/tst-order-main.c (main): Converted to ...
7612         (do_test): ... this.
7613         (TEST_FUNCTION): New macro.
7614         Include test-skeleton.c.
7615         * elf/tst-pie2.c (main): Converted to ...
7616         (do_test): ... this.
7617         (TEST_FUNCTION): New macro.
7618         Include test-skeleton.c.
7619         * inet/tst-ether_aton.c (main): Converted to ...
7620         (do_test): ... this.
7621         (TEST_FUNCTION): New macro.
7622         Include test-skeleton.c.
7623         * misc/tst-mntent.c (main): Converted to ...
7624         (do_test): ... this.
7625         (TEST_FUNCTION): New macro.
7626         Include test-skeleton.c.
7627         * misc/tst-tsearch.c (main): Converted to ...
7628         (do_test): ... this.
7629         (TEST_FUNCTION): New macro.
7630         Include test-skeleton.c.
7631         * posix/tst-regexloc.c (main): Converted to ...
7632         (do_test): ... this.
7633         (TEST_FUNCTION): New macro.
7634         Include test-skeleton.c.
7635         * resolv/tst-aton.c (main): Converted to ...
7636         (do_test): ... this.
7637         (TEST_FUNCTION): New macro.
7638         Include test-skeleton.c.
7639         * stdio-common/test-fwrite.c (main): Converted to ...
7640         (do_test): ... this.
7641         (TEST_FUNCTION): New macro.
7642         Include test-skeleton.c.
7643         * stdio-common/tst-ferror.c (main): Converted to ...
7644         (do_test): ... this.
7645         (TEST_FUNCTION): New macro.
7646         Include test-skeleton.c.
7647         * stdio-common/tst-printf.c (main): Converted to ...
7648         (do_test): ... this.
7649         (TEST_FUNCTION): New macro.
7650         Include test-skeleton.c.
7651         * stdio-common/tst-printfsz.c (main): Converted to ...
7652         (do_test): ... this.
7653         (TEST_FUNCTION): New macro.
7654         Include test-skeleton.c.
7655         * stdlib/tst-strtod.c (main): Converted to ...
7656         (do_test): ... this.
7657         (TEST_FUNCTION): New macro.
7658         Include test-skeleton.c.
7659         * string/tst-strlen.c (main): Converted to ...
7660         (do_test): ... this.
7661         (TEST_FUNCTION): New macro.
7662         Include test-skeleton.c.
7663         * string/tst-svc.c (main): Converted to ...
7664         (do_test): ... this.
7665         (TEST_FUNCTION): New macro.
7666         Include test-skeleton.c.
7667         * time/tst-strptime.c (main): Converted to ...
7668         (do_test): ... this.
7669         (TEST_FUNCTION): New macro.
7670         Include test-skeleton.c.
7671         * timezone/tst-timezone.c (main): Converted to ...
7672         (do_test): ... this.
7673         (TEST_FUNCTION): New macro.
7674         Include test-skeleton.c.
7676 2015-08-05  Zack Weinberg  <zackw@panix.com>
7678         * misc/regexp.h: Update comments.
7680 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7682         [BZ #18635]
7683         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7684         before return label.
7686 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7688         [BZ #18661]
7689         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7690         when calling __errno_location.
7691         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7692         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7694 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7696         [BZ #18661]
7697         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7698         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7699         __gettimeofday.
7701 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7703         [BZ #18661]
7704         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7705         (__start_context): Don't use pop to restore %rdi so that stack
7706         is aligned to 16 bytes when calling __setcontext.
7708 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7710         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7711         only for libc.
7712         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7714 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7716         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7717         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7718         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7720 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7722         * string/memccpy.c (memccpy):
7723         Improve performance by using memchr/memcpy/__mempcpy.
7725 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7727         * string/strncpy.c (strncpy):
7728         Improve performance by using __strnlen/memcpy.
7730 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7732         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7733         Optimize to avoid an unnecessary FPCR read.
7735 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7737         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7738         Optimize to reduce FPCR/FPSR accesses.
7740 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7742         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7743         dead->data[category] != NULL.
7745 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7747         [BZ #18647]
7748         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7749         and |x| close to 1, use absolute value of x when computing log.
7750         * math/auto-libm-test-in: Add more tests of pow.
7751         * math/auto-libm-test-out: Regenerated.
7753 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7755         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7756         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7757         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7759 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7761         [BZ #18525]
7762         * locales/km_KH: Remove timezone definition.
7763         * locales/lo_LA: Likewise.
7764         * locales/my_MM: Likewise.
7765         * locales/nan_TW@latin: Likewise.
7766         * locales/th_TH: Likewise.
7767         * locales/uk_UA: Likewise.
7769 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7771         [BZ #18265]
7772         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7773         (wcsncat): Likewise.
7774         (wcscmp): Likewise.
7775         (wcsncmp): Likewise.
7777 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7779         * test-skeleton.c (usage): New function.
7780         (main): Call usage when opt is '?'.
7782 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7784         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7785         before first use.
7787 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7789         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7790         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7791         in there too.
7793 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7795         * version.h (RELEASE): Set to "development".
7796         (VERSION): Set to "2.22.90"
7798         * version.h (RELEASE): Set to "stable".
7799         (VERSION): Set to "2.22"
7800         * include/features.h (__GLIBC_MINOR__): Set to 22.
7802 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7804         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7805         Restructure macro to avoid "value computed is not used" warning.
7806         (atomic_compare_and_exchange_val_acq): Likewise.
7808 2015-08-04  Andreas Schwab  <schwab@suse.de>
7810         [BZ #18635]
7811         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7812         ret.
7813         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7815 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7817         * po/pl.po: Updated translation.
7818         * po/uk.po: Likewise.
7819         * po/fi.po: Likewise.
7820         * po/ko.po: Likewise.
7821         * po/ru.po: Likewise.
7822         * po/vi.po: Likewise.
7824 2015-07-31  Zack Weinberg  <zackw@panix.com>
7826         [BZ #18681]
7827         * regexp.h: Add unconditional #warning stating that this header
7828         will be removed soon.  Revise banner comment to match.
7829         (compile): Consistently use ERROR instead of RETURN to report
7830         errors (partial fix for bz#18681).
7831         * regexp.c: Don't include regexp.h. Remove some unnecessary
7832         declarations.
7834 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7836         * po/libc.pot: Regenerated.
7838 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7840         [BZ #18740]
7841         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7842         float-vlen4-arch-ext-cflags): Removed.
7843         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7844         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7846 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7848         [BZ #14113]
7849         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7850         aligned to __aligned__.
7851         (pthread_cond_t, pthread_rwlock_t): Likewise.
7853 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7855         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7857 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7859         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7860         (struct sigaction): Change sa_flags from a long to an int, and add
7861         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7863 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7865         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7866         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7867         sysdeps/generic/sysdep.h include.
7868         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7869         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7870         sysdeps/hppa/sysdep.h.
7871         (ENTRY, PSEUDO): Undefine before defining.
7873 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7875         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7876         from scratch to use INTERNAL_SYSCALL.
7878 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7880         [BZ #18078]
7881         * scripts/check-localplt.awk: Support alternate relocations.
7882         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7883         sections.
7884         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7885         malloc entries with + REL R_386_GLOB_DAT.
7886         * sysdeps/x86_64/localplt.data: New file.
7888 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7890         [BZ #18731]
7891         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7892         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7893         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7895 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7897         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7899 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7901         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7902         directly in terms of __sync_fetch_and_add and delete (int) cast.
7904 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7906         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7907         the -D_ASM_IA64_CURRENT_H flag.
7909 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7911         [BZ #18641]
7912         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7914 2015-07-27  Andreas Schwab  <schwab@suse.de>
7916         * conform/conformtest.pl (checknamespace): Filter out string
7917         literals while tokenizing.
7919 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7921         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7922         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7923         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7925 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7927         * nptl/tst-join7mod.c: Add #include <string.h>.
7929 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7931         * sysdeps/nios2/libm-test-ulps: Update.
7933 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7935         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7936         Fix order of arguments to the rt_sigprocmask syscall.
7937         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7938         Likewise.
7940 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7942         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7944 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7946         [BZ #18457]
7947         * nptl/Makefile (tests): New test case tst-join7.
7948         (modules-names): New test case module tst-join7mod.
7949         * nptl/tst-join7.c: New file.
7950         * nptl/tst-join7mod.c: New file.
7951         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7952         all translation units in libc.so, libpthread.so and rtld.
7954 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7958 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7965         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7967         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7968         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7969         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7971         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7972         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7973         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7974         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7975         implementation.
7977 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7979         [BZ #17711]
7980         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7981         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7982         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7983         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7984         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7985         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7987 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7989         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7990         instead of just saying load lock in the comments.
7992 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7994         * sysdeps/unix/Subdirs: Moved ...
7995         * sysdeps/posix/Subdirs: ... here.
7996         * login/pty.h (struct termios, struct winsize): Add forward decls.
7997         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7998         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7999         * sysdeps/arm/nacl/libc.abilist: Updated.
8000         * sysdeps/nacl/libutil.abilist: New file.
8002         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8003         (SIGWINCH): New macro.
8005         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8006         * sysdeps/arm/nacl/libc.abilist: Add it.
8008 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8010         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8012 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8014         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8015         Swap __glibc_reserved0 and sa_flags order.
8017 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8019         [BZ #18657]
8020         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8021         are pending TLS destructor calls.
8022         * include/link.h (struct link_map): Add concurrency note for
8023         L_TLS_DTOR_COUNT.
8024         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8025         Don't touch the link map flag.  Atomically increment
8026         l_tls_dtor_count.
8027         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8028         Avoid taking the load lock and don't touch the link map flag.
8029         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8030         * stdlib/Makefile (tests): Use it.
8031         * stdlib/tst-tls-atexit.c (do_test): dlopen
8032         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8033         to allow tst-tls-atexit-nodelete test case to use it.
8035 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8037         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8038         to bits/types.h.
8039         (msgqnum_t): New typedef.
8040         (msglen_t): Likewise.
8041         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8042         and msg_qbytes type to msglen_t.
8044 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8046         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8047         pad0 to __glibc_reserved0.
8048         (struct stat64): Likewise.
8050 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8052         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8053         Change sa_flags from a long to an int and add __glibc_reserved0 before
8054         it for padding.
8056 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8058         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8059         anonymous by deleting "siginfo" name.
8061 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8063         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8064         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8065         rather than __nacl_irt_filename.
8066         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8068         * NEWS: New item for arm-nacl port.
8069         * sysdeps/arm/nacl/libc.abilist: New file.
8070         * sysdeps/nacl/ld.abilist: New file.
8071         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8072         * sysdeps/nacl/libanl.abilist: New file.
8073         * sysdeps/nacl/libcrypt.abilist: New file.
8074         * sysdeps/nacl/libdl.abilist: New file.
8075         * sysdeps/nacl/libm.abilist: New file.
8076         * sysdeps/nacl/libpthread.abilist: New file.
8077         * sysdeps/nacl/libresolv.abilist: New file.
8078         * sysdeps/nacl/librt.abilist: New file.
8080 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8082         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8083         __startcontext to initialize the new context.
8084         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8085         up CFI directive to forbid further backtracing.
8087 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8089         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8090         reference.
8091         * charmaps/ANSI_X3.4-1968: Likewise.
8092         * charmaps/BS_4730: Likewise.
8093         * charmaps/BS_VIEWDATA: Likewise.
8094         * charmaps/CP1250: Likewise.
8095         * charmaps/CP1251: Likewise.
8096         * charmaps/CP1252: Likewise.
8097         * charmaps/CP1253: Likewise.
8098         * charmaps/CP1254: Likewise.
8099         * charmaps/CP1255: Likewise.
8100         * charmaps/CP1256: Likewise.
8101         * charmaps/CSN_369103: Likewise.
8102         * charmaps/EBCDIC-DK-NO: Likewise.
8103         * charmaps/GB_1988-80: Likewise.
8104         * charmaps/GREEK-CCITT: Likewise.
8105         * charmaps/GREEK7: Likewise.
8106         * charmaps/INIS-8: Likewise.
8107         * charmaps/ISIRI-3342: Likewise.
8108         * charmaps/ISO_2033-1983: Likewise.
8109         * charmaps/ISO_5427-EXT: Likewise.
8110         * locales/POSIX: Likewise.
8111         * locales/ar_SA: Likewise.
8112         * locales/be_BY: Likewise.
8113         * locales/be_BY@latin: Likewise.
8114         * locales/ca_ES: Likewise.
8115         * locales/cs_CZ: Likewise.
8116         * locales/da_DK: Likewise.
8117         * locales/de_BE: Likewise.
8118         * locales/de_CH: Likewise.
8119         * locales/de_LU: Likewise.
8120         * locales/en_AU: Likewise.
8121         * locales/en_BW: Likewise.
8122         * locales/en_CA: Likewise.
8123         * locales/en_DK: Likewise.
8124         * locales/en_GB: Likewise.
8125         * locales/en_IE: Likewise.
8126         * locales/en_NZ: Likewise.
8127         * locales/en_ZA: Likewise.
8128         * locales/en_ZW: Likewise.
8129         * locales/es_AR: Likewise.
8130         * locales/es_BO: Likewise.
8131         * locales/es_CL: Likewise.
8132         * locales/es_CO: Likewise.
8133         * locales/es_DO: Likewise.
8134         * locales/es_EC: Likewise.
8135         * locales/es_ES: Likewise.
8136         * locales/es_HN: Likewise.
8137         * locales/es_MX: Likewise.
8138         * locales/es_PA: Likewise.
8139         * locales/es_PE: Likewise.
8140         * locales/es_PY: Likewise.
8141         * locales/es_SV: Likewise.
8142         * locales/es_US: Likewise.
8143         * locales/es_UY: Likewise.
8144         * locales/es_VE: Likewise.
8145         * locales/et_EE: Likewise.
8146         * locales/fa_IR: Likewise.
8147         * locales/fo_FO: Likewise.
8148         * locales/fr_CA: Likewise.
8149         * locales/fr_CH: Likewise.
8150         * locales/gv_GB: Likewise.
8151         * locales/he_IL: Likewise.
8152         * locales/hr_HR: Likewise.
8153         * locales/id_ID: Likewise.
8154         * locales/is_IS: Likewise.
8155         * locales/it_CH: Likewise.
8156         * locales/iw_IL: Likewise.
8157         * locales/kl_GL: Likewise.
8158         * locales/ko_KR: Likewise.
8159         * locales/kw_GB: Likewise.
8160         * locales/lg_UG: Likewise.
8161         * locales/lt_LT: Likewise.
8162         * locales/lv_LV: Likewise.
8163         * locales/mi_NZ: Likewise.
8164         * locales/nhn_MX: Likewise.
8165         * locales/nl_BE: Likewise.
8166         * locales/pl_PL: Likewise.
8167         * locales/sk_SK: Likewise.
8168         * locales/sl_SI: Likewise.
8169         * locales/sv_FI: Likewise.
8170         * locales/tl_PH: Likewise.
8171         * locales/tr_TR: Likewise.
8172         * locales/vi_VN: Likewise.
8174 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8176         [BZ #17475]
8177         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8178         of tu_IN and bh_IN.
8180 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8182         [BZ #18694]
8183         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8184         bits/wordsize.h.
8185         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8187 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8189         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8190         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8191         (spawn_thread): New function.
8192         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8193         (do_test): ... here.  Use IS_LOADED to test for its
8194         availability.
8196 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8198         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8200 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8202         [BZ #18696]
8203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8204         si_addr_bnd.
8205         (si_lower): New.
8206         (si_upper): Likewise.
8208 2015-07-16  David S. Miller  <davem@davemloft.net>
8210         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8212 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8214         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8215         buffer.
8216         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8217         fail output information.
8219 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8222         and strstr-ppc64..
8223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8224         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8225         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8226         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8227         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8229 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8231         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8232         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8233         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8234         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8236 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8238         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8239         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8240         rtld_hidden_proto.
8241         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8243 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8245         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8246         the test can fail.
8248         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8250         [BZ #18676]
8251         * elf/tst-nodelete-opened.c: New test case.
8252         * elf/tst-nodelete-opened-lib.c: New test case module.
8253         * elf/Makefile (tests, modules-names): Use them.
8254         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8255         early.
8257 2015-07-15  David S. Miller  <davem@davemloft.net>
8259         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8260         futex-intenal.h
8261         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8262         * sysdeps/sparc/sparc64/Makefile: Likewise.
8263         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8264         Remove space from macro define.
8265         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8267 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8269         [BZ #17475]
8270         * locale/iso-639.def: Update Bhili and Tulu language codes as
8271         per iso639-3.
8273 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8275         * elf/tst-leaks1.c (main): Converted to ...
8276         (do_test): ... this.
8277         (TEST_FUNCTION): New macro.
8278         Include test-skeleton.c.
8279         * localedata/tst-langinfo.c (main): Converted to ...
8280         (do_test): ... this.
8281         (TEST_FUNCTION): New macro.
8282         Include test-skeleton.c.
8283         * math/test-fpucw.c (main): Converted to ...
8284         (do_test): ... this.
8285         (TEST_FUNCTION): New macro.
8286         Include test-skeleton.c.
8287         * math/test-tgmath.c (main): Converted to ...
8288         (do_test): ... this.
8289         (TEST_FUNCTION): New macro.
8290         Include test-skeleton.c.
8291         * math/test-tgmath2.c (main): Converted to ...
8292         (do_test): ... this.
8293         (TEST_FUNCTION): New macro.
8294         Include test-skeleton.c.
8295         * setjmp/tst-setjmp.c (main): Converted to ...
8296         (do_test): ... this.
8297         (TEST_FUNCTION): New macro.
8298         Include test-skeleton.c.
8299         * stdio-common/tst-sscanf.c (main): Converted to ...
8300         (do_test): ... this.
8301         (TEST_FUNCTION): New macro.
8302         Include test-skeleton.c.
8303         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8304         (do_test): ... this.
8305         (TEST_FUNCTION): New macro.
8306         Include test-skeleton.c.
8308         * elf/tst-audit9.c (main): Converted to ...
8309         (do_test): ... this.
8310         (TEST_FUNCTION): New macro.
8311         Include test-skeleton.c.
8313 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8315         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8317 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8319         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8320         New variable.
8322 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8324         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8326 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8328         * sysdeps/generic/dl-fileid.h: New file.
8329         * sysdeps/posix/dl-fileid.h: New file.
8330         * sysdeps/nacl/dl-fileid.h: New file.
8331         * include/link.h: Include <dl-fileid.h>.
8332         (struct link_map): Replace l_dev and l_ino with l_file_id.
8333         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8334         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8335         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8337 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8339         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8341 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8343         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8344         Add iff $CXX is set.
8345         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8346         Likewise.
8347         (tst-nodelete-zmodiff): Likewise.
8348         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8350 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8352         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8354 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8356         * sysdeps/aarch64/fpu/math_private.h
8357         (define math_opt_barrier): Add AArch64 version.
8358         (math_force_eval): Likewise.
8360 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8362         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8364 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8366         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8367         %ld with %jd and cast to intmax_t.
8368         (do_test_length_zero): Likewise.
8370 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8372         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8374 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8376         * sysdeps/tile/libm-test-ulps: Regenerated.
8378         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8379         Comment out the whole function, not just its body.
8381 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8383         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8384         locks.
8386         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8388 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8390         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8391         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8393 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8395         * sysdeps/nptl/futex-internal.h: New file.
8396         * sysdeps/nacl/futex-internal.h: New file.
8397         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8398         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8399         error checking.
8400         (setxid_unmark_thread): Likewise.
8401         (__nptl_setxid): Likewise.
8402         (__wait_lookup_done): Likewise.
8403         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8404         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8405         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8406         * nptl/pthread_once.c (clear_once_control): Likewise.
8407         (__pthread_once_slow): Likewise.
8408         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8409         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8410         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8411         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8412         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8413         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8414         Likewise.
8415         (__pthread_rwlock_rdlock): Likewise.
8416         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8417         Likewise.
8418         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8419         Likewise.
8420         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8421         Likewise.
8422         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8423         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8424         Likewise.
8425         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8426         __ASSUME_PRIVATE_FUTEX check.
8427         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8428         Check that shared futexes are supported.
8429         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8430         wrappers with error checking.
8431         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8432         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8433         * nptl/pthread_barrierattr_setpshared.c
8434         (pthread_barrierattr_setpshared): Check that shared futexes are
8435         supported.
8436         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8437         Likewise.
8438         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8439         Likewise.
8440         * nptl/sem_init.c (futex_private_if_supported): Remove.
8441         (__new_sem_init): Adapt and check that shared futexes are supported.
8442         * nptl/sem_open.c (sem_open): Likewise.
8443         * nptl/sem_post.c (futex_wake): Remove.
8444         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8445         (do_futex_wait): Use futex wrappers with error checking.
8446         * nptl/sem_wait.c: Include lowlevellock.h.
8447         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8448         Use futex_supports_pshared.
8449         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8450         Use futex wrappers with error checking.
8451         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8452         Likewise.
8453         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8454         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8455         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8456         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8457         (futex_wake): Likewise.
8458         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8459         (do_futex_wait): Use futex wrappers with error checking.
8460         (__new_sem_wait_slow): Update EINTR handling.
8461         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8463 2015-07-09  Martin Sebor  <msebor@redhat.com>
8465         [BZ #18435]
8466         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8467         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8468         * nptl/Makefile (test-xfail-tst-once5): Define.
8470 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8472         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8473         * elf/dl-minimal.c: For readability, reorder some definitions and
8474         introduce more page breaks.  Include <stdio.h>.
8475         (__libc_fatal): New function.
8477         * include/unistd.h: Add rtld_hidden_proto for _exit.
8478         * posix/_exit.c: Add rtld_hidden_def.
8479         * sysdeps/mach/hurd/_exit.c: Likewise.
8480         * sysdeps/nacl/_exit.c: Likewise.
8481         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8482         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8484 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8487         bndmov encoding with zero displacement.
8489 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8490             H.J. Lu  <hongjiu.lu@intel.com>
8492         [BZ #18134]
8493         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8494         * sysdeps/i386/configure: Regenerated.
8495         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8496         (_dl_runtime_profile): Save and restore Intel MPX return bound
8497         registers when calling _dl_call_pltexit.  Add
8498         PRESERVE_BND_REGS_PREFIX before return.
8499         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8500         (LRV_BND1_OFFSET): Likewise.
8501         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8502         lrv_bnd1.
8503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8504         typo in bndmov encoding.
8505         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8506         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8507         branch instructions to preserve bounds.
8509 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8512         [GLIBC_2.22]: Add fmemopen.
8514 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8516         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8517         returns an error, also try to use host port from __mach_host_self for
8518         the __vm_wire call.
8519         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8521 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8523         [BZ #18400]
8524         [BZ #18648]
8525         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8526         Fix pr_uid and pr_gid members.
8527         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8528         definition to elf_greg_t.
8530 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8532         [BZ #18383]
8533         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8534         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8535         * sysdeps/arm/configure: Regenerated.
8536         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8537         (test-xfail-tst-tlsalign-static): Variable removed.
8539         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8540         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8541         rather than explicit 'ln -s'.
8543         * resolv/rpc/netdb.h: New file.
8544         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8546 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8548         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8549         length buffers.
8550         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8551         test-skeleton.c.
8553         [BZ #6544]
8554         [BZ #11216]
8555         [BZ #12836]
8556         [BZ #13151]
8557         [BZ #13152]
8558         [BZ #14292]
8559         * include/stdio.h (fmemopen): Remove hidden prototype.
8560         (__fmemopen): Add new hidden prototype.
8561         * libio/Makefile: Add oldfmemopen object.
8562         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8563         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8564         compliance.
8565         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8566         symbol compatibility.
8567         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8568         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8569         fmemopen.
8570         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8571         on append and read mode.
8572         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8573         fmemopen.
8574         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8575         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8576         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8577         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8580         [GLIBC_2.22]: Likewise.
8581         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8582         Likewise.
8583         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8584         Likewise.
8585         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8586         [GLIBC_2.22]: Likewise.
8587         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8588         [GLIBC_2.22]: Likewise.
8589         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8590         [GLIBC_2.22]: Likewise.
8591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8592         [GLIBC_2.22]: Likewise.
8593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8594         [GLIBC_2.22]: Likewise.
8595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8596         [GLIBC_2.22]: Likewise.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8598         [GLIBC_2.22]: Likewise.
8599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8600         Likewise.
8601         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8602         Likewise.
8603         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8604         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8605         [GLIBC_2.22]: Likewise.
8606         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8607         [GLIBC_2.22]: Likewise.
8608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8609         [GLIBC_2.22]: Likewise.
8610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8611         [GLIBC_2.22]: Likewise.
8612         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8613         Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8615         Likewise.
8616         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8617         Likewise.
8618         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8619         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8621 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8623         [BZ #18643]
8624         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8625         IPV6_PATHMTU, and IPV6_DONTFRAG.
8627 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8629         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8630         and _IO_UNBUFFERED.
8631         * libio/oldfileops.c: Likewise.
8632         * libio/wfileops.c: Likewise.
8634 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8636         * nscd/selinux.c: Delete selinux/flask.h include.
8638 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8640         [BZ #18641]
8641         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8642         (putpwent): Likewise.
8643         (getpwnam): Likewise.
8644         (getpwent_r): Likewise.
8645         (getpwuid_r): Likewise.
8646         (getpwnam_r): Likewise.
8647         (fgetpwent_r): Likewise.
8649 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8651         [BZ #18557]
8652         * inet/rcmd.c (__validuser2_sa): Check user first to
8653         short-circuit host check.
8655 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8656             Mikhail Ilin  <m.ilin@samsung.com>
8658         [BZ #17833]
8659         * elf/Makefile (tests): Add tst-nodelete.
8660         (modules-names): Add tst-nodelete-uniquemod.
8661         (tst-nodelete-uniquemod.so-no-z-defs): New.
8662         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8663         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8664         ($(objpfx)tst-nodelete): Likewise.
8665         ($(objpfx)tst-nodelete.out): Likewise.
8666         (LDFLAGS-tst-nodelete): Likewise.
8667         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8668         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8669         implement forced object deletion.
8670         (_dl_close): Pass false to _dl_close_worker.
8671         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8672         * elf/tst-nodelete.cc: New file.
8673         * elf/tst-nodeletelib.cc: Likewise.
8674         * elf/tst-znodeletelib.cc: Likewise.
8675         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8677 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8679         [BZ #18508]
8680         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8681         Depend on $(libdl).
8682         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8683         is not called infinitely times.
8684         (backtrace_helper): New function.
8685         (trace_arg): New struct.
8686         (st1): Enlarge stack size.
8687         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8688         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8690         Likewise.
8692 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8694         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8696 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8698         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8699         Include sys/types.h instead of bits/types.h.
8700         Remove inclusion of bits/wordsize.h.
8702 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8704         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8705         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8706         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8707         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8708         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8709         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8711 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8713         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8714         link-defines.sym.
8715         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8716         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8717         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8718         and LR_SIZE.
8719         * sysdeps/i386/link-defines.sym: New file.
8721 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8723         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8724         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8725         ($(objpfx)tst-audit3): New rule.
8726         ($(objpfx)tst-audit3.out): Likewise.
8727         * sysdeps/i386/tst-audit3.c: New file.
8728         * sysdeps/i386/tst-audit3.h: Likewise.
8729         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8730         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8732 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8734         [BZ #18633]
8735         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8736         pointer in C code.
8737         (__strcat_c): Likewise.
8738         (__strcat_g): Likewise.
8740 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8742         [BZ #18592]
8743         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8745 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8747         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8748         New function.  (__ieee754_sqrtf): New function.
8749         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8750         New function.
8751         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8752         New function.
8754 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8756         * sysdeps/ieee754/support.c: Remove unused file.
8758 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8760         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8761         registers instead of d ones so the layout is kernel abi compatible.
8762         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8763         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8764         Likewise.
8766 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8768         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8770 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8772         [BZ #18619]
8773         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8774         and return argument in case of subnormal argument.
8776 2015-07-01  Martin Sebor  <msebor@redhat.com>
8778         [BZ #18435]
8779         * nptl/Makefile: Add tst-once5.cc.
8780         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8781         Remove macro redefinitions.
8782         * nptl/tst-once5.cc: New test.
8784 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8786         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8788         * sysdeps/arm/libm-test-ulps: Regenerated.
8790         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8793 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8795         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8796         lll_lock_wait_private and lll_futex_wake probes.
8798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8799         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8800         Likewise.
8801         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8802         atomic_spin_nop.
8803         * sysdeps/x86_64/bits/atomic.h: Likewise.
8804         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8805         to atomic_spin_nop and move ...
8806         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8807         ... here and ...
8808         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8809         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8810         atomic_spin_nop instead of BUSY_WAIT_NOP.
8811         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8812         Likewise.
8813         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8814         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8815         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8816         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8817         instead of atomic_delay.
8819 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8821         [BZ #18613]
8822         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8823         X_ADJ not X when adjusting exponent.
8824         (__ieee754_gamma_r): Do intermediate computations in
8825         round-to-nearest then adjust overflowing and underflowing results
8826         as needed.
8827         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8828         of X_ADJ not X when adjusting exponent.
8829         (__ieee754_gammaf_r): Do intermediate computations in
8830         round-to-nearest then adjust overflowing and underflowing results
8831         as needed.
8832         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8833         log of X_ADJ not X when adjusting exponent.
8834         (__ieee754_gammal_r): Do intermediate computations in
8835         round-to-nearest then adjust overflowing and underflowing results
8836         as needed.  Use 1.0L not 1.0f as numerator of division.
8837         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8838         log of X_ADJ not X when adjusting exponent.
8839         (__ieee754_gammal_r): Do intermediate computations in
8840         round-to-nearest then adjust overflowing and underflowing results
8841         as needed.  Use 1.0L not 1.0f as numerator of division.
8842         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8843         of X_ADJ not X when adjusting exponent.
8844         (__ieee754_gammal_r): Do intermediate computations in
8845         round-to-nearest then adjust overflowing and underflowing results
8846         as needed.  Use 1.0L not 1.0f as numerator of division.
8847         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8848         to auto-libm-test-in.
8849         (tgamma_test): Use ALL_RM_TEST.
8850         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8851         tests of tgamma with spurious-overflow.
8852         * math/auto-libm-test-out: Regenerated.
8853         * math/gen-libm-have-vector-test.sh: Do not check for START.
8854         * sysdeps/i386/fpu/libm-test-ulps: Update.
8855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8857         [BZ #18612]
8858         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8859         arguments, just return 0.5 times the argument, with underflow
8860         forced as needed.
8861         * math/auto-libm-test-in: Add more tests of j1.
8862         * math/auto-libm-test-out: Regenerated.
8864         [BZ #16559]
8865         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8866         (__ieee754_j1): Force underflow exception for small results.
8867         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8868         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8869         (__ieee754_j1f): Force underflow exception for small results.
8870         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8871         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8872         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8873         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8874         (__ieee754_j1l): Force underflow exception for small results.
8875         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8876         * math/auto-libm-test-in: Add more tests of j1 and jn.
8877         * math/auto-libm-test-out: Regenerated.
8879         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8880         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8881         (PF_MPLS): Likewise.
8882         (AF_IB): Likewise.
8883         (AF_MPLS): Likewise.
8884         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8885         value and macro.
8886         (MS_RMT_MASK): Include MS_LAZYTIME.
8888 2015-06-26  Mel Gorman  <mgorman@suse.de>
8890         [BZ #18502]
8891         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8892         already minimal.
8894 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8896         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8897         (DT_MIPS_NUM): Update.
8898         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8899         DT_MIPS_RLD_MAP_REL.
8901 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8903         [BZ #16559]
8904         [BZ #18602]
8905         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8906         round-to-nearest internally then recompute results that
8907         underflowed to zero in the original rounding mode.
8908         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8909         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8911         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8912         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8913         * sysdeps/i386/fpu/libm-test-ulps: Update.
8914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8916 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8918         * NEWS: Fixed description of link with vector math library.
8920 2015-06-25  Andreas Schwab  <schwab@suse.de>
8922         [BZ #18549]
8923         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8924         * libio/test-fmemopen.c (do_test): Add test for it.
8926 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8928         [BZ #17841]
8929         * Makeconfig (no-pie-ldflag): New.
8930         (+link): Set to $(+link-pie) if default to PIE.
8931         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8932         * config.make.in (build-pie-default): New.
8933         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8934         is default.  AC_SUBST.
8935         * configure: Regenerated.
8936         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8938 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8940         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8941         to 'unsigned int'.
8943         * resolv/gai_misc.h (struct waitlist): Change type of field
8944         counterp to 'volatile unsigned int *'.
8945         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8946         FUTEXADDR and OLDVAL.
8947         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8948         Give local variable TOTAL type 'volatile unsigned int'.
8949         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8950         * resolv/gai_suspend.c (gai_suspend):
8951         Give local variable CNTR type 'unsigned int'.
8953         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8954         counterp to 'volatile unsigned int *'.
8955         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8956         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8957         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8958         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8959         Give local variable TOTAL type 'volatile unsigned int'.
8960         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8962 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8964         [BZ #18383]
8965         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8966         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8967         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8968         comment for i386/x86-64.
8969         (test-xfail-tst-tlsalign-extern-static): Removed.
8971 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8973         * math/test-double.h: New file.
8974         * math/test-float.h: Likewise.
8975         * math/test-ldouble.h: Likewise.
8976         * math/test-math-inline.h: Likewise.
8977         * math/test-math-no-inline.h: Likewise.
8978         * math/test-math-scalar.h: Likewise.
8979         * math/test-math-vector.h: Likewise.
8980         * math/test-vec-loop.h: Remove file.  Contents moved into
8981         test-math-vector.h.
8982         * math/libm-test.inc (MATHCONST): Do not document macro.
8983         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8984         and test-math-scalar.h.
8985         (FUNC): Remove macro.
8986         (FUNC_TEST): Likewise.
8987         (FLOAT): Likewise.
8988         (MATHCONST): Likewise.
8989         (PRINTF_EXPR): Likewise.
8990         (PRINTF_XEXPR): Likewise.
8991         (PRINTF_NEXPR): Likewise.
8992         (TEST_DOUBLE): Likewise.
8993         (TEST_MATHVEC): Likewise.
8994         (__NO_MATH_INLINES): Likewise.
8995         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8996         and test-math-scalar.h.
8997         (FUNC): Remove macro.
8998         (FUNC_TEST): Likewise.
8999         (FLOAT): Likewise.
9000         (MATHCONST): Likewise.
9001         (PRINTF_EXPR): Likewise.
9002         (PRINTF_XEXPR): Likewise.
9003         (PRINTF_NEXPR): Likewise.
9004         (TEST_FLOAT): Likewise.
9005         (TEST_MATHVEC): Likewise.
9006         (__NO_MATH_INLINES): Likewise.
9007         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9008         and test-math-scalar.h.
9009         (FUNC): Remove macro.
9010         (FUNC_TEST): Likewise.
9011         (FLOAT): Likewise.
9012         (MATHCONST): Likewise.
9013         (PRINTF_EXPR): Likewise.
9014         (PRINTF_XEXPR): Likewise.
9015         (PRINTF_NEXPR): Likewise.
9016         (TEST_DOUBLE): Likewise.
9017         (TEST_MATHVEC): Likewise.
9018         (TEST_INLINE): Likewise.
9019         (__NO_MATH_INLINES): Likewise.
9020         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9021         test-math-scalar.h.
9022         (FUNC): Remove macro.
9023         (FUNC_TEST): Likewise.
9024         (FLOAT): Likewise.
9025         (MATHCONST): Likewise.
9026         (PRINTF_EXPR): Likewise.
9027         (PRINTF_XEXPR): Likewise.
9028         (PRINTF_NEXPR): Likewise.
9029         (TEST_FLOAT): Likewise.
9030         (TEST_MATHVEC): Likewise.
9031         (TEST_INLINE): Likewise.
9032         (__NO_MATH_INLINES): Likewise.
9033         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9034         and test-math-scalar.h.
9035         (FUNC): Remove macro.
9036         (FUNC_TEST): Likewise.
9037         (FLOAT): Likewise.
9038         (MATHCONST): Likewise.
9039         (PRINTF_EXPR): Likewise.
9040         (PRINTF_XEXPR): Likewise.
9041         (PRINTF_NEXPR): Likewise.
9042         (TEST_LDOUBLE): Likewise.
9043         (TEST_MATHVEC): Likewise.
9044         (TEST_INLINE): Likewise.
9045         (__NO_MATH_INLINES): Likewise.
9046         * math/test-ldouble.c: Include test-ldouble.h,
9047         test-math-no-inline.h and test-math-scalar.h.
9048         (FUNC): Remove macro.
9049         (FUNC_TEST): Likewise.
9050         (FLOAT): Likewise.
9051         (MATHCONST): Likewise.
9052         (PRINTF_EXPR): Likewise.
9053         (PRINTF_XEXPR): Likewise.
9054         (PRINTF_NEXPR): Likewise.
9055         (TEST_LDOUBLE): Likewise.
9056         (TEST_MATHVEC): Likewise.
9057         (__NO_MATH_INLINES): Likewise.
9058         * math/test-double-vlen2.h: Include test-double.h,
9059         test-math-no-inline.h and test-math-vector.h.
9060         (FLOAT): Remove macro.
9061         (FUNC): Likewise.
9062         (MATHCONST): Likewise.
9063         (PRINTF_EXPR): Likewise.
9064         (PRINTF_XEXPR): Likewise.
9065         (PRINTF_NEXPR): Likewise.
9066         (TEST_DOUBLE): Likewise.
9067         (TEST_MATHVEC): Likewise.
9068         (__NO_MATH_INLINES): Likewise.
9069         (CNCT): Likewise.
9070         (CONCAT): Likewise.
9071         (WRAPPER_NAME): Likewise.
9072         (WRAPPER_DECL): Likewise.
9073         (WRAPPER_DECL_ff): Likewise.
9074         (WRAPPER_DECL_fFF): Likewise.
9075         (VECTOR_WRAPPER): Likewise.
9076         (VECTOR_WRAPPER_ff): Likewise.
9077         (VECTOR_WRAPPER_fFF): Likewise.
9078         (VEC_LEN): New macro.
9079         * math/test-double-vlen4.h: Include test-double.h,
9080         test-math-no-inline.h and test-math-vector.h.
9081         (FLOAT): Remove macro.
9082         (FUNC): Likewise.
9083         (MATHCONST): Likewise.
9084         (PRINTF_EXPR): Likewise.
9085         (PRINTF_XEXPR): Likewise.
9086         (PRINTF_NEXPR): Likewise.
9087         (TEST_DOUBLE): Likewise.
9088         (TEST_MATHVEC): Likewise.
9089         (__NO_MATH_INLINES): Likewise.
9090         (CNCT): Likewise.
9091         (CONCAT): Likewise.
9092         (WRAPPER_NAME): Likewise.
9093         (WRAPPER_DECL): Likewise.
9094         (WRAPPER_DECL_ff): Likewise.
9095         (WRAPPER_DECL_fFF): Likewise.
9096         (VECTOR_WRAPPER): Likewise.
9097         (VECTOR_WRAPPER_ff): Likewise.
9098         (VECTOR_WRAPPER_fFF): Likewise.
9099         (VEC_LEN): New macro.
9100         * math/test-double-vlen8.h: Include test-double.h,
9101         test-math-no-inline.h and test-math-vector.h.
9102         (FLOAT): Remove macro.
9103         (FUNC): Likewise.
9104         (MATHCONST): Likewise.
9105         (PRINTF_EXPR): Likewise.
9106         (PRINTF_XEXPR): Likewise.
9107         (PRINTF_NEXPR): Likewise.
9108         (TEST_DOUBLE): Likewise.
9109         (TEST_MATHVEC): Likewise.
9110         (__NO_MATH_INLINES): Likewise.
9111         (CNCT): Likewise.
9112         (CONCAT): Likewise.
9113         (WRAPPER_NAME): Likewise.
9114         (WRAPPER_DECL): Likewise.
9115         (WRAPPER_DECL_ff): Likewise.
9116         (WRAPPER_DECL_fFF): Likewise.
9117         (VECTOR_WRAPPER): Likewise.
9118         (VECTOR_WRAPPER_ff): Likewise.
9119         (VECTOR_WRAPPER_fFF): Likewise.
9120         (VEC_LEN): New macro.
9121         * math/test-float-vlen4.h: Include test-float.h,
9122         test-math-no-inline.h and test-math-vector.h.
9123         (FLOAT): Remove macro.
9124         (FUNC): Likewise.
9125         (MATHCONST): Likewise.
9126         (PRINTF_EXPR): Likewise.
9127         (PRINTF_XEXPR): Likewise.
9128         (PRINTF_NEXPR): Likewise.
9129         (TEST_FLOAT): Likewise.
9130         (TEST_MATHVEC): Likewise.
9131         (__NO_MATH_INLINES): Likewise.
9132         (CNCT): Likewise.
9133         (CONCAT): Likewise.
9134         (WRAPPER_NAME): Likewise.
9135         (WRAPPER_DECL): Likewise.
9136         (WRAPPER_DECL_ff): Likewise.
9137         (WRAPPER_DECL_fFF): Likewise.
9138         (VECTOR_WRAPPER): Likewise.
9139         (VECTOR_WRAPPER_ff): Likewise.
9140         (VECTOR_WRAPPER_fFF): Likewise.
9141         (VEC_LEN): New macro.
9142         * math/test-float-vlen8.h: Include test-float.h,
9143         test-math-no-inline.h and test-math-vector.h.
9144         (FLOAT): Remove macro.
9145         (FUNC): Likewise.
9146         (MATHCONST): Likewise.
9147         (PRINTF_EXPR): Likewise.
9148         (PRINTF_XEXPR): Likewise.
9149         (PRINTF_NEXPR): Likewise.
9150         (TEST_FLOAT): Likewise.
9151         (TEST_MATHVEC): Likewise.
9152         (__NO_MATH_INLINES): Likewise.
9153         (CNCT): Likewise.
9154         (CONCAT): Likewise.
9155         (WRAPPER_NAME): Likewise.
9156         (WRAPPER_DECL): Likewise.
9157         (WRAPPER_DECL_ff): Likewise.
9158         (WRAPPER_DECL_fFF): Likewise.
9159         (VECTOR_WRAPPER): Likewise.
9160         (VECTOR_WRAPPER_ff): Likewise.
9161         (VECTOR_WRAPPER_fFF): Likewise.
9162         (VEC_LEN): New macro.
9163         * math/test-float-vlen16.h: Include test-float.h,
9164         test-math-no-inline.h and test-math-vector.h.
9165         (FLOAT): Remove macro.
9166         (FUNC): Likewise.
9167         (MATHCONST): Likewise.
9168         (PRINTF_EXPR): Likewise.
9169         (PRINTF_XEXPR): Likewise.
9170         (PRINTF_NEXPR): Likewise.
9171         (TEST_FLOAT): Likewise.
9172         (TEST_MATHVEC): Likewise.
9173         (__NO_MATH_INLINES): Likewise.
9174         (CNCT): Likewise.
9175         (CONCAT): Likewise.
9176         (WRAPPER_NAME): Likewise.
9177         (WRAPPER_DECL): Likewise.
9178         (WRAPPER_DECL_ff): Likewise.
9179         (WRAPPER_DECL_fFF): Likewise.
9180         (VECTOR_WRAPPER): Likewise.
9181         (VECTOR_WRAPPER_ff): Likewise.
9182         (VECTOR_WRAPPER_fFF): Likewise.
9183         (VEC_LEN): New macro.
9184         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9185         test-vec-loop.h.
9186         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9188         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9189         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9190         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9191         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9194 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9196         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9197         (__getlogin_r): ... this.
9199 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9201         [BZ #18594]
9202         * math/s_ccosh.c (__ccosh): Compare with least normal value
9203         instead of comparing class with FP_SUBNORMAL.
9204         * math/s_ccoshf.c (__ccoshf): Likewise.
9205         * math/s_ccoshl.c (__ccoshl): Likewise.
9206         * math/s_cexp.c (__cexp): Likewise.
9207         * math/s_cexpf.c (__cexpf): Likewise.
9208         * math/s_cexpl.c (__cexpl): Likewise.
9209         * math/s_csin.c (__csin): Likewise.
9210         * math/s_csinf.c (__csinf): Likewise.
9211         * math/s_csinh.c (__csinh): Likewise.
9212         * math/s_csinhf.c (__csinhf): Likewise.
9213         * math/s_csinhl.c (__csinhl): Likewise.
9214         * math/s_csinl.c (__csinl): Likewise.
9215         * math/s_ctan.c (__ctan): Likewise.
9216         * math/s_ctanf.c (__ctanf): Likewise.
9217         * math/s_ctanh.c (__ctanh): Likewise.
9218         * math/s_ctanhf.c (__ctanhf): Likewise.
9219         * math/s_ctanhl.c (__ctanhl): Likewise.
9220         * math/s_ctanl.c (__ctanl): Likewise.
9221         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9222         csin, csinh, ctan and ctanh.
9223         * math/auto-libm-test-out: Regenerated.
9224         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9225         * sysdeps/i386/fpu/libm-test-ulps: Update.
9226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9228 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9230         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9231         return value is wrong, print the expected value too.
9233 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9235         [BZ #18585]
9236         * elf/readlib.c (is_gdb_python_file): New.
9237         (process_file): Don't issue errors on filenames with -gdb.py
9238         suffix.
9240 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9242         * math/auto-libm-test-in: Add more tests of csin and csinh.
9243         * math/auto-libm-test-out: Regenerated.
9244         * math/libm-test.inc (csin_test_data): Remove tests moved to
9245         auto-libm-test-in.
9246         (csinh_test_data): Likewise.
9248         [BZ #18593]
9249         * math/s_csin.c (__csin): Negate before rather than after possibly
9250         overflowing multiplication.
9251         * math/s_csinf.c (__csinf): Likewise.
9252         * math/s_csinh.c (__csinh): Likewise.
9253         * math/s_csinhf.c (__csinhf): Likewise.
9254         * math/s_csinhl.c (__csinhl): Likewise.
9255         * math/s_csinl.c (__csinl): Likewise.
9256         * math/auto-libm-test-in: Add some tests of csin and csinh.
9257         * math/auto-libm-test-out: Regenerated.
9258         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9259         (csinh_test_data): Likewise.
9260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9262         [BZ #18586]
9263         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9264         underflow exception for small results.
9266 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9269         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9270         variable and included header.
9271         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9273         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9279         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9280         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9281         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9282         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9283         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9284         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9285         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9286         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9288 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9290         [BZ #16526]
9291         [BZ #16538]
9292         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9293         (__sin): Force underflow exception for arguments with small
9294         absolute value.
9295         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9296         (__kernel_sinf): Force underflow exception for arguments with
9297         small absolute value.
9298         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9299         (__kernel_sincosl): Force underflow exception for arguments with
9300         small absolute value.
9301         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9302         (__kernel_sinl): Force underflow exception for arguments with
9303         small absolute value.
9304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9305         (__kernel_sincosl): Force underflow exception for arguments with
9306         small absolute value.
9307         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9308         (__kernel_sinl): Force underflow exception for arguments with
9309         small absolute value.
9310         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9311         (__kernel_sinl): Force underflow exception for arguments with
9312         small absolute value.
9313         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9314         (__kernel_sinf): Force underflow exception for arguments with
9315         small absolute value.
9316         * math/auto-libm-test-in: Add more tests of sin and sincos.
9317         * math/auto-libm-test-out: Regenerated.
9319         [BZ #18245]
9320         [BZ #18583]
9321         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9322         (__kernel_standard_l): Use feholdexcept and fesetenv around
9323         conversion to double instead of special-casing overflow and
9324         underflow.
9325         * math/libm-test.inc (fmod_test_data): Add more tests.
9326         (remainder_test_data): Likewise.
9327         (sqrt_test_data): Likewise.
9329 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9331         [BZ #17403]
9332         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9333         atomic_read_barrier, atomic_write_barrier): Define.
9334         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9335         atomic_read_barrier, atomic_write_barrier): Define.
9337 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9339         * math/Makefile [$(PERL) != no]
9340         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9341         dependency on libm-test.stmp below the inclusion of Rules.
9343 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9345         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9346         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9347         and included header.
9348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9356         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9357         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9358         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9359         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9360         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9361         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9362         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9363         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9364         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9365         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9366         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9368 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9370         [BZ #18371]
9371         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9372         intermediate but not final result might underflow.
9373         * math/s_csqrtf.c (__csqrtf): Likewise.
9374         * math/s_csqrtl.c (__csqrtl): Likewise.
9375         * math/auto-libm-test-in: Add more tests of csqrt.
9376         * math/auto-libm-test-out: Regenerated.
9377         * sysdeps/i386/fpu/libm-test-ulps: Update.
9379         [BZ #18219]
9380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9381         threshold on absolute value of exponent for which scaling is used.
9382         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9383         * math/auto-libm-test-in: Add more tests of exp2.
9384         * math/auto-libm-test-out: Regenerated.
9386 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9388         [BZ #17977]
9389         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9390         when initializing interface list, based on the bug analysis
9391         and the patch proposed by Eric Newton.
9392         * resolv/tst-res_hconf_reorder.c: New test.
9393         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9394         tst-res_hconf_reorder.
9395         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9396         and $(shared-thread-library).
9397         (tst-res_hconf_reorder-ENV): New variable.
9399         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9400         in comment.
9402 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9404         [BZ #16353]
9405         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9406         (__expm1): Force underflow exception for arguments with small
9407         absolute value.
9408         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9409         (__expm1f): Force underflow exception for arguments with small
9410         absolute value.
9411         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9412         (__expm1): Force underflow exception for arguments with small
9413         absolute value.
9414         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9415         (__expm1f): Force underflow exception for arguments with small
9416         absolute value.
9417         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9418         Check for small arguments before calling __expm1.
9419         * math/auto-libm-test-in: Do not mark underflow exceptions as
9420         possibly missing for bug 16353.
9421         * math/auto-libm-test-out: Regenerated.
9423 2015-06-22  Andreas Schwab  <schwab@suse.de>
9425         [BZ #18513]
9426         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9427         PTR queries.
9429 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9431         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9433         * string/strcoll_l.c: Remove unused struct element idxnow.
9435 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9437         [BZ #18569]
9438         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9439         underflow and return argument in case of subnormal argument.
9440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9441         Likewise.
9442         * math/auto-libm-test-in: Add more tests of expm1.
9443         * math/auto-libm-test-out: Regenerated.
9445         [BZ #16361]
9446         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9447         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9448         tiny results.
9449         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9450         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9451         tiny results.
9452         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9453         mark underflow exceptions as possibly missing for bug 16361.
9454         * math/auto-libm-test-out: Regenerated.
9456 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9458         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9459         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9460         Remove variable.
9461         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9462         (test-xfail-XOPEN2K8/utmpx.h/conform).
9464         * conform/conformtest.pl ($xerrors): New variable.
9465         (note_error): New function.
9466         (compiletest): New argument $xfail.  Use not_error.
9467         (runtest): Likewise.
9468         (top level): Handle xfail- lines.  Update calls to compiletest and
9469         runtest.  Handle xfail- and optional- in headers listed with
9470         allow-header.
9471         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9472         (O_EXEC): Likewise.
9473         (O_SEARCH): Likewise.
9474         * conform/data/stropts.h-data (ioctl): Likewise.
9475         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9476         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9477         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9478         (msghdr.msg_controllen): Likewise.
9479         (cmsghdr.cmsg_len): Likewise.
9480         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9481         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9482         variable.
9483         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9484         (test-xfail-XPG4/stropts.h/conform): Likewise.
9485         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9486         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9487         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9488         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9489         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9490         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9491         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9492         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9493         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9494         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9495         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9496         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9497         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9498         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9499         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9500         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9501         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9502         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9503         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9505 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9507         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9508         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9509         definitions for proper unfolding of __MATHDECL_VEC.
9511 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9513         * benchtests/bench-strcoll.c:
9514         Include string.h.
9515         (main): Remove unused variable res.
9517 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9519         * timezone/Makefile (%/UTC %/Universal):
9520         Generate test-result files for UTC and Universal.
9522 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9524         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9526 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9528         [BZ #16350]
9529         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9530         for arguments with small absolute value.
9531         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9532         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9533         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9534         (__asinh): Force underflow exception for arguments with small
9535         absolute value.
9536         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9537         (__asinhf): Force underflow exception for arguments with small
9538         absolute value.
9539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9540         (__asinhl): Force underflow exception for arguments with small
9541         absolute value.
9542         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9543         (__asinhl): Force underflow exception for arguments with small
9544         absolute value.
9545         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9546         (__asinhl): Force underflow exception for arguments with small
9547         absolute value.
9548         * math/auto-libm-test-in: Do not mark underflow exceptions as
9549         possibly missing for bug 16350.
9550         * math/auto-libm-test-out: Regenerated.
9552         * include/bits/ipc.h: Remove file.
9553         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9554         variable.
9555         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9556         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9557         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9558         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9559         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9560         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9561         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9562         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9563         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9565         * math/auto-libm-test-in: Remove spurious underflow allowance for
9566         tests of cexp.
9567         * math/auto-libm-test-out: Regenerated.
9569         [BZ #18558]
9570         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9571         unconditional definition.
9572         (MCAST_BLOCK_SOURCE): Likewise.
9573         (MCAST_UNBLOCK_SOURCE): Likewise.
9574         (MCAST_LEAVE_GROUP): Likewise.
9575         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9576         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9577         (MCAST_MSFILTER): Likewise.
9578         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9579         Remove variable.
9580         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9581         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9582         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9583         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9584         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9586 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9588         * NEWS: Mention addition of x86_64 vector sincosf.
9589         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9590         * math/test-float-vlen4.h: Likewise.
9591         * math/test-float-vlen8.h: Likewise.
9592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9593         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9594         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9595         * sysdeps/x86_64/fpu/Versions: New versions added.
9596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9597         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9598         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9605         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9606         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9607         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9608         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9609         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9610         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9611         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9612         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9613         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9614         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9615         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9618         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9619         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9621         * NEWS: Mention addition of x86_64 vector sincos.
9622         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9623         * math/math.h (__MATHDECL_VEC): New macro.
9624         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9625         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9626         declaration under condition.
9627         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9628         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9629         TEST_VEC_LOOP change.
9630         * math/test-double-vlen4.h: Likewise.
9631         * math/test-double-vlen8.h: Likewise.
9632         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9633         * math/test-float-vlen4.h: Likewise.
9634         * math/test-float-vlen8.h: Likewise.
9635         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9636         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9637         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9638         * sysdeps/x86_64/fpu/Versions: New versions added.
9639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9641         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9642         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9647         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9648         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9649         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9650         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9651         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9652         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9653         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9654         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9655         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9656         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9657         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9659         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9660         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9661         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9662         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9664         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9665         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9666         redirections for powf.
9667         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9668         * sysdeps/x86_64/fpu/Versions: New versions added.
9669         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9670         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9671         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9672         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9673         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9678         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9679         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9680         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9681         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9682         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9683         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9684         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9686         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9687         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9688         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9691         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9692         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9693         * math/test-float-vlen16.h: Fixed 2 argument macro.
9694         * math/test-float-vlen4.h: Likewise.
9695         * math/test-float-vlen8.h: Likewise.
9696         * NEWS: Mention addition of x86_64 vector powf.
9698 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9700         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9701         and redefine.
9702         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9703         and redefine.
9704         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9705         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9708         [BZ #18553]
9709         * resource/getpriority.c (getpriority): Rename to __getpriority
9710         and define as weak alias of __getpriority.
9711         * resource/setpriority.c (setpriority): Rename to __setpriority
9712         and define as weak alias of __setpriority.
9713         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9714         __getpriority and define as weak alias of __getpriority.
9715         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9716         __setpriority and define as weak alias of __setpriority.
9717         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9718         strong name.
9719         (setpriority): Use __setpriority as strong name.
9720         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9721         __getpriority and define as weak alias of __getpriority.
9722         * include/sys/resource.h (__getpriority): Declare.  Use
9723         libc_hidden_proto.
9724         (__setpriority): Likewise.
9725         (getpriority): Don't use libc_hidden_proto.
9726         (setpriority): Likewise.
9727         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9728         getpriority.  Call __setpriority instead of setpriority.
9729         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9730         Remove variable.
9732         [BZ #18547]
9733         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9734         as weak alias of __getttynam.  Use prototype function definition.
9735         Call __setttyent, __getttyent and __endttyent instead of
9736         setttyent, getttyent and endttyent.
9737         (getttyent): Rename to __getttyent and define as weak alias of
9738         __getttyent.  Call __setttyent instead of setttyent.  Call
9739         __fgets_unlocked instead of fgets_unlocked.
9740         (setttyent): Rename to __setttyent and define as weak alias of
9741         __setttyent.
9742         (endttyent): Rename to __endttyent and define as weak alias of
9743         __endttyent.
9744         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9745         (__setttyent): Likewise.
9746         (__endttyent): Likewise.
9747         (getttyent): Don't use libc_hidden_proto.
9748         (setttyent): Likewise.
9749         (endttyent): Likewise.
9750         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9751         __endttyent instead of setttyent, getttyent and endttyent.
9752         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9753         Remove variable.
9755         [BZ #18546]
9756         * socket/recv.c (__recv): Use libc_hidden_def.
9757         * socket/socket.c (__socket): Likewise.
9758         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9759         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9760         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9761         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9762         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9763         libc_hidden_def.
9764         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9765         libc_hidden_weak.
9766         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9767         Use libc_hidden_proto.
9768         (__recv): Likewise.
9769         * socket/Versions (libc): Export __recv and __socket at version
9770         GLIBC_PRIVATE.
9771         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9772         instead of recv.
9773         (init_mq_netlink): Call __socket instead of socket.
9774         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9775         Remove variable.
9777         [BZ #18545]
9778         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9779         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9780         hidden_weak.
9781         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9782         define as alias of __mq_timedsend.  Use hidden_weak.
9783         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9784         __mq_timedsend as strong name.
9785         (mq_timedreceive): Use __mq_timedreceive as strong name.
9786         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9787         (__mq_timedreceive): Likewise.
9788         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9789         __mq_timedreceive instead of mq_timedreceive.
9790         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9791         instead of mq_timedsend.
9792         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9793         Remove variable.
9795         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9796         hidden_def and hidden_weak instead of libc_hidden_def and
9797         libc_hidden_weak.
9798         (top level): Refer to hidden_def in comment.
9799         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9800         macro.  Use it instead of libc_hidden_def.
9801         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9802         specify __GI_* name explicitly.
9803         (mq_timedreceive): Likewise.
9804         (mq_setattr): Likewise.
9806         [BZ #18544]
9807         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9808         __pthread_barrier_init and define as weak alias of
9809         __pthread_barrier_init.
9810         * sysdeps/sparc/nptl/pthread_barrier_init.c
9811         (pthread_barrier_init): Likewise.
9812         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9813         __pthread_barrier_wait and define as weak alias of
9814         __pthread_barrier_wait.
9815         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9816         (pthread_barrier_wait): Likewise.
9817         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9818         (pthread_barrier_wait): Likewise.
9819         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9820         (pthread_barrier_wait): Likewise.
9821         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9822         (pthread_barrier_wait): Likewise.
9823         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9824         __pthread_barrier_wait at version GLIBC_PRIVATE.
9825         * include/pthread.h (__pthread_barrier_init): Declare.
9826         (__pthread_barrier_wait): Likewise.
9827         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9828         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9829         (helper_thread): Likewise.
9830         (init_mq_netlink): Call __pthread_barrier_init instead of
9831         pthread_barrier_init.
9833         [BZ #18542]
9834         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9835         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9836         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9837         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9838         vswscanf.
9839         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9840         Remove variable.
9842         [BZ #18540]
9843         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9844         strong alias of _IO_fflush.  Use libc_hidden_def.
9845         * libio/iofflush_u.c (fflush_unlocked): Rename to
9846         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9847         Use libc_hidden_weak.
9848         * include/stdio.h (__fflush_unlocked): Declare.  Use
9849         libc_hidden_proto.
9850         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9851         fflush_unlocked.
9852         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9853         Remove variable.
9855         [BZ #18539]
9856         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9857         define as weak alias of __addseverity.
9858         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9859         Remove variable.
9860         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9861         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9862         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9864         [BZ #18536]
9865         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9866         (__tfind): Likewise.
9867         (__tdelete): Likewise.
9868         (__twalk): Likewise.
9869         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9870         __twalk to GLIBC_PRIVATE.
9871         * include/search.h (__tsearch): Use libc_hidden_proto.
9872         (__tfind): Likewise.
9873         (__tdelete): Likewise.
9874         (__twalk): Likewise.
9875         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9876         Call __tdelete instead of tdelete.
9877         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9878         tfind.  Call __tsearch instead of tsearch.
9879         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9880         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9881         Remove variable.
9882         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9884         [BZ #18534]
9885         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9886         (dprintf): Define as a weak alias of __dprintf, not a strong
9887         alias.
9888         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9889         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9890         dprintf.
9891         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9892         Remove variable.
9893         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9894         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9896         [BZ #18533]
9897         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9898         not a strong alias.
9899         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9900         Remove variable.
9902         [BZ #18532]
9903         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9904         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9905         (in6addr_loopback): Rename to __in6addr_loopback and define as
9906         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9907         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9908         libc_hidden_proto.
9909         (__in6addr_any): Likewise.
9910         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9911         in6addr_any.
9912         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9913         variable.
9914         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9916 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9918         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9919         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9920         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9921         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9922         redirections for pow.
9923         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9924         * sysdeps/x86_64/fpu/Versions: New versions added.
9925         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9926         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9927         build of SSE, AVX2 and AVX512 IFUNC versions.
9928         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9929         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9931         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9932         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9933         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9934         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9935         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9936         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9937         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9938         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9939         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9940         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9941         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9942         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9943         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9944         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9945         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9946         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9947         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9948         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9949         * NEWS: Mention addition of x86_64 vector pow.
9951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9953         redirections for expf.
9954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9955         * sysdeps/x86_64/fpu/Versions: New versions added.
9956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9958         build of SSE, AVX2 and AVX512 IFUNC versions.
9959         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9960         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9961         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9963         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9965         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9966         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9967         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9968         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9969         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9970         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9971         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9972         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9973         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9974         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9975         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9977         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9978         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9979         * NEWS: Mention addition of x86_64 vector expf.
9981         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9982         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9985         redirections for exp.
9986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9987         * sysdeps/x86_64/fpu/Versions: New versions added.
9988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9990         build of SSE, AVX2 and AVX512 IFUNC versions.
9991         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9992         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9997         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9998         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9999         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10000         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10001         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10002         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10003         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10004         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10005         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10007         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10008         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10009         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10010         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10011         * NEWS: Mention addition of x86_64 vector exp.
10013         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10014         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10015         redirections for logf.
10016         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10017         * sysdeps/x86_64/fpu/Versions: New versions added.
10018         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10019         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10020         build of SSE, AVX2 and AVX512 IFUNC versions.
10021         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10022         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10027         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10028         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10029         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10030         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10031         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10032         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10033         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10034         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10035         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10036         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10039         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10040         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10041         * NEWS: Mention addition of x86_64 vector logf.
10043         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10044         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10045         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10046         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10047         redirections for log.
10048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10049         * sysdeps/x86_64/fpu/Versions: New versions added.
10050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10052         build of SSE, AVX2 and AVX512 IFUNC versions.
10053         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10054         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10055         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10056         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10057         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10058         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10059         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10060         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10061         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10062         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10063         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10064         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10065         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10066         test.
10067         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10071         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10073         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10074         * NEWS: Mention addition of x86_64 vector log.
10076 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10078         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10079         cfi_adjust_cfa_offset argument.
10080         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10081         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10083         [BZ #18034]
10084         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10085         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10086         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10087         ordering using ldar.
10088         (_dl_tlsdesc_dynamic): Likewise.
10089         (_dl_tlsdesc_return_lazy): Likewise.
10090         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10091         relaxed atomics instead of volatile and synchronize with release store.
10092         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10093         volatile.
10094         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10096 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10098         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10099         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10100         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10101         * sysdeps/x86_64/fpu/Versions: New versions added.
10102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10103         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10104         build of SSE, AVX2 and AVX512 IFUNC versions.
10105         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10107         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10111         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10112         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10113         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10114         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10115         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10116         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10117         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10118         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10119         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10120         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10123         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10124         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10125         * NEWS: Mention addition of x86_64 vector sinf.
10127 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10129         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10130         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10131         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10132         Remove variable.
10133         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10134         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10136 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10138         [BZ #18530]
10139         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10140         strong alias of _IO_fputs.  Use libc_hidden_def.
10141         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10142         and define as weak alias of __fputs_unlocked.  Use
10143         libc_hidden_weak.
10144         * include/stdio.h (__fputs_unlocked): Declare.  Use
10145         libc_hidden_proto.
10146         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10147         fputs_unlocked.
10149         [BZ #18529]
10150         * resolv/netdb.h [__USE_POSIX]: Change condition to
10151         [__USE_XOPEN2K].
10152         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10153         not expect.
10154         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10155         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10156         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10157         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10158         [XPG4 || UNIX98] (AI_ALL): Likewise.
10159         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10160         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10161         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10162         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10163         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10164         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10165         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10166         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10167         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10168         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10169         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10170         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10171         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10172         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10173         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10174         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10175         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10176         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10177         [XPG4 || UNIX98] (gai_strerror): Likewise.
10178         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10179         [XPG4 || UNIX98] (getnameinfo): Likewise.
10181         [BZ #18528]
10182         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10183         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10184         __USE_XOPEN2K8].
10185         (getgrent): Likewise.
10186         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10187         expect.
10188         [XPG3 || POSIX2008] (endgrent): Likewise.
10189         [XPG3] (setgrent): Likewise.
10190         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10191         variable.
10192         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10194         [BZ #18527]
10195         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10196         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10197         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10198         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10199         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10200         * include/unistd.h (__getlogin_r): Declare.  Use
10201         libc_hidden_proto.
10202         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10203         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10204         variable.
10205         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10206         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10207         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10209 2015-06-12  Martin Sebor  <msebor@redhat.com>
10211         [BZ #18512]
10212         * Makerules (check-install-supported): New target.
10213         (install): Add check-install-supported as a dependency.
10214         * manual/install.texi (Installing the C Library): Document
10215         that overriding prefix and exec_prefix is not supported.
10216         Mention DESTDIR.
10217         * INSTALL: Regenerate from the above.
10219 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10221         [BZ #18519]
10222         * posix/Versions (libc): Export __libc_pread at version
10223         GLIBC_PRIVATE.
10224         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10225         instead of pread.
10226         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10227         variable.
10229         [BZ #18522]
10230         * misc/efgcvt_r.c
10231         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10232         (cvt_symbol): Use weak_alias instead of strong_alias.
10233         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10234         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10235         Remove variable.
10236         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10237         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10239         [BZ #18520]
10240         * inet/herrno.c (h_errno): Rename to __h_errno.
10241         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10242         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10243         to __h_errno instead of h_errno.
10244         * nptl/herrno.c (h_errno): Rename to __h_errno.
10245         (__h_errno_location): Refer to __h_errno not h_errno.
10246         * resolv/Versions (h_errno): Rename to __h_errno.
10247         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10248         Remove variable.
10249         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10251 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10253         * configure.ac: More strict check for AVX512 assembler support.
10254         * configure: Regenerated.
10256         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10257         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10259         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10261         * sysdeps/x86_64/fpu/Versions: New versions added.
10262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10264         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10265         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10269         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10271         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10272         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10273         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10274         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10275         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10276         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10277         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10278         test.
10279         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10280         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10282         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10283         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10284         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10285         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10286         * NEWS: Mention addition of x86_64 vector sin.
10288 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10290         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10291         comment.
10293 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10295         [BZ #18479]
10296         * nptl/pt-interp.c: New file.
10297         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10298         Add pt-interp.
10299         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10300         $(common-objpfx)runtime-linker.h.
10302 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10304         * Makeconfig (+interp): Remove unused variable.
10305         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10306         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10307         $(elf-objpfx)runtime-linker.h.
10308         ($(elf-objpfx)runtime-linker.h): Rename to
10309         $(common-objpfx)runtime-linker.h and move ...
10310         * Makerules [$(build-shared) = yes]: ... here.
10311         * elf/interp.c: Include <runtime-linker.h> instead of
10312         <elf/runtime-linker.h>.
10314 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10316         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10317         (__gettimeofday_syscall): Remove vsyscall fallback.
10318         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10319         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10320         Add syscall fallback function.
10321         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10322         if vDSO is not present.
10323         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10324         fallback function.
10325         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10326         present.
10327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10328         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10330 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10332         [BZ #18497]
10333         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10334         of wcscmp.
10335         (wcscmp): Define as weak alias of WCSCMP.
10336         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10337         wcscoll.
10338         (USE_HIDDEN_DEF): Define.
10339         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10340         __wcscoll.  Don't use libc_hidden_weak.
10341         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10342         wcscmp.
10343         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10344         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10345         __GI_wcscmp.
10346         (weak_alias): Undefine and redefine.
10347         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10348         __wcscmp and define as weak alias of __wcscmp.
10349         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10350         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10351         (__wcscoll): Likewise.
10352         (wcscmp): Don't use libc_hidden_proto.
10353         (wcscoll): Likewise.
10354         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10355         wcscoll.
10356         * posix/regexec.c (check_node_accept_bytes): Likewise.
10357         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10358         variable.
10359         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10360         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10362         [BZ #18507]
10363         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10364         __fstatvfs and define as weak alias of __fstatvfs.  Use
10365         libc_hidden_weak.
10366         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10367         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10368         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10369         Define as alias of __fstatvfs, not fstatvfs.
10370         (fstatvfs64): Likewise.
10371         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10372         Define as alias of __statvfs, not statvfs.
10373         (statvfs64): Likewise.
10374         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10375         Remove variable.
10377 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10380         (HAVE_GETCPU_VSYSCALL): Define.
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10382         (HAVE_GETCPU_VSYSCALL): Likewise.
10383         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10384         * sysdeps/unix/sysv/linux/sched_getcpu.c
10385         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10386         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10387         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10388         prototype.
10389         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10390         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10391         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10393         Define.
10394         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10395         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10396         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10397         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10399 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10401         * sysdeps/x86_64/fpu/Makefile: New file.
10402         * sysdeps/x86_64/fpu/Versions: New file.
10403         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10404         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10405         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10406         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10407         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10408         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10409         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10410         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10412         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10416         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10417         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10419         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10420         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10421         * sysdeps/x86_64/configure: Regenerated.
10422         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10423         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10424         * manual/install.texi (Configuring and compiling): Document
10425         --disable-mathvec.
10426         * INSTALL: Regenerated.
10427         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10429         * math/Makefile: Added rules for vector tests.
10430         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10431         declaration under condition.
10432         * math/test-double-vlen2.h: New file.
10433         * math/test-double-vlen4.h: New file.
10434         * math/test-double-vlen8.h: New file.
10435         * math/test-vec-loop.h: Added initialization macro.
10436         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10438         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10439         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10440         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10443         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10444         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10445         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10446         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10448         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10449         * sysdeps/x86_64/fpu/Versions: New versions added.
10450         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10453         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10454         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10455         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10457         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10458         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10460         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10461         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10462         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10463         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10464         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10465         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10466         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10467         * NEWS: Mention addition of x86_64 vector cosf.
10469         * math/Makefile: Added CFLAGS for new tests.
10470         * math/test-float-vlen16.h: New file.
10471         * math/test-float-vlen4.h: New file.
10472         * math/test-float-vlen8.h: New file.
10473         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10474         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10476         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10477         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10478         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10479         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10480         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10481         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10482         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10483         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10485 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10487         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10488         * locale/programs/ld-ctype.c: Likewise.
10490 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10492         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10493         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10494         bit_ZMM16_31_state): New macro.
10495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10496         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10498 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10500         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10502 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10504         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10506 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #18498]
10509         * libio/memstream.c (open_memstream): Rename to __open_memstream
10510         and define as weak alias of __open_memstream.
10511         * include/stdio.h (__open_memstream): Declare.  Use
10512         libc_hidden_proto.
10513         (open_memstream): Don't use libc_hidden_proto.
10514         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10515         open_memstream.
10516         * posix/getopt.c (_getopt_internal_r): Likewise.
10517         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10518         variable.
10519         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10520         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10521         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10523         [BZ #18496]
10524         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10525         instead of wcrtomb.
10527         [BZ #18483]
10528         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10529         [__USE_XOPEN2K8].  Remove redundant #endif.
10530         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10531         Remove redundant #if.
10532         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10533         Remove variable.
10534         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10535         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10537         [BZ #18495]
10538         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10539         (__iswlower): Likewise.
10540         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10541         (__iswlower): Likewise.
10542         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10543         instead of towlower.
10544         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10545         instead of iswlower.  Call __towupper instead of towupper.
10546         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10547         instead of iswalnum.
10549 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10551         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10552         errors to stderr.
10554 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10556         [BZ #15661]
10557         [BZ #17322]
10558         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10559         Check for overflow properly.  Check for O_APPEND.  Ignore large
10560         file system block sizes.  Add comments about problems.
10561         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10562         * manual/filesys.texi (Storage Allocation): New node.
10564 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10566         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10567         cancellable syscalls.
10568         (SYS_ify): Add guard to no redefine it.
10569         (INLINE_SYSCALL): Likewise.
10570         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10571         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10572         SYSCALL_CANCEL instead.
10573         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10574         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10575         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10576         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10577         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10578         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10579         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10580         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10581         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10582         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10583         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10584         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10585         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10586         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10587         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10589         Likewise.
10590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10591         (__libc_pread64): Likewise.
10592         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10593         (__libc_preadv): Likewise.
10594         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10595         (__libc_readv64): Likewise.
10596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10597         (__libc_pwrite): Likewise.
10598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10599         (__libc_pwrite64): Likewise.
10600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10601         (__libc_pwritev): Likewise.
10602         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10603         (__libc_pwritev64): Likewise.
10604         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10605         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10606         (sync_file_range): Likewise.
10607         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10608         Likewise.
10609         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10610         Likewise.
10611         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10612         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10613         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10614         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10615         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10616         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10617         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10618         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10622         (__libc_read64): Likewise.
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10624         Likewise.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10628         Likewise.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10630         Likewise.
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10632         (__libc_pread64): Likewise.
10633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10634         Likewise.
10635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10636         (__libc_pwrite64): Likewise.
10637         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10638         (sync_file_range): Likewise.
10639         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10640         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10641         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10642         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10643         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10644         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10645         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10646         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10647         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10648         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10649         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10650         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10651         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10652         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10653         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10654         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10655         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10656         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10657         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10658         Likewise.
10659         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10660         Likewise.
10661         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10662         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10663         Likewise.
10664         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10665         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10666         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10667         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10668         Likewise.
10669         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10670         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10671         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10672         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10673         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10675 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10677         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10678         Include dl-vdso.
10679         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10680         Use VDSO routines for gettimeofday, clock_gettime if
10681         available.
10682         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10683         Declare VDSO symbols.
10684         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10685         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10686         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10687         * sysdeps/unix/sysv/linux/arm/Versions: Add
10688         __vdso_clock_gettime.
10690 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10692         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10693         be an inline implementation regardless of library is built within.
10694         (open_not_cancel_2): Likewise.
10695         (__read_nocancel): Likewise.
10696         (__write_nocancel): Likewise.
10697         (openat_not_cancel): Likewise.
10698         (openat_not_cancel_3): Likewise.
10699         (openat64_not_cancel): Likewise.
10700         (openat64_not_cancel_3): Likewise.
10701         (__close_nocancel): Likewise.
10702         (pause_not_cancel): Likewise.
10703         (nanosleep_not_cancel): Likewise.
10704         (sigsuspend_not_cancel): Likewise.
10706 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10708         [BZ #14958]
10709         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10710         wake-up.
10711         (__pthread_rwlock_rdlock_slow): Likewise.
10712         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10713         Likewise.
10714         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10715         Likewise.
10716         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10717         * nptl/tst-rwlock16.c: New file.
10718         * nptl/Makefile (tests): Add new test.
10720 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10722         [BZ #18324]
10723         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10724         missing wake-up of readers.
10725         * nptl/tst-rwlock15.c: New file.
10726         * nptl/Makefile (tests): Add new test.
10728 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10730         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10731         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10732         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10733         and __nacl_supply_interface_rtld.
10734         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10735         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10736         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10737         Add __nacl_supply_interface_rtld.
10738         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10740 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10742         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10743         isfinite.
10744         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10745         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10747 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10749         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10750         __signbit* with standard C99 macros.
10751         * math/e_exp10l.c: Likewise.
10752         * math/e_exp2l.c: Likewise.
10753         * math/e_scalb.c: Likewise.
10754         * math/e_scalbf.c: Likewise.
10755         * math/e_scalbl.c: Likewise.
10756         * math/s_ldexp.c: Likewise.
10757         * math/s_ldexpf.c: Likewise.
10758         * math/s_ldexpl.c: Likewise.
10759         * math/w_atan2.c: Likewise.
10760         * math/w_atan2f.c: Likewise.
10761         * math/w_atan2l.c: Likewise.
10762         * math/w_cosh.c: Likewise.
10763         * math/w_coshf.c: Likewise.
10764         * math/w_coshl.c: Likewise.
10765         * math/w_exp10.c: Likewise.
10766         * math/w_exp10f.c: Likewise.
10767         * math/w_exp10l.c: Likewise.
10768         * math/w_exp2.c: Likewise.
10769         * math/w_exp2f.c: Likewise.
10770         * math/w_exp2l.c: Likewise.
10771         * math/w_fmod.c: Likewise.
10772         * math/w_fmodf.c: Likewise.
10773         * math/w_fmodl.c: Likewise.
10774         * math/w_hypot.c: Likewise.
10775         * math/w_hypotf.c: Likewise.
10776         * math/w_hypotl.c: Likewise.
10777         * math/w_jnl.c: Likewise.
10778         * math/w_lgamma.c: Likewise.
10779         * math/w_lgamma_r.c: Likewise.
10780         * math/w_lgammaf.c: Likewise.
10781         * math/w_lgammaf_r.c: Likewise.
10782         * math/w_lgammal.c: Likewise.
10783         * math/w_lgammal_r.c: Likewise.
10784         * math/w_pow.c: Likewise.
10785         * math/w_powf.c: Likewise.
10786         * math/w_powl.c: Likewise.
10787         * math/w_remainder.c: Likewise.
10788         * math/w_remainderf.c: Likewise.
10789         * math/w_remainderl.c: Likewise.
10790         * math/w_scalb.c: Likewise.
10791         * math/w_scalbf.c: Likewise.
10792         * math/w_scalbl.c: Likewise.
10793         * math/w_scalbln.c: Likewise.
10794         * math/w_scalblnf.c: Likewise.
10795         * math/w_scalblnl.c: Likewise.
10796         * math/w_sinh.c: Likewise.
10797         * math/w_sinhf.c: Likewise.
10798         * math/w_sinhl.c: Likewise.
10799         * math/w_tgamma.c: Likewise.
10800         * math/w_tgammaf.c: Likewise.
10801         * math/w_tgammal.c: Likewise.
10802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10803         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10804         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10805         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10806         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10808         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10809         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10810         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10811         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10812         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10813         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10814         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10819         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10820         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10822         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10823         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10826         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10827         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10828         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10829         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10830         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10831         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10832         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10833         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10834         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10835         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10836         * stdio-common/printf_fp.c: Likewise.
10837         * stdio-common/printf_fphex.c: Likewise.
10838         * stdio-common/printf_size.c: Likewise.
10840 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10842         [BZ #18470]
10843         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10844         strnlen.
10845         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10846         Remove variable.
10847         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10848         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10849         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10850         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10851         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10852         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10853         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10854         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10855         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10856         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10858         [BZ #18468]
10859         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10860         weak alias of __wmemchr.  Use libc_hidden_weak.
10861         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10862         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10863         instead of wmemchr.
10865 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10867         [BZ #18383]
10868         * elf/tst-tlsalign-extern.c: New file.
10869         * elf/tst-tlsalign-extern-static.c: New file.
10870         * elf/tst-tlsalign-vars.c: New file.
10871         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10872         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10873         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10874         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10875         (test-xfail-tst-tlsalign-extern-static): New variable.
10877 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10879         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10880         Use variable name _sc_err instead of err.
10881         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10882         instead of ret.
10883         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10884         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10885         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10886         (INLINE_SYSCALL): Likewise.
10888         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10889         * include/string.h (__strnlen): Use libc_hidden_proto.
10890         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10891         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10892         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10893         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10894         (libc_hidden_def): Undefine and redefine.
10895         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10896         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10897         __GI_strnlen.
10898         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10899         libc_hidden_def.
10900         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10902         [BZ #18469]
10903         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10904         weak alias of __towlower.  Use libc_hidden_weak.
10905         (towupper): Rename to __towupper and define as weak alias of
10906         __towupper.  Use libc_hidden_weak.
10907         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10908         (__towupper): Likewise.
10909         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10910         __towlower instead of towlower.
10912 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10914         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10915         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10917 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10919         * sysdeps/aarch64/libm-test-ulps: Update.
10921 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10923         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10924         Define.
10925         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10926         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10927         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10928         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10929         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10930         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10931         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10933 2015-06-01  Martin Sebor  <msebor@redhat.com>
10935         [BZ #18116]
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10937         (__setcontext): Use extended four-operand version of mtsf whenever
10938         possible.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10940         (__novec_swapcontext): Likewise.
10942 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10944         * benchtests/scripts/compare_bench.py: New file.
10945         * benchtests/scripts/import_bench.py (mean): New function.
10946         (split_list): Likewise.
10947         (do_for_all_timings): Likewise.
10948         (compress_timings): Likewise.
10950         * benchtests/scripts/import_bench.py: New file.
10951         * benchtests/scripts/validate_benchout.py: Import import_bench
10952         instead of jsonschema.
10953         (validate_bench): Remove function.
10954         (main): Use import_bench.
10956 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10958         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10959         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10961 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10965 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10967         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10968         set THREAD_SELF->tid to a magic value and futex-wake it.
10969         Pass its address to the thread_exit system call.
10970         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10971         bit is clear.
10972         * sysdeps/nacl/lowlevellock.h: New file.
10973         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10975         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10976         Add TIMEOUT to current time, don't subtract it.
10978 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10980         [BZ #2981]
10981         [BZ #18422]
10982         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10983         ($(objpfx)tst-audit2.out): Also depend on
10984         $(objpfx)tst-auditmod9b.so.
10985         * elf/tst-audit2.c: Include <dlfcn.h>.
10986         (calloc_called): New.
10987         (calloc): Allow to be called more than once.
10988         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10990 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10992         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10993         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10995 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10997         * stdlib/monetary.h: Fix comment.
10999 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11001         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11002         Avoid using variables in #defines that might cause shadowing.
11003         (INTERNAL_VSYSCALL_CALL): Likewise.
11005 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11007         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11009         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11010         * nptl/lll_timedlock_wait.c: ... to this new file.
11011         * nptl/Makefile (libpthread-routines): Add it.
11012         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11013         * nptl/lll_timedwait_tid.c: ... to this new file.
11014         * nptl/Makefile (libpthread-routines): Add it.
11015         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11016         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11017         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11018         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11019         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11020         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11021         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11022         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11023         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11024         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11026 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11028         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11029         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11030         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11031         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11032         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11034         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11035         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11036         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11037         * sysdeps/unix/sysv/linux/tile/sysdep.h
11038         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11039         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11040         using vDSO syscall macro.
11042 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11044         [BZ #17293]
11045         * uk_UA: Fix sorting order for Ukrainian locale
11047 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11049         * stdlib/monetary.h: Fix comment.
11051 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11053         [BZ #18234]
11054         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11055         st_mtim and st_ctim members.
11056         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11057         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11058         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11059         (struct stat64): Likewise.
11060         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11061         (struct stat64): Likewise.
11062         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11063         (struct stat64): Likewise.
11065 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11067         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11068         Define and include sysdep-vdso.h.
11069         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11074         Define with VDSO_SYMBOL and use PTR_MANGLE.
11075         (__vdso_clock_gettime): Likewise.
11076         (__vdso_clock_getres): Likewise.
11077         (_libc_vdso_platform_setup): Likewise.
11078         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11079         Likewise.
11080         (_libc_vdso_platform_setup): Likewise.
11081         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11082         Likewise.
11083         (__vdso_clock_gettime): Likewise.
11084         (__vdso_clock_getres): Likewise.
11085         (__vdso_get_tbfreq): Likewise.
11086         (__vdso_getcpu): Likewise.
11087         (__vdso_time): Likewise.
11088         (__vdso_sigtramp_rt64): Likewise.
11089         (__vdso_signtramp32): Likewise.
11090         (__vdso_sigtramp_rt32): Likewise.
11091         (_libc_vdso_platform_setup): Likewise.
11092         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11093         Likewise.
11094         (__vdso_clock_gettime): Likewise.
11095         (__vdso_clock_getres): Likewise.
11096         (_libc_vdso_platform_setup): Likewise.
11097         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11098         Likewise.
11099         (__vdso_clock_gettime): Likewise.
11100         (_libc_vdso_platform_setup): Likewise.
11101         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11102         Likewise.
11103         (__vdso_getcpu): Likewise.
11104         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11105         Use VDSO_SYMBOL macro to define.
11106         (__vdso_clock_gettime): Likewise.
11107         (__vdso_clock_getres): Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11109         Likewise.
11110         (__vdso_clock_gettime): Likewise.
11111         (__vdso_clock_getres): Likewise.
11112         (__vdso_get_tbfreq): Likewise.
11113         (__vdso_getcpu): Likewise.
11114         (__vdso_time): Likewise.
11115         (__vdso_sigtramp_rt64): Likewise.
11116         (__vdso_signtramp32): Likewise.
11117         (__vdso_sigtramp_rt32): Likewise.
11118         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11119         Likewise.
11120         (__vdso_clock_gettime): Likewise.
11121         (__vdso_clock_getres): Likewise.
11122         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11123         Likewise.
11124         (__vdso_clock_gettime): Likewise.
11125         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11126         Likewise.
11127         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11128         macro.
11129         (INTERNAL_VSYSCALL): Likewise.
11130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11131         Remove macro.
11132         (INTERNAL_VSYSCALL): Likewise.
11133         (INTERNAL_VSYSCALL_NCS): Likewise.
11134         (INTERNAL_VSYSCALL_CALL): New macro.
11135         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11137         Likewise.
11138         (INTERNAL_VSYSCALL): Likewise.
11139         (INTERNAL_VSYSCALL_NCS): Likewise.
11140         (INTERNAL_VSYSCALL_CALL): New macro.
11141         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11143         (INLINE_VSYSCALL): Remove macro.
11144         (INTERNAL_VSYSCALL): Remove macro.
11145         (INTERNAL_VSYSCALL_NCS): Remove macro.
11146         (INTERNAL_VSYSCALL_CALL): New macro.
11147         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11148         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11149         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11150         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11151         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11153         (INLINE_VSYSCALL): Remove macro.
11154         (INTERNAL_VSYSCALL): Likewise.
11155         (INTERNAL_VSYSCALL_NCS): Likewise.
11156         (INTERNAL_VSYSCALL_CALL): New macro.
11157         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11158         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11159         PTR_DEMANGLE on vDSO pointer.
11160         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11161         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11162         macro.
11163         (INTERNAL_SYSCALL): Likewise.
11164         (INTERNAL_VSYSCALL_NCS): Remove macro.
11165         (INTERNAL_VSYSCALL_CALL): New macro.
11166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11167         Remove macro.
11168         (INTERNAL_VSYSCALL): Likewise.
11169         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11170         sysdep-vdso.h instead of libc-vdso.h.
11171         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11172         definition.
11173         (INLINE_VSYSCALL): Likewise.
11174         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11175         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11176         definition.
11177         (INLINE_VSYSCALL): Likewise.
11178         (INTERNAL_VSYSCALL): Likewise.
11179         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11180         * sysdeps/unix/sysv/linux/timespec_get.c
11181         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11182         (timespec_get): Use ANSI prototype.
11183         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11184         and definition for Linux.
11186 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11188         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11189         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11191 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11193         [BZ #2981]
11194         [BZ #18410]
11195         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11196         for missing DT_PLTRELSZ.
11198 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11200         Remove obsolete aliases that broke 'locale -a'
11201         [BZ #18412]
11202         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11203         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11204         breaking some applications that use 'locale -a' output.
11205         Change the encoding of this file from Latin-1 to ASCII to avoid
11206         other potential problems with people grepping this file.
11208 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11210         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11211         -fasynchronous-unwind-tables.
11212         (CFLAGS-sendto.c): Likewise.
11213         (CFLAGS-sendmsg.c): Likewise.
11214         (CFLAGS-connect.c): Likewise.
11215         (CFLAGS-recvmsg.c): Likewise.
11216         (CFLAGS-recvfrom.c): Likewise.
11217         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11218         (SOCKETCALL): New macro: non-cancellable socketcall.
11219         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11220         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11221         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11222         * sysdeps/unix/sysv/linux/accept.c: New file.
11223         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11224         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11225         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11226         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11227         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11228         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11229         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11230         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11231         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11232         * sysdeps/unix/sysv/linux/send.c: Likewise.
11233         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11234         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11235         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11236         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11237         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11238         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11239         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11240         prototype.
11241         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11242         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11243         instead of __internal_xxx function.
11244         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11245         prototype.
11246         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11247         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11248         instead of __internal_xxx function.
11249         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11250         prototype.
11251         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11252         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11253         instead of __internal_xxx function.
11254         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11255         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11256         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11257         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11258         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11259         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11260         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11261         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11262         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11263         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11264         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11265         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11266         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11267         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11268         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11269         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11270         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11271         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11272         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11273         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11276         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11277         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11278         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11279         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11280         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11281         * sysdeps/unix/sysv/linux/send.S: Likewise.
11282         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11283         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11284         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11285         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11286         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11287         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11288         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11289         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11290         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11291         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11292         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11293         socketcall is implemented in GLIBC.
11295 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11297         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11298         (__fma): Ignore uninitialized warnings around packing.
11299         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11300         (__fmaf): Ignore uninitialized warnings around packing.
11301         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11302         (__fmal): Ignore uninitialized warnings around packing.
11304         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11305         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11306         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11307         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11309         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11310         switch statement into default case.
11311         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11313         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11314         a conditional in forcing "inexact".
11315         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11316         Likewise.
11318 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11320         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11321         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11322         for each INTERNAL_SYSCALL use.
11324 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11326         [BZ #438]
11327         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11328         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11329         variable.
11331         [BZ #18444]
11332         * string/basename.c (basename): Rename to __basename and define as
11333         weak alias of __basename.  Use libc_hidden_weak.
11334         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11335         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11336         __basename instead of basename.
11337         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11338         Remove variable.
11339         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11341 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11343         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11344         (_IO_JUMPS_FILE_plus): New.
11345         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11346         _IO_CAST_FIELD_ACCESS.
11347         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11348         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11349         * libio/freopen.c (freopen): Likewise.
11350         * libio/freopen64.c (freopen64): Likewise.
11351         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11352         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11353         * libio/iofwide.c (_IO_fwide): Likewise.
11354         * libio/memstream.c (open_memstream): Likewise.
11355         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11356         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11357         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11359 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11361         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11362         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11363         NADJ.
11364         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11365         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11366         NADJ.
11367         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11368         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11369         NADJ.
11371         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11372         (p == 4) case.
11374         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11375         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11376         Remove variable.
11377         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11378         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11379         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11381 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11383         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11384         Adjust jump table label generation macros.
11386 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11388         * stdio-common/vfprintf.c (vfprintf): Move local variables
11389         args_malloced, specs, specs_malloced, and the code after
11390         do_positional to the printf_positional function.
11391         (printf_positional): New function.
11393 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11395         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11396         function.
11397         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11398         STEP4_TABLE, process_arg): Move macro definitions
11399         out of the vfprintf function.  (Cosmetic change only.)
11401 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11403         * benchtests/Makefile (stdio-common-bench): Define.
11404         (benchset): Add stdio-common-bench.
11405         * sprintf-inputs: New file.
11406         * sprintf-source.c: New file.
11408 2015-05-21  Andreas Schwab  <schwab@suse.de>
11410         [BZ #13028]
11411         [BZ #17053]
11412         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11413         of struct __res_state.
11414         * resolv/res_send.c (__libc_res_nsend): Likewise.
11415         (get_nsaddr): New function.
11416         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11417         statp directly.
11419 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11421         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11422         -D_POSIX_C_SOURCE=199506L.
11424         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11426         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11427         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11428         Do not mention otherwise.
11429         [POSIX] (_XOPEN_VERSION): Do not expect.
11430         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11431         [POSIX] (_POSIX2_C_BIND): Likewise.
11432         [POSIX] (_POSIX2_VERSION): Likewise.
11433         [POSIX] (_XOPEN_XPG2): Likewise.
11434         [POSIX] (_XOPEN_XPG3): Likewise.
11435         [POSIX] (_XOPEN_XPG4): Likewise.
11436         [POSIX] (_XOPEN_UNIX): Likewise.
11437         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11438         [POSIX] (_POSIX_BARRIERS): Likewise.
11439         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11440         [POSIX] (_POSIX_CPUTIME): Likewise.
11441         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11442         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11443         [POSIX] (_POSIX_SHELL): Likewise.
11444         [POSIX] (_POSIX_SPAWN): Likewise.
11445         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11446         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11447         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11448         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11449         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11450         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11451         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11452         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11453         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11454         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11455         [POSIX] (_POSIX2_PBS): Likewise.
11456         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11457         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11458         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11459         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11460         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11461         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11462         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11463         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11464         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11465         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11466         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11467         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11468         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11469         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11470         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11471         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11472         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11473         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11474         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11475         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11476         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11477         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11478         [POSIX] (_SC_2_C_BIND): Likewise.
11479         [POSIX] (_SC_2_C_VERSION): Likewise.
11480         [POSIX] (_SC_2_PBS): Likewise.
11481         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11482         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11483         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11484         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11485         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11486         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11487         [POSIX] (_SC_BARRIERS): Likewise.
11488         [POSIX] (_SC_BASE): Likewise.
11489         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11490         [POSIX] (_SC_DEVICE_IO): Likewise.
11491         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11492         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11493         [POSIX] (_SC_FD_MGMT): Likewise.
11494         [POSIX] (_SC_FIFO): Likewise.
11495         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11496         [POSIX] (_SC_FILE_LOCKING): Likewise.
11497         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11498         [POSIX] (_SC_IOV_MAX): Likewise.
11499         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11500         [POSIX] (_SC_NETWORKING): Likewise.
11501         [POSIX] (_SC_PAGE_SIZE): Likewise.
11502         [POSIX] (_SC_PASS_MAX): Likewise.
11503         [POSIX] (_SC_PIPE): Likewise.
11504         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11505         [POSIX] (_SC_REGEXP): Likewise.
11506         [POSIX] (_SC_SHELL): Likewise.
11507         [POSIX] (_SC_SIGNALS): Likewise.
11508         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11509         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11510         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11511         [POSIX] (_SC_USER_GROUPS): Likewise.
11512         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11513         [POSIX] (_SC_STREAMS): Likewise.
11514         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11515         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11516         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11517         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11518         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11519         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11520         [POSIX] (_PC_FILESIZEBITS): Likewise.
11521         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11522         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11523         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11524         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11525         [POSIX] (uid_t): Likewise.
11526         [POSIX] (gid_t): Likewise.
11527         [POSIX] (off_t): Likewise.
11528         [POSIX] (pid_t): Likewise.
11529         [POSIX] (cuserid): Allow.
11530         (_SC_2_CHAR_TERM): Require constant.
11531         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11532         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11533         variable.
11535 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11537         * sysdeps/nacl/pthread-pids.h: New file.
11538         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11539         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11541         * nptl/pthread-pids.h: New file.
11542         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11543         * nptl/nptl-init.c: Include <pthread-pids.h>.
11544         (__pthread_initialize_minimal_internal):
11545         Call __pthread_initialize_pids instead of set_tid_address syscall.
11547         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11548         * sysdeps/posix/usleep.c: ... here.
11550 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11552         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11553         call_pselect6 object.
11554         [$(subdir) = io]: Remove call_sync_file_range object.
11555         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11556         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11557         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11558         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11560 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11562         * math/s_cproj.c: Add include "math_private.h".
11563         * math/s_cprojf.c: Likewise.
11564         * math/s_cprojl.c: Likewise.
11566 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11568         [BZ #18244]
11569         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11570         high mantissa bit when testing whether P is a NaN.
11571         * math/libm-test.inc (remainder_test_data): Add more tests.
11572         (remquo_test_data): Likewise.
11574         [BZ #18049]
11575         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11576         below -32, return the argument, with underflow if subnormal.
11577         * math/auto-libm-test-in: Add more tests of atanh.
11578         * math/auto-libm-test-out: Regenerated.
11580 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11582         [BZ #18434]
11583         * nptl/tst-sem15.c: New file.
11584         * nptl/Makefile (tests): Add it.
11585         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11586         s/<</>>/ to fix typo in EOVERFLOW check.
11587         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11589 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11591         * manual/strings.texi (envz_remove): Fix typo in safety
11592         annotations.
11594 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11595             Steve Ellcey  <sellcey@imgtec.com>
11597         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11598         in order to avoid strict alias warnings.
11599         (iruserok_af): Ditto for ra.
11601 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11603         [BZ #17581]
11604         * malloc/hooks.c
11605         (magicbyte): Convert to a function and avoid returning 0x01.
11606         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11607         (mem2chunk_check): Fix unsigned comparisons to zero.
11608         Hoist defs of sz and magic.
11610 2015-05-19  Richard Henderson  <rth@redhat.com>
11612         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11614         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11616 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11618         [BZ #16159]
11619         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11620         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11621         (reused_arena): Find a non-corrupt arena.
11622         (heap_trim): Pass arena to unlink.
11623         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11624         malloc_printerr.
11625         (top_check): Likewise.
11626         (free_check): Likewise.
11627         (realloc_check): Likewise.
11628         * malloc/malloc.c (malloc_printerr): Add arena argument.
11629         (unlink): Likewise.
11630         (munmap_chunk): Adjust.
11631         (ARENA_CORRUPTION_BIT): New macro.
11632         (arena_is_corrupt): Likewise.
11633         (set_arena_corrupt): Likewise.
11634         (sysmalloc): Use mmap if there are no usable arenas.
11635         (_int_malloc): Likewise.
11636         (__libc_malloc): Don't fail if arena_get returns NULL.
11637         (_mid_memalign): Likewise.
11638         (__libc_calloc): Likewise.
11639         (__libc_realloc): Adjust for additional argument to
11640         malloc_printerr.
11641         (_int_free): Likewise.
11642         (malloc_consolidate): Likewise.
11643         (_int_realloc): Likewise.
11644         (_int_memalign): Don't touch corrupt arenas.
11645         * malloc/tst-malloc-backtrace.c: New test case.
11647         * Makefile (summarize-tests): Fix return value on success.
11649         * manual/string.texi (Envz Functions): Add envz_remove.
11651 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11653         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11654         (invalid_name): New function, broken out of ...
11655         (__opendirat): ... here.  Call it.
11656         (need_isdir_precheck): New function, broken out of ...
11657         (__opendirat): ... here.  Call it.
11658         Use __fxstatat64, not __xstatat64.
11659         (opendir_oflags): New function, broken out of ...
11660         (__opendirat): ... here.  Call it.
11661         (opendir_tail): New function, broken out of ...
11662         (__opendirat): ... here.  Call it.
11663         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11664         opendir_tail, rather than punting to __opendirat.
11665         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11667 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11669         * .gitignore: Ignore generated *.pyc.
11671 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11673         * include/stdio.h: Define __need_wint_t.
11674         * test-skeleton.c: Avoid `for' loop initial declaration.
11675         * nptl/tst-initializers1.c: Use test-skeleton.c.
11677 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11679         [BZ #18418]
11680         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11682 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11684         [BZ #16352]
11685         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11686         (__ieee754_atanh): Force underflow exception for results with
11687         small absolute value.
11688         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11689         (__ieee754_atanhf): Force underflow exception for results with
11690         small absolute value.
11691         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11692         (__ieee754_atanh): Force underflow exception for results with
11693         small absolute value.
11694         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11695         (__ieee754_atanhf): Force underflow exception for results with
11696         small absolute value.
11697         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11698         (__ieee754_atanhl): Force underflow exception for results with
11699         small absolute value.
11700         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11701         (__ieee754_atanhl): Force underflow exception for results with
11702         small absolute value.
11703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11704         (__ieee754_atanhl): Force underflow exception for results with
11705         small absolute value.
11706         * math/auto-libm-test-in: Do not allow missing underflow
11707         exceptions from atanh.
11708         * math/auto-libm-test-out: Regenerated.
11710         [BZ #18221]
11711         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11712         2**-28 as threshold for returning x or +/- 1/x.
11713         * math/auto-libm-test-in: Add more tests of tan.
11714         * math/auto-libm-test-out: Regenerated.
11716         [BZ #18220]
11717         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11718         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11719         * math/auto-libm-test-in: Add another test of lgamma.
11720         * math/auto-libm-test-out: Regenerated.
11722 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11724         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11725         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11726         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11727         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11728         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11729         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11730         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11732         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11733         (log1): Use fabs.  (my_log2): Use fabs.
11734         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11735         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11737         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11738         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11739         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11740         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11741         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11742         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11743         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11744         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11746 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11748         [BZ #18217]
11749         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11750         as threshold for returning 1 - x.
11751         * math/auto-libm-test-in: Add more tests of erfc.
11752         * math/auto-libm-test-out: Regenerated.
11754 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11756         [BZ #18196]
11757         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11758         threshold for large arguments.
11759         * math/auto-libm-test-in: Add another test of atan.
11760         * math/auto-libm-test-out: Regenerated.
11762         [BZ #16339]
11763         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11764         (__log1p): Force underflow exception for results with small
11765         absolute value.
11766         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11767         (__log1pf): Force underflow exception for results with small
11768         absolute value.
11769         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11770         (__log1p): Force underflow exception for results with small
11771         absolute value.
11772         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11773         (__log1pf): Force underflow exception for results with small
11774         absolute value.
11775         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11776         (__log1pl): Force underflow exception for results with small
11777         absolute value.
11778         * math/auto-libm-test-in: Do not allow missing underflow
11779         exceptions from log1p.
11780         * math/auto-libm-test-out: Regenerated.
11782 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11783             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11785         [BZ #16704]
11786         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11788 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11790         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11791         (libmvec): New variable.
11792         * configure.ac: Added option for mathvec build.
11793         * configure: Regenerated.
11794         * mathvec/Depend: New file.
11795         * mathvec/Makefile: New file.
11796         * shlib-versions: Added libmvec.
11797         * math/Makefile: Added rule for libm.so installation.
11799         * bits/math-vector.h: New file.
11800         * bits/libm-simd-decl-stubs.h: New header.
11801         * math/Makefile (headers): Added new header
11802         libm-simd-decl-stubs.h.
11803         * math/math.h (__MATHCALL_VEC): New macro.
11805         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11806         for conditions in testing functions.
11807         * math/Makefile: Added call of libm-have-vector-test.sh.
11808         * math/libm-test.inc (HAVE_VECTOR): New macros.
11810         * math/libm-test.inc: START refactored.
11811         * math/test-double.c (TEST_MATHVEC): Add define.
11812         * math/test-float.c: Likewise.
11813         * math/test-idouble.c: Likewise.
11814         * math/test-ifloat.c: Likewise.
11815         * math/test-ildoubl.c: Likewise.
11816         * math/test-ldouble.c: Likewise.
11817         * sysdeps/generic/math-tests-arch.h
11818         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11819         architecture check.
11821         * math/test-double.c (FUNC_TEST): New macro.
11822         * math/test-float.c: Likewise.
11823         * math/test-idouble.c: Likewise.
11824         * math/test-ifloat.c: Likewise.
11825         * math/test-ildoubl.c: Likewise.
11826         * math/test-ldouble.c: Likewise.
11827         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11829 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11831         * sysdeps/nacl/fdopendir.c: New file.
11833         * dirent/scandir-tail.c: New file.
11834         * dirent/scandir64-tail.c: New file.
11835         * dirent/Makefile (routines): Add them.
11836         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11837         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11838         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11839         [!SCANDIR] (SCANDIR_TAIL): New macro.
11840         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11841         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11842         (SCANDIRAT): Macro removed.
11843         (SCANDIR_TAIL): New macro.
11844         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11845         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11846         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11847         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11848         (READDIR): Macro removed.
11849         (SCANDIR_TAIL): New macro.
11850         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11851         (SCANDIR_TAIL): New macro.
11853         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11854         * dirent/scandir-cancel.c: ... to this new file.
11855         * dirent/Makefile (routines): Add it.
11856         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11857         * sysdeps/unix/sysv/linux/i386/scandir64.c
11858         (SKIP_SCANDIR_CANCEL): Macro removed.
11859         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11861         * dirent/tst-scandir.c: New file.
11862         * dirent/tst-scandir64.c: New file.
11863         * dirent/Makefile (tests): Add them.
11865 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11867         [BZ #18409]
11868         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11870 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11872         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11873         list.
11875 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11877         * benchtests/bench-strcoll.c: New benchmark.
11878         * benchtests/Makefile: Generate locales and run benchmark.
11879         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11880         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11881         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11882         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11883         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11884         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11885         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11886         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11887         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11888         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11889         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11890         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11891         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11892         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11893         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11894         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11895         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11896         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11897         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11898         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11899         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11900         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11901         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11902         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11904 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11906         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11907         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11909 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11911         * posix/uname-values.h: New file.
11912         * posix/uname.c: Include that instead of <config-name.h>.
11913         * sysdeps/nacl/uname-values.h: New file.
11914         * sysdeps/arm/nacl/uname-values.h: New file.
11916 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11918         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11919         splitting into fields.
11921 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11923         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11924         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11925         * locale/localeinfo.h: Add enum collation_encoding_type.
11926         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11927         * programs/ld-collate.c (collate_output): Add encoding type info.
11928         * string/strcoll_l.c (STRDIFF): New function.
11929         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11930         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11932 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #18397]
11935         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11936         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11937         <fpu_control.h> instead of <math/fpu_control.c>.
11938         * sysdeps/mips/mips32/fpu/Makefile: New file.
11940 2015-05-11  Andreas Schwab  <schwab@suse.de>
11942         [BZ #18007]
11943         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11944         nss_endgrent.
11945         (_nss_compat_endgrent): Call nss_endgrent.
11946         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11947         nss_endpwent.
11948         (_nss_compat_endpwent): Call nss_endpwent.
11949         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11950         needent, call nss_setspent only if non-zero.
11951         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11952         (internal_endspent): Don't call nss_endspent.
11953         (_nss_compat_endspent): Call nss_endspent.
11954         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11955         Remove.  All uses removed.
11956         (internal_setent): Remove parameter stayopen, add parameter
11957         stream.  Use it instead of global variable.
11958         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11959         (internal_endent, internal_getent): Add parameter stream.  Use it
11960         instead of global variable.
11961         (CONCAT(_nss_files_end,ENTNAME))
11962         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11963         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11964         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11965         uses removed.
11966         (internal_setent, internal_endent): Add parameter stream.  Use it
11967         instead of global variable.
11968         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11969         stream.
11970         (get_next_alias): Add parameter stream.
11971         (_nss_files_getaliasent_r): Pass global stream.
11972         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11973         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11974         (_nss_files_gethostbyname4_r): Pass local stream to
11975         internal_setent, internal_getent and internal_endent.  Remove
11976         locking.
11978 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11980         * tst-strfmon1.c (tests): Update expected currency symbol.
11982 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11984         * sysdeps/nacl/gethostname.c: New file.
11986 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11988         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11989         and sinh.
11990         * math/auto-libm-test-out: Regenerated.
11991         * sysdeps/i386/fpu/libm-test-ulps: Update.
11992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11994 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11996         [BZ #18125]
11997         * stdlib/tst-setcontext3.c: New file.
11998         * stdlib/tst-setcontext3.sh: New file.
11999         * stdlib/Makefile (tests): Add tst-setcontext3.
12000         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12001         to verify test program created output file.
12002         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12003         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12004         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12005         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12007 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12009         [BZ #18383]
12010         * elf/tst-tlsalign.c: New file.
12011         * elf/tst-tlsalign-static.c: New file.
12012         * elf/tst-tlsalign-lib.c: New file.
12013         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12014         (tests-static): Add tst-tlsalign-static.
12015         (modules-names): Add tst-tlsalign-lib.
12016         (test-xfail-tst-tlsalign): New variable.
12017         (test-xfail-tst-tlsalign-static): New variable.
12019         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12020         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12022 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12024         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12025         csqrt, erfc, sin and sincos.
12026         * math/auto-libm-test-out: Regenerated.
12027         * sysdeps/i386/fpu/libm-test-ulps: Update.
12028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12032         * sysdeps/aarch64/libm-test-ulps: Update.
12034 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12036         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12037         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12038         * math/auto-libm-test-out: Regenerated.
12039         * sysdeps/i386/fpu/libm-test-ulps: Update.
12040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12044         [BZ #18265]
12045         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12046         (wcsncpy): Likewise.
12048 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12050         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12051         Assume __ASSUME_FALLOCATE is always true.
12052         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12053         (__posix_fallocate64_l64): Likweise.
12054         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12055         (posix_fallocate): Likewise.
12056         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12057         (__posix_fallocate64_l64): Likewise.
12058         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12059         [!__ASSUME_FALLOCATE]: Add comment.
12061 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12063         * sysdeps/unix/sysv/linux/i386/Makefile
12064         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12065         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12066         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12067         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12068         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12069         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12070         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12072 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12074         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12075         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12076         tgamma.
12077         * math/auto-libm-test-out: Regenerated.
12078         * sysdeps/i386/fpu/libm-test-ulps: Update.
12079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12081 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12083         * math/auto-libm-test-in: Add more tests of tgamma.
12084         * math/auto-libm-test-out: Regenerated.
12085         * sysdeps/i386/fpu/libm-test-ulps: Update.
12086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12088         * math/auto-libm-test-in: Add more tests of tanh.
12089         * math/auto-libm-test-out: Regenerated.
12090         * sysdeps/i386/fpu/libm-test-ulps: Update.
12091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12093         * math/auto-libm-test-in: Add more tests of tan.
12094         * math/auto-libm-test-out: Regenerated.
12095         * sysdeps/i386/fpu/libm-test-ulps: Update.
12096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12098         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12099         * math/auto-libm-test-out: Regenerated.
12100         * sysdeps/i386/fpu/libm-test-ulps: Update.
12101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103         * math/auto-libm-test-in: Add another test of pow.
12104         * math/auto-libm-test-out: Regenerated.
12105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12107         * math/auto-libm-test-in: Add more tests of lgamma.
12108         * math/auto-libm-test-out: Regenerated.
12109         * sysdeps/i386/fpu/libm-test-ulps: Update.
12110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12112         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12113         log1p.
12114         * math/auto-libm-test-out: Regenerated.
12115         * sysdeps/i386/fpu/libm-test-ulps: Update.
12116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12120         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12121         Elf64_Chdr structs and ELFCOMPRESS constants.
12123 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12125         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12126         expm1.
12127         * math/auto-libm-test-out: Regenerated.
12128         * sysdeps/i386/fpu/libm-test-ulps: Update.
12129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12131         * math/auto-libm-test-in: Add more tests of erf and erfc.
12132         * math/auto-libm-test-out: Regenerated.
12133         * sysdeps/i386/fpu/libm-test-ulps: Update.
12134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12138         * config.h.in (HAVE_AARCH64_BE): Add.
12140 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12142         * math/auto-libm-test-in: Add more tests of csqrt.
12143         * math/auto-libm-test-out: Regenerated.
12144         * sysdeps/i386/fpu/libm-test-ulps: Update.
12145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12148         * math/auto-libm-test-out: Regenerated.
12149         * sysdeps/i386/fpu/libm-test-ulps: Update.
12150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12152         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12154 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12156         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12157         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12159         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12160         (euidaccess, eaccess): Define as weak aliases.
12162         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12163         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12164         but __suseconds_t is often 'long int' so some sources assume that
12165         type is being used (e.g. they use %ld to print tv_usec).
12167 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12169         [BZ #18007]
12170         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12171         (CVE-2014-8121)
12172         * nss/tst-nss-getpwent.c: New file.
12173         * nss/Makefile (tests): Add new test.
12175 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12177         [BZ #18346]
12178         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12179         exponents less than 48 as cases where high part of mantissa needs
12180         examining to determine whether argument is integral.
12181         * math/libm-test.inc (round_test_data): Add more tests.
12183 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12185         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12187 2015-04-27  David S. Miller  <davem@davemloft.net>
12189         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12190         __tls_get_addr.
12191         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12193 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12195         [BZ#18333]
12196         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12198 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12200         [BZ#18333]
12201         * time/tzset.c (parse_tzname): Return error on memory allocation
12202         failure.
12203         * test-skeleton.c (struct temp_name_list): Change type of name
12204         member to non-const.
12205         (add_temp_file): Create a copy of the file name.
12206         (delete_temp_files): Deallocate memory.
12207         (create_temp_file): Add comment.
12209 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12211         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12212         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12214 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12216         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12217         * sysdeps/arm/configure: Regenerated.
12219 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12221         [BZ #17715]
12222         * time/tzfile.c (__tzfile_read): Check for large values of
12223         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12224         * time/tzset.c (__tzstring_len): New function, based on the old
12225         __tzstring function.
12226         (__tzstring): Call __tzstring_len.
12227         (parse_tzname): New helper function extracted from
12228         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12229         the input string.
12230         (parse_offset): New helper function extracted from
12231         __tzset_parse_tz.  Replace switch with fallthrough with
12232         initialization before sscanf.
12233         (parse_rule): Likewise.
12234         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12235         new-style function definition.
12236         * timezone/Makefile (tests): Add tst-tzset.
12237         (tst-tzset.out): Dependencies on time zone files.
12238         (tst-tzset-ENV): Set TZDIR.
12239         (testdata/XT%): Copy crafted time zone files.
12240         * timezone/README: Mention crafted time zone files.
12241         * timezone/testdata/XT1, timezone/testdata/XT2,
12242         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12243         files.
12244         * timezone/tst-tzset.c: New test.
12246 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12248         * Makeconfig (+gccwarn): Remove -Winline.
12250 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12252         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12254 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12256         * NEWS: Mention sysconf() cache information support for s390.
12257         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12259 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12261         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12262         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12263         (__nearbyint): Likewise.
12264         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12265         (copysignl): Likewise.
12267 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12269         [BZ #18287]
12270         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12271         based on padding.  (CVE-2015-1781)
12273 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12275         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12276         libc-vdso.h.
12277         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12278         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12279         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12280         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12281         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12282         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12283         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12284         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12285         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12286         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12287         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12288         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12289         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12290         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12291         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12292         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12293         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12294         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12295         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12296         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12297         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12298         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12299         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12301 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12303         * stdlib/setenv.c (__add_to_environ):
12304         Dump core quickly if setenv (..., NULL, ...) is called.
12305         This time, do it the right way, and pacify GCC with a pragma.
12307 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12309         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12310         IMAP->l_prev cannot be null, and #if out the code for the contrary
12311         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12312         believe that NS (&_dl_ns[NSID]) could point outside the array.
12314         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12315         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12316         before using NSID as an index.
12318 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12320         [BZ #17825]
12321         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12322         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12323         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12325 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12327         Add preliminary port to Google Native Client on ARM.
12328         * abi-tags (.*-.*-nacl.*): New entry.
12329         * sysdeps/arm/nacl: New directory.
12330         * sysdeps/nacl: New directory.
12332 2015-04-16  David S. Miller  <davem@davemloft.net>
12334         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12335         lowlevellock-futex.h
12337 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12339         * sysdeps/tile/configure.ac: New file.
12340         * sysdeps/tile/configure: Regenerated.
12342 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12344         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12345         conditionals for weak_alias and libc_hidden_weak.
12346         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12347         libc_hidden_weak and weak_alias.
12348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12349         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12350         and weak_alias for static one.
12352 2015-04-15  David S. Miller  <davem@davemloft.net>
12354         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12356 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12358         [BZ #18206]
12359         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12360           Use signed comparision instead of substraction to avoid
12361           overflow bug.
12362         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12363           Take the sign of ret.
12364         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12365           Do not expect precise return values. Only the sign matters.
12366         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12367         * wcsmbs/test-wcsncmp.c: New File.
12368         * string/test-strncmp.c: Add wcsncmp support.
12370 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12372         [BZ #6792]
12373         * math/w_log1p.c: New file.
12374         * math/w_log1pf.c: Likewise.
12375         * math/w_log1pl.c: Likewise.
12376         * math/Makefile (libm-calls): Add w_log1p.
12377         * math/s_log1pl.c (log1pl): Remove weak_alias.
12378         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12379         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12380         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12381         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12382         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12383         [NO_LONG_DOUBLE] (log1pl): Likewise.
12384         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12385         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12386         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12387         (log1p): Remove long_double_symbol.
12388         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12389         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12390         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12391         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12392         remove weak_alias for corresponding log1p function.
12393         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12394         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12395         * sysdeps/ia64/fpu/w_log1p.c: New file.
12396         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12397         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12398         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12400 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12402         [BZ #18247]
12403         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12404         decimal exponent by 1.
12405         * stdlib/tst-strtod-round-data: Add more tests.
12406         * stdlib/tst-strtod-round.c (tests): Regenerated.
12408 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12410         * math/auto-libm-test-in: Add more tests of clog and clog10.
12411         * math/auto-libm-test-out: Regenerated.
12412         * sysdeps/i386/fpu/libm-test-ulps: Update.
12413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12415 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12417         * Makeconfig (module-cppflags): Exclude all .v.i files.
12418         (skip-module-cppflags): Variable removed.
12420         * configure.ac (libc_config_ok): Initialize before reading
12421         preconfigure scripts, not after.
12422         * configure: Regenerated.
12424         * test-skeleton.c (TIMEOUT): Move #define to top level.
12425         (main): Grok environment variable TEST_DIRECT.  If set, print
12426         test expectation details into that file and then behave as if
12427         given --direct.
12429 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12431         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12432         warning on 32-bit.
12434 2015-04-08  David S. Miller  <davem@davemloft.net>
12436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12438 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12440         * math/auto-libm-test-in: Add more tests of atanh.
12441         * math/auto-libm-test-out: Regenerated.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12445         * math/auto-libm-test-in: Add more tests of atan.
12446         * math/auto-libm-test-out: Regenerated.
12447         * sysdeps/i386/fpu/libm-test-ulps: Update.
12448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12452         * elf/pldd.c (main): Rewrite to use struct
12453         scratch_buffer instead of extend_alloca.
12454         * elf/pldd-xx.c (find_maps): Likewise.
12455         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12456         <alloca.h>.
12457         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12458         scratch_buffer instead of extend_alloca.
12459         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12460         grp/compat-initgroups.c.
12461         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12462         Rewrite to use struct scratch_buffer instead of extend_alloca.
12463         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12464         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12466 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12468         * math/auto-libm-test-in: Add more tests of cbrt.
12469         * math/auto-libm-test-out: Regenerated.
12470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12472         * math/auto-libm-test-in: Add more tests of cabs.
12473         * math/auto-libm-test-out: Regenerated.
12474         * sysdeps/i386/fpu/libm-test-ulps: Update.
12475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12477         [BZ #18210]
12478         [BZ #18211]
12479         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12480         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12481         computations.
12482         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12483         clog10.
12484         * math/auto-libm-test-out: Regenerated.
12485         * sysdeps/i386/fpu/libm-test-ulps: Update.
12486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12488         [BZ #18197]
12489         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12490         (atan): Set FE_TONEAREST mode for internal computations.
12491         * math/auto-libm-test-in: Add more tests of atan.
12492         * math/auto-libm-test-out: Regenerated.
12494 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12496         [BZ #17930]
12497         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12499 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12501         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12503 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12505         * include/scratch_buffer.h: New file.
12506         * malloc/scratch_buffer_grow.c: Likewise.
12507         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12508         * malloc/scratch_buffer_set_array_size.c: Likewise.
12509         * malloc/tst-scratch_buffer.c: Likewise.
12510         * malloc/Makefile (routines): Add scratch_buffer_grow.
12511         (tests): Add test case.
12512         * malloc/Versions (GLIBC_PRIVATE): Export
12513         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12514         __libc_scratch_buffer_set_array_size.
12516 2015-04-06  Richard Henderson  <rth@redhat.com>
12518         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12519         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12521         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12522         unsigned int before printing.
12524 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12526         [BZ #17596]
12527         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12528         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12530 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12532         * include/libc-internal.h (libc_max_align_t): Define.
12534 2015-04-02  Andreas Schwab  <schwab@suse.de>
12536         [BZ #16850]
12537         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12539 2015-04-02  Mel Gorman  <mgorman@suse.de>
12541         [BZ #17195]
12542         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12543         as well as the main arena.
12545 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12547         [BZ #18185]
12548         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12549         sharing L2 cache to 2 for Silvermont/Knights Landing.
12551 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12553         [BZ #17711]
12554         * config.make.in (have-protected-data): New.
12555         * configure.ac: Check linker support for protected data symbol.
12556         * configure: Regenerated.
12557         * elf/Makefile (modules-names): Add tst-protected1moda and
12558         tst-protected1modb if $(have-protected-data) is yes.
12559         (tests): Add tst-protected1a and tst-protected1b if
12560         $(have-protected-data) is yes.
12561         ($(objpfx)tst-protected1a): New.
12562         ($(objpfx)tst-protected1b): Likewise.
12563         (tst-protected1modb.so-no-z-defs): Likewise.
12564         * elf/tst-protected1a.c: New file.
12565         * elf/tst-protected1b.c: Likewise.
12566         * elf/tst-protected1mod.h: Likewise.
12567         * elf/tst-protected1moda.c: Likewise.
12568         * elf/tst-protected1modb.c: Likewise.
12570 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12572         [BZ #17711]
12573         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12574         indicates it is called from do_lookup_x on relocation against
12575         protected data, skip the data definion in the executable from
12576         copy reloc.
12577         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12578         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12579         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12580         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12581         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12582         otherwise to 0.
12583         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12584         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12585         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12586         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12587         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12588         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12590 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12592         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12593         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12595 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12597         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12598         THREAD_SETMEM_NC.
12599         * sysdeps/x86_64/nptl/tls.h: Ditto.
12601 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12603         * dlfcn/tststatic.c (main): Converted to ...
12604         (do_test): ... this.
12605         (TEST_FUNCTION): New macro.
12606         Include test-skeleton.c.
12608 2015-03-26  Alan Modra  <amodra@gmail.com>
12610         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12611         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12612         zero for undefined weak.
12613         (elf_machine_plt_conflict): Similarly.
12615 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12617         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12618         atanh.
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 another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12629         Remove macro.
12630         (LLL_EBX_REG): Likewise.
12631         (LLL_ENTER_KERNEL): Likewise.
12633         * math/auto-libm-test-in: Add more tests of asin.
12634         * math/auto-libm-test-out: Regenerated.
12635         * sysdeps/i386/fpu/libm-test-ulps: Update.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638         [BZ #18138]
12639         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12640         libc_do_syscall_args): New structure.
12641         (INTERNAL_SYSCALL_MAIN_0): New macro.
12642         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12643         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12644         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12645         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12646         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12647         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12648         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12649         Replace conditional definitions by conditional definitions of ....
12650         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12651         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12652         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12653         (libpthread-sysdep_routines): Add libc-do-syscall.
12654         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12655         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12656         to __NR_futex not 240.
12658 2015-03-25  Alan Modra  <amodra@gmail.com>
12660         * NEWS: Advertise TLS optimization.
12661         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12662         (DT_PPC_NUM): Increment.
12663         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12664         (CHECK_STATIC_TLS): Use here.
12665         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12666         TLS descriptors.
12667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12668         * sysdeps/powerpc/dl-tls.c: New file.
12669         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12670         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12671         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12672         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12677 2015-03-25  Alan Modra  <amodra@gmail.com>
12679         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12680         for overlapping .opd entries" to "support...".
12681         * sysdeps/powerpc/powerpc64/configure: Regenerate
12683 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12685         * math/auto-libm-test-in: Add more tests of acos.
12686         * math/auto-libm-test-out: Regenerated.
12687         * sysdeps/i386/fpu/libm-test-ulps: Update.
12688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12690         * math/auto-libm-test-in: Add more tests of expm1.
12691         * math/auto-libm-test-out: Regenerated.
12692         * sysdeps/i386/fpu/libm-test-ulps: Update.
12693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12695 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12697         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12698         * math/auto-libm-test-out: Regenerated.
12699         * sysdeps/i386/fpu/libm-test-ulps: Update.
12700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705         * math/auto-libm-test-in: Add more tests of log2.
12706         * math/auto-libm-test-out: Regenerated.
12707         * sysdeps/i386/fpu/libm-test-ulps: Update.
12708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12712         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12713         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12714         _IO_IS_APPENDING bit in READ_WRITE instead.
12716 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12718         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12719         (__determine_cpumask_size): Replace extend_alloca with a
12720         variable-length array.  Do not treat res == 0 as an error.
12722 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12724         [BZ #18100]
12725         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12726         and integer overflow.
12727         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12728         (main): Add integer overflow tests.
12729         * manual/pattern.texi (Calling Wordexp): Document additional use
12730         for WRDE_SYNTAX.
12732 2015-03-23  Alan Modra  <amodra@gmail.com>
12734         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12735         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12736         and false branch of conditional.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12738         Likewise.
12740 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12742         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12743         libc-modules.h
12744         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12745         unused declaration of _hurd_intr_rpc_msg_in_trap.
12746         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12747         defined instead of whether it is non-zero.
12748         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12749         input constraint instead of both input and output constraint.  Use ecx
12750         clobber instead of %ecx.
12751         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12752         mutex_unlock): Use a statement expression instead of an expression list.
12753         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12754         type to vm_size_t instead of vm_address_t.
12755         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12756         defined instead of whether it is non-zero.
12757         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12758         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12759         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12760         comparisons with mapaddr.
12761         * nscd/nscd-client.h: Include <time.h>.
12762         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12763         9th parameter to __vm_region instead of int.
12764         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12765         * scripts/check-local-headers.sh (exclude): Add device/,
12766         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12767         cthreads.h.
12769 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12771         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12772         to account for alignment padding.
12773         * sysdeps/arm/memmove.S: Likewise.
12775 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12777         * sysdeps/unix/sysv/linux/generic/README: New file.
12779 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12781         [BZ #18138]
12782         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12783         (futex_abstimed_wait)
12784         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12785         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12786         of lll_futex_timed_wait.
12788 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12790         [BZ #17542]
12791         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12793 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12795         [BZ #17090]
12796         [BZ #17620]
12797         [BZ #17621]
12798         [BZ #17628]
12799         * NEWS: Update.
12800         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12801         entries with Static TLS too.  Skip entries past the end of the
12802         allocated DTV, from Alan Modra.
12803         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12804         Static TLS DTV entry set up from...
12805         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12806         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12807         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12808         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12809         for Static TLS.
12810         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12811         that the slot we find is associated with the given map before
12812         using its generation count.
12813         * nptl_db/db_info.c: Include ldsodefs.h.
12814         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12815         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12816         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12817         (link_map::l_tls_offset): New struct field.
12818         (dtv_t::counter): Likewise.
12819         (rtld_global): New struct.
12820         (_rtld_global): New rtld variable.
12821         (dl_tls_dtv_slotinfo_list): New rtld global field.
12822         (dtv_slotinfo_list): New struct.
12823         (dtv_slotinfo): Likewise.
12824         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12825         (td_lookup): Rename to...
12826         (td_mod_lookup): ... this.  Use new mod parameter instead of
12827         LIBPTHREAD_SO.
12828         * nptl_db/td_thr_tlsbase.c: Include link.h.
12829         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12830         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12831         addresses even if the DTV is out of date or missing them.
12832         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12833         index zero-length arrays.
12834         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12835         (td_lookup): Make it a macro implemented in terms of...
12836         (td_mod_lookup): ... this declaration.
12837         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12838         (DB_MAIN_VARIABLE): Likewise.
12840 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12842         [BZ #18134]
12843         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12845 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12847         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12849 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12851         [BZ #18128]
12852         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12853         (atomic_add, atomic_increment_and_test)
12854         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12856 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12858         * stdlib/setenv.c (__add_to_environ):
12859         Dump core quickly if setenv (..., NULL, ...) is called.
12861 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12863         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12864         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12865         all the necessary asm magic in one place.
12866         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12867         using those.
12869 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12871         [BZ #14906]
12872         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12873         traced file mtime. Use consistent log message.
12874         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12875         (register_traced_file): Call install_watches. Always set mtime.
12876         (invalidate_cache): Iterate over all trace files. Call install_watches.
12877         (inotify_check_files): Don't inline. Handle watching parent
12878         directories and configuration file movement in and out.
12879         (handle_inotify_events): New function.
12880         (main_loop_poll): Call handle_inotify_events.
12881         (main_loop_epoll): Likewise.
12882         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12883         (struct traced_file): Use array of inotify fds. Add parent directory,
12884         and basename.
12885         (struct database_dyn): Remove unused file_mtime.
12886         (init_traced_file): New inline function.
12887         (define_traced_file): New macro.
12888         * nss/nss_db/db-init.c: Use define_traced_file.
12889         (_nss_db_init): Use init_traced_file.
12890         * nss/nss_files/files-init.c: Use define_traced_file.
12891         (_nss_files_init): Use init_traced_file.
12893 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12895         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12896         [_LIBC]: Do not include <stdlib.h>.
12897         [!_LIBC] (abort): Remove declaration.
12898         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12899         _FP_STATIC_ASSERT instead of conditionally calling abort.
12900         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12901         (_FP_EXTEND_CNAN): Likewise.
12902         (FP_TRUNC): Likewise.
12903         (__FP_CLZ): Likewise.
12904         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12906 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12908         * manual/string.texi (XPG basename): Fix prototype.
12910 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12912         [BZ #18080]
12913         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12914         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12915         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12916         (__setcontext): Likewise.
12917         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12918         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12919         Call rt_sigprocmask syscall one time to set new signal mask
12920         and retrieve the current signal mask instead of two calls.
12921         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12922         (__swapcontext): Likewise.
12923         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12924         * stdlib/tst-setcontext2.c: New file.
12926 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12928         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12930 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12932         [BZ #18093]
12933         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12934         the wrong size.
12936 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12938         [BZ #18043]
12939         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12941 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12943         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12944         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12945         Remove define.
12946         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12947         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12948         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12949         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12950         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12951         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12952         define.
12953         * nptl_db/td_symbol_list.c (td_lookup): Remove
12954         HAVE_ASM_GLOBAL_DOT_NAME code.
12955         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12956         HAVE_ASM_GLOBAL_DOT_NAME check.
12957         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12958         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12959         (DOT_LABEL): Remove define.
12960         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12961         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12962         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12963         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12964         (__TLS_GET_ADDR): Likewise.
12965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12966         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12968 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12970         [BZ #18111]
12971         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12972         (_FPU_SETCW): Initialize cw from fpsr before storing.
12973         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12974         (fesetexceptflag): Rewrite using fpu_control.h.
12975         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12977 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12979         [BZ #18110]
12980         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12981         asms.
12982         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12984 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12986         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12987         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12988         abort.
12989         (_FP_FMA): Likewise.
12990         (_FP_DIV): Likewise.
12992 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12994         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12995         with 0 in that case.
12996         * Makefile (summarize-tests): New canned sequence, factored out of
12997         commands for targets tests and xtests.  Display summary lines that
12998         don't start with PASS: or XFAIL: rather than ones that do start with
12999         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13000         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13001         do start with ERROR: or FAIL:.
13002         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13003         (except for [$(build-shared) = yes]).
13004         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13005         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13006         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13007         * nptl/Makefile: Revert 2015-03-04 changes.
13008         [$(CXX) empty] (tests-unsupported): New variable.
13009         * debug/Makefile: Likewise.
13011         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13012         gnulib file.  Replace __attribute with __attribute__ throughout.
13014 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13016         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13018 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13020         [BZ #18104]
13021         * math/auto-libm-test-in: Add another test of pow.
13022         * math/auto-libm-test-out: Regenerated.
13024 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13026         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13027         $(config-cflags-nofma).
13029 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13031         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13032         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13033         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13034         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13035         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13036         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13037         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13038         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13039         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13040         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13041         Add comment on closing #endif.
13043 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13045         * posix/wordexp.c (CHAR_IN_SET): New macro.
13046         (parse_param): Use it.
13048 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13052 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13054         [BZ #18043]
13055         * posix/wordexp.c (parse_param): Fix buffer overflow.
13056         * posix/wordexp-test.c (test_case): Add test case.
13058 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13060         [BZ #18042]
13061         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13062         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13064 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13066         [BZ #18043]
13067         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13068         (do_bz18043): Delete.
13069         (at_page_end): New.
13070         (testit): Refactor to have words at the edge of unreadable page.
13072 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13074         [BZ #16734]
13075         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13076         Cleanup read-only streams as well.
13077         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13079 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13081         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13082         <bits/libc-lockP.h>
13084 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13086         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13087         on [__KERNEL__].
13088         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13089         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13090         * soft-fp/op-common.h (_FP_DECL): Likewise.
13092 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13094         * elf/ifuncdep2.c (global): Replace
13095         __attribute__((visibility("protected"))) with
13096         asm (".protected global").
13097         * elf/ifuncmod1.c (global): Likewise.
13098         * elf/ifuncmod5.c (global): Likewise.
13100 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13102         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13103         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13105 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13107         * manual/install.texi (Configuring and compiling):
13108         Document test-wrapper-env-only.
13109         * INSTALL: Regenerated.
13111 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13113         [BZ #18043]
13114         * posix/wordexp.c (parse_param): Fix buffer overflow.
13115         * posix/wordexp-test.c (do_bz18043): Add test case.
13117 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13119         * time/tst-strptime2.c (do_test): Ensure failing tests are
13120         reported correctly.
13121         * time/tst-strptime3.c (do_test): Likewise.
13123 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13125         Fix aio_error thread-safety.
13126         * sysdeps/pthread/aio_error.c: New file
13127         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13128         synchronization.
13130 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13132         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13133         (group_number, vfprintf): Use it.
13134         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13135         (JUMP, REF): Use it.
13136         (WORK_BUFFER_SIZE): New enum constant.
13137         (process_arg, vfprintf): Use it.
13139 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13141         * manual/errno.texi (Error Messages): Complete example function
13142         by adding missing #define.
13143         (program_invocation_name): Add statement indicating GNU
13144         extension and reference which header file declares the variable.
13145         (program_invocation_short_name): Likewise.
13147 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13149         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13150         compatibility note.
13152 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13154         * Makeconfig (test-wrapper-env-only): New variable.
13155         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13156         then use that with $(test-wrapper-env-only) rather than using
13157         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13159 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13161         [BZ #18082]
13162         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13163         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13164         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13165         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13166         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13167         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13168         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13169         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13170         Likewise.
13171         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13172         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13173         Likewise.
13174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13175         Likewise.
13176         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13177         Likewise.
13178         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13179         Likewise.
13180         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13182         Likewise.
13183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13184         Likewise.
13185         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13186         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13188 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13190         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13191         (ETH_ALEN): New macro.
13192         (struct ether_addr): Use it for length of ether_addr_octet.
13194         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13195         (setdb): Don't call __nss_configure_lookup for "rpc".
13196         (do_test): Don't call test_rpc.
13197         (output_rpcent, test_rpc): Functions moved ...
13198         * sunrpc/test-rpcent.c: ... to this new file.
13199         * sunrpc/Makefile (tests): Add it.
13201         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13202         __xpg_sigpause.
13203         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13204         * nptl/tst-signal6.c: Likewise.
13205         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13206         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13208         * configure.ac (libc_cv_cxx_link_ok): New check.
13209         Reset CXX to empty if it fails to link.
13210         * configure: Regenerated.
13211         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13212         bug-atexit3-lib only if $(CXX) is nonempty.
13213         * nptl/Makefile (tests): Likewise for tst-cancel24.
13214         (tests, tests-static): Likewise for tst-cancel24-static.
13215         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13216         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13217         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13218         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13220 2015-03-04  Andreas Schwab  <schwab@suse.de>
13222         [BZ #17631]
13223         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13224         for non-GCC compilers.
13225         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13226         Likewise.
13228 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13230         [BZ #17776]
13231         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13232         integer before bitwise and assembly operations.
13233         (feclearexcept): Likewise.
13234         * math/test-fenvinline.c: New file.
13235         * math/Makefile: Add test-fenvinline test.
13237 2015-03-03  Alan Modra  <amodra@gmail.com>
13239         [BZ #16512]
13240         * scripts/localplt.awk: Strip off symbol version.
13241         * NEWS: Mention bug fix.
13243 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13245         * sysdeps/pthread/timer_routines.c
13246         (timer_free_list, thread_free_list, thread_active_list): Make static.
13248 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13250         [BZ #17779]
13251         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13252         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13253         Undefine.
13254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13255         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13256         Likewise.
13257         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13258         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13259         Likewise.
13261 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13263         [BZ #18036]
13264         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13265         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13267 2015-03-02  Andreas Schwab  <schwab@suse.de>
13269         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13270         variable name.
13272 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13274         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13275         Return error status.
13277 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13279         [BZ #15969]
13280         * locale/findlocale.c (_nl_find_locale): Introduce const
13281         version of loc_name and drop unsafe type casts.
13283 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13285         * dlfcn/tststatic2.c (main): Converted to ...
13286         (do_test): ... this.
13287         (TEST_FUNCTION): New macro.
13288         Include test-skeleton.c.
13290 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13292         [BZ #17711]
13293         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13294         (tests-pie): Add vismain.
13295         (CFLAGS-vismain.c): New.
13296         * elf/vismain.c: Add comments for PIE requirement.
13298 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13300         [BZ #18046]
13301         [BZ #18047]
13302         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13303         0x1p-56L as threshold for just returning the argument.
13304         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13305         0x1p-32L as threshold for just returning the argument.
13306         * math/auto-libm-test-in: Add more tests of atanh.
13307         * math/auto-libm-test-out: Regenerated.
13308         * sysdeps/i386/fpu/libm-test-ulps: Update.
13309         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13311 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13313         * string/bcopy.c (bcopy): Call memmove for performance.
13315 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13317         * string/bzero.c (__bzero): Call memset for performance.
13319 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13321         [BZ #18068]
13322         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13323         to 00100000.
13325 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13327         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13329 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13331         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13332         (__kernel_standard): Use CSTR macro when setting exc.name.
13333         * sysdeps/ieee754/Makefile [$(subdir) = math]
13334         (CFLAGS-k_standard.c): Remove variable.
13336         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13337         setting p and q from "else if" to "else".
13338         (qzero): Likewise.
13339         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13340         (qone): Likewise.
13341         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13342         (qzerof): Likewise.
13343         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13344         (qonef): Likewise.
13345         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13346         (qzero): Likewise.
13347         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13348         (qone): Likewise.
13350         [BZ #18038]
13351         [BZ #18039]
13352         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13353         return pi/2 for arguments below 0x1p-113L.
13354         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13355         return pi/2 for arguments below 0x1p-106L.
13356         * math/auto-libm-test-in: Add more tests of acos.
13357         * math/auto-libm-test-out: Regenerated.
13359         [BZ #16351]
13360         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13361         (MO): New macro.
13362         (__ieee754_asin): Force underflow exception for results with small
13363         absolute value.
13364         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13365         (MO): New macro.
13366         (__ieee754_asinf): Force underflow exception for results with
13367         small absolute value.
13368         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13369         (__ieee754_asin): Force underflow exception for results with small
13370         absolute value.
13371         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13372         (__ieee754_asinf): Force underflow exception for results with
13373         small absolute value.
13374         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13375         (__ieee754_asinl): Force underflow exception for results with
13376         small absolute value.
13377         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13378         (__ieee754_asinl): Force underflow exception for results with
13379         small absolute value.
13380         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13381         (__ieee754_asinl): Force underflow exception for results with
13382         small absolute value.
13383         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13384         Include <math.h>.
13385         * math/auto-libm-test-in: Do not mark underflow exceptions as
13386         possibly missing for bug 16351.
13387         * math/auto-libm-test-out: Regenerated.
13389         [BZ #18030]
13390         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13391         of power of 2 down when low part has opposite sign.
13392         * math/libm-test.inc (logb_test_data): Add more tests.
13394 2015-02-26  Andreas Schwab  <schwab@suse.de>
13396         [BZ #18032]
13397         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13398         over collating symbol inside a bracket expression.  Minor cleanup.
13399         * posix/tst-fnmatch3.c (do_test): Add test case.
13401 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13403         [BZ #18029]
13404         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13405         Adjust exponent of power of 2 down when low part has opposite
13406         sign.
13407         * math/libm-test.inc (ilogb_test_data): Add more tests.
13409 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13411         [BZ #15969]
13412         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13413         the previous change.
13415         [BZ #15969]
13416         * locale/findlocale.c (_nl_find_locale): Retry archive search
13417         after alias expansion.
13419 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13421         * iconv/tst-iconv3.c (main): Converted to ...
13422         (do_test): ... this.
13423         (TEST_FUNCTION): New macro.
13424         Include test-skeleton.c.
13426         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13427         (convert): Make function static.
13428         (test_unalign): Likewise.  Add const to argument pointee types.
13429         (main): Replace with static function do_test.
13430         Print "Succeeded." only if RET is zero.
13431         (TEST_FUNCTION): New macro.
13432         Include test-skeleton.c.
13434         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13435         returns a null pointer.
13437 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13439         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13440         to __memcpy_ppc only for static builds.
13442 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13444         [BZ #18020]
13445         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13446         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13447         * math/auto-libm-test-in: Add more tests of asinh.
13448         * math/auto-libm-test-out: Regenerated.
13449         * sysdeps/i386/fpu/libm-test-ulps: Update.
13450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13452 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13454         [BZ #15850]
13455         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13456         and ip6_mtuinfo definitions here.
13457         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13458         in this define too.  Update comment.
13460 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13462         * elf/sprof.c (load_shobj): Tweak error message to match others.
13464 2015-02-24  Kevin Easton  <kevin@guarana.org>
13466         [BZ #16145] (partial fix)
13467         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13468         to reduce lock contention.
13470 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13472         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13473         (struct timex): Update time comment.
13474         (ADJ_SETOFFSET): Define.
13476 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13478         [BZ #18019]
13479         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13480         2**56 not 2**28 as threshold for log (2x) formula.
13481         * math/auto-libm-test-in: Add more tests of acosh.
13482         * math/auto-libm-test-out: Regenerated.
13483         * sysdeps/i386/fpu/libm-test-ulps: Update.
13484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13486 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13488         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13489         parenthesis around the buf assignment.
13490         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13492 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13494         [BZ #16783]
13495         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13496         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13497         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13498         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13499         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13500         * math/libm-test.inc (scalb_test_data): Add more tests.
13502 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13504         [BZ #17916]
13505         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13506         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13508 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13510         [BZ #17523]
13511         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13512         * io/bits/fcntl2.h (open): Use it.
13513         (openat): Likewise.
13514         * io/open.c (__libc_open): Likewise.
13515         * io/open64.c (__libc_open64): Likewise.
13516         * io/open64_2.c (__open64_2): Likewise.
13517         * io/open_2.c (__open_2): Likewise.
13518         * io/openat.c (__openat): Likewise.
13519         * io/openat64.c (__openat64): Likewise.
13520         * io/openat64_2.c (__openat64_2): Likewise.
13521         * io/openat_2.c (__openat_2): Likewise.
13522         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13523         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13524         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13525         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13526         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13527         (__open_nocancel): Likewise.
13528         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13529         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13530         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13532 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13534         [BZ #14841]
13535         * resolv/gethnamaddr.c (getanswer): Skip logging if
13536         RES_USE_DNSSEC is set.
13537         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13539 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13541         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13543 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13545         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13546         201304L, for Unicode 7.
13548 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13550         [BZ #17836]
13551         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13552         shared library.  Add gmon-start.os otherwise.
13553         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13554         $(objpfx)gmon-start.os if builing shared library.
13555         ($(objpfx)g$(static-start-installed-name)): Likewise.
13557 2015-02-23  Andreas Schwab  <schwab@suse.de>
13559         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13561 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13563         [BZ #17269]
13564         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13565         (enlarge_userbuf): Likewise.
13567 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13569         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13570         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13571         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13572         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13574 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13576         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13577         expression inside statement expression.
13579 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13581         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13582         <sysdeps/nptl/lowlevellock.h> and remove macros and
13583         functions that are now defined there.
13584         (SYS_futex): Remove.
13585         (lll_compare_and_swap): Remove.
13586         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13588 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13590         [BZ #17999]
13591         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13592         instead of scandirat.
13593         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13594         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13595         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13596         __scandirat.
13597         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13598         (__scandirat): Declare.  Use libc_hidden_proto.
13599         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13600         Remove variable.
13601         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13603 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13605         [BZ #15319]
13606         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13607         (MO): New macro.
13608         (__ieee754_atan2): For results with small absolute value, force
13609         underflow exception and remove excess range and precision from
13610         return value.
13611         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13612         (MO): New macro.
13613         (__ieee754_atan2f): For results with small absolute value, force
13614         underflow exception and remove excess range and precision from
13615         return value.
13616         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13617         (MO): New macro.
13618         (__atan): For results with small absolute value, force underflow
13619         exception and remove excess range and precision from return value.
13620         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13621         (MO): New macro.
13622         (__atanf): For results with small absolute value, force underflow
13623         exception and remove excess range and precision from return value.
13624         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13625         <math.h>.
13626         (__ieee754_atan2): Force underflow exception for results with
13627         small absolute value.
13628         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13629         <math_private.h>.
13630         (atan): Force underflow exception for results with small absolute
13631         value.
13632         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13633         (__atanf): Force underflow exception for results with small
13634         absolute value.
13635         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13636         <math.h>.
13637         (__atanl): Force underflow exception for results with small
13638         absolute value.
13639         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13640         (__atanl): Force underflow exception for results with small
13641         absolute value.
13642         * sysdeps/x86/fpu/bits/mathinline.h
13643         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13644         (__ieee754_atan2): Only define inline for long double.
13645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13647         * math/auto-libm-test-in: Do not mark underflow exceptions as
13648         possibly missing for bug 15319.  Add more tests of atan2.
13649         * math/auto-libm-test-out: Regenerated.
13650         * math/libm-test.inc (casin_test_data): Do not mark underflow
13651         exceptions as possibly missing for bug 15319.
13652         (casinh_test_data): Likewise.
13653         * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13657         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13658         * sysdeps/mips/bits/endian.h: Fix comments.
13660 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13662         [BZ #17996]
13663         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13664         (hdestroy_r): Likewise.
13665         (hsearch_r): Likewise.
13666         (__hcreate_r): Declare and use libc_hidden_proto.
13667         (__hdestroy_r): Likewise.
13668         (__hsearch_r): Likewise.
13669         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13670         (hcreate): Call __hcreate_r instead of hcreate_r.
13671         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13672         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13673         as weak alias of __hcreate_r.
13674         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13675         __hdestroy_r.
13676         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13677         __hsearch_r.
13678         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13679         Remove variable.
13680         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13681         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13682         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13683         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13685 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13687         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13688         arena_lock into a single arena_get.
13690 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13692         * dl-reloc.c: Inlucde libc-internal.h.
13693         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13694         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13695         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13696         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13697         (grow_heap): Likewise.
13698         * malloc/malloc.c: Include libc-internal.h.
13699         (do_check_malloc): Call powerof2.
13700         (sysmalloc): Use pagesize. Call ALIGN_UP.
13701         (systrim): Use pagesize.
13702         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13703         (__libc_valloc): Use pagesize.
13704         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13706 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13708         [BZ #17991]
13709         * include/sys/resource.h (__getrlimit64): Declare.  Use
13710         libc_hidden_proto.
13711         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13712         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13713         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13714         getrlimit64.
13715         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13716         __getrlimit64.
13717         [!getrlimit64] (getrlimit64): Define as weak alias of
13718         __getrlimit64.  Use libc_hidden_weak.
13719         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13720         using __getrlimit64 not __new_getrlimit64.
13721         (__GI_getrlimit64): Likewise.
13722         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13723         Likewise.
13724         (__GI_getrlimit64): Likewise.
13725         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13727         (getrlimit): Add __getrlimit64 alias.
13728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13729         Likewise.
13730         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13731         Remove variable.
13732         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13733         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13735 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13737         * libio/fileops.c: Add missing sys/mman.h
13738         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13740 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13742         * manual/math.texi (Errors in Math Functions): Clarify goals
13743         regarding inexact and underflow exceptions.
13745 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13747         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13748         * sysdeps/mips/memset.S: Ditto.
13750 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13752         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13754 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13756         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13757         (__v1longjmp): Remove versioned symbol.
13758         (__v1siglongjmp): Remove alias and versioned symbol.
13759         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13760         (__v2siglongjmp): Likewise.
13762 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13764         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13766 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13768         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13770 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13772         [BZ #17987]
13773         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13774         zero result does not depend on the sign resulting from
13775         subtraction.
13776         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13777         Likewise.
13778         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13779         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13780         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13781         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13782         * math/libm-test.inc (remquo_test_data): Add more tests.
13784 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13786         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13787         Problem reported by J William Piggott.
13789 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13791         [BZ #17978]
13792         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13793         products 4 * y and 2 * y where those would overflow.
13794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13795         Likewise.
13796         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13797         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13799         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13800         * math/libm-test.inc (remquo_test_data): Add more tests.
13802         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13804         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13805         [defined _COMPILING_NEWLIB].
13806         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13807         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13809         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13810         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13812 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13814         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13815         acquired.
13817 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13819         [BZ #17792]
13820         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13821         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13822         HOST_STACK_END_ADDR): Likewise.
13824 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13826         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13827         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13828         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13830 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13832         * sysdeps/generic/c++-types.data: New file.
13833         * sysdeps/generic/ld.abilist: New file.
13834         * sysdeps/generic/libBrokenLocale.abilist: New file.
13835         * sysdeps/generic/libanl.abilist: New file.
13836         * sysdeps/generic/libc.abilist: New file.
13837         * sysdeps/generic/libcrypt.abilist: New file.
13838         * sysdeps/generic/libdl.abilist: New file.
13839         * sysdeps/generic/libm.abilist: New file.
13840         * sysdeps/generic/libpthread.abilist: New file.
13841         * sysdeps/generic/libresolv.abilist: New file.
13842         * sysdeps/generic/librt.abilist: New file.
13844 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #17569]
13847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13848         Compute absolute value of x as modified by fmod, not original
13849         value of x.
13850         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13851         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13852         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13853         RUN_TEST_ffI_f1_mod8.
13854         (remquo_test_data): Add more tests.
13856 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13858         * sysdeps/init_array/pt-crti.S: New file.
13860 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13862         [BZ #17967]
13863         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13864         __builtin_fmaf instead of relying on contraction of a * b + c.
13866 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13868         [BZ #17969]
13869         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13870         node.
13872 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13874         [BZ #17964]
13875         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13876         __builtin_fma instead of relying on contraction of a * b + c.
13878 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13880         * Makeconfig (ASFLAGS): Add -Werror=undef.
13881         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13882         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13883         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13885         * Makeconfig (after-link): New variable.
13886         (+link-pie, +link-pie-tests): Use it.
13887         (+link-static, +link-static-tests): Likewise.
13888         (+link, +link-tests): Likewise.
13889         * Makerules (build-module, build-module-asneeded): Likewise.
13890         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13891         Likewise.
13892         * elf/Makefile ($(objpfx)ld.so): Likewise.
13894 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13896         [BZ #17965]
13897         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13898         both struct timeval and struct timespec.
13900 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #16560]
13903         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13904         and redefine.
13905         (__ieee754_exp2l): Do not multiply small fractional parts by
13906         M_LN2l.
13907         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13908         small argument.
13909         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13910         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13911         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13912         * math/auto-libm-test-in: Add more tests of exp2.
13913         * math/auto-libm-test-out: Regenerated.
13915 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13917         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13918         unaligned path.
13920 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13922         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13923         little endian.
13925 2015-02-12  Andreas Schwab  <schwab@suse.de>
13927         [BZ #15790]
13928         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13929         Filter out elision flags from value returned in kind.
13930         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13931         * nptl/tst-pthread-mutexattr.c: New file.
13933 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13935         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13936         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13937         into gnu-gnu, and update comment to refer to abi-tags.
13939 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13941         [BZ #15467]
13942         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13943         (__sincos): Set errno to EDOM for infinite argument.
13944         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13945         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13946         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13947         (__sincosl): Set errno to EDOM for infinite argument.
13948         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13949         (__sincosl): Set errno to EDOM for infinite argument.
13950         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13951         (__sincosl): Set errno to EDOM for infinite argument.
13952         * math/libm-test.inc (sincos_test_data): Test errno setting.
13954 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13956         * string/strxfrm_l.c: Remove #define STRCMP.
13957         * string/strcoll_l.c: Remove #define STRLEN.
13958         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13959         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13961 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13963         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13964         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13965         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13966         * sysdeps/mips/mips64/Makefile: ... here.
13967         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13968         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13969         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13970         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13971         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13972         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13973         * sysdeps/mips/mips64/n64/Implies: Likewise.
13975 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13977         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13978         <sys/time.h>, <string.h>, and <errno.h>.
13979         (dest_offset, dest_address, value, zero): Remove unused variables.
13980         (ldouble): Remove typedef.
13981         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13982         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13983         1).  Fix code style.
13984         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13985         (check): Function removed.
13986         (CHECK): New macro.
13987         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13988         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13989         Don't call set_sigaction_FP and remove_sigaction_FP here.
13990         (ldouble_test): Just use 'long double' as macro argument, no need for
13991         the 'ldouble' typedef.
13992         (do_test): Set up SIGFPE handler at start, using plain signal rather
13993         than sigaction.  Fix code style.
13995 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13997         [BZ #17949]
13998         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13999         jump label.
14001 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14003         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14004         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14006         * sysdeps/powerpc/configure.ac: Remove file.
14007         * sysdeps/powerpc/configure: Likewise.
14009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14010         [sysdep_routines]: Remove wordcopy-power6 object.
14011         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14012         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14013         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14014         (__memmove_ppc32): Likewise.
14015         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14016         file.
14017         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14019         Remove preprocessor.
14021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14022         [sysdep_routines]: Remove wide chars objects.
14023         [wcsmbs]: New rule for wide char objects.
14025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14026         Remove wordcopy-power6 obejct.
14027         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14028         Use local call for wordcopy and memcpy symbols.
14029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14031         implementation for loader.
14032         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14035         Remove wordcopy-power7 object.
14036         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14038         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14039         (_wordcopy_fwd_dest_aligned): Likewise.
14040         (_wordcopy_bwd_aligned): Likewise.
14041         (_wordcopy_bwd_dest_aligned): Likewise.
14043         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14044         Rewrite to call __memmove_ppc instead of include default
14045         implementation.
14047         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14048         Remove wide chars objects.
14049         [wcsmbs]: New rule for wide char objects.
14051 2015-02-09  Andreas Schwab  <schwab@suse.de>
14053         [BZ #17912]
14054         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14055         in terms of __O_DIRECTORY.
14057 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14059         * time/getdate.c: Include <stdbool.h>.
14060         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14061         call PTR_MANGLE.
14062         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14063         PTR_DEMANGLE.
14065 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14067         Add ersatz _Static_assert on older C hosts
14068         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14069         pre-C11 C platform that is not known to support _Static_assert.
14071 2015-02-07  Richard Braun  <rbraun@sceen.net>
14073         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14074         sigstate.
14075         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14077 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14079         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14080         priority against unexistent AIO_PRIO_DELTA_MAX.
14081         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14082         instead of int.
14083         * misc/fchflags.c (fchflags): Likewise.
14084         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14085         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14086         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14087         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14088         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14089         Declare macros.
14090         [__USE_MISC] (chflags, fchflags): Declare functions.
14091         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14092         EINVAL when nfds is greater than FD_SETSIZE.
14093         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14094         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14095         45.
14096         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14097         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14098         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14099         MACH_RCV_TIMED_OUT.
14100         * hurd/hurd/signal.h (_hurd_self_sigstate,
14101         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14102         Explicit casts from void *.
14103         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14104         * abi-tags: Rename gnu-gnu os into gnu.
14106         [BZ #4719]
14107         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14108         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14109         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14110         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14111         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14112         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14114         [BZ #17944]
14115         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14116         duplicates ADDR->sun_path with sockaddr LEN limitation.
14117         * sysdeps/mach/hurd/connect.c: Include <string.h>
14118         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14119         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14120         * sysdeps/mach/hurd/sendto.c: Likewise.
14121         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14122         implementing it by hand.
14124 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14126         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14127         Use sfi_breg on ldr.
14128         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14129         Likewise.
14131         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14132         it's defined.
14133         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14134         Test SIGSETXID only if it's defined.
14136         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14138         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14139         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14141         * nptl/tst-align2.c: Moved ...
14142         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14143         * nptl/Makefile (tests): Remove tst-align2.
14144         * sysdeps/unix/sysv/linux/Makefile
14145         [$(subdir) = nptl] (tests): Add tst-align-clone.
14146         * nptl/tst-getpid1.c: Moved ...
14147         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14148         * nptl/tst-getpid2.c: Moved ...
14149         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14150         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14151         * sysdeps/unix/sysv/linux/Makefile
14152         [$(subdir) = nptl] (tests): ... here.
14153         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14154         * sysdeps/unix/sysv/linux/Makefile
14155         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14157         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14158         Drop trailing \n from perror argument.  Use return rather than exit.
14160         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14161         on [SA_SIGINFO].
14162         * nptl/tst-cancel21.c (do_test): Likewise.
14163         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14164         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14165         [!SA_SIGINFO]: Make it a stub test.
14167         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14168         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14170         * posix/tst-getlogin.c: Move to ...
14171         * login/tst-getlogin.c: ... here.
14172         * posix/Makefile (tests): Move tst-getlogin to ...
14173         * login/Makefile (tests): ... here.
14175         * libio/tst-atime.c (do_test): Move local variables SV and E
14176         inside [ST_NOATIME] conditional.
14178         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14180         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14182         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14183         (wait_code): New function replaces macro.
14184         Call nanosleep rather than syscall.
14186         * nptl/pt-system.c: Rewritten.  Put everything under
14187         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14188         Use IFUNC to redirect when possible.
14190         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14191         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14192         Use IFUNC to redirect when possible.
14194         * nptl/pt-fork.c: Rewritten.  Put everything under
14195         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14196         Use IFUNC to redirect when possible.
14197         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14199         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14200         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14201         unconditionally nowadays.  This included the only reference to
14202         __vdso_clock_gettime that appears outside libc proper.
14203         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14204         Remove version set (containing only __vdso_clock_gettime).
14205         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14206         Add attribute_hidden.
14207         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14208         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14209         libc_hidden_data_def.
14210         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14211         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14213         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14214         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14215         setrpcent, and getrpcport to ...
14216         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14217         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14218         getrpcbynumber_r, and getrpcent_r to ...
14219         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14220         * inet/getrpcbyname.c: Moved ...
14221         * sunrpc/getrpcbyname.c: ... here.
14222         * inet/getrpcbyname_r.c: Moved ...
14223         * sunrpc/getrpcbyname_r.c: ... here.
14224         * inet/getrpcbynumber.c: Moved ...
14225         * sunrpc/getrpcbynumber.c: ... here.
14226         * inet/getrpcbynumber_r.c: Moved ...
14227         * sunrpc/getrpcbynumber_r.c: ... here.
14228         * inet/getrpcent.c: Moved ...
14229         * sunrpc/getrpcent.c: ... here.
14230         * inet/getrpcent_r.c: Moved ...
14231         * sunrpc/getrpcent_r.c: ... here.
14232         * inet/Makefile (routines): Move those to ...
14233         * sunrpc/Makefile (routines): ... here.
14234         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14235         the $(subdirs) list.
14236         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14237         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14238         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14239         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14241         * elf/Makefile (routines): Include $(all-dl-routines), not just
14242         $(dl-routines).
14243         (rtld-routines): Likewise.  Use = rather than :=.
14244         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14245         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14246         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14247         * sysdeps/arm/Makefile: Likewise.
14248         * sysdeps/i386/Makefile: Likewise.
14249         * sysdeps/x86_64/Makefile: Likewise.
14250         * sysdeps/hppa/Makefile [$(subdir) = elf]
14251         (sysdep_routines, sysdep-rtld-routines): Don't add
14252         $(sysdep-dl-routines) to these.
14253         * sysdeps/ia64/Makefile: Likewise.
14254         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14255         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14256         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14257         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14258         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14259         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14260         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14261         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14262         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14263         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14264         these; sysdep-dl-routines alone is enough.
14266 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14268         [BZ #17932]
14269         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14270         where multiplication results in zero and third argument is finite
14271         and nonzero.
14272         * math/auto-libm-test-in: Add more tests of fma.
14273         * math/auto-libm-test-out: Regenerated.
14275         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14276         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14277         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14278         (_FP_CMP_EQ): Likewise.
14279         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14281         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14282         extra argument CHECK_NAN.  Redefine as wrapper around
14283         _FP_EXTEND_CNAN.
14285 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14287         * version.h (RELEASE): Set to "stable".
14288         (VERSION): Set to "2.21"
14289         * include/features.h (__GLIBC_MINOR__): Set to 21.
14291         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14293 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14294             Paul Eggert  <eggert@cs.ucla.edu>
14296         [BZ #16618]
14297         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14298         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14299         size in bytes. Store needed elements in wpmax. Use needed size
14300         in bytes for extend_alloca.
14302 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14304         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14305         binutls 2.25, and texinfo 5.2.
14306         * INSTALL: Regenerate.
14307         * sysdeps/nios2/configure: Regenerate.
14308         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14309         * manual/contrib.texi: Update.
14310         * po/be.po: Update.
14311         * po/bg.po: Update.
14312         * po/ca.po: Update.
14313         * po/cs.po: Update.
14314         * po/da.po: Update.
14315         * po/de.po: Update.
14316         * po/el.po: Update.
14317         * po/eo.po: Update.
14318         * po/es.po: Update.
14319         * po/fi.po: Update.
14320         * po/fr.po: Update.
14321         * po/gl.po: Update.
14322         * po/hr.po: Update.
14323         * po/hu.po: Update.
14324         * po/ia.po: Update.
14325         * po/id.po: Update.
14326         * po/it.po: Update.
14327         * po/ja.po: Update.
14328         * po/ko.po: Update.
14329         * po/lt.po: Update.
14330         * po/nb.po: Update.
14331         * po/nl.po: Update.
14332         * po/pl.po: Update.
14333         * po/pt_BR.po: Update.
14334         * po/ru.po: Update.
14335         * po/rw.po: Update.
14336         * po/sk.po: Update.
14337         * po/sl.po: Update.
14338         * po/sv.po: Update.
14339         * po/tr.po: Update.
14340         * po/uk.po: Update.
14341         * po/vi.po: Update.
14342         * po/zh_CN.po: Update.
14343         * po/zh_TW.po: Update.
14345         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14346         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14347         * sysdeps/hppa/dl-irel.h: Remove #warning.
14348         * sysdeps/hppa/entry.h: Provide prototype for
14349         __canonicalize_funcptr_for_compare and cast argument.
14350         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14351         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14352         * sysdeps/hppa/sotruss-lib.c: New file.
14353         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14354         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14355         (atomic_compare_and_exchange_bool_acq): Likewise.
14356         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14357         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14359         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14360         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14361         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14363 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14365         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14366         called function in non-PIC case.
14368 2015-01-31  David S. Miller  <davem@davemloft.net>
14370         * sysdeps/sparc/sparc32/bits/atomic.h
14371         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14372         unlock not after it.
14373         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14374         volatile register usage warnings from the compiler.
14376         * sysdeps/sparc/nptl/sem_init.c: Delete.
14377         * sysdeps/sparc/nptl/sem_post.c: Delete.
14378         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14379         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14380         * sysdeps/sparc/sparc32/sem_init.c: New file.
14381         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14382         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14383         padding explicitly initialized.
14384         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14385         padding for in-semaphore spinlock.
14386         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14387         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14388         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14389         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14390         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14391         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14392         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14393         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14394         version.
14395         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14396         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14398 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14400         [BZ #17801]
14401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14402         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14403         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14404         New.
14405         (index_AVX_Fast_Unaligned_Load): Likewise.
14406         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14407         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14408         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14409         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14410         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14411         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14412         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14413         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14414         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14416 2015-01-29  Andreas Schwab  <schwab@suse.de>
14418         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14420 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14422         [BZ #17892]
14423         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14425 2015-01-28  Martin Sebor  <msebor@redhat.com>
14427         * math/README.libm-test: Clarify. Add "How to read the test output."
14429 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14431         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14432         Define to 0.
14434 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14436         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14437         (__HAVE_64B_ATOMICS): Define to 0.
14439 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14441         [BZ #17885]
14442         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14443         value to set as new flag.
14445         [BZ #16576]
14446         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14447         and use _ARCH_PPCSQ instead.
14448         (__ieee754_sqrt): Likewise.
14449         (__ieee754_sqrtf): Likewise.
14450         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14451         _ARCH_PPCSQ is defined.
14452         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14453         fsqrt instruction.
14454         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14455         _ARCH_PPCSQ is defined.
14456         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14457         fsqrts instruction.
14458         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14460 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14462         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14463         bug (GCC BZ #64739).
14465 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14467         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14468         Mark _retval as used.
14469         (lll_futex_wake_unlock): Likewise.
14470         (lll_futex_timed_wait_requeue_pi): Likewise.
14472         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14473         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14474         register variables.
14476         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14477         libm_hidden_def.
14479         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14480         (__bswap_64): Mark as __always_inline.
14482 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14484         [BZ #15378]
14485         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14486         when none of the search directories exist.
14488 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14490         [BZ #17869]
14491         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14492         power8 in .machine directive.
14494         [BZ #17868]
14495         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14496         set dependency from opd value.
14498 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14501         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14502         architecture.
14504 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14506         [BZ #17870]
14507         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14508         with uint64_t.
14509         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14510         (uint64_t) 1.
14511         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14512         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14513         Replace 1UL with (uint64_t) 1.
14514         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14515         int with uint64_t.
14517 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14519         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14520         (if_freenameindex): Likewise.
14522         * resource/getrlimit64.c: Add missing libc_hidden_def.
14524 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14526         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14527         __label__.
14528         (_FP_FMA): Likewise.
14529         (_FP_TO_INT_ROUND): Likewise.
14530         (_FP_FROM_INT): Likewise.
14532 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14534         [BZ #16418]
14535         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14536         Make code racy and cancel safe.
14538 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14540         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14541         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14542         attribution.
14544         * pwd/tst-getpw.c: Rewrite.
14546         [BZ #17702]
14547         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14548         (modules-names): Add moddummy1 and moddummy2.
14549         ($(objpfx)tst-rec-dlopen): Define.
14550         * dlfcn/moddummy1.c: New file.
14551         * dlfcn/moddummy2.c: New file.
14552         * dlfcn/tst-rec-dlopen.c: New file.
14553         * elf/dl-cache.c (_dl_load_cache_lookup):
14554         Return char*. Copy result with alloca/strcpy/strdup.
14555         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14556         returns char*. Free cached. If not saving realname
14557         free cached.
14558         * elf/dl-open.c (dl_open_worker): Do not assert that
14559         _r_debug->r_state is RT_CONSISTENT.
14560         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14561         returns char*.
14563 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14564             Carlos O'Donell  <carlos@redhat.com>
14566         [BZ #12674]
14567         * nptl/sem_waitcommon.c: New file.
14568         * nptl/sem_wait.c: Include sem_waitcommon.c.
14569         (__sem_wait_cleanup, do_futex_wait): Remove.
14570         (__new_sem_wait): Adapt.
14571         (__new_sem_trywait): New function.
14572         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14573         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14574         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14575         (sem_timedwait): Adapt.
14576         * nptl/sem_post.c (__new_sem_post): Adapt.
14577         (futex_wake): New function.
14578         (__old_sem_post): Add release MO fence.
14579         * nptl/sem_open.c (sem_open): Adapt.
14580         * nptl/sem_init.c (__new_sem_init): Adapt.
14581         (futex_private_if_supported): New function.
14582         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14583         (__old_sem_getvalue): Add using previous code.
14584         * sysdeps/nptl/internaltypes.h: Adapt.
14585         * nptl/tst-sem13.c (do_test): Adapt.
14586         * nptl/tst-sem11.c (main): Adapt.
14587         * nptl/sem_trywait.c: Remove.
14588         * nptl/DESIGN-sem.txt: Remove.
14589         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14590         (gen-as-const-headers): Remove structsem.sym.
14591         * nptl/structsem.sym: Remove.
14592         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14593         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14594         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14595         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14596         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14597         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14598         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14599         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14600         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14601         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14602         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14603         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14604         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14605         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14606         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14607         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14608         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14609         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14610         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14611         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14612         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14613         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14615 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14617         * INSTALL: Regenerated.
14619         * po/libc.pot: Regenerated.
14621 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14622             Sandra Loosemore  <sandra@codesourcery.com>
14623             Andrew Jenner  <andrew@codesourcery.com>
14624             Joseph Myers  <joseph@codesourcery.com>
14625             Nathan Sidwell  <nathan@codesourcery.com>
14627         * NEWS: Mention new Nios II port.
14628         * sysdeps/nios2/Implies: New file.
14629         * sysdeps/nios2/Makefile: New file.
14630         * sysdeps/nios2/Subdirs: New file.
14631         * sysdeps/nios2/Versions: New file.
14632         * sysdeps/nios2/__longjmp.S: New file.
14633         * sysdeps/nios2/abort-instr.h: New file.
14634         * sysdeps/nios2/backtrace.c: New file.
14635         * sysdeps/nios2/bits/endian.h: New file.
14636         * sysdeps/nios2/bits/fenv.h: New file.
14637         * sysdeps/nios2/bits/link.h: New file.
14638         * sysdeps/nios2/bits/setjmp.h: New file.
14639         * sysdeps/nios2/bsd-_setjmp.S: New file.
14640         * sysdeps/nios2/bsd-setjmp.S: New file.
14641         * sysdeps/nios2/configure: New generated file.
14642         * sysdeps/nios2/configure.ac: New file.
14643         * sysdeps/nios2/crti.S: New file.
14644         * sysdeps/nios2/crtn.S: New file.
14645         * sysdeps/nios2/dl-init.c: New file.
14646         * sysdeps/nios2/dl-machine.h: New file.
14647         * sysdeps/nios2/dl-sysdep.h: New file.
14648         * sysdeps/nios2/dl-tls.h: New file.
14649         * sysdeps/nios2/dl-trampoline.S: New file.
14650         * sysdeps/nios2/gccframe.h: New file.
14651         * sysdeps/nios2/gmp-mparam.h: New file.
14652         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14653         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14654         * sysdeps/nios2/ldsodefs.h: New file.
14655         * sysdeps/nios2/libc-tls.c: New file.
14656         * sysdeps/nios2/libm-test-ulps: New file.
14657         * sysdeps/nios2/machine-gmon.h: New file.
14658         * sysdeps/nios2/math-tests.h: New file.
14659         * sysdeps/nios2/math_private.h: New file.
14660         * sysdeps/nios2/memusage.h: New file.
14661         * sysdeps/nios2/nptl/Makefile: New file.
14662         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14663         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14664         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14665         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14666         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14667         * sysdeps/nios2/nptl/tls.h: New file.
14668         * sysdeps/nios2/preconfigure: New file.
14669         * sysdeps/nios2/s_fma.c: New file.
14670         * sysdeps/nios2/s_fmaf.c: New file.
14671         * sysdeps/nios2/setjmp.S: New file.
14672         * sysdeps/nios2/sfp-machine.h: New file.
14673         * sysdeps/nios2/sotruss-lib.c: New file.
14674         * sysdeps/nios2/stackguard-macros.h: New file.
14675         * sysdeps/nios2/stackinfo.h: New file.
14676         * sysdeps/nios2/start.S: New file.
14677         * sysdeps/nios2/sysdep.h: New file.
14678         * sysdeps/nios2/tls-macros.h: New file.
14679         * sysdeps/nios2/tst-audit.h: New file.
14680         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14681         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14682         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14683         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14684         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14685         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14686         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14687         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14688         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14689         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14690         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14691         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14692         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14693         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14694         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14695         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14696         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14697         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14698         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14699         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14700         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14701         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14702         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14703         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14704         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14705         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14706         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14707         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14708         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14709         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14710         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14711         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14712         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14713         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14714         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14715         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14716         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14717         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14718         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14719         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14720         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14721         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14722         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14723         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14725 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14727         [BZ #17844]
14728         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14729         (getutent): Use weak_alias in non SHARED case
14730         and default_symbol_version in SHARED case.
14731         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14732         (getutent_r, pututline): Likewise.
14733         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14734         (getutid): Likewise.
14735         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14736         (getutid_r): Likewise.
14737         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14738         (getutline): Likewise.
14739         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14740         (getutline_r): Likewise.
14741         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14742         (updwtmp): Likewise.
14744 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14746         [BZ #17848]
14747         * sysdeps/s390/s390-32/memcmp.S
14748         (memcmp_g5): Rename to __memcmp_g5.
14749         * sysdeps/s390/s390-32/memcpy.S
14750         (memcpy_g5): Rename to __memcpy_g5.
14751         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14752         (memcpy_mvcle) Rename to __memcpy_mvcle.
14753         * sysdeps/s390/s390-32/memset.S
14754         (memset_g5): Rename to __memset_g5.
14755         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14756         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14757         and use prefixed functions.
14758         * sysdeps/s390/s390-32/multiarch/memcmp.S
14759         (memcmp_z196): Rename to __memcmp_z196.
14760         (memcmp_z10): Rename to __memcmp_z10.
14761         (memcmp): Set alias to __memcmp_g5.
14762         (bcmp): Set alias to __memcmp_g5.
14763         * sysdeps/s390/s390-32/multiarch/memcpy.S
14764         (memcpy_z196): Rename to __memcpy_z196.
14765         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14766         (memcpy_z10): Rename to __memcpy_z10.
14767         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14768         (memcpy): Set alias to __memcpy_g5.
14769         * sysdeps/s390/s390-32/multiarch/memset.S
14770         (memset_z196): Rename to __memset_z196.
14771         Jump to __memset_mvcle instead of memset_mvcle.
14772         (memset_z10): Rename to __memset_z10.
14773         Jump to __memset_mvcle instead of memset_mvcle.
14774         (memset_mvcle) Rename to __memset_mvcle.
14775         (memset): Set alias to __memset_g5.
14776         * sysdeps/s390/s390-64/memcmp.S
14777         (memcmp_z900): Rename to __memcmp_z900.
14778         * sysdeps/s390/s390-64/memcpy.S
14779         (memcpy_z900): Rename to __memcpy_z900.
14780         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14781         (memcpy_mvcle) Rename to __memcpy_mvcle.
14782         * sysdeps/s390/s390-64/memset.S
14783         (memset_z900): Rename to __memset_z900.
14784         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14785         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14786         and use prefixed functions.
14787         * sysdeps/s390/s390-64/multiarch/memcmp.S
14788         (memcmp_z196): Rename to __memcmp_z196.
14789         (memcmp_z10): Rename to __memcmp_z10.
14790         (memcmp): Set alias to __memcmp_z900.
14791         (bcmp): Set alias to __memcmp_z900.
14792         * sysdeps/s390/s390-64/multiarch/memcpy.S
14793         (memcpy_z196): Rename to __memcpy_z196.
14794         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14795         (memcpy_z10): Rename to __memcpy_z10.
14796         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14797         (memcpy): Set alias to __memcpy_z900.
14798         * sysdeps/s390/s390-64/multiarch/memset.S
14799         (memset_z196): Rename to __memset_z196.
14800         Jump to __memset_mvcle instead of memset_mvcle.
14801         (memset_z10): Rename to __memset_z10.
14802         Jump to __memset_mvcle instead of memset_mvcle.
14803         (memset_mvcle) Rename to __memset_mvcle.
14804         (memset): Set alias to __memset_z900.
14806 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #17748]
14809         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14810         __fesetenv instead of fesetenv.
14812 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14814         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14815         macro.
14817 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14819         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14820         regression on LE.
14822         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14823         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14824         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14825         strncmp-power8 object.
14826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14827         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14828         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14829         * NEWS: Update.
14831 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14832             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14834         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14835         trailing byte check.
14837 2015-01-13  David S. Miller  <davem@davemloft.net>
14839         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14841 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14843         * login/logout.c (logout): Use memset rather than bzero.
14844         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14845         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14846         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14847         (_gethtbyaddr): Likewise.
14848         * locale/programs/simple-hash.c (bcopy): Macro removed.
14850 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14853         Add strcmp-power8 object.
14854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14855         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14856         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14857         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14858         __strcmp_power8 implementation.
14859         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14860         * NEWS: Update.
14862         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14863         Add strncpy-power8 and stpncpy-power8 objects.
14864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14865         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14866         implementations.
14867         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14868         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14869         __stpncpy_power8 implementation.
14870         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14871         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14872         __strncpy_power8 implementation.
14873         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14874         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14875         * NEWS: Update.
14877         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14878         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14879         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14881         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14882         strncat-power8 object.
14883         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14884         __strcat_power8 implementation.
14885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14886         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14887         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14888         optimized strcat for power8.
14890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14891         strcpy-power8 and stpcpy-power8 objects.
14892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14893         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14894         implementations.
14895         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14896         multiarch stpcpy implementation for POWER8.
14897         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14898         multiarch strcpy implementation for POWER8.
14899         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14900         __strcpy_power8 function.
14901         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14902         stpcpy for POWER8.
14903         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14904         strcpy for POWER8.
14905         * NEWS: Update.
14907 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14909         [BZ #16009]
14910         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14911         weights and rules. Use do_xfrm_cached if data fits in cache,
14912         do_xfrm otherwise.  Moved former main loop to...
14913         * (do_xfrm_cached): New function.
14914         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14915         find_idx, find_position and stack_push.
14916         * (find_idx): New function.
14917         * (find_position): Likewise.
14918         * localedata/sort-test.sh: Added test run for do_xfrm.
14919         * localedata/xfrm-test.c (main): Added command line option
14920         -nocache to run the test with strings that are too large for
14921         the STRXFRM cache.
14923 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14925         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14926         variable to lll_futex_wake call, not the value itself.
14928 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14930         [BZ #17803]
14931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14932         twom64.  Adjust value to 0x1p-64L.
14933         (__scalblnl): Only return standard underflowing result for K <=
14934         -64 not K <= -63; adjust exponent for underflowing result by 64
14935         not 63.
14936         * math/libm-test.inc (scalbn_test_data): Add more tests.
14937         (scalbln_test_data): Likewise.
14939         [BZ #17834]
14940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14941         0x1p63L.
14942         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14943         not HX.
14944         * math/libm-test.inc (scalbn_test_data): Add more tests.
14945         (scalbln_test_data): Likewise.
14947 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14948             Stefani Seibold  <stefani@seibold.net>
14950         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14951         (sysdep_routines): Add dl-vdso here, ...
14952         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14953         (sysdep_routines): ... not here.
14954         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14955         fallback when vDSO is not presented.
14956         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14957         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14958         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14959         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14960         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14961         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14962         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14963         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14964         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14965         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14966         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14967         fallback configurable symbol when vDSO is not available.
14968         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14969         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14970         be able to redefine fallback symbol when vDSO is not available.
14971         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14972         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14974 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14976         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14977         (TLS_INIT_TP): Add tm_capable initialization.
14978         (TLS_DEFINE_INIT_TP): Likewise.
14979         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14980         TCB.
14981         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14982         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14983         calculation.
14984         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14985         transactoion is lock elision is built and TCB tm_capable is set.
14986         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14988         (INTERNAL_SYSCALL_NCS): Likewise.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14990         (INTERNAL_SYSCALL_NCS): Likewise.
14991         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14993         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14994         for powerpc.
14995         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14996         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14997         and remove it for 32 bits case.
14998         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15000         initialization.
15001         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15002         Disable lock elision with rdlocks if elision is not available.
15004         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15005         (sysdep_routines): Add lock elision objects.
15006         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15007         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15008         [pthread_mutex_t] (__elision): Add field.
15009         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15010         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15011         elision definitions for powerpc.
15012         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15013         implementation of lock elision for powerpc.
15014         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15015         implementation of timed lock elision for powerpc.
15016         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15017         implementation of trylock with lock elision for powerpc.
15018         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15019         implementaion of unlock for lock elision for powerpc.
15020         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15021         automatic enable lock elision for mutexes.
15022         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15023         transaction execution definitions for powerpc.
15024         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15025         definitions.
15026         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15027         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15028         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15029         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15030         * NEWS: Update.
15032 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15034         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15035         for #include of <shm-directory.h>.
15037 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15039         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15040         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15042 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15044         [BZ #17791]
15045         * NEWS: Mention bug fix.
15046         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15047         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15048         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15050 2015-01-09  Torvald Riegel <triegel@redhat.com>
15052         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15054 2015-01-09  Torvald Riegel <triegel@redhat.com>
15056         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15058 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15060         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15061         pointer and cast to uintptr_t.
15063 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15065         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15066         removed.
15067         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15069 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15071         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15072         of 0.
15074 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15076         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15077         <nptl/pthreadP.h> instead.
15078         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15080         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15081         already defined.
15082         [__SIGRTMIN] (init): Function removed.
15083         [__SIGRTMIN] (initialized): Variable removed.
15084         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15085         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15086         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15087         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15088         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15089         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15090         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15091         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15092         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15093         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15094         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15095         * sysdeps/nptl/allocrtsig.c: New file.
15096         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15097         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15098         * sysdeps/generic/testrtsig.h: File removed.
15100         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15101         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15103         * nptl/nptl-init.c (pthread_functions): Conditionalize
15104         .ptr__nptl_setxid initialization on [SIGSETXID].
15106         * sysdeps/nptl/sys/procfs.h: New file.
15107         * nptl_db/Makefile (headers): Add it.
15108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15110         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15111         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15112         * nptl/pthread_attr_setaffinity.c: Include it.
15113         * nptl/pthread_setattr_default_np.c: Likewise.
15114         * nptl/check-cpuset.h: New file.
15116 2015-01-08  Richard Henderson  <rth@redhat.com>
15118         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15119         (CFLAGS-tst-execstack-prog.c): Likewise.
15120         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15122 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15123             Sandra Loosemore  <sandra@codesourcery.com>
15124             Andrew Jenner  <andrew@codesourcery.com>
15125             Joseph Myers  <joseph@codesourcery.com>
15126             Nathan Sidwell  <nathan@codesourcery.com>
15128         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15129         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15130         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15131         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15132         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15133         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15134         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15135         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15136         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15137         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15138         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15139         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15140         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15141         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15142         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15143         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15144         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15146 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15149         timespec struct member in syscall macro.
15150         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15151         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15152         first timeval struct member in syscall macro.
15153         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15155 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #17748]
15158         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15159         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15160         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15161         __feupdateenv and define as weak alias of __feupdateenv.  Use
15162         libm_hidden_weak.
15163         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15164         libm_hidden_def.
15165         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15166         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15167         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15168         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15169         libm_hidden_def.
15170         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15171         __feupdateenv and define as weak alias of __feupdateenv.  Use
15172         libm_hidden_weak.
15173         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15174         libm_hidden_def.
15175         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15176         __feupdateenv and define as weak alias of __feupdateenv.  Use
15177         libm_hidden_weak.
15178         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15179         libm_hidden_def.
15180         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15181         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15182         (__feupdateenv): Likewise.
15183         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15184         __feupdateenv and define as weak alias of __feupdateenv.  Use
15185         libm_hidden_weak.
15186         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15187         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15188         libm_hidden_def.
15189         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15190         function.
15191         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15192         libm_hidden_def.
15193         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15194         __feupdateenv instead of feupdateenv.
15195         (default_libc_feupdateenv_test): Likewise.
15196         (libc_feresetround_ctx): Likewise.
15198 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15200         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15201         prototype.
15203 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15205         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15206         COLL_SYM in a couple of places to avoid uninitialized variable
15207         wanings on tilegx gcc 4.8.2.
15209 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15211         * sysdeps/aarch64/strcpy.S: New file.
15212         * sysdeps/aarch64/stpcpy.S: New file.
15213         * NEWS: Updated.
15215 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15217         * sysdeps/aarch64/strrchr.S: New file.
15218         * NEWS: Updated.
15220 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15222         [BZ #17658]
15223         * stdlib/setenv.c: Fix memory leak when setting large,
15224         duplicate string.
15226 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15228         [BZ #17273]
15229         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15230         and tabs from buffer before parsing fstab entry.
15231         * misc/tst-mntent.c (main): Add test for mount entry with
15232         trailing spaces and tabs.
15234 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15236         [BZ #17748]
15237         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15238         * math/fesetround.c (fesetround): Rename to __fesetround and
15239         define as weak alias of __fesetround.  Use libm_hidden_weak.
15240         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15241         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15242         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15243         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15244         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15245         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15246         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15247         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15248         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15249         __fesetround_inline.
15250         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15251         __fesetround_inline instead of __fesetround.
15252         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15253         __fesetround and define as weak alias of __fesetround.  Use
15254         libm_hidden_weak.  Call __fesetround_inline instead of
15255         __fesetround.
15256         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15257         __fesetround and define as weak alias of __fesetround.  Use
15258         libm_hidden_weak.
15259         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15260         Likewise.
15261         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15262         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15263         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15264         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15265         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15266         __fesetround and define as weak alias of __fesetround.  Use
15267         libm_hidden_weak.
15268         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15269         __fesetround instead of fesetround.
15270         (default_libc_feholdexcept_setround): Likewise.
15271         (libc_feholdsetround_ctx): Likewise.
15272         (libc_feholdsetround_noex_ctx): Likewise.
15274         [BZ #17748]
15275         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15276         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15278         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15279         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15280         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15281         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15282         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15283         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15284         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15285         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15286         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15287         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15288         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15289         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15290         libm_hidden_def.
15291         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15292         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15293         Likewise.
15294         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15295         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15296         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15297         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15298         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15299         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15300         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15301         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15302         __fesetenv instead of fesetenv.
15303         (libc_feresetround_noex_ctx): Likewise.
15304         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15305         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15306         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15307         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15308         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15309         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15310         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15311         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15312         (__feupdateenv): Likewise.
15313         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15314         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15315         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15316         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15318 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15320         [BZ #17806]
15321         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15322         addresses have been freed.
15324 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15326         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15327         and nservall.
15329 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15331         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15332         Clean up check_pf allocation pattern. addresses
15334 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15336         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15337         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15338         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15339         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15340         * nptl/pthread_join.c (pthread_join): Likewise.
15341         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15342         * sysdeps/posix/waitid.c (__waitid): Likewise.
15343         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15344         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15345         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15346         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15350         (__libc_pread64): Likewise.
15351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15352         (__libc_pwrite): Likewise.
15353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15354         (__libc_pwrite64): Likewsie.
15355         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15356         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15357         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15358         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15359         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15360         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15361         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15363         Likewise.
15364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15365         (__libc_pread64): Likewise.
15366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15367         Likewise.
15368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15369         (__libc_pwrite64): Likewise.
15370         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15371         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15372         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15373         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15374         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15375         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15376         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15377         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15378         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15379         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15380         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15381         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15382         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15383         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15384         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15385         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15386         Likewise.
15388 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15390         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15391         (CFLAGS-test-double.c): Likewise.
15392         (CFLAGS-test-ldouble.c): Likewise.
15393         (CPPFLAGS-test-ifloat.c): Likewise.
15394         (CPPFLAGS-test-idouble.c): Likewise.
15395         (CPPFLAGS-test-ildoubl.c): Likewise.
15396         (CFLAGS-test-test-fenv.c): Remove variable.
15397         (CFLAGS-test-misc.c): Likewise.
15399 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15401         [BZ #17797]
15402         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15403         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15404         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15405         CLOCKS_PER_SEC == 1000000.
15406         * time/clocktest.c (main): Replace %ld with %jd and cast to
15407         intmax_t.
15409 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15411         * sysdeps/generic/unwind-resume.h: New file.
15412         * sysdeps/gnu/unwind-resume.c: Include it.
15413         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15414         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15415         argument list.
15416         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15417         global rather than static.
15418         (_Unwind_Resume): Update user.
15419         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15420         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15421         rather than static.  Add __attribute__ ((cold)).
15422         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15423         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15424         * sysdeps/arm/arm-unwind-resume.S: New file.
15425         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15426         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15427         * sysdeps/arm/Makefile [$(subdir) = csu]
15428         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15429         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15430         Add rt-arm-unwind-resume.
15431         [$(subdir) = nptl]
15432         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15433         Add pt-arm-unwind-resume.
15434         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15435         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15437 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15439         [BZ #17748]
15440         * include/fenv.h (__feholdexcept): Declare.  Use
15441         libm_hidden_proto.
15442         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15443         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15444         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15445         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15446         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15447         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15448         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15449         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15450         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15451         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15452         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15453         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15454         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15455         (feholdexcept): Likewise.
15456         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15457         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15458         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15459         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15460         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15461         __feholdexcept instead of feholdexcept.
15462         (default_libc_feholdexcept_setround): Likewise.
15464 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15466         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15467         to avoid using stl/str to align destination.
15469 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15471         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15473 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #17796]
15476         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15477         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15478         Define as weak alias not strong alias.
15480 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15482         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15483         bltzal with addiupc.
15484         (RTLD_START): Ditto.
15486 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15488         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15489         for __vdso_* functions in declarations.
15490         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15491         definitions.
15492         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15493         INTERNAL_VSYSCALL): Use struct return types to check for error.
15495         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15496         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15497         function with cast from llround().
15498         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15499         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15500         Define.
15502 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #17793]
15505         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15506         Define as weak alias not strong alias.
15508         [BZ #17635]
15509         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15510         ...
15511         * ctype/ctype-extn.c: ... here.
15512         (__isblank_l): Move to ...
15513         * ctype/ctype-c99_l.c: ... here.  New file.
15514         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15515         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15516         Remove variable.
15517         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15518         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15519         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15520         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15521         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15523         [BZ #17777]
15524         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15525         (posix_fadvise64): Define as weak alias not strong alias.
15526         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15527         (posix_fallocate64): Likewise.
15528         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15529         Remove variable.
15530         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15531         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15532         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15533         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15534         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15536 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15538         [BZ #16191]
15539         * NEWS: Mention bug fix.
15540         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15541         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15542         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15543         (HOST_STACK_END_ADDR): Likewise.
15545 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15547         [BZ #17748]
15548         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15549         * math/fegetround.c (fegetround): Rename to __fegetround and
15550         define as weak alias of __fegetround.  Use libm_hidden_weak.
15551         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15552         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15553         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15554         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15555         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15556         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15557         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15558         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15559         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15560         Undefine after rather than before function definition; use
15561         parentheses around function name in definition.
15562         (__fegetround): Also undefine macro after function definition.
15563         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15564         __fegetround and define as weak alias of __fegetround.  Use
15565         libm_hidden_weak.  Do not undefine as macro.
15566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15567         Likewise.
15568         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15569         __fegetround and define as weak alias of __fegetround.  Use
15570         libm_hidden_weak.
15571         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15572         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15573         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15574         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15575         __fegetround and define as weak alias of __fegetround.  Use
15576         libm_hidden_weak.
15577         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15578         __fegetround instead of fegetround.
15580         [BZ #17782]
15581         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15582         Condition macro definition on [__USE_MISC].
15584         [BZ #17781]
15585         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15586         (struct sigaction): Change type of sa_flags field to int.
15588         [BZ #17780]
15589         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15590         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15591         __glibc_reserved0.
15593         * nptl/version.c (banner): Use single year in copyright notice.
15595         * NEWS: Update copyright dates.
15596         * catgets/gencat.c (print_version): Likewise.
15597         * csu/version.c (banner): Likewise.
15598         * debug/catchsegv.sh: Likewise.
15599         * debug/pcprofiledump.c (print_version): Likewise.
15600         * debug/xtrace.sh (do_version): Likewise.
15601         * elf/ldconfig.c (print_version): Likewise.
15602         * elf/ldd.bash.in: Likewise.
15603         * elf/pldd.c (print_version): Likewise.
15604         * elf/sotruss.sh: Likewise.
15605         * elf/sprof.c (print_version): Likewise.
15606         * iconv/iconv_prog.c (print_version): Likewise.
15607         * iconv/iconvconfig.c (print_version): Likewise.
15608         * locale/programs/locale.c (print_version): Likewise.
15609         * locale/programs/localedef.c (print_version): Likewise.
15610         * login/programs/pt_chown.c (print_version): Likewise.
15611         * malloc/memusage.sh (do_version): Likewise.
15612         * malloc/memusagestat.c (print_version): Likewise.
15613         * malloc/mtrace.pl: Likewise.
15614         * manual/libc.texinfo: Likewise.
15615         * nptl/version.c (banner): Likewise.
15616         * nscd/nscd.c (print_version): Likewise.
15617         * nss/getent.c (print_version): Likewise.
15618         * nss/makedb.c (print_version): Likewise.
15619         * posix/getconf.c (main): Likewise.
15620         * scripts/test-installation.pl: Likewise.
15621         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15623 2015-01-02  Will Newton  <will.newton@linaro.org>
15625         * sysdeps/arm/armv7/configure: Removed.
15626         * sysdeps/arm/armv7/configure.ac: Likewise.
15628 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15630         * All files with FSF copyright notices: Update copyright dates
15631         using scripts/update-copyrights.
15632         * intl/plural.c: Regenerated.
15633         * locale/programs/charmap-kw.h: Likewise.
15634         * locale/programs/locfile-kw.h: Likewise.
15636 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15638         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15640 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15642         [BZ #17748]
15643         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15644         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15645         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15646         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15647         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15648         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15649         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15650         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15651         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15652         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15653         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15654         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15655         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15656         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15657         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15658         libm_hidden_def.
15659         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15661         Likewise.
15662         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15663         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15665         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15666         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15667         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15668         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15669         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15670         __fegetenv instead of fegetenv.
15671         (libc_feholdsetround_noex_ctx): Likewise.
15673 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15675         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15676         (Elf_MIPS_ABIFlags_v0): New structure.
15677         (EF_MIPS_FP64): Define.
15678         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15679         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15680         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15681         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15682         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15683         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15684         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15685         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15686         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15687         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15688         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15689         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15690         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15691         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15692         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15693         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15694         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15695         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15696         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15697         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15698         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15699         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15700         field.
15701         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15702         EF_MIPS_FP64.
15703         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15704         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15705         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15706         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15707         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15708         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15709         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15710         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15711         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15712         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15713         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15714         record the current FP ABI extension.
15715         (mips-mode-switch): Define to show if kernel headers support mode
15716         switching.
15717         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15718         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15719         supported SYSV ABI version to 3.
15720         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15721         feature.
15723 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15724             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15726         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15727         path.
15728         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15730 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15732         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15733         __fegetround and redefine to call __fegetround.  Remove condition
15734         on [!__NO_MATH_INLINES].
15735         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15736         function.
15737         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15738         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15739         Remove macro.
15740         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15741         instead of <fenv_libc.h>.
15742         (__llrintl): Call fegetround instead of __fegetround.
15743         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15744         instead of <fenv_libc.h>.
15745         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15746         (__lrintl): Call fegetround instead of __fegetround.
15747         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15748         instead of <fenv_libc.h>.
15749         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15750         (__rintl): Call fegetround instead of __fegetround.
15752 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15754         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15755         arrays.
15757 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15759         [BZ #17775]
15760         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15761         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15762         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15764 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15766         * sysdeps/i386/tls-macros.h: Include <features.h>.
15767         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15768         (TLS_IE): Likewise.
15769         (TLS_LD): Likewise.
15770         (TLS_GD): Likewise.
15771         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15772         define for GCC >= 5.0.
15774 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15776         * math/test-fenv.c (test_single_exception, set_single_exc,
15777         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15778         feexcp_mask_test, feenable_test, fe_single_test): Add
15779         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15780         case where they are not used.
15781         * math/libm-test.inc: Likewise.
15782         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15783         unused in the absence of FP rounding/exception support.
15784         * stdio-common/tst-printf-round.c: Likewise.
15785         * stdlib/tst-strtod-round.c: Likewise.
15786         * stdlib/tst-strtod-underflow.c: Likewise.
15788 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15790         [BZ #17723]
15791         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15792         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15793         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15794         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15795         libm_hidden_weak.
15796         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15797         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15798         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15799         libm_hidden_def.
15800         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15801         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15802         libm_hidden_weak.
15803         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15804         Likewise.
15805         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15806         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15807         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15808         libm_hidden_weak.
15809         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15810         libm_hidden_def.
15811         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15812         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15813         (__feraiseexcept): Likewise.
15814         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15815         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15816         libm_hidden_weak.
15817         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15818         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15819         libm_hidden_def.
15820         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15821         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15822         Use libm_hidden_def.
15823         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15824         libm_hidden_def.
15825         (feraiseexcept): Define as weak not strong alias.  Use
15826         libm_hidden_weak.
15827         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15828         New inline function.  Factored out of ...
15829         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15830         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15831         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15832         feraiseexcept.
15833         * math/w_acos.c (__acos): Likewise.
15834         * math/w_asin.c (__asin): Likewise.
15835         * math/w_ilogb.c (__ilogb): Likewise.
15836         * math/w_j0.c (y0): Likewise.
15837         * math/w_j1.c (y1): Likewise.
15838         * math/w_jn.c (yn): Likewise.
15839         * math/w_log.c (__log): Likewise.
15840         * math/w_log10.c (__log10): Likewise.
15841         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15842         * sysdeps/aarch64/fpu/math_private.h
15843         (libc_feupdateenv_test_aarch64): Likewise.
15844         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15845         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15846         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15847         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15848         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15849         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15850         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15851         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15852         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15853         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15855 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15857         [BZ #17732]
15858         * io/test-utime.c (main): Replace %ld with %jd and cast to
15859         intmax_t.
15860         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15861         * nptl/tst-mutex5.c: Include <stdint.h>.
15862         (do_test): Replace %ld with %jd and cast to intmax_t.
15863         * posix/tst-regex.c (run_test): Likewise.
15864         (run_test_backwards): Likewise.
15865         * rt/tst-clock.c: Include <stdint.h>.
15866         (clock_test): Replace %ld with %jd and cast to intmax_t.
15867         * rt/tst-cpuclock1.c: Include <stdint.h>.
15868         (do_test): Replace %lu with %ju and cast to uintmax_t.
15869         * rt/tst-cpuclock2.c: Include <stdint.h>.
15870         (do_test): Replace %lu with %ju and cast to uintmax_t.
15871         * rt/tst-mqueue1.c: Include <stdint.h>.
15872         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15873         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15874         intmax_t.
15875         * rt/tst-mqueue4.c (do_test): Likewise.
15876         * rt/tst-timer4.c: Include <stdint.h>.
15877         (check_ts): Replace %ld with %jd and cast to intmax_t.
15878         (do_test): Likewise.
15879         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15880         and cast to intmax_t.
15881         * sysdeps/pthread/tst-timer.c (main): Likewise.
15882         * time/clocktest.c (main): Likewise.
15883         * time/tst-posixtz.c (do_test): Likewise.
15884         * timezone/tst-timezone.c (main): Likewise.
15886 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15887             H.J. Lu  <hongjiu.lu@intel.com>
15889         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15890         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15891         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15892         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15893         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15894         version if bit_Fast_Unaligned_Load is set.
15895         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15896         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15897         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15898         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15899         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15900         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15901         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15902         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15903         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15904         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15905         to 4.
15906         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15907         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15908         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15909         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15911 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15913         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15914         instead of #if to avoid a Wundef warning.
15915         * stdlib/tst-limits.c (do_test): Likewise.
15917         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15918         parallel other exception macros.
15919         (fegetenv): Convert from macro to extern inline so that it applies
15920         retroactively to inline functions already seen by the compiler.
15921         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15923         * posix/Makefile (before-compile): Use $(objpfx) for
15924         posix-conf-vars-def.h.
15926 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928         * posix/getconf.c (main): Use size_t for type of I.
15929         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15930         NSPEC.
15932         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15933         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15934         * posix/posix-envs.def: Likewise.
15935         * sysdeps/posix/sysconf.c: Likewise.
15936         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15937         (specs): Remove array.
15938         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15939         array.
15941         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15942         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15943         (__sysconf): Use CONF_IS_* macros.
15945         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15946         ($(objpfx)posix-conf-vars-def.h): New target.
15947         * posix/posix-conf-vars.list: New file.
15948         * posix/posix-conf-vars.h: New file.
15949         * posix/confstr.c: Include posix-conf-vars.h.
15950         (confstr): Use CONF_IS_* macros.
15951         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15952         CONF_IS_* macros.
15953         * scripts/gen-posix-conf-vars.awk: New file.
15955 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15957         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15958         fegetround): Add no-op macros to avoid linknamespace issues.
15960         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15961         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15963         * sysdeps/unix/sysv/linux/tile/sysdep.h
15964         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15965         assembly-specific section to avoid a redefinition warning.
15967         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15968         long before casting to pointer to avoid a cast warning.
15970 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15972         * sysdeps/tile/tilegx/Implies: New file.
15974 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15976         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15978 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15980         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15982 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15984         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15985         not define.
15986         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15987         <kernel-features.h>.
15988         (__utimes) [__NR_utimes]: Make code unconditional.
15989         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15990         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15991         (__ASSUME_UTIMES): Do not undefine.
15992         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15993         (__ASSUME_UTIMES): Likewise.
15994         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15995         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15996         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15997         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15999 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16001         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16003 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16005         [BZ #17747]
16006         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16007         alias to weak alias for j0l, y0l.
16008         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16009         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16011         [BZ #17746]
16012         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16013         conversion.
16015 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16017         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16018         to zero if not already defined.
16020 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16022         [BZ #17724]
16023         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16024         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16025         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16026         (char *) casts added.
16027         * sysdeps/ieee754/k_standardf.c: New file.
16028         * sysdeps/ieee754/k_standardl.c: Likewise.
16029         * math/Makefile (libm-support): Remove k_standard.
16030         (libm-calls): Add k_standard.
16032 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16034         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16035         Optimize to avoid an unnecessary FPCR read.
16037 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16039         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16040         Optimize to reduce FPCR/FPSR accesses.
16042 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16044         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16045         Call libc_fetestexcept_aarch64.
16047 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16049         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16050         Call libc_fesetround_aarch64.
16052 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16054         [BZ #17733]
16055         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16056         (__bind): Do not define as weak alias.
16057         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16058         define.
16059         (__getsockname): Do not define as weak alias.
16061 2014-12-22  Will Newton  <will.newton@linaro.org>
16063         * manual/install.texi: Document that we require bison 2.7
16064         or above.
16065         * INSTALL: Regenerate.
16066         * configure.ac: Use AC_CHECK_PROG_VER instead of
16067         AC_PATH_PROG when checking for bison and check for
16068         version 2.7 or above.
16069         * configure: Regenerate.
16071 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16073         [BZ #17745]
16074         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16075         * sysdeps/tile/ffsll.c (ffsll): To here.
16077         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16079 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16081         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16082         if not defined.
16083         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16084         definition.
16085         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16086         hidden ___tls_get_addr.
16087         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16088         hidden __tls_get_addr.
16089         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16090         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16091         Likewise.
16093 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16095         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16096         _dl_init call.
16098 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16100         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16101         from "call _dl_init@PLT".
16102         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16104 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16106         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16107         guarantees.
16109 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16111         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16113 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16115         [BZ #17744]
16116         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16117         strnlen.
16119 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16121         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16122         of multu on MIPSr6.
16123         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16124         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16125         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16126         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16127         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16129 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16131         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16132         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16133         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16134         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16135         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16136         mips32r6/mips64r6.
16137         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16139 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16141         * string/strncat.c (STRNCAT): Simplify implementation.
16143 2014-12-19  David S. Miller  <davem@davemloft.net>
16145         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16146         access the quad as both a long double and as a series of 4 words.
16148         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16149         link_map->l_info array access.
16151 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16153         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16155         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16156         * math/atest-exp2.c (TIMEOUT): Likewise.
16157         * math/atest-sincos.c (TIMEOUT): Likewise.
16159 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16161         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16162         -Wno-error with -fno-builtin-lround.
16164 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16166         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16167         Contains futex constants and functions moved over from ...
16168         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16169         <lowlevellock-futex.h>.
16170         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16171         (lll_timedwait_tid): Add comments and parentheses around macro
16172         arguments.
16174 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16176         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16177         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16178         (__lll_private_flag): Remove.
16179         (lll_futex_wait): Likewise.
16180         (lll_futex_timed_wait): Likewise.
16181         (lll_futex_wake): Likewise.
16182         (lll_futex_requeue): Likewise.
16183         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16184         (__lll_timedwait_tid): Spell out argument names.
16185         (lll_timedwait_tid): Add comments and parentheses around macro
16186         arguments.
16187         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16188         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16190 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16192         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16193         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16194         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16195         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16196         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16197         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16198         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16199         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16200         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16201         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16206         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16207         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16208         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16209         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16210         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16212 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16214         * sysdeps/x86_64/x32/Makefile: New file.
16216 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16218         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16219         1L with (mp_limb_t) 1.
16221 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16223         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16224         * nptl/libc_pthread_init.c: ... here.
16225         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16226         * nptl/register-atfork.c: ... here.
16228         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16229         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16230         Use assert_perror to check its return value.
16231         (__gai_create_helper_thread): Likewise.
16233         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16235         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16237 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16239         [BZ #17725]
16240         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16241         __profil_counter.
16242         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16243         Likewise.
16244         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16245         Likewise.
16246         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16247         Likewise.
16248         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16249         (profil_counter): Likewise.
16250         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16251         (profil_counter): Likewise.
16252         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16253         Likewise.
16254         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16255         Likewise.
16256         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16257         (profil_counter): Likewise.
16258         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16259         Likewise.
16260         [!__profil_counter] (profil_counter): Define as weak alias of
16261         __profil_counter.
16262         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16263         (profil_counter): Rename to __profil_counter.
16264         [!__profil_counter] (profil_counter): Define as weak alias of
16265         __profil_counter.
16266         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16267         (profil_counter): Rename to __profil_counter.
16268         [!__profil_counter] (profil_counter): Define as weak alias of
16269         __profil_counter.
16270         * sysdeps/posix/profil.c: Update comment referring to
16271         profil_counter.
16272         (__profil): Use __profil_counter instead of profil_counter.
16273         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16274         __profil_counter.  Use __profil_counter_ushort and
16275         __profil_counter_uint in definitions.
16276         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16277         instead of profil_counter_uint and profil_counter_ushort.
16279         [BZ #17722]
16280         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16281         define as weak alias of __inet_makeaddr.
16282         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16283         as weak alias of __inet_addr.
16284         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16285         as weak alias of __inet_pton.  Use libc_hidden_weak.
16286         * include/arpa/inet.h (__inet_pton): Declare.  Use
16287         libc_hidden_proto.
16288         (inet_makeaddr): Don't use libc_hidden_proto.
16289         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16290         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16291         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16292         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16293         Remove variable.
16294         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16295         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16297 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16299         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16301 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16303         * stdio-common/bug-vfprintf-nargs.c (do_test):
16304         Cast value to intptr_t to avoid format warning
16305         for usage with PRIdPTR printing macro.
16307 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16309         * libio/tst-widetext.c (do_test):
16310         Use format type %td instead of %Zd for ptrdiff_t
16311         in order to avoid format warning.
16313 2014-12-17  Andreas Schwab  <schwab@suse.de>
16315         * nscd/mem.c (gc): Add size_t cast to match printf format.
16317 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16319         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16320         (init): Apply PTR_MANGLE to pointers before storing them.
16321         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16322         before using them.
16324 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #17719]
16327         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16328         define as weak alias of __memrchr.
16329         (__memrchr): Do not define as strong alias of memrchr.
16330         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16331         Remove variable.
16332         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16333         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16334         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16336         [BZ #17717]
16337         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16338         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16339         (if_indextoname): Rename to __if_indextoname and define as weak
16340         alias of __if_indextoname.  Use libc_hidden_weak.
16341         (if_freenameindex): Rename to __if_freenameindex and define as
16342         weak alias of __if_freenameindex.
16343         (if_nameindex): Rename to __if_nameindex and define as weak alias
16344         of __if_nameindex.
16345         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16346         __if_nametoindex and define as weak alias of __if_nametoindex.
16347         Use libc_hidden_weak.
16348         (if_freenameindex): Rename to __if_freenameindex and define as
16349         weak alias of __if_freenameindex.
16350         (if_nameindex): Rename to __if_nameindex and define as weak alias
16351         of __if_nameindex.
16352         (if_indextoname): Rename to __if_indextoname and define as weak
16353         alias of __if_indextoname.  Use libc_hidden_weak.
16354         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16355         __if_nametoindex and define as weak alias of __if_nametoindex.
16356         Use libc_hidden_weak.
16357         (if_freenameindex): Rename to __if_freenameindex and define as
16358         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16359         (if_nameindex_netlink): Use __if_freenameindex instead of
16360         if_freenameindex.
16361         (if_nameindex): Rename to __if_nameindex and define as weak alias
16362         of __if_nameindex.  Use libc_hidden_weak.
16363         (if_indextoname): Rename to __if_indextoname and define as weak
16364         alias of __if_indextoname.  Use libc_hidden_weak.
16365         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16366         libc_hidden_proto.
16367         [!_ISOMAC] (__if_freenameindex): Likewise.
16368         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16369         if_nametoindex.
16370         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16371         variable.
16372         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16373         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16374         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16375         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16376         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16377         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16378         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16380         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16381         Remove variable.
16382         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16383         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16385 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16387         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16388         subscript above bounds'
16390         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16391         bounds.
16393 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16395         * libio/tst-fopenloc.c: Use test-skeleton.c.
16397         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16398         (entry): Rename to ITEM.
16399         (do_test, comp): Adjust.
16401         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16403 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16405         * string/tester.c: Include <libc-internal.h>.
16406         (test_memset): Ignore -Wmemset-transposed-args.
16408 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16410         * misc/tst-mntent2.c (do_test): Fix warning.
16412 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16414         * elf/tst-unique4lib.cc(a): Mark as used.
16416 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16418         [BZ #17630]
16419         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16420         names.
16422 2014-12-16  Allan McRae  <allan@archlinux.org>
16424         * stdio-common/Makefile (tests): Re-add bug26.
16426 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16428         [BZ #17657]
16429         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16430         static array.
16432 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16434         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16435         (__lll_lock_wait): Likewise.
16436         (__lll_timedlock_wait): Likewise.
16437         (__lll_timedwait_tid): Likewise.
16438         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16439         (__lll_robust_timedlock_wait): Likewise.
16440         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16441         (lll_cond_trylock): Likewise.
16442         (__lll_lock): Likewise.
16443         (__lll_robust_lock): Likewise.
16444         (__lll_cond_lock): Likewise.
16445         (lll_robust_cond_lock): Likewise.
16446         (__lll_timedlock): Likewise.
16447         (__lll_robust_timedlock): Likewise.
16448         (__lll_unlock): Likewise.
16449         (__lll_robust_unlock): Likewise.
16450         (lll_wait_tid): Likewise.
16451         (lll_timedwait_tid): Likewise.
16453 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16455         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16457 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16459         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16461 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16463         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16464         * stdio-common/tst-sprintf.c: Likewise.
16466 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16468         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16470 2014-12-15  Jeff Law  <law@redhat.com>
16472         [BZ #16617]
16473         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16474         on the heap.  (CVE-2012-3406)
16475         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16476         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16477         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16479 2014-12-15  Will Newton  <will.newton@linaro.org>
16481         * manual/install.texi: Bump required version of texinfo
16482         to 4.7 from 4.5.
16483         * INSTALL: Regenerated.
16484         * configure.ac: Check for makeinfo version 4.7 and above.
16485         * configure: Regenerated.
16487 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16489         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16490         PREFIX, string constant to insert between directory and name.
16491         * sysdeps/posix/shm_open.c: Update caller.
16492         * sysdeps/posix/shm_unlink.c: Likewise.
16493         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16494         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16495         (SEM_SHM_PREFIX): New macro.
16496         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16497         [$(have-thread-library) = no].
16498         * nptl/Makefile (libpthread-routines): Add shm-directory.
16499         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16500         * sysdeps/nptl/shm-directory.h: New file.
16501         * sysdeps/posix/shm-directory.c
16502         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16503         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16504         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16505         INTERNAL_SYSCALL.
16506         (__where_is_shmfs): Function removed.
16507         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16508         Variables removed.
16509         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16510         Use SHM_GET_NAME.
16511         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16513         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16514         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16515         unconditional for use inside libpthread.
16516         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16518 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16520         * nptl/pthread_getaffinity.c: New file.
16521         * nptl/pthread_setaffinity.c: New file.
16522         * nptl/pthread_getname.c: New file.
16523         * nptl/pthread_setname.c: New file.
16525         * nptl/pthread_create.c (START_THREAD_DEFN)
16526         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16528 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16529             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16531         * resolv/res_send.c (send_vc): Disable warning resplen may
16532         be used uninitialized.
16534 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16536         * nptl/tst-mutex6.c
16537         (ATTR_NULL): New define checks ATTR against NULL.
16538         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16539         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16541 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16543         [BZ #17581]
16544         * malloc/hooks.c
16545         (mem2mem_check): Revert my previous change.
16546         (malloc_check_get_size): Revert my previous change.
16547         (mem2chunk_check): Revert my previous change.
16549 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16551         * sysdeps/posix/shm-directory.c: New file.
16552         * sysdeps/posix/shm-directory.h: New file.
16553         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16554         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16555         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16556         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16557         Transmute EPERM to EACCES.
16558         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16559         from ...
16560         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16561         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16563 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16565         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16566         pointer and cast to uintptr_t.
16567         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16568         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16569         Add cast to avoid warning.
16570         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16572 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16574         * nptl/semaphore.h: Move to ...
16575         * sysdeps/pthread/semaphore.h: ... here.
16576         * Makefile (installed-headers): Change nptl/semaphore.h to
16577         sysdeps/pthread/semaphore.h.
16579 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16581         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16582         generated error format strings.
16584         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16585         -Wformat-extra-args warnings for scanf formats.
16586         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16587         test of zero-length format (duh).
16588         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16589         corner-case scanf format test.
16590         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16591         generated fprintf format string.
16592         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16593         corner-case sprintf format tests.
16594         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16595         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16596         -Wformat-extra-args warnings throughout.
16597         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16598         (CFLAGS-scanf4.c): Likewise.
16599         (CFLAGS-scanf7.c): Likewise.
16600         (CFLAGS-tst-sprintf.c): Likewise.
16601         (CFLAGS-tst-printf.c): Likewise.
16602         (CFLAGS-tst-printfsz.c): Likewise.
16604 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16606         * include/cpio.h: New file.
16607         * include/fmtmsg.h: Likewise.
16609         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16610         corresponding format argument to size_t.
16611         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16612         arguments.
16613         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16614         corresponding format argument to size_t.
16615         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16616         arguments.
16617         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16618         corresponding format argument to size_t.
16619         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16620         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16621         (CFLAGS-tst-mbswcs2.c): Likewise.
16622         (CFLAGS-tst-mbswcs3.c): Likewise.
16623         (CFLAGS-tst-mbswcs4.c): Likewise.
16624         (CFLAGS-tst-mbswcs5.c): Likewise.
16625         (CFLAGS-tst-trans.c): Likewise
16627 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16629         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16630         rather than assuming they won't contain any '%'s.
16632 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16634         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16635         inhibit_loop_to_libcall to avoid recursive calls.
16636         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16637         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16639 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16641         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16642         prototype.
16644 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16646         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16647         integer value instead of boolean.
16649 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16651         * malloc/malloc.c: Fix powerof2 check.
16653 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16655         * locale/programs/locfile.h (maybe_swap_uint32):
16656         Remove inline and add unused attribute.
16658 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16660         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16661         Truncating assembler expression to a .long expression.
16663 2014-12-11  Andreas Schwab  <schwab@suse.de>
16665         * elf/rtld.c (struct map_args): Constify str member.
16666         (do_preload): Constify fname argument.
16668 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16671         constants definition.
16673 2014-12-11  Andreas Schwab  <schwab@suse.de>
16675         [BZ #16657]
16676         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16677         FORCE_ELISION instead of DO_ELISION.
16678         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16679         Remove.
16680         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16681         Likewise.
16683         * iconvdata/gconv-modules: Remove duplicate entry.
16685 2014-12-11  Will Newton  <will.newton@linaro.org>
16687         Merge gettext 0.19.3 into intl/.
16689         This involves a number of cosmetic changes to comments
16690         and ANSI function definitions and prototypes throughout
16691         all the files. The gettext copyright header is used but
16692         with the date ranges taken from the glibc copy.
16694         * NEWS: Add gettext merge to 2.21.
16695         * intl/bindtextdom.c: Switch to gettext copyright.
16696         Use ANSI definitions and prototypes.
16697         Use gl_* locking primitives rather than __libc_* ones.
16698         Use __builtin_expect rather than __glibc_likely/unlikely.
16699         * intl/dcgettext.c: Switch to gettext copyright.
16700         Use ANSI definitions and prototypes.
16701         * intl/dcigettext.c: Switch to gettext copyright.
16702         Use ANSI definitions and prototypes.
16703         (INTDIV0_RAISES_SIGFPE): New define.
16704         Use gl_* locking primitives rather than __libc_* ones.
16705         Include eval-plural.h instead of plural-eval.c.
16706         Use __builtin_expect rather than __glibc_likely/unlikely.
16707         * intl/dcngettext.c: Switch to gettext copyright.
16708         Use ANSI definitions and prototypes.
16709         * intl/dgettext.c: Likewise.
16710         * intl/dngettext.c: Likewise.
16711         * intl/plural-eval.c: Renamed to...
16712         * intl/eval-plural.h: ...this.
16713         * intl/explodename.c: Switch to gettext copyright.
16714         Use ANSI definitions and prototypes.
16715         (_nl_explode_name): Use strchr instead of __rawmemchr.
16716         * intl/finddomain.c: Switch to gettext copyright.
16717         Use ANSI definitions and prototypes.
16718         Use gl_* locking primitives rather than __libc_* ones.
16719         (_nl_find_domain): Use malloc rather than alloca for
16720         allocation of temporary locale name.
16721         * intl/gettext.c: Switch to gettext copyright.
16722         Use ANSI definitions and prototypes.
16723         * intl/gettextP.h: Switch to gettext copyright.
16724         Use ANSI definitions and prototypes.
16725         Use gl_* locking primitives rather than __libc_* ones.
16726         * intl/gmo.h: Switch to gettext copyright.
16727         (struct sysdep_string): Move struct segment_pair outside of
16728         struct definition.
16729         * intl/hash-string.c: Use ANSI definitions and prototypes.
16730         * intl/hash-string.h: Switch to gettext copyright.
16731         Use ANSI definitions and prototypes.
16732         * intl/l10nflist.c: Switch to gettext copyright.
16733         Use ANSI definitions and prototypes.
16734         (_nl_normalize_codeset): Avoid integer overflow.
16735         * intl/loadinfo.h: Switch to gettext copyright.
16736         Use ANSI definitions and prototypes.
16737         (LIBINTL_DLL_EXPORTED): New define.
16738         (PATH_SEPARATOR): New define.
16739         * intl/loadmsgcat.c: Switch to gettext copyright.
16740         * intl/localealias.c: Switch to gettext copyright.
16741         Use ANSI definitions and prototypes.
16742         (_nl_expand_alias): Use PATH_SEPARATOR.
16743         * intl/ngettext.c: Switch to gettext copyright.
16744         Use ANSI definitions and prototypes.
16745         * intl/plural-exp.c: Likewise.
16746         * intl/plural-exp.h: Switch to gettext copyright.
16747         Use ANSI definitions and prototypes.
16748         (struct expression): Move definition of enum operator outside
16749         of struct definition.
16750         * intl/plural.c: Regenerate.
16751         * intl/plural.y: Switch to gettext copyright.
16752         Use ANSI definitions and prototypes.
16753         Port to bison 3.0.
16754         * intl/textdomain.c: Switch to gettext copyright.
16755         Use ANSI definitions and prototypes.
16756         Use gl_* locking primitives rather than __libc_* ones.
16758 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16760         * debug/warning-nop.c: Add used atrribute.
16762 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16764         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16766         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16767         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16768         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16770 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16771             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16773         [BZ #17634]
16774         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16775         Undefine after defining function.  Define as weak alias of
16776         __wcschr.  Use libc_hidden_weak.
16777         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16778         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16779         (libc_hidden_def): Also define __GI___wcschr alias.
16780         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16781         __wcschr and define as weak alias of __wcschr.
16782         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16783         __wcschr.
16784         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16785         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16786         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16787         libc_hidden_weak.  Do not use libc_hidden_def.
16788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16789         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16790         __GI___wcschr alias.
16791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16792         [IS_IN (libc)] (wcschr): Define as macro expanding to
16793         __redirect_wcschr.
16794         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16795         [IS_IN (libc)] (__wcschr_power6): Likewise.
16796         [IS_IN (libc)] (__wcschr_power7): Likewise.
16797         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16798         instead of wcschr.
16799         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16800         __libc_wcschr.
16801         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16802         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16803         __wcschr and define as weak alias of __wcschr.  Use
16804         libc_hidden_builtin_def.
16805         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16806         as weak alias of __wcschr.  Use libc_hidden_weak.
16807         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16808         wcschr.
16809         * time/era.c (_nl_init_era_entries): Likewise.
16810         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16811         variable.
16812         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16813         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16815 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16817         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16818         format for long int variable.
16820 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16822         [BZ #10672]
16823         * manual/search.texi: (Array Sort Function): Remove claim how to make
16824         qsort stable.
16826 2014-12-10  Andreas Schwab  <schwab@suse.de>
16828         [BZ #12847]
16829         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16830         user-controlled locks.
16832 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16834         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16835         register.
16837 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16839         * configure.ac (--disable-werror): New configure option.
16840         (enable_werror): New AC_SUBST.
16841         * configure: Regenerated.
16842         * config.make.in (enable-werror): New variable.
16843         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16844         -Wno-error=undef.
16845         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16846         * manual/install.texi (Configuring and compiling): Document
16847         --disable-werror.
16848         * INSTALL: Regenerated.
16849         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16850         (CFLAGS-tst-chk2.c): Likewise.
16851         (CFLAGS-tst-chk3.c): Likewise.
16852         (CFLAGS-tst-chk4.cc): Likewise.
16853         (CFLAGS-tst-chk5.cc): Likewise.
16854         (CFLAGS-tst-chk6.cc): Likewise.
16855         (CFLAGS-tst-lfschk1.c): Likewise.
16856         (CFLAGS-tst-lfschk2.c): Likewise.
16857         (CFLAGS-tst-lfschk3.c): Likewise.
16858         (CFLAGS-tst-lfschk4.cc): Likewise.
16859         (CFLAGS-tst-lfschk5.cc): Likewise.
16860         (CFLAGS-tst-lfschk6.cc): Likewise.
16862         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16863         (main): Disable -Wdeprecated-declarations around calls to
16864         register_printf_function.
16866         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16867         (do_test): Disable -Wdiv-by-zero around some calls to
16868         fwrite_unlocked and fread_unlocked.
16870         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16871         (DIAG_POP_NEEDS_COMMENT): Likewise.
16872         (_DIAG_STR1): Likewise.
16873         (_DIAG_STR): Likewise.
16874         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16875         * stdio-common/bug21.c: Include <libc-internal.h>.
16876         (do_test): Disable -Wformat around call to sscanf.
16877         * stdio-common/scanf14.c: Include <libc-internal.h>.
16878         (main): Disable -Wformat around some calls to scanf functions.
16880 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16882         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16884 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16886         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16887         stack variable alignment.
16889 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16891         [BZ #17682]
16892         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16893         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16894         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16895         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16896         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16897         __getrlimit instead of getrlimit.
16898         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16899         __gettimeofday instead of gettimeofday.
16900         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16901         Likewise.
16902         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16903         Likewise.
16904         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16905         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16906         Remove variable.
16907         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16908         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16910 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16912         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16913         for wide-character tests.
16915 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16917         * io/openat64.c: #include <libc-internal.h>
16918         (__openat64): Prototypify.  Use ignore_value on MODE.
16919         * io/openat.c: Likewise.
16920         * misc/reboot.c: #include <libc-internal.h>
16921         (reboot): Prototypify.  Use ignore_value on HOWTO.
16922         * misc/ptrace.c: #include <libc-internal.h>
16923         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16925 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16927         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16928         XPG4, UNIX98 and XOPEN2K.
16929         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16930         Remove variable.
16931         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16933 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16935         * libio/fileops.c: Use ISO C style for function definitions.
16936         * libio/iofopen.c: Likewise.
16937         * libio/wfileops.c: Likewise.
16939         [BZ #17653]
16940         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16941         offset on EOF.
16942         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16943         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16944         (fgets_func): Function pointer to fgets and fgetws.
16945         (do_ftell_test): Add test to verify ftell value after read
16946         EOF.
16947         (do_test): Set fgets_func.
16949         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16950         O_TRUNC flag for w and w+ modes.
16951         (do_rewind_test): Likewise.
16952         (do_ftell_test): Likewise.
16953         (do_write_test): Likewise.
16955         [BZ #17647]
16956         * libio/fileops.c (do_ftell): Seek only when there are
16957         unflushed writes.
16958         * libio/wfileops.c (do_ftell_wide): Likewise.
16959         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16960         test case.
16961         (do_one_test): Call it.
16963 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16965         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16966         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16967         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16968         Remove variable.
16969         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16970         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16971         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16973 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16975         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16976         Remove variable.
16977         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16979         [BZ #17668]
16980         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16981         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16982         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16983         __freeifaddrs.  Use libc_hidden_weak.
16984         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16985         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16986         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16987         __freeifaddrs.  Use libc_hidden_weak.
16988         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16989         __getifaddrs and define as weak alias of __getifaddrs.  Use
16990         libc_hidden_weak.
16991         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16992         __freeifaddrs.  Use libc_hidden_weak.
16993         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16994         Remove variable.
16995         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16996         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16998 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17000         [BZ #17601]
17001         * sysdeps/mips/start.S (__start): Use indirect jump to call
17002         __libc_start_main.
17004 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17006         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17008         * nptl/tst-mutex1.c: Include <stdbool.h>.
17009         [!ATTR] (ATTR_NULL): New macro.
17010         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17011         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17012         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17014         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17015         to char *.
17017         [BZ #17665]
17018         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17019         Change conditional to [__USE_MISC].
17021         [BZ #17664]
17022         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17023         fgets_unlocked.
17024         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17025         __fgets_unlocked.
17026         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17027         fgets_unlocked.
17028         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17029         Remove variable.
17030         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17031         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17032         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17033         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17034         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17035         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17036         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17037         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17038         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17040         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17042 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17045         Remove strpbrk objects.
17046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17047         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17048         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17049         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17050         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17051         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17054         Remove strcspn objects.
17055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17056         (__libc_ifunc_impl_list): Remove strcspn implementation.
17057         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17058         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17059         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17060         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17063         Remove strspn objetcs.
17064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17065         (__libc_ifunc_impl_list): Remove strspn implementation.
17066         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17067         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17068         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17069         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17071 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17073         [BZ #17581]
17074         * malloc/hooks.c
17075         (mem2mem_check): Add a terminator to the chain of checking blocks.
17076         (malloc_check_get_size): Use it here.
17077         (mem2chunk_check): Ditto.
17079 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17081         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17082         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17084 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17086         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17088         * nptl/nptl-init.c: Include libc-internal.h.
17089         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17091         * elf/ldconfig.c (search_dir): Expand comment.
17093 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17095         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17096         variable.
17097         (linknamespace-symlist-stdlibs-tests): Likewise.
17098         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17099         instead of $(objpfx)symlist-stdlibs.
17100         (linknamespace-libs-isoc): New variable.
17101         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17102         (linknamespace-libs-ISO): New variable.
17103         (linknamespace-libs-ISO99): Likewise.
17104         (linknamespace-libs-ISO11): Likewise.
17105         (linknamespace-libs-XPG3): Likewise.
17106         (linknamespace-libs-XPG4): Likewise.
17107         (linknamespace-libs-POSIX): Likewise.
17108         (linknamespace-libs-UNIX98): Likewise.
17109         (linknamespace-libs-XOPEN2K): Likewise.
17110         (linknamespace-libs-POSIX2008): Likewise.
17111         (linknamespace-libs-XOPEN2K8): Likewise.
17112         ($(objpfx)symlist-stdlibs): Replace by
17113         $(linknamespace-symlist-stdlibs-tests).  Use
17114         $(linknamespace-libs-$*) as set of libraries.
17115         ($(linknamespace-header-tests)): Update dependencies.  Use
17116         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17117         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17118         * conform/linknamespace.pl: Remove comment about considering
17119         definitions of symbols from irrelevant libraries.
17121 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17123         [BZ #13862]
17124         * elf/dl-tls.c: Include <atomic.h>.
17125         (oom): Remove #ifdef SHARED/#endif.
17126         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17127         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17128         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17129         big enough.
17130         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17131         * nptl/Makefile (tests): Add tst-stack4.
17132         (modules-names): Add tst-stack4mod.
17133         ($(objpfx)tst-stack4): New.
17134         (tst-stack4mod.sos): Likewise.
17135         ($(objpfx)tst-stack4.out): Likewise.
17136         ($(tst-stack4mod.sos)): Likewise.
17137         (clean): Likewise.
17138         * nptl/tst-stack4.c: New file.
17139         * nptl/tst-stack4mod.c: Likewise.
17141 2014-11-27  J. Brown  <jb999@gmx.de>
17143         * sysdeps/x86/bits/string.h: Add recent CPUs.
17145 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17147         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17148         sigblock.
17150         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17151         feof.
17153         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17154         variable.
17156 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17158         * nscd/connections.c: Include libc-internal.h because of macro
17159         usage ignore_value.
17161 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17163         * string/bits/string3.h (__warn_memset_zero_len): Don't
17164         declare for gcc newer than 5.0.
17165         (memset): Don't test for zero-length __LEN for gcc newer than
17166         5.0.
17168 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17170         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17171         size_t for %zu format.
17173         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17174         difference, not %ju.
17176 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17178         * include/libc-internal.h (ignore_value): New macro.
17179         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17180         with ignore_value.
17182         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17183         definition.
17185         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17186         pthread_cleanup_push to void *.
17188         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17189         Undefine.
17191         [BZ #16619]
17192         [BZ #16740]
17193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17194         instead of 1L << 52.
17196         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17197         * libio/bug-rewind2.c (do_test): Likewise.
17199         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17200         * debug/test-strcpy_chk-ifunc.c: Likewise.
17201         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17202         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17203         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17204         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17205         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17206         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17207         * Rules [$(multi-arch) = no] (tests): Do not filter out
17208         $(tests-ifunc).
17209         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17210         * debug/Makefile (tests-ifunc): Remove variable.
17211         (tests): Do not add $(tests-ifunc).
17212         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17213         (tests): Do not add $(tests-ifunc).
17214         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17215         [TEST_IFUNC]: Remove conditionals.
17216         * string/test-string.h (TEST_IFUNC): Remove macro.
17217         [TEST_IFUNC]: Remove conditionals.
17219         * string/test-strchr.c [!WIDE] (L): New macro.
17220         [WIDE] (L): Likewise.
17221         (check1): Use CHAR instead of char.  Use L on string and character
17222         constants.
17224 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17226         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17227         tests.
17228         * sysdeps/powerpc/bits/atomic.h
17229         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17230         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17231         (atomic_exchange_and_add_acq): Likewise.
17232         (atomic_exchange_and_add_rel): Likewise.
17233         * sysdeps/powerpc/powerpc32/bits/atomic.h
17234         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17235         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17236         * sysdeps/powerpc/powerpc64/bits/atomic.h
17237         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17238         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17240 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17242         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17243         Change synchronization of __sched_fifo_min_prio and
17244         __sched_fifo_max_prio.
17245         * nptl/pthread_mutexattr_getprioceiling.c
17246         (pthread_mutexattr_getprioceiling): Likewise.
17247         * nptl/pthread_mutexattr_setprioceiling.c
17248         (pthread_mutexattr_setprioceiling): Likewise.
17249         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17250         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17251         Likewise.
17253 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17255         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17256         void.
17258 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17260         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17261         third argument const.
17263 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17265         fnmatch: work around GCC compiler warning bug with uninit var
17266         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17267         This works around a bug with x86-64 GCC 4.9.2 and earlier
17268         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17269         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17270         used uninitialized in this function [-Wmaybe-uninitialized]".
17272 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17274         * posix/bug-regex31.c (main): Return RES not 0.
17276 2014-11-25  Anton Blanchard <anton@samba.org>
17278         * sysdeps/powerpc/bits/atomic.h
17279         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17281 2014-11-24  Sterling Augustine  <saugustine@google.com>
17283         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17285 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17287         [BZ #17608]
17288         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17290 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17292         [BZ #17633]
17293         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17294         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17295         variable.
17296         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17297         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17299 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17301         * string/strncpy.c (strncpy): Improve performance by using memset.
17303 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17305         * string/strcpy.c (strcpy):
17306         Improve performance by using strlen and memcpy.
17308 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17310         * string/strcoll_l.c (get_next_seq): __always_inline.
17311         * string/strcoll_l.c (do_compare): __always_inline.
17313 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17315         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17316         defined.
17317         * include/mqueue.h: Likewise.
17318         * include/stdlib.h: Likewise.
17320         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17321         (get_null_defines): Adjust.
17322         * sunrpc/Makefile: Adjust comment.
17323         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17324         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17325         (CFLAGS-interp.c): Likewise.
17326         (CFLAGS-ldconfig.c): Likewise.
17327         (CPPFLAGS-.os): Likewise.
17328         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17329         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17330         * extra-modules.mk (extra-modules.mk): Likewise.
17331         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17332         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17333         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17334         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17335         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17336         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17337         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17338         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17339         * iconvdata/Makefile (CPPFLAGS): Likewise.
17340         (cpp-srcs-left): Add libof for all iconvdata routines.
17341         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17342         * include/assert.h: Likewise.
17343         * include/ctype.h: Likewise.
17344         * include/errno.h: Likewise.
17345         * include/libc-symbols.h: Likewise.
17346         * include/math.h: Likewise.
17347         * include/netdb.h: Likewise.
17348         * include/resolv.h: Likewise.
17349         * include/stdio.h: Likewise.
17350         * include/stdlib.h: Likewise.
17351         * include/string.h: Likewise.
17352         * include/sys/stat.h: Likewise.
17353         * include/wctype.h: Likewise.
17354         * intl/l10nflist.c: Likewise.
17355         * libidn/idn-stub.c: Likewise.
17356         * libio/libioP.h: Likewise.
17357         * nptl/libc_multiple_threads.c: Likewise.
17358         * nptl/pthreadP.h: Likewise.
17359         * posix/regex_internal.h: Likewise.
17360         * resolv/res_hconf.c: Likewise.
17361         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17362         * sysdeps/arm/memmove.S: Likewise.
17363         * sysdeps/arm/sysdep.h: Likewise.
17364         * sysdeps/generic/_itoa.h: Likewise.
17365         * sysdeps/generic/symbol-hacks.h: Likewise.
17366         * sysdeps/gnu/errlist.awk: Likewise.
17367         * sysdeps/gnu/errlist.c: Likewise.
17368         * sysdeps/i386/i586/memcpy.S: Likewise.
17369         * sysdeps/i386/i586/memset.S: Likewise.
17370         * sysdeps/i386/i686/memcpy.S: Likewise.
17371         * sysdeps/i386/i686/memmove.S: Likewise.
17372         * sysdeps/i386/i686/mempcpy.S: Likewise.
17373         * sysdeps/i386/i686/memset.S: Likewise.
17374         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17375         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17376         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17378         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17379         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17380         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17381         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17382         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17383         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17384         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17386         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17387         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17390         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17391         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17392         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17393         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17394         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17395         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17396         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17397         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17398         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17400         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17401         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17402         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17403         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17404         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17405         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17406         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17407         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17410         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17411         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17412         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17413         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17414         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17415         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17416         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17417         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17418         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17419         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17420         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17421         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17422         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17423         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17424         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17425         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17426         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17427         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17428         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17429         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17430         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17431         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17432         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17433         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17434         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17435         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17436         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17437         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17438         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17439         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17440         * sysdeps/posix/closedir.c: Likewise.
17441         * sysdeps/posix/opendir.c: Likewise.
17442         * sysdeps/posix/readdir.c: Likewise.
17443         * sysdeps/posix/rewinddir.c: Likewise.
17444         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17445         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17446         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17447         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17448         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17449         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17450         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17455         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17456         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17457         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17458         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17459         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17460         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17461         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17462         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17463         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17464         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17465         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17466         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17467         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17468         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17469         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17470         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17479         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17480         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17481         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17482         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17483         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17484         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17485         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17486         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17488         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17489         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17490         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17491         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17492         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17493         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17494         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17495         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17498         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17501         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17502         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17503         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17504         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17505         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17507         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17508         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17509         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17510         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17511         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17512         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17513         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17514         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17515         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17516         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17517         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17518         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17519         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17521         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17522         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17523         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17524         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17525         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17526         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17527         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17528         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17529         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17530         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17531         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17532         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17533         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17534         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17535         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17536         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17540         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17542         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17543         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17544         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17545         * sysdeps/unix/alpha/sysdep.S: Likewise.
17546         * sysdeps/unix/alpha/sysdep.h: Likewise.
17547         * sysdeps/unix/make-syscalls.sh: Likewise.
17548         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17550         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17551         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17553         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17554         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17556         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17557         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17559         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17561         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17562         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17563         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17564         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17565         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17566         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17567         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17568         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17569         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17570         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17571         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17572         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17573         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17574         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17577         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17578         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17582         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17586         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17587         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17588         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17589         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17590         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17591         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17592         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17595         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17598         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17599         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17600         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17601         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17602         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17604         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17606         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17607         * sysdeps/x86_64/memcpy.S: Likewise.
17608         * sysdeps/x86_64/memmove.c: Likewise.
17609         * sysdeps/x86_64/memset.S: Likewise.
17610         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17611         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17612         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17613         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17614         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17615         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17616         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17617         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17618         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17619         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17620         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17621         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17622         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17623         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17624         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17625         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17627         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17628         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17629         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17630         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17631         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17632         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17633         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17634         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17635         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17636         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17637         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17638         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17639         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17640         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17641         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17642         * sysdeps/x86_64/strcmp.S: Likewise.
17644         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17646         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17647         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17648         * elf/rtld-Rules: Likewise.
17649         * elf/setup-vdso.h: Likewise.
17650         * include/assert.h: Likewise.
17651         * include/bits/stdlib-float.h: Likewise.
17652         * include/errno.h: Likewise.
17653         * include/sys/stat.h: Likewise.
17654         * include/unistd.h: Likewise.
17655         * sysdeps/aarch64/setjmp.S: Likewise.
17656         * sysdeps/alpha/setjmp.S: Likewise.
17657         * sysdeps/arm/__longjmp.S: Likewise.
17658         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17659         * sysdeps/arm/setjmp.S: Likewise.
17660         * sysdeps/arm/sysdep.h: Likewise.
17661         * sysdeps/generic/_itoa.h: Likewise.
17662         * sysdeps/generic/dl-sysdep.h: Likewise.
17663         * sysdeps/generic/ldsodefs.h: Likewise.
17664         * sysdeps/i386/dl-tls.h: Likewise.
17665         * sysdeps/i386/setjmp.S: Likewise.
17666         * sysdeps/m68k/setjmp.c: Likewise.
17667         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17668         * sysdeps/mach/hurd/opendir.c: Likewise.
17669         * sysdeps/posix/getcwd.c: Likewise.
17670         * sysdeps/posix/opendir.c: Likewise.
17671         * sysdeps/posix/profil.c: Likewise.
17672         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17674         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17675         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17677         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17678         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17679         * sysdeps/s390/dl-tls.h: Likewise.
17680         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17681         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17682         * sysdeps/sh/sh3/setjmp.S: Likewise.
17683         * sysdeps/sh/sh4/setjmp.S: Likewise.
17684         * sysdeps/unix/alpha/sysdep.h: Likewise.
17685         * sysdeps/unix/arm/sysdep.S: Likewise.
17686         * sysdeps/unix/i386/sysdep.S: Likewise.
17687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17688         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17689         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17690         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17691         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17692         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17693         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17694         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17695         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17696         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17697         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17698         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17699         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17702         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17704         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17705         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17706         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17707         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17710         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17711         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17715         * sysdeps/x86_64/setjmp.S: Likewise.
17717         * include/math.h: Use IS_IN instead of IS_IN_libm.
17718         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17719         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17721         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17722         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17723         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17730         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17738         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17739         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17740         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17741         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17742         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17743         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17745         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17746         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17747         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17748         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17749         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17750         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17752         Likewise.
17753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17754         Likewise.
17755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17756         Likewise.
17757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17758         Likewise.
17759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17760         Likewise.
17761         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17762         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17763         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17764         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17765         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17766         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17772         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17773         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17774         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17775         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17776         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17777         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17778         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17779         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17780         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17781         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17782         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17785         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17787         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17789         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17790         * nptl/pthreadP.h: Likewise.
17791         * nptl_db/structs.def: Likewise.
17792         * sysdeps/arm/sysdep.h: Likewise.
17793         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17794         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17795         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17796         * sysdeps/unix/alpha/sysdep.h: Likewise.
17797         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17798         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17799         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17800         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17801         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17802         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17803         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17805         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17806         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17807         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17808         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17809         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17810         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17815         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17818         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17819         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17820         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17821         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17822         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17824         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17825         * nptl/pthreadP.h: Likewise.
17826         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17827         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17828         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17829         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17830         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17831         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17832         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17833         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17834         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17835         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17836         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17837         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17839         Likewise.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17841         Likewise.
17842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17844         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17847         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17848         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17849         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17851         * dlfcn/dladdr.c: Use IS_IN.
17852         * dlfcn/dladdr1.c: Likewise.
17853         * dlfcn/dlclose.c: Likewise.
17854         * dlfcn/dlerror.c: Likewise.
17855         * dlfcn/dlinfo.c: Likewise.
17856         * dlfcn/dlmopen.c: Likewise.
17857         * dlfcn/dlopen.c: Likewise.
17858         * dlfcn/dlsym.c: Likewise.
17859         * dlfcn/dlvsym.c: Likewise.
17861         * include/ifaddrs.h: Use IS_IN.
17862         * inet/check_pf.c: Likewise.
17863         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17864         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17866         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17867         IS_IN_ldconfig.
17868         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17869         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17871         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17872         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17873         IS_IN (libc).
17875         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17877         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17878         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17879         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17880         * include/libc-symbols.h (IS_IN_LIB): New macro.
17881         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17882         * include/netdb.h: Likewise.
17883         * include/stap-probe.h: Remove all uses of IN_LIB.
17885         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17886         instead of IN_MODULE.
17887         * include/libc-symbols.h (IN_MODULE): Define using
17888         MODULE_NAME.
17889         (PASTE_NAME, PASTE_NAME1): New macros.
17890         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17891         of IN_LIB.
17892         (STAP_PROBE_ASM): Likewise.
17894 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17896         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17897         __mach_init in dlopened libc.
17899 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17901         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17902         * sysdeps/arm/preconfigure: Regenerate.
17904 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17906         * nptl/pthread_create.c (__pthread_create_2_1): Set
17907         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17908         when copying values from IATTR into PD.
17910 2014-11-21  Will Newton  <will.newton@linaro.org>
17911             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17913         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17914         Refactor inline-asm.  Also add comment.
17916         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17917         ElfW macro instead of hardcoded Elf64 types.
17918         (la_aarch64_gnu_pltenter): Likewise.
17919         * sysdeps/aarch64/dl-machine.h
17920         (elf_machine_runtime_setup): Use ElfW(Addr).
17922         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17923         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17924         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17925         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17926         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17927         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17928         (R_AARCH64_TLS_DTPMOD): This.
17929         (R_AARCH64_TLS_DTPREL64): Rename to ...
17930         (R_AARCH64_TLS_DTPREL): This.
17931         (R_AARCH64_TLS_TPREL64): Rename to ...
17932         (R_AARCH64_TLS_TPREL): This.
17933         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17934         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17935         R_AARCH64_TLS_TPREL64.
17936         (elf_machine_rela): Likewise.
17938 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17940         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17941         by setting it to 0.  64b atomics are not supported currently.
17943 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17945         [BZ #16469]
17946         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17947         search domain names.
17949 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17951         [BZ #16469]
17952         * NEWS: Update.
17953         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17954         trailing dot.
17955         * posix/tst-getaddrinfo5.c: New.
17956         * posix/Makefile (tests): Add it.
17958 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17960         [BZ #14498]
17961         * NEWS: Fixed.
17962         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17963         after parsing line but before break_if_match.
17964         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17965         if there is a protocol mismatch.
17967 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17969         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17970         because the potential race is on the user-supplied stream.
17972 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17974         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17975         string literal if not passed a buffer.
17976         * manual/job.texi (ctermid): Update reasoning, note deviation
17977         from posix, suggest mtasurace when not passed a buffer, for
17978         future non-preliminary safety notes.
17980 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17982         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17983         of not passing it a buffer.
17984         Reported by Peng Haitao.
17986 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17988         * manual/Makefile ($(objpfx)stamp-summary): Require
17989         check-safety.sh to pass.
17990         * manual/check-safety.sh: Wish for verification that every
17991         @deftypefn and @deftypefun is followed by a @safety remark.
17993 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17995         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17997         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17998         PTHREAD_CANCEL_ASYNCHRONOUS.
17999         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18000         send SIGCANCEL.
18002         * nptl/default-sched.h: New file.
18003         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18004         * nptl/pthread_create.c: Include it.
18005         (__pthread_create_2_1): Use collect_default_sched instead of making
18006         Linux syscalls here directly.
18008 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18010         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18011         __pthread_once): Use C11 atomics.
18013 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18015         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18017 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18019         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18020         atomic_thread_fence_acquire, atomic_thread_fence_release,
18021         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18022         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18023         atomic_compare_exchange_weak_relaxed,
18024         atomic_compare_exchange_weak_acquire,
18025         atomic_compare_exchange_weak_release,
18026         atomic_exchange_acquire, atomic_exchange_release,
18027         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18028         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18029         atomic_fetch_and_acquire,
18030         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18032 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18034         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18035         USE_ATOMIC_COMPILER_BUILTINS): Define.
18036         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18038         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18040         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18042         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18043         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18044         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18046         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18048         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18050         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18052         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18053         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18054         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18056         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18058         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18059         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18060         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18061         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18062         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18064         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18066         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18067         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18068         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18069         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18070         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18071         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18072         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18073         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18074         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18075         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18077 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18079         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18080         the sched_priority value here.  It was already checked when the user
18081         called pthread_attr_setschedparam.
18083         * nptl/tst-bad-schedattr.c: New file.
18084         * nptl/Makefile (tests): Add it.
18086 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18087             Florian Weimer  <fweimer@redhat.com>
18088             Joseph Myers  <joseph@codesourcery.com>
18089             Adam Conrad  <adconrad@0c3.net>
18090             Andreas Schwab  <schwab@suse.de>
18091             Brooks  <bmoses@google.com>
18093         [BZ #17625]
18094         * wordexp-test.c (__dso_handle): Add prototype.
18095         (__register_atfork): Likewise.
18096         (__app_register_atfork): New function.
18097         (registered_forks): New global.
18098         (register_fork): New function.
18099         (test_case): Add 3 new tests for WRDE_CMDSUB.
18100         (main): Call __app_register_atfork.
18101         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18102         fork count is non-zero fail the test.
18103         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18104         is set.
18105         (parse_dollars): Remove check for WRDE_NOCMD.
18106         (parse_dquote): Likewise.
18108 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18110         * Makeconfig (built-modules): List non-library modules to be
18111         built.
18112         (module-cppflags): Include libc-modules.h for
18113         everything except shlib-versions.v.i.
18114         (CPPFLAGS): Use it.
18115         (before-compile): Add libc-modules.h.
18116         ($(common-objpfx)libc-modules.h,
18117         $(common-objpfx)libc-modules.stmp): New targets.
18118         (common-generated): Add libc-modules.h and libc-modules.stmp.
18119         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18120         * include/libc-symbols.h: Don't include libc-modules.h.
18121         * include/libc-modules.h: Remove file.
18122         * scripts/gen-libc-modules.awk: New script to generate
18123         libc-modules.h.
18124         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18125         Depend on libc-modules.stmp.
18127         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18129         * Makeconfig (in-module): Get value of libof set for the
18130         translation unit.
18131         (CPPFLAGS): Use $(in-module).
18132         * Makerules: Don't suffix routine names for nonlib.
18133         * include/libc-modules.h: New file.
18134         * include/libc-symbols.h: Include libc-modules.h
18135         (IS_IN): New macro to replace IS_IN_* macros.
18136         * elf/Makefile: Set libof-* for each routine.
18137         * elf/rtld-Rules: Likewise.
18138         * extra-modules.mk: Likewise.
18139         * iconv/Makefile: Likewise.
18140         * iconvdata/Makefile: Likewise.
18141         * locale/Makefile: Likewise.
18142         * malloc/Makefile: Likewise.
18143         * nss/Makefile: Likewise.
18144         * sysdeps/gnu/Makefile: Likewise.
18145         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18146         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18147         * sysdeps/s390/s390-64/Makefile: Likewise.
18148         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18149         CPPFLAGS for nscd instead of nonlib.
18151 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18153         * nptl/createthread.c: New file.
18155         * nptl/createthread.c: Moved ...
18156         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18158         * nptl/createthread.c: Add proper top-line comment.
18159         (do_clone): Folded into ...
18160         (create_thread): ... here.  Take new arguments STOPPED_START and
18161         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18162         increment __nptl_threads, do event-reporting logic, do
18163         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18164         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18165         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18166         just send SIGCANCEL.
18167         * nptl/pthread_create.c: Forward-declare create_thread before
18168         including createthread.c.
18169         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18170         declaration, and new macro START_THREAD_SELF to replace argument.
18171         Remove return statement.
18172         (report_thread_creation): New function.
18173         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18174         synchronization logic, and __nptl_nthreads increment here, around
18175         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18176         PD->parent_cancelhandling here, before create_thread.  When
18177         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18178         __deallocate_stack, and ENOMEM translation here.
18180 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18182         [BZ #17616]
18183         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18184         (mptwo): Rename to __mptwo.
18185         (__inv): Use __mptwo instead of mptwo.
18186         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18187         (mptwo): Rename to __mptwo.
18188         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18189         of mpone and __mptwo instead of mptwo.
18190         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18191         instead of mpone.
18192         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18193         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18194         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18195         of mpone and __mptwo instead of mptwo.
18196         (__mpranred): Use __mpone instead of mpone.
18197         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18198         variable.
18199         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18200         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18201         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18202         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18203         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18204         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18205         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18206         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18207         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18208         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18209         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18210         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18211         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18212         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18213         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18214         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18215         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18216         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18217         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18219 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18221         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18222         replace BSD Handler xref with BSD Signal Handling.
18224 2014-11-17  Richard Henderson  <rth@redhat.com>
18226         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18227         (_FP_PACK_RAW_2): Remove.
18228         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18229         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18230         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18231         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18232         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18233         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18234         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18235         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18236         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18237         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18238         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18239         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18240         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18241         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18242         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18243         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18245 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18247         * signal/signal.h [__USE_MISC]
18248         (struct sigvec): Remove type.
18249         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18250         (sigvec): Remove declaration.
18251         * sysdeps/posix/sigvec.c: Moved ...
18252         * signal/sigvec.c: ... here, replacing old file.
18253         (struct sigvec): New type, copied from old signal.h definition.
18254         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18255         (__sigvec): Convert definition to prototype.
18256         (sigvec): Replace weak_alias with compat_symbol.
18257         * signal/Versions (libc: GLIBC_2.21): New version set.
18258         * include/signal.h: Remove __sigvec declaration.
18259         * sysdeps/unix/bsd/sigvec.c: Remove file.
18260         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18261         * manual/signal.texi (BSD Handler): Remove subsection.
18262         Move siginterrupt up to ...
18263         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18264         (Blocking in BSD): Fold subsection into its parent.
18265         * NEWS: Mention sigvec removal.
18267 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18269         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18270         (DLA_FMS): Make definition conditional only on [__FMA4__].
18271         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18272         definition.
18274         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18275         Make definition conditional only on [PROF].
18276         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18277         definition.
18278         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18279         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18281         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18282         !__GNUC__].
18283         * include/signal.h (__sigpause): Move declaration above call to
18284         libc_hidden_proto.
18285         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18286         variable.
18287         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18288         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18290 2014-11-14  David S. Miller  <davem@davemloft.net>
18292         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18293         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18295 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18297         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18298         * configure: Regenerated.
18299         * manual/install.texi (Tools for Compilation): Document a
18300         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18301         compiler verified to work.
18302         * INSTALL: Regenerated.
18304         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18305         redeclare with asm name.
18306         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18307         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18308         including <string.h>.
18309         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18310         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18311         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18313         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18315         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18317 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18319         * stdlib/strtol.c (__strtol): Use prototype definition.
18321         [BZ #17594]
18322         * stdlib/strtol.c (SYM__): New macro.
18323         (SYM__1): Likewise.
18324         (__strtol): Likewise.
18325         (strtol): Rename to __strtol and define as weak alias of
18326         __strtol.  Use libc_hidden_weak.
18328 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18330         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18331         Use numbered labels in inline assembly.
18333 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18335         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18336         Add setjmp LIBC_PROBE.
18337         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18338         Likewise.
18339         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18340         Add longjmp, longjmp_target LIBC_PROBE.
18341         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18342         Likewise.
18344 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18347         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18348         to get rid of unused variable warning.
18350 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18352         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18353         Check for unwind_backtrace ==  NULL only in SHARED case.
18354         (__backchain_backtrace): Compile only in SHARED case.
18355         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18356         Likewise.
18357         (__backchain_backtrace): Declare as static.
18359 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18361         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18362         (__libc_multiple_threads_ptr): Variable moved ...
18363         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18365 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18367         * conform/GlibcConform.pm: New file.
18368         * conform/conformtest.pl: Use GlibcConform module.
18369         * conform/linknamespace.pl: New file.
18370         * conform/list-header-symbols.pl: Likewise.
18371         * conform/Makefile (linknamespace-symlists-base): New variable.
18372         (linknamespace-symlists-tests): Likewise.
18373         (linknamespace-header-base): Likewise.
18374         (linknamespace-header-tests): Likewise.
18375         (tests-special): Add new tests.
18376         ($(linknamespace-symlists-tests)): New rule.
18377         (linknamespace-libs): New variable.
18378         ($(objpfx)symlist-stdlibs): New rule.
18379         ($(linknamespace-header-tests)): Likewise.
18380         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18381         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18382         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18383         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18384         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18385         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18386         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18387         (test-xfail-ISO/math.h/linknamespace): Likewise.
18388         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18389         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18390         (test-xfail-ISO/time.h/linknamespace): Likewise.
18391         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18392         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18393         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18394         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18395         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18396         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18397         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18398         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18399         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18400         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18401         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18402         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18403         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18404         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18405         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18406         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18407         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18408         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18409         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18410         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18411         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18412         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18413         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18414         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18415         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18416         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18417         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18418         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18419         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18420         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18421         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18422         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18423         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18424         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18425         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18426         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18427         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18428         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18429         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18430         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18431         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18432         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18433         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18434         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18435         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18436         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18437         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18438         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18439         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18440         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18441         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18442         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18443         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18444         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18445         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18446         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18447         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18448         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18449         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18450         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18451         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18452         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18453         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18454         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18455         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18456         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18457         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18458         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18459         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18460         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18461         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18462         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18463         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18464         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18465         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18466         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18467         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18468         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18469         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18470         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18471         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18472         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18473         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18474         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18475         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18476         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18477         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18478         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18479         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18480         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18481         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18482         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18483         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18484         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18485         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18486         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18487         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18488         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18489         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18490         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18491         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18492         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18493         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18494         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18495         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18496         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18497         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18498         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18499         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18500         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18501         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18502         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18503         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18504         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18505         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18506         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18507         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18508         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18509         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18510         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18511         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18512         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18513         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18514         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18515         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18516         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18517         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18518         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18519         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18520         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18521         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18522         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18523         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18524         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18525         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18526         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18527         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18528         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18529         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18530         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18531         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18532         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18533         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18534         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18535         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18536         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18537         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18538         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18539         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18540         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18542         [BZ #17589]
18543         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18544         of fgets_unlocked.
18546         [BZ #17585]
18547         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18548         (memmem): Rename to __memmem and define as weak alias of
18549         __memmem.  Use libc_hidden_weak.
18550         (__memmem): Use libc_hidden_def.
18551         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18552         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18553         memmem.
18555         [BZ #17582]
18556         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18557         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18558         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18559         and define as weak alias of __fgets_unlocked.  Use
18560         libc_hidden_weak.
18561         (__fgets_unlocked): Use libc_hidden_def.
18562         * include/stdio.h (__fgets_unlocked): Declare.  Use
18563         libc_hidden_proto.
18564         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18565         __fgets_unlocked instead of fgets_unlocked.
18566         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18567         (GET_NPROCS_CONF_PARSER): Likewise.
18568         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18569         (GET_NPROCS_CONF_PARSER): Likewise.
18571         [BZ #17574]
18572         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18573         weak alias of __wmemset.  Use libc_hidden_weak.
18574         (__wmemset): Use libc_hidden_def.
18575         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18576         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18577         of wmemset.
18579         [BZ #17573]
18580         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18581         with asm name __mempcpy.
18582         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18584         [BZ #17572]
18585         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18586         and define as weak alias of __rawmemchr.
18587         (__rawmemchr): Do not define as strong alias of rawmemchr.
18589         [BZ #17571]
18590         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18591         alias of __qsort_r.
18592         (qsort): Call __qsort_r instead of qsort_r.
18593         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18594         (__qsort_r): Declare.  Call libc_hidden_proto.
18595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18596         instead of qsort_r.
18597         * nscd/gai.c (__qsort_r): Define to qsort_r.
18598         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18599         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18600         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18602         [BZ #17570]
18603         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18604         define as weak alias of __malloc_info.
18606         [BZ #17584]
18607         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18608         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18609         (__rewinddir): Use libc_hidden_def.
18610         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18611         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18612         (__rewinddir): Use libc_hidden_def.
18613         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18614         weak alias of __rewinddir.  Don't use libc_hidden_def.
18615         (__rewinddir): Use libc_hidden_def.
18616         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18617         (__rewinddir): Use libc_hidden_proto.
18618         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18619         rewinddir.
18620         (__getcwd): Use __rewinddir instead of rewinddir.
18622         [BZ #17583]
18623         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18624         alias of __fileno.  Use libc_hidden_weak.
18625         (__fileno): Use libc_hidden_def.
18626         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18627         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18628         alias of __ftello.
18629         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18630         __ftello.
18631         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18632         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18633         libc_hidden_def.
18634         (fread_unlocked): Don't use libc_hidden_ver.
18635         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18636         and define as weak alias of __fread_unlocked.  Don't use
18637         libc_hidden_def.
18638         (__fread_unlocked): Use libc_hidden_def.
18639         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18640         (ftello): Don't use libc_hidden_proto.
18641         (__ftello): Declare.  Use libc_hidden_proto.
18642         (fread_unlocked): Don't use libc_hidden_proto.
18643         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18644         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18645         and __ftello instead of fileno, fread_unlocked and ftello.
18647 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18649         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18650         GOT12.
18651         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18652         Likewise.
18653         (_dl_start_user): Likewise.
18654         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18656 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18657             Siddhesh Poyarekar  <siddhesh@redhat.com>
18659         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18660         Move argv and envp down instead of moving argc up.
18661         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18663 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18665         [BZ #17506]
18666         * test-skeleton.c (main): Return successful if one of
18667         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18668         * string/tst-strcoll-overflow.c: Define expected status.
18670 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18672         [BZ #17475]
18673         * locale/iso-639.def: Define Bhili and Tulu language codes.
18675 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18677         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18679 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18681         [BZ #17555]
18682         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18684 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18686         * configure.ac: Updated check of minimal required version to
18687         2.22.
18688         * manual/install.texi (Tools for Compilation): Updated version
18689         number.
18690         * configure: Regenerated.
18691         * INSTALL: Likewise.
18693 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18695         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18696         __tls_get_addr.
18698 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18700         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18701         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18702         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18703         libc_hidden_weak.
18704         (waitpid): Define as alias of __waitpid.
18705         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18706         __waitpid.
18707         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18708         libc_hidden_weak.
18709         (waitpid): Define as alias of __waitpid.
18710         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18711         __libc_waitpid alias.
18712         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18713         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18714         Likewise.
18715         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18716         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18717         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18718         alias.
18719         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18720         __waitpid.
18721         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18722         libc_hidden_weak.
18723         (waitpid): Define as alias of __waitpid.
18725 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18727         * manual/llio.texi: Add comment that write safety has been
18728         fixed in Linux.
18730         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18731         (localplt-build-dso): Add elf/ld.so.
18732         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18733         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18734         and free for ld.so.
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18736         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18738         Likewise.
18739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18740         Likewise.
18741         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18742         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18743         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18744         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18745         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18746         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18747         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18748         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18749         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18750         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18751         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18753 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18755         [BZ #14132]
18756         * include/libc-symbols.h (INTUSE): Remove macro.
18757         (INTDEF): Likewise.
18758         (INTVARDEF): Likewise.
18759         (_INTVARDEF): Likewise.
18760         (INTDEF2): Likewise.
18761         (INTVARDEF2): Likewise.
18762         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18763         rtld_hidden_def instead of INTVARDEF.
18764         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18765         (_dl_starting_up_internal): Remove declaration.
18766         (_dl_starting_up): Use rtld_hidden_proto.
18767         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18768         declaration.
18769         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18770         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18771         _dl_starting_up.
18772         * elf/dl-writev.h (_dl_writev): Likewise.
18773         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18774         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18775         _dl_starting_up_internal.
18777 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18779         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18780         test-skeleton.c.
18782 2014-11-05  Will Newton  <will.newton@linaro.org>
18784         * benchtests/Makefile: (bench-malloc): Add malloc thread
18785         scalability benchmark.
18786         * benchtests/bench-malloc-threads.c: New file.
18788 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18790         * sysdeps/aarch64/strchrnul.S: New file.
18792 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18794         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18795         definition.
18796         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18797         Likwise.
18798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18799         Likewise.
18800         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18801         Likewise.
18802         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18803         Likewise.
18804         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18805         Likewise.
18807 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18809         * catgets/test-gencat.c: Use test-skeleton.c.
18810         * catgets/tst-catgets.c: Likewise.
18811         * csu/tst-empty.c: Likewise.
18812         * elf/tst-audit2.c: Likewise.
18813         * elf/tst-global1.c: Likewise.
18814         * elf/tst-pathopt.c: Likewise.
18815         * elf/tst-piemod1.c: Likewise.
18816         * elf/tst-tls10.c: Likewise.
18817         * elf/tst-tls11.c: Likewise.
18818         * elf/tst-tls12.c: Likewise.
18819         * gnulib/tst-gcc.c: Likewise.
18820         * iconvdata/tst-e2big.c: Likewise.
18821         * iconvdata/tst-loading.c: Likewise.
18822         * iconv/tst-iconv1.c: Likewise.
18823         * iconv/tst-iconv2.c: Likewise.
18824         * inet/test-inet6_opt.c: Likewise.
18825         * inet/tst-gethnm.c: Likewise.
18826         * inet/tst-network.c: Likewise.
18827         * inet/tst-ntoa.c: Likewise.
18828         * intl/tst-codeset.c: Likewise.
18829         * intl/tst-gettext2.c: Likewise.
18830         * intl/tst-gettext3.c: Likewise.
18831         * intl/tst-ngettext.c: Likewise.
18832         * intl/tst-translit.c: Likewise.
18833         * io/test-stat.c: Likewise.
18834         * libio/test-fmemopen.c: Likewise.
18835         * libio/tst-freopen.c: Likewise.
18836         * libio/tst-sscanf.c: Likewise.
18837         * libio/tst-ungetwc1.c: Likewise.
18838         * libio/tst-ungetwc2.c: Likewise.
18839         * libio/tst-widetext.c: Likewise.
18840         * localedata/tst-ctype.c: Likewise.
18841         * localedata/tst-digits.c: Likewise.
18842         * localedata/tst-leaks.c: Likewise.
18843         * localedata/tst-mbswcs1.c: Likewise.
18844         * localedata/tst-mbswcs2.c: Likewise.
18845         * localedata/tst-mbswcs3.c: Likewise.
18846         * localedata/tst-mbswcs4.c: Likewise.
18847         * localedata/tst-mbswcs5.c: Likewise.
18848         * localedata/tst-setlocale.c: Likewise.
18849         * localedata/tst-trans.c: Likewise.
18850         * localedata/tst-wctype.c: Likewise.
18851         * localedata/tst-xlocale1.c: Likewise.
18852         * login/tst-grantpt.c: Likewise.
18853         * malloc/tst-calloc.c: Likewise.
18854         * malloc/tst-malloc.c: Likewise.
18855         * malloc/tst-mallocstate.c: Likewise.
18856         * malloc/tst-mcheck.c: Likewise.
18857         * malloc/tst-mtrace.c: Likewise.
18858         * malloc/tst-obstack.c: Likewise.
18859         * math/atest-exp2.c: Likewise.
18860         * math/atest-exp.c: Likewise.
18861         * math/atest-sincos.c: Likewise.
18862         * math/test-matherr.c: Likewise.
18863         * math/test-misc.c: Likewise.
18864         * math/test-powl.c: Likewise.
18865         * math/tst-definitions.c: Likewise.
18866         * misc/tst-dirname.c: Likewise.
18867         * misc/tst-efgcvt.c: Likewise.
18868         * misc/tst-fdset.c: Likewise.
18869         * misc/tst-hsearch.c: Likewise.
18870         * misc/tst-mntent2.c: Likewise.
18871         * nptl/tst-sem7.c: Likewise.
18872         * nptl/tst-sem8.c: Likewise.
18873         * nptl/tst-sem9.c: Likewise.
18874         * nss/test-netdb.c: Likewise.
18875         * posix/tst-fnmatch.c: Likewise.
18876         * posix/tst-getlogin.c: Likewise.
18877         * posix/tst-gnuglob.c: Likewise.
18878         * posix/tst-mmap.c: Likewise.
18879         * pwd/tst-getpw.c: Likewise.
18880         * resolv/tst-inet_ntop.c: Likewise.
18881         * rt/tst-timer.c: Likewise.
18882         * stdio-common/test-fseek.c: Likewise.
18883         * stdio-common/test-popen.c: Likewise.
18884         * stdio-common/test-vfprintf.c: Likewise.
18885         * stdio-common/tst-cookie.c: Likewise.
18886         * stdio-common/tst-fileno.c: Likewise.
18887         * stdio-common/tst-gets.c: Likewise.
18888         * stdio-common/tst-obprintf.c: Likewise.
18889         * stdio-common/tst-perror.c: Likewise.
18890         * stdio-common/tst-sprintf2.c: Likewise.
18891         * stdio-common/tst-sprintf3.c: Likewise.
18892         * stdio-common/tst-sprintf.c: Likewise.
18893         * stdio-common/tst-swprintf.c: Likewise.
18894         * stdio-common/tst-tmpnam.c: Likewise.
18895         * stdio-common/tst-unbputc.c: Likewise.
18896         * stdio-common/tst-wc-printf.c: Likewise.
18897         * stdlib/tst-environ.c: Likewise.
18898         * stdlib/tst-fmtmsg.c: Likewise.
18899         * stdlib/tst-limits.c: Likewise.
18900         * stdlib/tst-rand48-2.c: Likewise.
18901         * stdlib/tst-rand48.c: Likewise.
18902         * stdlib/tst-random2.c: Likewise.
18903         * stdlib/tst-random.c: Likewise.
18904         * stdlib/tst-strtol.c: Likewise.
18905         * stdlib/tst-strtoll.c: Likewise.
18906         * stdlib/tst-tls-atexit.c: Likewise.
18907         * stdlib/tst-xpg-basename.c: Likewise.
18908         * string/test-ffs.c: Likewise.
18909         * string/tst-bswap.c: Likewise.
18910         * string/tst-inlcall.c: Likewise.
18911         * string/tst-strtok.c: Likewise.
18912         * string/tst-strxfrm.c: Likewise.
18913         * sysdeps/x86_64/tst-audit10.c: Likewise.
18914         * sysdeps/x86_64/tst-audit3.c: Likewise.
18915         * sysdeps/x86_64/tst-audit4.c: Likewise.
18916         * sysdeps/x86_64/tst-audit5.c: Likewise.
18917         * time/tst-ftime_l.c: Likewise.
18918         * time/tst-getdate.c: Likewise.
18919         * time/tst-mktime3.c: Likewise.
18920         * time/tst-mktime.c: Likewise.
18921         * time/tst-posixtz.c: Likewise.
18922         * time/tst-strptime2.c: Likewise.
18923         * time/tst-strptime3.c: Likewise.
18924         * wcsmbs/tst-btowc.c: Likewise.
18925         * wcsmbs/tst-mbrtowc.c: Likewise.
18926         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18927         * wcsmbs/tst-wchar-h.c: Likewise.
18928         * wcsmbs/tst-wcpncpy.c: Likewise.
18929         * wcsmbs/tst-wcrtomb.c: Likewise.
18930         * wcsmbs/tst-wcsnlen.c: Likewise.
18931         * wcsmbs/tst-wcstof.c: Likewise.
18933 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18935         [BZ #14132]
18936         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18937         INTDEF.
18938         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18939         declaration.
18940         (_dl_mcount): Use rtld_hidden_proto.
18941         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18942         _dl_mcount.
18943         * elf/rtld.c (_rtld_global_ro): Likewise.
18945         [BZ #14132]
18946         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18947         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18948         of _dl_init_internal.
18949         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18950         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18951         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18952         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18953         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18954         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18955         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18956         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18957         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18958         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18959         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18960         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18961         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18962         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18963         * sysdeps/tile/dl-start.S (_start): Likewise.
18964         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18965         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18967         [BZ #14132]
18968         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18969         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18970         (rtld_progname): Make macro definition unconditional.
18971         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18972         INTDEF.
18973         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18974         (dl_main): Likewise.
18975         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18976         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18977         instead of _dl_argv_internal.
18978         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18979         __GI__dl_argv instead of INTUSE(_dl_argv).
18980         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18981         __GI__dl_argv instead of _dl_argv_internal.
18983         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18984         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18985         macro.
18986         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18987         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18988         New macro.
18989         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18990         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18991         macro.
18992         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18993         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18995 2014-11-04  Andreas Schwab  <schwab@suse.de>
18997         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18999 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19002         mtvsrd instruction in binary form.
19004 2014-11-03  Andreas Schwab  <schwab@suse.de>
19006         [BZ #17522]
19007         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19008         for less than MB_LEN_MAX use a local buffer of that size.
19009         * libio/tst-fputws.c: New file.
19010         * libio/Makefile (tests): Add tst-fputws.
19012 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19014         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19015         the size of the fpu_fr.fpu_dregs[] array.
19017 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19019         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19020         (__nanosleep): Do not define as alias.
19021         (nanosleep): Define as alias of __nanosleep.
19022         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19023         __libc_nanosleep name.
19025 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19027         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19028         install.texi in comment.
19030 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19032         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19033         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19034         ... add here and use lwsync or sync ...
19035         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19036         ... and add here using lwsync.
19038 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19040         * elf/dl-machine-reject-phdr.h: New file.
19041         * elf/dl-load.c: #include that.
19042         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19043         if that returned true.
19045 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19047         [BZ #17496]
19048         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19049         gen-as-const-headers chunk.  Add a big scare comment after the last
19050         safe place to touch before-compile.
19052 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19054         * manual/install.texi (Tools for Compilation): Update autoconf
19055         version requirements.
19056         * INSTALL: Regenerated.
19058         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19059         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19060         (__libc_pselect): Likewise.
19062         [BZ #14138]
19063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19068 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19070         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19071         correct barrier instruction.
19072         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19073         Likewise.
19074         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19075         Likewise.
19077 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19079         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19080         after defining inlines.  Instead, just use parens to defeat macro
19081         expansion of __isctype in its declaration.
19083 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19085         * include/sys/uio.h (__libc_readv): Remove declaration.
19086         (__libc_writev): Likewise.
19087         * misc/readv.c (__libc_readv): Rename to __readv.
19088         (__readv): Do not define as alias.
19089         (readv): Define as alias of __readv.
19090         * misc/writev.c (__libc_writev): Rename to __writev.
19091         (__writev): Do not define as alias.
19092         (writev): Define as alias of __writev.
19093         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19094         (__readv): Do not define as alias.
19095         (readv): Define unconditionally as alias of __readv.
19096         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19097         (__writev): Do not define as alias.
19098         (writev): Define unconditionally as alias of __writev.
19099         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19100         name.
19101         (writev): Do not define __libc_writev name.
19103 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19105         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19106         (convert_charseq): New function, broken out of ...
19107         (use_from_charmap): ... here.  Call it.
19108         (use_to_charmap): Use convert_charseq and free instead of duplicating
19109         its code with a variable-length stack struct.
19111 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19113         * include/fcntl.h (__libc_creat): Remove declaration.
19114         * io/creat.c (__libc_creat): Rename to creat.
19115         (creat): Do not define as alias.
19116         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19117         of creat instead of __libc_creat.
19118         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19119         to creat.
19120         (creat): Do not define as alias.
19121         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19122         __libc_creat.
19123         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19124         __libc_creat name.
19125         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19126         Likewise.
19128 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19130         * manual/llio.texi: Add comments discussing why write() may be
19131         considered MT-unsafe on Linux.
19133 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19135         * dl-load.c (local_strdup): Remove.
19136         (expand_dynamic_string_token): Use __strdup.
19137         (decompose_rpath): Likewise.
19138         (_dl_map_object): Likewise.
19140 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19142         [BZ #14132]
19143         * sysdeps/generic/unwind-dw2-fde.c
19144         (__register_frame_info_bases_internal): Do not declare.
19145         (__register_frame_info_table_bases_internal): Likewise.
19146         (__deregister_frame_info_bases_internal): Likewise.
19147         (__register_frame_info_bases): Declare and use hidden_proto before
19148         definition.  Use hidden_def instead of INTDEF.
19149         (__register_frame_info_table_bases): Likewise.
19150         (__deregister_frame_info_bases): Likewise.
19151         (__register_frame_info): Do not use INTUSE.
19152         (__register_frame): Likewise.
19153         (__register_frame_info_table): Likewise.
19154         (__register_frame_table): Likewise.
19155         (__deregister_frame_info): Likewise.
19156         (__deregister_frame): Likewise.
19158 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19160         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19161         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19162         not undefine.
19163         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19164         Likewise.
19165         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19166         Likewise.
19168 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19170         [BZ #14138]
19171         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19172         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19173         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19174         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19175         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19176         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19177         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19178         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19179         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19180         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19181         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19182         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19183         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19184         syscall.
19185         (setfsuid): Likewise.
19186         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19187         (setfsuid): Likewise.
19188         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19189         (setfsuid): Likewise.
19190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19191         Likewise.
19192         (setfsuid): Likewise.
19193         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19194         (setfsuid): Likewise.
19195         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19196         Likewise.
19197         (setfsuid): Likewise.
19199 2014-10-27  Andreas Schwab  <schwab@suse.de>
19201         [BZ #17501]
19202         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19203         check for Slow_SSE4_2 feature bit.
19204         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19205         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19206         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19207         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19209 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19211         * configure.ac: Validate compiler version with a empirical test of
19212         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19213         $CC -v output.
19214         * configure: Regenerated.
19216         * inet/htons.c (htons): Prototypify.
19217         * inet/htonl.c (htonl): Likewise.
19219 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19221         * string/strncat.c (strncat): Improve performance by using strlen.
19223 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19225         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19227 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19229         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19230         Call libc_fetestexcept_aarch64.
19232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19234         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19235         Call libc_feholdexcept_aarch64.
19237 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19239         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19240         Call get_rounding_mode.
19242 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19244         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19245         Simplify logic.
19247 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19249         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19250         Simplify logic.
19252 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19254         [BZ #14138]
19255         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19256         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19257         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19258         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19259         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19260         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19261         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19262         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19263         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19264         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19265         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19266         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19267         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19268         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19269         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19270         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19271         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19272         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19273         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19274         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19275         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19276         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19277         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19278         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19279         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19280         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19281         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19282         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19283         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19284         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19285         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19286         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19287         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19288         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19289         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19290         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19291         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19293         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19294         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19295         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19296         syscall.
19297         (geteuid): Likewise.
19298         (getgid): Likewise.
19299         (getuid): Likewise.
19300         (getresgid): Likewise.
19301         (getresuid): Likewise.
19302         (getgroups): Likewise.
19303         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19304         (geteuid): Likewise.
19305         (getgid): Likewise.
19306         (getuid): Likewise.
19307         (getresgid): Likewise.
19308         (getresuid): Likewise.
19309         (getgroups): Likewise.
19310         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19311         (geteuid): Likewise.
19312         (getgid): Likewise.
19313         (getuid): Likewise.
19314         (getresgid): Likewise.
19315         (getresuid): Likewise.
19316         (getgroups): Likewise.
19317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19318         Likewise.
19319         (geteuid): Likewise.
19320         (getgid): Likewise.
19321         (getuid): Likewise.
19322         (getresgid): Likewise.
19323         (getresuid): Likewise.
19324         (getgroups): Likewise.
19325         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19326         (geteuid): Likewise.
19327         (getgid): Likewise.
19328         (getuid): Likewise.
19329         (getresgid): Likewise.
19330         (getresuid): Likewise.
19331         (getgroups): Likewise.
19332         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19333         Likewise.
19334         (geteuid): Likewise.
19335         (getgid): Likewise.
19336         (getuid): Likewise.
19337         (getgroups): Likewise.
19339         [BZ #14138]
19340         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19341         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19342         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19343         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19344         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19345         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19346         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19347         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19348         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19349         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19350         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19351         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19352         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19353         __chown.
19354         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19355         (lchown): Likewise.
19356         (fchown): Likewise.
19357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19358         Likewise.
19359         (lchown): Likewise.
19360         (fchown): Likewise.
19361         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19362         (lchown): Likewise.
19363         (fchown): Likewise.
19364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19365         Likewise.
19366         (lchown): Likewise.
19367         (fchown): Likewise.
19369 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19371         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19372         Simplify logic.
19374 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19376         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19377         Cleanup logic.
19379 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19381         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19382         Remove unused include.
19384 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19386         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19387         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19388         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19389         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19391 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19392             Helge Deller <deller@gmx.de>
19394         [BZ #17508]
19395         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19396         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19397         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19399 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19401         [BZ #14132]
19402         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19403         Remove macro definition.
19404         (__ashrdi3_v_glibc20): Likewise.
19405         (__lshrdi3_v_glibc20): Likewise.
19406         (__cmpdi2_v_glibc20): Likewise.
19407         (__ucmpdi2_v_glibc20): Likewise.
19408         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19409         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19410         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19411         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19412         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19413         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19415 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19417         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19418         old GNU extension [0] syntax.
19419         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19420         alloca rather than an array member with variable length.
19421         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19422         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19423         (parse_opt): ... here.  Likewise use alloca there.
19424         Validate the -i argument before checking for rootness.
19425         (send_shutdown): New function, broken out of ...
19426         (parse_opt): ... here.
19428 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19430         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19431         macro to get at the _rt_local_ro field.
19432         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19433         ([PIC] case) or _dl_hwcap ([!PIC] case).
19434         * sysdeps/arm/setjmp.S: Likewise.
19436         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19437         * sysdeps/arm/configure.ac: New check to define it.
19438         * sysdeps/arm/configure: Regenerated.
19439         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19440         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19441         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19442         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19443         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19444         Use move/movt pair instead of a load.
19445         (LDST_GLOBAL): Macro removed.
19446         (LDR_GLOBAL): New macro replaces it.
19447         (LDR_HIDDEN): New macro.
19448         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19449         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19451         * setjmp/tst-setjmp-static.c: New file.
19452         * setjmp/Makefile (tests): Add it.
19453         (tests-static): New variable.
19455 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19457         [BZ #17485]
19458         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19460 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19462         [BZ #14132]
19463         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19465 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19467         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19469 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19471         * io/fts.c (dirent_not_directory): New function.
19472         (fts_build): Call it.
19474 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19476         * nptl/version.c (__nptl_main): Use normal __write rather than
19477         INTERNAL_SYSCALL.
19478         (banner): Update copyright years.
19480         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19481         gettimeofday.
19482         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19483         * nptl/pthread_cond_timedwait.c: Likewise.
19484         * nptl/pthread_mutex_timedlock.c: Likewise.
19485         * nptl/sem_timedwait.c: Likewise.
19487         * sysdeps/nptl/bits/libc-lock.h
19488         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19489         (__libc_lock_init_recursive): Return void, not 0.
19490         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19491         (__libc_rwlock_init): Likewise.
19492         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19494 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19496         [BZ #15215]
19497         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19498         (__pthread_once_slow): ... here.
19499         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19500         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19502 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19504         [BZ #15215]
19505         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19506         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19507         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19508         * nptl/pthread_once.c (__pthread_once): Likewise.
19509         Update comments.
19511 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19513         [BZ #14138]
19514         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19515         name.
19516         (writev): Use __libc_writev as strong name.
19517         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19518         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19520 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19522         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19524         * sysdeps/i386/nptl/tls.h
19525         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19526         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19527         New macros.
19528         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19529         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19530         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19531         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19532         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19533         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19535         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19536         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19537         on [__NR_futex].
19538         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19539         broken out of ...
19540         (__pthread_mutex_init): ... here.  Call it.
19541         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19542         Conditionalize PI cases on [__NR_futex].
19543         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19544         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19545         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19547         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19548         conditional on [SIGSETXID].
19549         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19550         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19551         is defined.  Likewise for SIGSETXID.
19552         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19553         Conditionalize definitions on [SIGSETXID].
19554         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19555         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19556         unblocking on [SIGCANCEL].
19558         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19559         [__NR_set_robust_list].
19561 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19563         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19564         (do_compare): Likewise.
19566 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19568         [BZ #15884]
19569         * string/strcoll_l.c: Don't include stdio.h.
19570         (coll_seq): Remove members idxarr and rulearr.
19571         (get_next_seq_cached): Remove function.
19572         (get_next_seq): Likewise.
19573         (get_next_seq_nocache): Rename to get_next_seq.
19574         (do_compare): Remove function.
19575         (do_compare_nocache): Rename to do_compare.
19576         (STRCOLL): Remove weight and rules cache.
19578 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19580         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19581         * sysdeps/arm/sfp-machine.h: ... to here.
19582         * sysdeps/arm/Implies: Remove arm/soft-fp.
19584 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19586         * conform/data/sys/utsname.h-data (*_t): Allow.
19587         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19588         [POSIX] (WEXITED): Do not expect constant.
19589         [POSIX] (WSTOPPED): Likewise.
19590         [POSIX] (WNOHANG): Likewise.
19591         [POSIX] (WNOWAIT): Likewise.
19592         [POSIX] (siginfo_t): Do not expect type or elements.
19593         [POSIX] (pid_t): Do not expect type.
19594         [POSIX] (signal.h): Do not allow header.
19595         [POSIX] (sys/resource.h): Likewise.
19596         [POSIX] (si_*): Do not allow pattern.
19597         [POSIX] (W*): Likewise.
19598         [POSIX] (P_*): Likewise.
19599         [POSIX] (BUS_*): Likewise.
19600         [POSIX] (CLD_*): Likewise.
19601         [POSIX] (FPE_*): Likewise.
19602         [POSIX] (ILL_*): Likewise.
19603         [POSIX] (POLL_*): Likewise.
19604         [POSIX] (SEGV_*): Likewise.
19605         [POSIX] (SI_*): Likewise.
19606         [POSIX] (TRAP_*): Likewise.
19607         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19608         variable.
19610 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19612         [BZ #12926]
19613         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19614         infinite loop when __recvmsg returns 0.
19616 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19618         * CANCEL-FCT-WAIVE: Remove file.
19619         * CANCEL-FILE-WAIVE: Likewise.
19621         [BZ #14132]
19622         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19623         instead of INTVARDEF.
19624         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19625         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19626         rtld_hidden_data_def instead of INTVARDEF.
19627         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19628         * elf/dl-deps.c (expand_dst): Likewise.
19629         * elf/dl-load.c (_dl_dst_count): Likewise.
19630         (_dl_dst_substitute): Likewise.
19631         (decompose_rpath): Likewise.
19632         (_dl_init_paths): Likewise.
19633         (open_path): Likewise.
19634         (_dl_map_object): Likewise.
19635         * elf/rtld.c (dl_main): Likewise.
19636         (process_dl_audit): Likewise.
19637         (process_envvars): Likewise.
19638         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19639         Remove declaration.
19640         (__libc_enable_secure): Use rtld_hidden_proto.
19642 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19644         * elf/dl-load.c
19645         (add_path): New function broken out of _dl_rtld_di_serinfo.
19646         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19648 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19650         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19651         parentheses around macro arguments.
19652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19653         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19663         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19667         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19668         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19681         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19682         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19685         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19686         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19687         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19688         Likewise.
19689         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19690         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19692         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19694         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19695         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19696         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19697         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19698         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19699         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19700         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19701         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19709         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19710         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19711         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19712         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19713         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19714         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19715         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19716         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19717         (_FP_FRAC_SRS_1): Likewise.
19718         (_FP_FRAC_CLZ_1): Likewise.
19719         (_FP_MUL_MEAT_1_imm): Likewise.
19720         (_FP_MUL_MEAT_1_wide): Likewise.
19721         (_FP_MUL_MEAT_1_hard): Likewise.
19722         (_FP_SQRT_MEAT_1): Likewise.
19723         (_FP_FRAC_ASSEMBLE_1): Likewise.
19724         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19725         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19726         (__FP_CLZ_2): Likewise.
19727         (_FP_MUL_MEAT_2_wide): Likewise.
19728         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19729         (_FP_MUL_MEAT_2_gmp): Likewise.
19730         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19731         (_FP_SQRT_MEAT_2): Likewise.
19732         (_FP_FRAC_ASSEMBLE_2): Likewise.
19733         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19734         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19735         (_FP_FRAC_CLZ_4): Likewise.
19736         (_FP_MUL_MEAT_4_wide): Likewise.
19737         (_FP_MUL_MEAT_4_gmp): Likewise.
19738         (_FP_SQRT_MEAT_4): Likewise.
19739         (_FP_FRAC_ASSEMBLE_4): Likewise.
19740         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19741         * soft-fp/op-common.h (_FP_CMP): Likewise.
19742         (_FP_CMP_EQ): Likewise.
19743         (_FP_CMP_UNORD): Likewise.
19744         (_FP_TO_INT): Likewise.
19745         (_FP_FROM_INT): Likewise.
19746         [!__FP_CLZ] (__FP_CLZ): Likewise.
19747         (_FP_DIV_HELP_imm): Likewise.
19748         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19749         Likewise.
19750         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19751         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19757         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19761         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19762         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19765         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19766         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19775         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19779         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19780         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19783         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19784         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19785         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19786         (FP_UNPACK_RAW_SP): Likewise.
19787         (FP_PACK_RAW_S): Likewise.
19788         (FP_PACK_RAW_SP): Likewise.
19789         (FP_UNPACK_S): Likewise.
19790         (FP_UNPACK_SP): Likewise.
19791         (FP_UNPACK_SEMIRAW_S): Likewise.
19792         (FP_UNPACK_SEMIRAW_SP): Likewise.
19793         (FP_PACK_S): Likewise.
19794         (FP_PACK_SP): Likewise.
19795         (FP_PACK_SEMIRAW_S): Likewise.
19796         (FP_PACK_SEMIRAW_SP): Likewise.
19797         (_FP_SQRT_MEAT_S): Likewise.
19798         (FP_CMP_S): Likewise.
19799         (FP_CMP_EQ_S): Likewise.
19800         (FP_CMP_UNORD_S): Likewise.
19801         (FP_TO_INT_S): Likewise.
19802         (FP_FROM_INT_S): Likewise.
19804         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19806         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19807         (FP_EX_INVALID_IMZ): Likewise.
19808         (FP_EX_INVALID_IMZ_FMA): Likewise.
19809         (FP_EX_INVALID_ISI): Likewise.
19810         (FP_EX_INVALID_ZDZ): Likewise.
19811         (FP_EX_INVALID_IDI): Likewise.
19812         (FP_EX_INVALID_SQRT): Likewise.
19813         (FP_EX_INVALID_CVI): Likewise.
19814         (FP_EX_INVALID_VC): Likewise.
19815         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19816         "invalid" exceptions.
19817         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19818         (_FP_ADD_INTERNAL): Likewise.
19819         (_FP_MUL): Likewise.
19820         (_FP_FMA): Likewise.
19821         (_FP_DIV): Likewise.
19822         (_FP_CMP_CHECK_NAN): Likewise.
19823         (_FP_SQRT): Likewise.
19824         (_FP_TO_INT): Likewise.
19825         (FP_EXTEND): Likewise.
19827 2014-10-09  Allan McRae  <allan@archlinux.org>
19829         * po/fr.po: Update French translation from translation project.
19831 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19833         [BZ #14132]
19834         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19835         of INTDEF.
19836         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19837         (__cxa_atexit): Use libc_hidden_proto.
19838         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19840         [BZ #14132]
19841         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19842         declaration.
19843         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19844         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19845         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19846         [!_ISOMAC] (__iswctype_internal): Likewise.
19847         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19848         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19849         alias.
19850         (fcntl): Remove __fcntl_internal alias.
19851         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19852         __connect_internal alias.
19853         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19854         Likewise.
19856         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19857         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19858         FP_DENORM_ZERO.
19859         (_FP_CHECK_FLUSH_ZERO): New macro.
19860         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19861         (_FP_CMP): Likewise.
19862         (_FP_CMP_EQ): Likewise.
19863         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19864         FP_DENORM_ZERO.
19865         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19866         (FP_TRUNC): Likewise.
19868         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19869         treated as invalid conversion, not as normal exponent.
19871         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19872         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19873         (_FP_CMP_EQ): Likewise.
19874         (_FP_CMP_UNORD): Likewise.
19875         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19876         (FP_CMP_EQ_D): Likewise.
19877         (FP_CMP_UNORD_D): Likewise.
19878         * soft-fp/extended.h (FP_CMP_E): Likewise.
19879         (FP_CMP_EQ_E): Likewise.
19880         (FP_CMP_UNORD_E): Likewise.
19881         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19882         (FP_CMP_EQ_Q): Likewise.
19883         (FP_CMP_UNORD_Q): Likewise.
19884         * soft-fp/single.h (FP_CMP_S): Likewise.
19885         (FP_CMP_EQ_S): Likewise.
19886         (FP_CMP_UNORD_S): Likewise.
19887         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19888         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19889         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19890         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19891         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19892         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19893         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19894         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19895         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19896         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19897         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19898         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19899         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19900         to FP_CMP_Q.
19901         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19902         FP_CMP_Q.
19903         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19904         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19905         FP_CMP_EQ_Q.
19906         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19907         FP_CMP_Q.
19908         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19909         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19910         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19911         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19912         FP_CMP_EQ_Q.
19913         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19914         FP_CMP_Q.
19915         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19916         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19917         FP_CMP_EQ_Q.
19918         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19919         FP_CMP_Q.
19920         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19921         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19922         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19923         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19924         FP_CMP_EQ_Q.
19926         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19927         a subnormal result, set the underflow exception if trapping on
19928         underflow is enabled.
19929         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19930         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19931         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19932         redefine to 0.
19933         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19934         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19935         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19936         * soft-fp/extendxftf2.c (__extendxftf2): Use
19937         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19939         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19940         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19941         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19942         FP_HANDLE_EXCEPTIONS.
19943         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19944         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19945         FP_HANDLE_EXCEPTIONS.
19946         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19947         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19948         FP_HANDLE_EXCEPTIONS.
19949         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19950         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19951         FP_HANDLE_EXCEPTIONS.
19953 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19955         [BZ #14132]
19956         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19957         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19958         use INTUSE.
19959         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19960         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19961         Remove alias.
19962         (__adjtimex): Define using libc_hidden_ver.
19963         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19964         Remove declaration.
19965         (ntp_gettime): Call __adjtimex directly.
19966         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19967         Remove declaration.
19968         (ntp_gettimex): Call __adjtimex directly.
19969         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19970         __adjtimex_internal alias.
19972 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19974         [BZ #17460]
19975         * nscd/nscd.c (more_help): Rewrite list of tables collection
19976         using xstrdup and asprintf.
19978         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19980 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19981             Roland McGrath  <roland@hack.frob.com>
19983         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19984         (do_lookup_unique): ... local function 'enter' here; update callers.
19986 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19988         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19989         compat_symbol calls on [SHARED].
19990         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19991         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19992         Remove.
19993         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19994         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19995         (oldsetrlimit): Remove.
19996         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19998         (lchown): New syscall entry.
19999         (oldsetrlimit): Remove.
20000         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20002         (oldsetrlimit): Remove.
20003         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20005         [BZ #14138]
20006         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20007         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20008         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20009         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20010         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20011         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20012         (fchown): Likewise.
20013         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20014         (fchown): Likewise.
20015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20016         Likewise.
20018 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20020         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20021         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20022         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20023         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20024         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20025         Likewise.
20026         (__old_sem_post): Likewise.
20028 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20030         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20031         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20032         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20033         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20034         Use INLINE_VSYSCALL macro.
20035         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20036         __vdso_clock_gettime.
20037         * sysdeps/unix/sysv/linux/tile/init-first.c
20038         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20039         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20040         __vdso_clock_gettime.
20042         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20043         to set up frame more cleanly.
20045         * sysdeps/tile/memcmp.c: New file.
20047         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20049         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20050         * sysdeps/tile/tilegx/strcasestr.c: New file.
20051         * sysdeps/tile/tilegx/strnlen.c: New file.
20052         * sysdeps/tile/tilegx/strstr.c: New file.
20054         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20056 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20058         * nptl/tst-setuid3.c: Write errors to stdout.
20060 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20062         * elf/dl-deps.c
20063         (preload): New functions broken out of _dl_map_object_deps.
20064         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20066 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20068         [BZ #14138]
20069         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20070         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20072 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20074         * sysdeps/mips/strcmp.S: New.
20076 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20078         [BZ #14138]
20079         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20080         (linkat): Likewise.
20081         (mkdirat): Likewise.
20082         (readlinkat): Likewise.
20083         (renameat): Likewise.
20084         (symlinkat): Likewise.
20085         (unlinkat): Likewise.
20086         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20087         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20088         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20089         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20090         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20091         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20092         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20094 2014-09-30  Will Newton  <will.newton@linaro.org>
20096         * math/math.h: Define long double math functions if
20097         _LIBC_TEST is defined.
20098         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20100         * localedata/Makefile: Move assignment to tests-special
20101         into an ifdef testing run-built-tests.
20102         * timezone/Makefile: Likewise.
20104 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20106         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20107         with $(BASH) not $(SHELL).
20109 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20110             Matthew LeGendre  <legendre1@llnl.gov>
20112         [BZ #17411]
20113         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20114         l_reloc_result.
20116 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20118         * stdio-common/printf_fp.c
20119         (hack_digit): New function, broken out of ...
20120         (__printf_fp): ... local function here.  Update call sites.
20121         hack_digit now takes an additional parameter that is a pointer
20122         to a struct of the referenced locals.  Those locals moved inside
20123         the struct and references updated.
20125 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20127         * aclocal.m4: Require autoconf 2.69.
20128         * configure: Regenerated.
20129         * sysdeps/aarch64/configure: Likewise.
20130         * sysdeps/alpha/configure: Likewise.
20131         * sysdeps/arm/armv7/configure: Likewise.
20132         * sysdeps/arm/configure: Likewise.
20133         * sysdeps/ia64/configure: Likewise.
20134         * sysdeps/mach/configure: Likewise.
20135         * sysdeps/mips/configure: Likewise.
20136         * sysdeps/s390/configure: Likewise.
20137         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20140         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20141         file.
20142         * sysdeps/ia64/configure.ac: Likewise.
20144 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20147         specify symbol version for ld.so.  Do not include entry for
20148         libpthread.
20149         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20150         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20151         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20153         [BZ #14171]
20154         * Makeconfig [$(build-shared) = yes]
20155         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20156         makefiles.
20157         [$(build-shared) = yes && $(soversions.mk-done) = t]
20158         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20159         [$(build-shared) = yes && $(soversions.mk-done) = t]
20160         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20161         to Makerules.
20162         [$(build-shared) = yes && $(soversions.mk-done) = t]
20163         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20164         here.
20165         [$(build-shared) = yes && $(soversions.mk-done) = t]
20166         (common-generated): Don't append gnu/lib-names.h and
20167         gnu/lib-names.stmp here.
20168         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20169         (lib-names-h-abi): New variable.
20170         [$(build-shared) = yes && $(soversions.mk-done) = t]
20171         (lib-names-stmp-abi): Likewise.
20172         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20173         abi-variants] (before-compile): Append
20174         $(common-objpfx)$(lib-names-h-abi).
20175         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20176         abi-variants] (common-generated): Append gnu/lib-names.h.
20177         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20178         abi-variants] (install-others-nosubdir): Depend on
20179         $(inst_includedir)/$(lib-names-h-abi).
20180         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20181         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20182         [$(build-shared) = yes && $(soversions.mk-done) = t]
20183         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20184         [$(build-shared) = yes && $(soversions.mk-done) = t]
20185         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20186         [$(build-shared) = yes && $(soversions.mk-done) = t]
20187         (common-generated): Append $(lib-names-h-abi) and
20188         $(lib-names-stmp-abi).
20189         * scripts/lib-names.awk: Do not handle multi being set.
20190         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20191         Remove variable.
20192         (abi-lp64_be-ld-soname): Likewise.
20193         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20194         Likewise.
20195         (abi-hard-ld-soname): Likewise.
20196         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20197         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20198         Remove variable.
20199         (abi-o32_hard-ld-soname): Likewise.
20200         (abi-o32_soft_2008-ld-soname): Likewise.
20201         (abi-o32_hard_2008-ld-soname): Likewise.
20202         (abi-n32_soft-ld-soname): Likewise.
20203         (abi-n32_hard-ld-soname): Likewise.
20204         (abi-n32_soft_2008-ld-soname): Likewise.
20205         (abi-n32_hard_2008-ld-soname): Likewise.
20206         (abi-n64_soft-ld-soname): Likewise.
20207         (abi-n64_hard-ld-soname): Likewise.
20208         (abi-n64_soft_2008-ld-soname): Likewise.
20209         (abi-n64_hard_2008-ld-soname): Likewise.
20210         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20211         Likewise.
20212         (abi-64-v2-ld-soname): Likewise.
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20214         ld.so entries.
20215         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20216         variable.
20217         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20218         entry.
20219         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20220         variable.
20221         (abi-64-ld-soname): Likewise.
20222         (abi-x32-ld-soname): Likewise.
20223         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20224         entry.
20225         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20227 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #14138]
20230         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20231         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20232         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20233         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20234         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20235         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20236         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20237         syscall entry for GLIBC_2.2 symbol version.
20238         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20239         Likewise.
20240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20241         (setrlimit): Likewise.
20242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20243         Likewise.
20245 2014-09-23  Will Newton  <will.newton@linaro.org>
20247         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20248         _LINUX_ARM_SYSDEP_H include guard too.
20249         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20250         define.
20252 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20254         * sysdeps/unix/sysv/linux/eventfd.c:
20255         Make first argument unsigned.
20256         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20257         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20259 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20261         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20262         * socket/sys/socket.h: Likewise
20263         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20265 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20267         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20269 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20271         * time/tst-ftime.c: New test.
20272         * time/Makefile (tests): Add tst-ftime.
20274 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20276         * soft-fp/extended.h: Fix comment formatting.
20277         * soft-fp/op-1.h: Likewise.
20278         * soft-fp/op-2.h: Likewise.
20279         * soft-fp/op-4.h: Likewise.
20280         * soft-fp/op-8.h: Likewise.
20281         * soft-fp/op-common.h: Likewise.
20282         * soft-fp/soft-fp.h: Likewise.
20284         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20286 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20288         [BZ #6652]
20289         * Makeconfig (soversions-default-setname): Remove variable.
20290         ($(common-objpfx)soversions.i): Don't pass default_setname to
20291         soversions.awk.
20292         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20293         oldest_abi to abi-versions.awk.
20294         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20295         * config.make.in (oldest-abi): Remove variable.
20296         * configure.ac (--enable-oldest-abi): Remove configure option.
20297         * configure: Regenerated.
20298         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20299         text.
20300         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20301         * scripts/soversions.awk: Do not handle default_setname variable.
20302         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20303         variable.
20304         * sysdeps/mach/hurd/configure: Regenerated.
20305         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20306         variable.
20307         * sysdeps/unix/sysv/linux/configure: Regenerated.
20309 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20311         * elf/Makefile (CFLAGS-interp.c): Remove.
20312         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20313         path string.
20314         * elf/interp.c: Include generated runtime-linker.h
20316         * Makerules (lib%.so): Don't include $(+interp) in
20317         prerequisites.
20318         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20319         * dlfcn/eval.c: Remove file.
20321         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20322         macros.
20324         [BZ #17266]
20325         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20326         4.2 and newer.
20328         [BZ #17370]
20329         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20331 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20332             Jakub Jelinek  <jakub@redhat.com>
20334         [BZ #17266]
20335         * libio/stdio.h: Check definition of __fortify_function
20336         instead of __extern_always_inline to include bits/stdio2.h.
20337         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20338         check if __extern_always_inline is defined.
20339         [__USE_MISC || __USE_XOPEN]: Likewise.
20340         [__USE_ISOC99] Likewise.
20341         * misc/sys/cdefs.h (__fortify_function): Define only if
20342         __extern_always_inline is defined.
20343         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20344         __extern_always_inline and __extern_inline only for g++-4.3
20345         and newer or a compatible gcc.
20347 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20349         [BZ #17371]
20350         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20351         last change to handle zero prefix length.
20353 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20355         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20356         _SC_REGEX_VERSION.
20358         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20359         _POSIX_RAW_SOCKETS.
20361 2014-09-13  Allan McRae  <allan@archlinux.org>
20363         * po/ru.po: Update Russian translation from translation project.
20365 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20367         * locale/programs/locale.c (show_locale_vars): Inline local function
20368         into its sole call site.  Clean up some style nits.
20369         (print_item): New function, broken out of ...
20370         (show_info): ... local function here.  Clean up style nits.
20372         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20373         out of ...
20374         (set_class_defaults): ... local function set_default here.
20375         Define set_default as a macro locally to pass constant parameters.
20376         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20377         rather than a shared local.
20379         * stdlib/rpmatch.c (try): New function, broken out of ...
20380         (rpmatch): ... local function here.  Also, prototypify definition.
20382 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20384         * scripts/soversions.awk: Do not handle configuration names.
20385         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20386         vendor and os variables to soversions.awk.
20387         * configure.ac: Do not modify gnu-* host_os.
20388         * configure: Regenerated
20389         * shlib-versions: Remove first column with configuration names.
20390         * nptl/shlib-versions: Likewise.
20391         * nptl_db/shlib-versions: Likewise.
20392         * sysdeps/hppa/shlib-versions: Likewise.
20393         * sysdeps/m68k/shlib-versions: Likewise.
20394         * sysdeps/mach/hurd/shlib-versions: Likewise.
20395         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20396         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20397         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20398         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20399         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20400         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20401         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20402         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20404         Likewise.
20405         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20406         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20407         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20408         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20409         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20410         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20411         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20412         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20415         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20417         Regenerated.
20418         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20420         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20422         * shlib-versions: Remove OS-specific entries.  Moved to files in
20423         sysdeps.
20424         * sysdeps/mach/hurd/shlib-versions: New file.
20425         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20427         * nptl/shlib-versions: Remove architecture-specific entries.
20428         Moved to files in sysdeps.
20429         * shlib-versions: Likewise.
20430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20431         file.
20432         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20433         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20434         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20435         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20437         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20438         (UDP_NO_CHECK6_RX): Likewise.
20440 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20442         * sysdeps/posix/sysconf.c (__sysconf): Spell
20443         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20445 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20447         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20448         loading.
20449         * iconv/Versions (__gconv_transliterate): Export for use from
20450         gconv modules.
20451         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20452         (struct __gconv_trans_data, __gconv_trans_fct,
20453         __gconv_trans_context_fct, __gconv_trans_query_fct,
20454         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20455         definitions.
20456         (struct __gconv_step_data): Remove __trans member.
20457         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20458         longer hidden.  Remove unused trans_data argument.
20459         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20460         (__gconv_translit_find): Remove declaration.
20461         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20462         prototype.
20463         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20464         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20465         trans_data argument.  Add hidden definition.
20466         (__gconv_translit_find): Remove.
20467         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20468         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20469         * iconv/skeleton.c: Remove transliteration initialization.
20470         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20471         __gconv_step_data initialization.
20472         * libio/iofwide.c (__libio_translit_): Remove.
20473         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20474         * wcsmbs/btowc.c (__btowc): Likewise.
20475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20476         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20477         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20478         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20479         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20480         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20481         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20482         * wcsmbs/wctob.c (wctob): Likewise.
20484 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20486         [BZ #16194]
20487         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20488         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20489         register usage.
20490         * sysdeps/x86/Makefile: Adjust.
20492 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20493             Roland McGrath  <roland@hack.frob.com>
20495         * locale/weight.h: Add include guard.
20496         (findidx): Make static rather than auto; take new parameters
20497         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20498         * locale/weightwc.h: Likewise.
20499         * posix/fnmatch_loop.c
20500         (FCT): Change type of EXTRA from int32_t to wint_t.
20501         Don't include either header inside the function.
20502         Call FINDIDX rather than findidx, and pass new arguments.
20503         #undef FINDIDX at the end of the file.
20504         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20505         FINDIDX before including fnmatch_loop.c for the non-wide version.
20506         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20507         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20508         for the wide version.
20509         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20510         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20511         Pass new arguments to findidx.
20512         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20513         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20514         Don't #include it inside the function.  Pass new arguments to findidx.
20515         * posix/regex_internal.h
20516         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20517         (re_string_elem_size_at): Don't #include it inside the function.
20518         Pass new arguments to findidx.
20519         * string/strcoll_l.c: #include WEIGHT_H at top level.
20520         (get_next_seq): Don't #include it inside the function.
20521         Pass new arguments to findidx.
20522         (get_next_seq_nocache): Likewise.
20523         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20524         (STRXFRM): Don't #include it inside the function.
20525         Pass new arguments to findidx.
20527 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20529         [BZ #17344]
20530         * malloc/malloc.c (unlink): Turn asserts into a call to
20531         malloc_printerr.
20533 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20535         [BZ #17370]
20536         * libio/wfileops (do_ftell_wide): Free OUT.
20538 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20542 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20544         [BZ #17363]
20545         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20546         group if the current group is empty.
20548 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20550         * benchtests/bench-memset.c (test_main): Add more test from size
20551         from 32 to 512 bytes.
20552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20553         Add POWER8 memset object.
20554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20555         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20556         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20557         implementation.
20558         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20559         Likewise.
20560         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20561         multiarch POWER8 memset optimization.
20562         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20563         POWER8 memset optimization.
20565         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20566         Remove bzero multiarch objects.
20567         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20568         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20569         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20570         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20571         Remove define.
20572         [__bzero]: Redefine to specific name.
20573         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20574         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20575         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20576         define.
20577         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20578         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20580 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20582         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20583         warnings into errors.
20585         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20586         __cxa_thread_atexit_impl prototype.
20588 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20590         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20591         Fix capitalization of error message.
20593 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20595         * sysdeps/mips/preconfigure: Modify ABI tests.
20597 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20599         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20601 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20602             Carlos O'Donell  <carlos@systemhalted.org>
20604         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20605         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20606         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20607         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20608         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20609         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20610         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20611         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20612         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20613         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20614         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20615         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20617         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20620         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20621         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20622         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20623         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20625         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20626         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20627         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20628         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20629         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20630         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20631         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20632         Deconditionalize the code that was previously under [RESET_PID].
20633         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20634         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20635         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20636         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20637         include sysdep.h.
20639 2014-09-08  Allan McRae  <allan@archlinux.org>
20641         * version.h (RELEASE): Set to "development".
20642         (VERSION): Set to "2.20.90"
20644 2014-09-07  Allan McRae  <allan@archlinux.org
20646         * version.h (RELEASE): Set to "stable".
20647         (VERSION): Set to "2.20"
20648         * include/features.h (__GLIBC_MINOR__): Set to 20.
20650         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20651         Liebler.
20653         * po/ko.po: Update Korean translation from translation project.
20655 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20657         [BZ #17354]
20658         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20659         macro for handling signed relocations.
20661 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20663         [BZ #17325]
20664         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20665         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20666         assert.
20667         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20668         * iconvdata/ibm935.c (BODY): Likewise.
20669         * iconvdata/ibm937.c (BODY): Likewise.
20670         * iconvdata/ibm939.c (BODY): Likewise.
20671         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20672         assert.
20673         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20674         script.
20675         * iconvdata/run-iconv-test.sh: New test loop for checking for
20676         decoder crashers.
20678 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20680         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20681         libm_hidden_ver.
20683 2014-09-01  Allan McRae  <allan@archlinux.org>
20685         * po/eo.po: Update Esperanto translation from translation project.
20687         * po/ca.po: Update Catalan translation from translation project.
20689 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20691         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20692         __proc_dostop call.
20694 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20696         [BZ #17319]
20697         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20698         to call set_thread_area instead of hand written asm.
20699         (__NR_set_thread_area): Removed define.
20700         (TLS_FLAG_WRITABLE): Likewise.
20701         (__ASSUME_SET_THREAD_AREA): Remove check.
20702         (TLS_EBX_ARG): Remove define.
20703         (TLS_LOAD_EBX): Likewise.
20705 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20707         Simplify atomicity of socket creation in bind.
20709         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20710         looking up the name after linking the file.
20712 2014-08-27  Allan McRae  <allan@archlinux.org>
20714         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20716 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20718         [BZ #17187]
20719         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20720         trans_compare, open_translit, __gconv_translit_find):
20721         Remove module loading code.
20723 2014-08-26  Allan McRae  <allan@archlinux.org>
20725         * po/vi.po: Update Vietnamese translation from translation project.
20727         * po/uk.po: Update Ukrainian translation from translation project.
20729         * po/fr.po: Update French translation from translation project.
20731         * po/ru.po: Update Russian translation from translation project.
20733         * po/pl.po: Update Polish translation from translation project.
20735         * po/cs.po: Update Czech translation from translation project.
20737         * po/de.po: Update German translation from translation project.
20739         * po/bg.po: Update Bulgarian translation from translation project.
20741         * po/sv.po: Update Sweedish translation from translation project.
20743         * po/nl.po: Update Dutch translation from translation project.
20745         * po/es.po: Update Spanish translation from translation project.
20747 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20751         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20752         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20753         (CPPFLAGS-iconvconfig): Likewise.
20754         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20756         * include/libc-symbols.h: Remove unnecessary check for
20757         NOT_IN_libc.
20758         * nptl/pthreadP.h: Likewise.
20759         * sysdeps/aarch64/setjmp.S: Likewise.
20760         * sysdeps/alpha/setjmp.S: Likewise.
20761         * sysdeps/arm/sysdep.h: Likewise.
20762         * sysdeps/i386/setjmp.S: Likewise.
20763         * sysdeps/m68k/setjmp.c: Likewise.
20764         * sysdeps/posix/getcwd.c: Likewise.
20765         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20766         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20767         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20768         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20769         * sysdeps/sh/sh3/setjmp.S: Likewise.
20770         * sysdeps/sh/sh4/setjmp.S: Likewise.
20771         * sysdeps/unix/alpha/sysdep.h: Likewise.
20772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20773         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20774         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20775         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20780         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20781         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20783         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20785         * sysdeps/x86_64/setjmp.S: Likewise.
20787 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20789         [BZ #17263]
20790         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20791         <stdint.h>.
20792         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20793         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20795 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20799         [BZ #17262]
20800         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20801         and __x86_64__ when disabling x87 inline functions.
20803 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20805         [BZ #17259]
20806         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20807         asm statement with __cpuid_count.
20809 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20811         * configure.ac: Change __ehdr_start code to dereference the struct.
20812         Run readelf on the output to look for relocations.
20813         * configure: Regenerated.
20815 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20817         [BZ #17261]
20818         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20819         value to 0.
20820         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20822 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20824         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20826 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20828         [BZ #16892]
20829         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20830         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20832 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20834         * malloc/malloc.c: Fix typo in comment.
20836 2014-08-09  Allan McRae  <allan@archlinux.org>
20838         * Regenerate libc.po.
20840 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20842         * intl/tst-gettext2.sh: Check every lang file for creation.
20844 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20846         * sysdeps/aarch64/fpu/math_private.h
20847         (libc_feholdsetround_noex_aarch64_ctx): New function.
20849 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20851         * sysdeps/arm/armv6/strcpy.S (strcpy):
20852         Fix performance issue in misaligned cases.
20854 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20856         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20857         Move definition from termios.h.
20858         (struct termio): Likewise.
20859         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20860         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20861         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20862         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20863         Likewise.
20864         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20865         Move definition to ioctl-types.h
20866         (struct termio): Likewise.
20867         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20868         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20869         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20870         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20871         Likewise.
20873 2014-08-05  Richard Henderson  <rth@redhat.com>
20875         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20876         exceptions.
20877         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20878         Add fraiseexcpt.
20879         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20880         Use __feraiseexcept.
20881         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20882         Protect libm symbols with IS_IN_libm.
20884         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20886 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20888         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20890 2014-08-04  Will Newton  <will.newton@linaro.org>
20892         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20893         file.
20895 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20897         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20898         variants for each function.
20900 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20902         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20903         appended ...
20904         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20905         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20906         appended ...
20907         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20908         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20909         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20910         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20911         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20912         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20913         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20914         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20915         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20916         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20917         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20918         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20919         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20920         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20921         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20922         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20923         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20924         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20925         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20926         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20927         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20928         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20929         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20930         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20931         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20932         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20933         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20934         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20935         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20936         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20937         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20938         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20939         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20940         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20941         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20942         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20943         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20944         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20945         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20946         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20947         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20948         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20949         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20951         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20953         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20955         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20956         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20957         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20958         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20959         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20960         Update #include.
20961         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20962         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20966         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20967         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20968         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20969         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20970         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20971         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20973 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20975         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20976         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20977         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20978         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20980 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20982         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20983         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20984         (__libc_vfork): Define function under this name.
20985         (__vfork): Define as an alias.
20986         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20987         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20989 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20991         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20992         that was previously under [RESET_PID].
20993         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20995 2014-08-04  Andreas Schwab  <schwab@suse.de>
20997         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20999 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21001         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21002         (main): Likewise.
21004 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21006         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21008 2014-08-01  Richard Henderon  <rth@redhat.com>
21010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21011         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21012         typo in exact zero test.
21013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21014         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21017 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21019         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21020         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21021         * sysdeps/arm/sysdep.h: ... here.
21022         [!__ASSEMBLER__]: Include <stdint.h>.
21024 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21026         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21027         (HAVE_WCTYPE_H): Likewise.
21028         (HAVE_ISWCTYPE): Likewise.
21029         (ENABLE_NLS): Likewise.
21030         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21031         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21033         * posix/regex_internal.c: Check if DEBUG is defined and is
21034         set.
21036         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21037         (HAVE_MBSRTOWCS): Likewise.
21038         * posix/fnmatch.c: Include string.h unconditionally.
21040 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21042         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21043         reversal.
21045 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21047         * sysdeps/generic/safe-fatal.h: New file.
21048         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21049         * nptl/forward.c: Include it.
21050         (__pthread_unwind): Use __safe_fatal as default action, rather
21051         than a bogus use of INTERNAL_SYSCALL that could never work.
21053         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21054         * configure.ac (libc_cv_builtin_trap): New test.
21055         * configure: Regenerated.
21056         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21057         (ABORT_INSTRUCTION): Define using __builtin_trap.
21059         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21060         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21061         * sysdeps/nptl/nptl-signals.h: New file.
21062         * nptl/pthreadP.h: Include <nptl-signals.h>.
21064 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21066         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21067         (ONE_DIRECTION): Define.
21068         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21069         (ONE_DIRECTION): Define.
21070         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21071         (ONE_DIRECTION): Define.
21073 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21075         * sysdeps/s390/Makefile: Delete file.
21076         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21077         * sysdeps/s390/__longjmp.c: Delete file.
21078         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21079         Remove fields __flags and __reserved.
21080         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21081         and add versioning.
21082         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21083         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21084         * sysdeps/s390/rtld-setjmp.S: Likewise.
21085         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21086         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21087         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21088         * sysdeps/s390/s390-32/setjmp.S: ... here.
21089         Add versioning.
21090         (__sigsetjmp): Remove setting __flags field.
21091         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21092         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21093         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21094         * sysdeps/s390/s390-64/setjmp.S: ... here.
21095         Add versioning.
21096         (__sigsetjmp): Remove setting __flags field.
21097         * sysdeps/s390/setjmp.S: Delete file.
21098         * sysdeps/s390/sigjmp.c: Likewise.
21099         * sysdeps/s390/v1-longjmp.c: Likewise.
21100         * sysdeps/s390/v1-setjmp.h: Likewise.
21101         * sysdeps/s390/v1-sigjmp.c: Likewise.
21102         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21103         Remove v1-longjmp_chk.
21104         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21105         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21106         Include debug/longjmp_chk.c and add versioning.
21107         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21108         Include nptl/pt-longjmp.c and add versioning.
21109         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21110         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21111         Include __longjmp.c.
21112         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21113         Move to ...
21114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21115         (__getcontext): Remove setting __flags field.
21116         Add versioning.
21117         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21118         Don't restore upper high grps.
21119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21120         Likewise.
21121         (__swapcontext): Remove setting uc_flags field.
21122         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21123         Delete file.
21124         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21125         Include __longjmp.c.
21126         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21127         Move to ...
21128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21129         (__getcontext): Remove setting __flags field.
21130         Add versioning.
21131         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21132         (__swapcontext): Remove setting uc_flags field.
21133         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21134         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21135         Remove fields uc_high_gprs and __reserved.
21136         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21137         New file with reverted content.
21138         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21139         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21140         Regenerated.
21141         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21142         Regenerated.
21144 2014-07-31  Andreas Schwab  <schwab@suse.de>
21146         * config.h.in (HAVE_IFUNC): Define to 0.
21147         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21148         definedness.
21150 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21153         memmove-avx-unaligned, memcpy-avx-unaligned and
21154         mempcpy-avx-unaligned.
21155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21156         Add tests for AVX memcpy functions.
21157         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21158         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21159         memcpy_chk.
21160         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21161         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21162         memmove_chk.
21163         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21164         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21165         mempcpy_chk.
21166         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21167         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21168         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21170 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21172         [BZ #17213]
21173         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21174         powerpc64le.
21176 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21178         [BZ #16839]
21179         * manual/llio.texi: Add section about open file description locks.
21180         * manual/examples/ofdlocks.c: Example of open file description
21181         lock usage.
21182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21183         F_OFD_SETLK, and F_OFD_SETLKW.
21185 2014-07-23  Allan McRae  <allan@archlinux.org>
21187         * po/es.po: Update Spanish translation from translation project.
21189 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21191         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21193 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21195         [BZ #17078]
21196         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21197         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21198         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21200 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21202         [BZ #17088]
21203         * math/fesetenv.c (__fesetenv)
21204         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21205         * math/feupdateenv.c (__feupdateenv)
21206         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21208         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21209         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21210         (__ASSUME_SOCKETCALL): Do not define.
21212         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21213         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21214         (__ASSUME_SOCKETCALL): Do not define.
21215         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21216         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21217         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21218         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21219         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21220         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21222         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21224         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21225         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21226         (__ASSUME_SOCKETCALL): Do not define.
21227         (__ASSUME_IPC64): Define unconditionally.
21228         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21229         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21230         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21231         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21232         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21233         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21234         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21235         Likewise.
21237         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21238         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21239         (__ASSUME_SOCKETCALL): Do not define.
21240         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21241         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21242         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21243         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21244         (__ASSUME_REQUEUE_PI): Define unconditionally.
21245         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21246         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21247         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21248         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21249         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21250         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21252         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21253         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21254         (__ASSUME_SOCKETCALL): Do not define.
21255         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21256         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21257         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21258         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21260         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21262         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21263         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21264         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21265         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21266         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21267         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21269         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21270         (__ASSUME_GETCPU_SYSCALL): Likewise.
21272         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21273         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21274         cases for individual architectures.
21275         * sysdeps/gnu/configure: Regenerated.
21276         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21277         LIBC_SLIBDIR_RTLDDIR.
21278         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21279         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21280         LIBC_SLIBDIR_RTLDDIR.
21281         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21283         LIBC_SLIBDIR_RTLDDIR.
21284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21285         Regenerated.
21286         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21287         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21288         file.
21289         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21290         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21291         file.
21292         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21293         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21294         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21295         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21297         * sysdeps/aarch64/shlib-versions: Move to ...
21298         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21299         * sysdeps/alpha/shlib-versions: Move to ...
21300         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21301         * sysdeps/arm/shlib-versions: Move to ...
21302         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21303         * sysdeps/hppa/shlib-versions: Move all contents except for
21304         libgcc_s entry to ...
21305         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21306         entry from ...
21307         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21308         * sysdeps/ia64/shlib-versions: Move to ...
21309         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21310         entry from ...
21311         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21312         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21313         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21314         * sysdeps/microblaze/shlib-versions: Move to ...
21315         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21316         * sysdeps/mips/shlib-versions: Move to ...
21317         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21318         entry from ...
21319         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21320         * sysdeps/tile/shlib-versions: Move to ...
21321         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21323         from ...
21324         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21325         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21326         entry from ...
21327         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21329 2014-07-17  Will Newton  <will.newton@linaro.org>
21331         * sysdeps/arm/bits/atomic.h
21332         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21333         (__arch_compare_and_exchange_bool_16_int): Likewise.
21334         (__arch_compare_and_exchange_bool_64_int): Likewise.
21336         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21337         into an #else block.
21339 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21341         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21342         just Linux configurations.  Test empirically that the compiler sets
21343         __ARM_EABI__, rather than using the tuple to decide.
21344         * sysdeps/arm/preconfigure: Regenerated.
21345         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21346         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21347         contents appended ...
21348         * sysdeps/arm/configure.ac: ... here.
21349         * sysdeps/arm/configure: Regenerated.
21351 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21353         * nptl/pthread_kill.c: New file.
21354         * nptl/pthread_sigmask.c: New file.
21355         * nptl/pthread_sigqueue.c: New file.
21357         * sysdeps/nptl/lowlevellock.h: New file.
21358         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21359         * sysdeps/nptl/lowlevellock-futex.h: New file.
21361         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21362         Remove dead declarations.
21364 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21366         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21367         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21368         config-cflags-avx2.
21369         * sysdeps/x86_64/configure.ac: Likewise.
21370         * sysdeps/i386/configure: Regenerated.
21371         * sysdeps/x86_64/configure: Likewise.
21372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21373         memset-avx2 only if config-cflags-avx2 is yes.
21374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21375         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21376         defined.
21377         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21378         only if HAVE_AVX2_SUPPORT is defined.
21379         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21381 2014-07-14  Alan Modra  <amodra@gmail.com>
21383         [BZ #17153]
21384         * elf/elf.h (DT_PPC64_NUM): Correct value.
21385         * NEWS: Add to fixed bug list.
21387 2014-07-13  Jim Meyering  <meyering@fb.com>
21389         [BZ 17150]
21390         regex: don't deref NULL upon heap allocation failure
21391         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21392         failure in one more place.
21393         To trigger the segfault, configure grep -with-included-regex,
21394         build it, and run these commands:
21395         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21397 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21399         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21401 2014-07-11  Richard Henderson  <rth@redhat.com>
21403         * sysdeps/aarch64/libm-test-ulps: Update.
21405 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21407         [BZ #17135]
21408         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21409         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21410         (__nptl_setxid): Initialize error member.  Call
21411         __nptl_setxid_error.
21412         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21413         * nptl/descr.h (struct xid_command): Add error member.
21414         * nptl/tst-setuid3.c: New file.
21415         * nptl/Makefile (tests): Add it.
21417 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21419         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21420         New define.
21421         (__lll_trylock): Use __lll_base_trylock.
21422         (__lll_cond_trylock): Likewise.
21424 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21426         * nptl/pthread_create.c (start_thread): Use atomic_or and
21427         lll_futex_wake directly rather than lll_robust_dead.
21428         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21429         (lll_robust_dead): Macro removed.
21430         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21431         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21432         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21433         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21434         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21435         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21436         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21437         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21438         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21439         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21440         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21442         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21443         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21446         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21447         Use atomic_compare_and_exchange_val_acq directly rather than
21448         lll_robust_trylock.
21449         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21450         (__lll_robust_trylock, lll_robust_trylock): Removed.
21451         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21452         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21453         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21454         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21455         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21456         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21457         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21458         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21459         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21460         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21461         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21462         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21463         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21464         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21466 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21468         * manual/locale.texi (Locale Names): New section documenting
21469         locale name syntax.  Adjust menu and node chaining accordingly.
21470         (Choosing Locale): Reference Locale Names, Locale Categories.
21471         Mention setting LC_ALL=C.  Reflect that name syntax is now
21472         documented.
21473         (Locale Categories): New section title.  Reference Locale Names.
21474         LC_ALL is an environment variable, but not a category.
21475         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21476         description, now in Locale Name.  Reference that section.  Locale
21477         name syntax is now documented.
21479 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21481         [BZ #17137]
21482         * locale/findlocale.c (name_present, valid_locale_name): New
21483         functions.
21484         (_nl_find_locale): Use the loc_name variable to store name
21485         candidates.  Call name_present and valid_locale_name to check and
21486         validate locale names.  Return an error if the locale is invalid.
21488 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21490         * locale/setlocale.c (setlocale): Use strdup for allocating
21491         composite name copy.
21493 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21495         Sync up with gnulib.
21496         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21497         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21498         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21499         and _GL_ARG_NONNULL.
21500         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21501         [!_LIBC]: Include code for Windows and Cygwin.
21502         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21503         Include prototype for int strerror_r.
21504         [!_LIBC] (is_open): New function.
21505         (flush_stdout): New function.
21506         (print_errno_message): Use it.
21507         (error): Likewise.
21508         (error_at_line): Likewise.
21509         (error_tail) Add function attribute macros.  Use
21510         __builtin_expect.
21512         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21514         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21516         * io/ftw.c: Include sys/param.h unconditionally.
21518         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21520         [BZ #17125]
21521         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21522         libc_freeres_ptr.
21523         (freecache): New function to free CACHE on exit.
21525         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21526         initialization.
21528 2014-07-09  David S. Miller  <davem@davemloft.net>
21530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21532         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21533         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21534         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21535         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21536         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21537         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21538         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21539         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21540         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21541         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21542         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21543         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21544         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21546 2014-07-09  Andreas Schwab  <schwab@suse.de>
21548         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21549         output.
21550         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21551         (do_test): Likewise.
21553         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21555 2014-07-09  Will Newton  <will.newton@linaro.org>
21557         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21558         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21559         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21560         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21561         * sysdeps/hppa/start.S (_start): Likewise.
21563 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21565         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21567         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21568         defined.
21570 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21572         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21573         after checking that it is non-NULL.
21575         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21577 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21579         * sysdeps/powerpc/memmove.c: Remove file.
21580         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21581         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21582         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21583         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21585         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21586         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21587         string memmove instead of removed powerpc one.
21589         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21590         [weak_alias]: Fix compiler warning due trailing data.
21591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21592         [weak_alias]: Likewise.
21593         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21594         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21597         (__libc_ifunc_impl_list): Add memmove functions.
21599 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21601         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21602         Remove code.
21603         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21604         Likewise
21605         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21606         Likewise
21607         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21608         Likewise
21609         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21610         Likewise
21611         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21612         Likewise
21613         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21614         Likewise
21615         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21616         Likewise
21617         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21618         Likewise
21619         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21620         Likewise
21621         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21622         Likewise
21623         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21624         Likewise
21625         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21626         Likewise
21627         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21628         Likewise
21629         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21630         Likewise
21631         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21632         Likewise
21633         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21634         Likewise
21636 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21638         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21639         to avoid alignment traps in non-cacheable memory.
21640         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21643         multiarch objects.
21644         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21645         file: multiarch power7 memmove.
21646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21647         multiarch default memmove.
21648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21649         multiarch memove for powerpc32/power4.
21651         * string/bcopy.c: Use full path to include memmove.c.
21652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21653         multiarch objects.
21654         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21655         bcopy for powerpc64.
21656         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21657         bcopy for powerpc64.
21658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21659         and memmove implementations.
21660         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21661         optimized multiarch memmove for POWER7/powerpc64.
21662         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21663         default multiarch memmove for powerpc64.
21664         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21665         multiarch for powerpc64.
21666         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21667         for POWER7/powerpc64.
21668         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21669         memmove for POWER7/powerpc64.
21671         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21672         glibc default one.
21674         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21675         __ELF_NATIVE_CLASS equal to 64.
21677 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21679         * sysdeps/nptl/lowlevellock.h: File removed.
21681         * NEWS: NPTL is no longer an add-on!
21682         * nptl/internaltypes.h: Moved ...
21683         * sysdeps/nptl/internaltypes.h: ... here.
21684         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21685         * sysdeps/nptl/fork.c: Likewise.
21686         * sysdeps/nptl/gai_misc.h: Likewise.
21687         * sysdeps/nptl/librt-cancellation.c: Likewise.
21688         * sysdeps/nptl/jmp-unwind.c: Likewise.
21689         * sysdeps/nptl/setxid.h: Likewise.
21690         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21691         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21692         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21693         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21694         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21695         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21696         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21697         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21698         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21699         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21700         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21701         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21702         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21703         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21704         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21705         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21706         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21707         * nptl/Makeconfig: Moved ...
21708         * sysdeps/nptl/Makeconfig: ... here.
21709         * nptl/configure: File removed.
21710         * nptl/ANNOUNCE: File removed.
21711         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21712         * sysdeps/unix/sysv/linux/configure: Regenerated.
21714         * nptl/Makefile (routines): Add libc_pthread_init,
21715         libc_multiple_threads, register-atfork and unregister-atfork.
21716         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21717         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21718         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21719         pthread-pi-defines.sym, structsem.sym.
21720         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21721         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21722         [$(subdir) = nptl] (tests): Add tst-setgetname.
21723         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21724         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21725         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21726         [!LIBC_SIGACTION]: Remove aliases.
21727         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21728         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21729         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21730         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21731         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21732         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21733         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21734         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21735         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21736         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21737         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21738         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21739         __libc_allocate_rtsig_private.
21740         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21741         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21742         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21743         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21744         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21745         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21746         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21747         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21748         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21749         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21750         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21751         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21752         * nptl/internaltypes.h: ... here.
21753         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21754         * sysdeps/nptl/jmp-unwind.c: ... here.
21755         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21756         * nptl/libc-lowlevellock.c: ... here.
21757         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21758         * nptl/libc_multiple_threads.c: ... here.
21759         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21760         * nptl/libc_pthread_init.c: ... here.
21761         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21762         * nptl/lowlevelbarrier.sym: ... here.
21763         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21764         * nptl/lowlevelcond.sym: ... here.
21765         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21766         * nptl/lowlevellock.c: ... here.
21767         * nptl/lowlevellock.h: Moved ...
21768         * sysdeps/nptl/lowlevellock.h: ... here.
21769         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21770         * nptl/lowlevelrobustlock.c: ... here.
21771         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21772         * nptl/lowlevelrobustlock.sym: ... here.
21773         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21774         * nptl/lowlevelrwlock.sym: ... here.
21775         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21776         * nptl/pt-fork.c: ... here.
21777         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21778         * nptl/pthread-pi-defines.sym: ... here.
21779         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21780         * nptl/pthread_attr_getaffinity.c: ... here.
21781         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21782         * nptl/pthread_attr_setaffinity.c: ... here.
21783         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21784         * nptl/pthread_mutex_cond_lock.c: ... here.
21785         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21786         Update #include.
21787         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21788         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21789         * nptl/pthread_once.c: ... here, replacing old file.
21790         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21791         * nptl/pthread_yield.c: ... here.
21792         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21793         * nptl/register-atfork.c: ... here.
21794         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21795         * nptl/sem_post.c: ... here.
21796         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21797         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21798         * nptl/sem_timedwait.c: ... here.
21799         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21800         * nptl/sem_trywait.c: ... here.
21801         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21802         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21803         * nptl/sem_wait.c: ... here.
21804         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21805         * nptl/structsem.sym: ... here.
21806         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21807         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21808         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21809         * nptl/unregister-atfork.c: ... here.
21810         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21811         * nptl/unwindbuf.sym: ... here.
21812         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21813         * sysdeps/nptl/fork.c: ... here.
21814         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21815         * sysdeps/nptl/fork.h: ... here.
21816         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21817         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21818         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21819         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21820         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21821         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21822         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21823         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21824         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21825         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21826         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21827         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21828         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21829         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21830         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21831         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21832         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21833         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21834         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21835         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21836         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21837         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21838         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21839         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21840         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21841         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21842         * sysdeps/unix/sysv/linux/raise.c: ... here.
21843         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21844         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21845         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21846         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21847         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21848         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21849         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21850         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21851         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21852         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21853         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21854         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21855         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21856         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21857         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21859 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21861         * sysdeps/generic/memcopy.h: Add comment for
21862         MEMCPY_OK_FOR_FWD_MEMMOVE.
21864 2014-07-04  Will Newton  <will.newton@linaro.org>
21866         * string/memchr.c: Merge from gnulib.
21867         [_LIBC]: Remove conditionals.
21868         (__ptr_t): Remove define.
21869         (LONG_MAX_32_BITS): Likewise.
21870         (LONG_MAX): Likewise.
21871         (MEMCHR): Use ANSI prototype and optimize algorithm.
21873         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21875 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21877         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21878         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21880         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21881         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21882         in a bare environment with no <stdlib.h> installed.
21883         * sysdeps/nptl/configure: Regenerated.
21885         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21887         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21888         AC_EGREP_CPP for kernel header checks, so they only succeed if
21889         including <linux/version.h> actually works right.
21890         * sysdeps/unix/sysv/linux/configure: Regenerated.
21892         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21893         value so it's not diagnosed as unused.
21895         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21896         thing) with "ifeq ($(subdir),rt)".
21898 2014-07-03  Richard Henderson  <rth@redhat.com>
21900         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21901         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21902         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21904         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21905         (math_force_eval): New.
21907         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21908         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21910         * sysdeps/alpha/fpu/s_round.c: Remove file.
21911         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21913         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21914         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21915         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21916         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21917         (_dl_start, print_statistics): Likewise.
21918         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21919         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21921         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21922         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21923         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21924         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21926         (HP_SMALL_TIMING_AVAIL): Define.
21927         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21928         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21929         (HP_SMALL_TIMING_AVAIL): Define.
21930         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21931         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21933         * sysdeps/aarch64/hp-timing.h: New file.
21935         * sysdeps/generic/hp-timing.h: Remove dead comment.
21936         * sysdeps/generic/hp-timing-common.h: New file.
21937         * sysdeps/alpha/hp-timing.h: Include it.
21938         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21939         * sysdeps/i386/i686/hp-timing.h: Likewise.
21940         * sysdeps/ia64/hp-timing.h: Likewise.
21941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21942         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21943         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21944         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21945         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21946         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21947         (hp_timing_t): New.
21949         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21950         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21951         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21952         * elf/rtld.c (_dl_start_final): Likewise.
21953         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21954         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21955         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21956         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21957         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21958         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21959         (HP_TIMING_DIFF_INIT): Remove.
21960         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21961         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21962         (HP_TIMING_DIFF_INIT): Remove.
21963         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21964         * sysdeps/i386/i686/hp-timing.c: Remove file.
21965         * sysdeps/x86_64/hp-timing.c: Remove file.
21966         * sysdeps/ia64/hp-timing.c: Remove file.
21967         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21968         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21969         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21970         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21972         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21973         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21974         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21975         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21976         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21977         (HP_TIMING_ACCUM): Remove.
21978         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21980         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21982         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21983         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21984         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21985         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21986         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21987         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21989         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21991         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21993 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21995         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21997 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21999         Sync up with gettext.
22000         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22001         [_MSC_VER]: Include malloc.h
22002         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22003         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22004         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22005         TEMP_FAILURE_RETRY.  Cast return of alloca.
22006         [!_LIBC] Call gl_rwlock_init.
22007         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22009 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22011         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22012         before checking its value.
22014 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22016         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22018         * debug/memcpy_chk.c: Don't include pagecopy.h.
22019         * debug/mempcpy_chk.c: Likewise.
22020         * string/memcpy.c: Likewise.
22021         * string/memmove.c: Likewise.
22022         * sysdeps/powerpc/memmove.c: Likewise.
22023         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22024         definition of PAGE_COPY_FWD_MAYBE here...
22025         * sysdeps/generic/pagecopy.h: ... from here.
22026         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22028 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22029             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22031         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22033         optimizations.
22034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22035         (__libc_ifunc_impl_list): Likewise.
22036         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22037         multiarch strcat for PPC64.
22038         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22039         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22041 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22043         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22045 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22047         * intl/loadmsgcat.c: Remove declaration of
22048         get_sysdep_segment_value.
22049         (get_sysdep_segment_value): Use ISO C style.
22050         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22051         semicolon.  Fix typo and formatting in comment.
22052         (_nl_unload_domain): Use ISO C style.
22054         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22056 2014-07-02  Will Newton  <will.newton@linaro.org>
22058         * malloc/obstack.c: Merge from gnulib master.
22059         [HAVE_CONFIG_H]: Remove conditional code.
22060         [!_LIBC]: Include config.h.
22061         [!ELIDE_CODE]: Don't include inttypes.h, include
22062         stdint.h unconditionally.
22063         (print_and_abort): Mark as _Noreturn.
22064         (_obstack_allocated_p): Mark as __attribute_pure__.
22065         (obstack_free): Rename to __obstack_free.
22066         [!__attribute__]: Remove conditional code.
22067         * malloc/obstack.h: Merge from gnulib master.
22068         [__cplusplus]: Move conditional down.
22069         [!__attribute_pure__]: Define __attribute_pure__ here
22070         if it is not already defined.
22071         (_obstack_memory_used): Mark as __attribute_pure__.
22072         [!__obstack_free]: Define as obstack_free.
22073         [__GNUC__]: Remove check for ancient NeXT gcc.
22075 2014-07-02  Will Newton  <will.newton@linaro.org>
22076             Paul Eggert  <eggert@cs.ucla.edu>
22078         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22080 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082         * resolv/gethnamaddr.c: Add comment warning that the file is
22083         not maintained.
22085 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22087         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22088         entries.
22090         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22091         entry for aio_cancel and aio_cancel64.
22092         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22093         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22094         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22095         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22096         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22097         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22098         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22099         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22100         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22101         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22102         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22103         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22104         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22106 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22108         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22109         * nptl/pthread_mutex_lock.c: Likewise.
22110         * nptl/pthread_mutex_timedlock.c: Likewise.
22111         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22113 2014-07-01  Richard henderson  <rth@redhat.com>
22115         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22116         (__isnan, __isnanl): Remove.
22117         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22119         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22121 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22125 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22127         * resolv/nss_dns/dns-host.c (getanswer_r)
22128         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22130 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22133         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22134         undefine.
22135         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22136         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22138 2014-07-01  Roland McGrath <roland@hack.frob.com>
22140         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22141         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22143         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22144         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22146         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22148         ... here.
22149         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22152         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22153         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22154         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22155         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22157         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22158         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22159         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22160         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22161         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22162         Moved ...
22163         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22164         ... here.
22165         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22166         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22167         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22168         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22169         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22170         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22171         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22172         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22173         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22174         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22175         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22176         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22177         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22178         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22179         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22180         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22181         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22182         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22183         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22184         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22185         ... here.
22186         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22187         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22188         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22189         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22190         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22191         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22192         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22193         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22195 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22197         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22198         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22199         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22200         Add sysdep.
22202 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22206 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22208         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22209         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22211         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22213         * sysdeps/arm/libm-test-ulps: Regenerated.
22215 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22216             Roland McGrath <roland@hack.frob.com>
22218         * test-skeleton.c (signal_handler): Kill the whole process group
22219         before killing the child individually.
22220         (main): Report any failure on `setpgid'.
22222 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22224         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22225         from _TLS_H to _ARM_NPTL_TLS_H.
22226         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22227         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22229 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22231         [BZ #16539]
22232         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22233         (__expm1l): Return argument unchanged when small but not
22234         subnormal.
22236         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22237         include macro name.
22238         (_FP_UNPACK_RAW_1_P): Likewise.
22239         (_FP_PACK_RAW_1): Likewise.
22240         (_FP_PACK_RAW_1_P): Likewise.
22241         (_FP_MUL_MEAT_1_wide): Likewise.
22242         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22243         (_FP_MUL_MEAT_1_hard): Likewise.
22244         (_FP_DIV_MEAT_1_imm): Likewise.
22245         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22246         (_FP_DIV_MEAT_1_udiv): Likewise.
22247         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22248         (_FP_UNPACK_RAW_2): Likewise.
22249         (_FP_UNPACK_RAW_2_P): Likewise.
22250         (_FP_PACK_RAW_2): Likewise.
22251         (_FP_PACK_RAW_2_P): Likewise.
22252         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22253         (_FP_MUL_MEAT_2_wide): Likewise.
22254         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22255         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22256         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22257         (_FP_MUL_MEAT_2_gmp): Likewise.
22258         (_FP_DIV_MEAT_2_udiv): Likewise.
22259         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22260         (_FP_FRAC_SRL_4): Likewise.
22261         (_FP_FRAC_SRST_4): Likewise.
22262         (_FP_FRAC_SRS_4): Likewise.
22263         (_FP_UNPACK_RAW_4): Likewise.
22264         (_FP_UNPACK_RAW_4_P): Likewise.
22265         (_FP_PACK_RAW_4): Likewise.
22266         (_FP_PACK_RAW_4_P): Likewise.
22267         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22268         (_FP_MUL_MEAT_4_wide): Likewise.
22269         (_FP_MUL_MEAT_4_gmp): Likewise.
22270         (umul_ppppmnnn): Likewise.
22271         (_FP_DIV_MEAT_4_udiv): Likewise.
22272         (__FP_FRAC_ADD_4): Likewise.
22273         (__FP_FRAC_SUB_3): Likewise.
22274         (__FP_FRAC_SUB_4): Likewise.
22275         (__FP_FRAC_DEC_3): Likewise.
22276         (__FP_FRAC_DEC_4): Likewise.
22277         (__FP_FRAC_ADDI_4): Likewise.
22278         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22279         (_FP_FRAC_SRL_8): Likewise.
22280         (_FP_FRAC_SRS_8): Likewise.
22282         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22283         include macro name.
22284         (FP_UNPACK_RAW_EP): Likewise.
22285         (FP_PACK_RAW_E): Likewise.
22286         (FP_PACK_RAW_EP): Likewise.
22287         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22288         (_FP_ISSIGNAN): Likewise.
22289         (_FP_ADD_INTERNAL): Likewise.
22290         (_FP_FMA): Likewise.
22291         (_FP_CMP): Likewise.
22292         (_FP_SQRT): Likewise.
22293         (_FP_TO_INT): Likewise.
22294         (_FP_FROM_INT): Likewise.
22295         (FP_EXTEND): Likewise.
22296         (_FP_DIV_MEAT_N_loop): Likewise.
22298 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22300         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22301         throughout.
22303 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #17097]
22306         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22307         result with correct sign in case of exponents that produce
22308         overflow except for X very close to 1.
22310 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22312         mktime: merge #if/#ifdef usage from glibc
22313         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22314         as that works with both Glibc's and Gnulib's style.
22315         See thread starting at Siddhesh Poyarekar's bug report at:
22316         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22318 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22320         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22321         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22322         * sysdeps/tile/tilegx/memmove.c: Remove file.
22324 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22326         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22327         abi-name definition.
22328         * scripts/soversions.awk: Do not handle or generate ABI lines.
22329         * shlib-versions: Remove ABI entries.
22330         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22331         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22333 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22336         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22337         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22340         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22342         Moved ...
22343         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22344         ... here.
22345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22348         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22352         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22354         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22356         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22358         Moved ...
22359         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22365         Moved ...
22366         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22368         Moved ...
22369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22373         Moved ...
22374         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22376         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22378         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22380         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22382         Moved ...
22383         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22385         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22386         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22387         Moved ...
22388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22390         Moved ...
22391         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22393         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22395         Moved ...
22396         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22397         ... here.
22398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22399         Identical file removed.
22400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22401         Moved ...
22402         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22404         Identical file removed.
22405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22406         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22408         Moved ...
22409         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22411         Identical file removed.
22412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22413         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22415         Identical file removed.
22416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22417         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22419         Identical file removed.
22420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22421         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22423         Identical file removed.
22424         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22425         Moved ...
22426         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22428         Identical file removed.
22429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22430         Moved ...
22431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22433         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22435         Identical file removed.
22436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22437         Moved ...
22438         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22439         ... here.
22440         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22441         Identical file removed.
22442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22443         Moved ...
22444         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22446         Identical file removed.
22447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22448         Moved ...
22449         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22450         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22451         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22453         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22455         Moved ...
22456         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22457         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22458         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22460         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22461         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22462         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22463         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22464         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22466 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22468         [BZ #17092]
22469         * nscd/nscd.c (monitor_child): Return exit status of child
22470         instead of return value from wait syscall.
22472 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22474         * configure.ac (libc_commonpagesize): Remove variable.
22475         (libc_relro_required): Likewise.
22476         (libc_cv_z_relro): Remove configure test.
22477         * configure: Regenerated.
22478         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22479         variable.
22480         (libc_relro_required): Likewise.
22481         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22482         (libc_relro_required): Likewise.
22483         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22484         (libc_relro_required): Likewise.
22485         * sysdeps/arm/preconfigure: Regenerated.
22486         * sysdeps/ia64/preconfigure: Remove file.
22487         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22488         variable.
22489         (libc_relro_required): Likewise.
22491         [BZ #16561]
22492         [BZ #16562]
22493         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22494         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22495         recompute overflowing results in original rounding mode.
22496         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22497         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22498         recompute overflowing results in original rounding mode.
22499         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22500         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22501         recompute overflowing results in original rounding mode.
22502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22503         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22504         recompute overflowing results in original rounding mode.
22505         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22506         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22507         recompute overflowing results in original rounding mode.
22508         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22509         (libc_feholdsetround_ctx): New macro.
22510         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22511         * sysdeps/i386/fpu/libm-test-ulps: Update.
22512         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22514 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22516         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22517         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22518         corresponding .cpsetup call.
22520 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22522         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22523         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22524         * sysdeps/arm/Makefile [$(subdir) = csu]
22525         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22526         (static-only-routines): Add aeabi_read_tp here.
22527         (shared-only-routines): Add libc-aeabi_read_tp here.
22528         (CFLAGS-libc-start.c): Add -fexceptions here.
22529         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22530         (sysdep_routines, static-only-routines, shared-only-routines):
22531         Don't add to these here.
22532         (CFLAGS-libc-start.c): Likewise.
22534         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22535         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22536         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22537         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22538         * sysdeps/arm/Makefile [$(subdir) = rt]
22539         (librt-sysdep_routines, librt-shared-only-routines):
22540         Append rt-aeabi_unwind_cpp_pr1 here.
22541         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22542         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22543         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22544         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22545         Append nptl-aeabi_unwind_cpp_pr1 here.
22546         (tests): Filter out tst-cleanupx4 here.
22547         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22548         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22549         Don't do those here.
22551 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22553         * scripts/list-sources.sh: Do not handle ports specially.
22555 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22557         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22558         * sysdeps/arm/feupdateenv.c: Likewise.
22560         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22562 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22564         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22565         trailing whitespace removed.
22566         * scripts/config.guess: Update to version 2014-03-23.
22567         * scripts/config.sub: Update to version 2014-05-01
22568         * scripts/install-sh: Update to version 2013-12-25.23.
22569         * scripts/move-if-change: Update from gnulib.
22571 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22573         * debug/memmove_chk.c: Remove pagecopy.h include.
22575 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22577         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22578         identical to gnulib mktime.
22580 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22582         * configure.ac: Do not test for machine being rs6000.  Do not test
22583         for powerpc*-*soft.
22584         * configure: Regenerated.
22586         [BZ #11505]
22587         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22588         test.
22589         * configure: Regenerated.
22590         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22591         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22592         Remove configure test.
22593         * sysdeps/arm/configure: Regenerated.
22594         * sysdeps/nptl/configure.ac: Do not check
22595         libc_cv_asm_cfi_directives.
22596         * sysdeps/nptl/configure: Regenerated.
22597         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22598         * sysdeps/x86_64/nptl/configure: Remove generated file.
22599         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22600         unconditional.
22601         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22603 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22605         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22606         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22607         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22608         it is defined.
22610         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22611         instead of whether it is defined.
22612         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22613         * sysdeps/hppa/dl-machine.h: Likewise.
22614         * sysdeps/ia64/dl-machine.h: Likewise.
22615         * sysdeps/m68k/dl-machine.h: Likewise.
22616         * sysdeps/microblaze/dl-machine.h: Likewise.
22617         * sysdeps/mips/dl-machine.: Likewise.
22618         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22619         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22620         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22621         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22622         * sysdeps/sh/dl-machine.h: Likewise.
22623         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22624         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22625         * sysdeps/tile/dl-machine.h: Likewise.
22626         * sysdeps/x86_64/dl-machine.h: Likewise.
22628         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22629         code.
22630         (verify_persistent_db): Likewise.
22632 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22635         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22637         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22639         Moved ...
22640         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22641         ... here.
22642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22643         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22645         Identical file removed.
22646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22647         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22649         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22651         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22653         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22655         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22657         Moved ...
22658         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22660         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22662         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22664         Moved ...
22665         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22667         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22669         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22671         Identical file removed.
22672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22673         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22675         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22677         Moved ...
22678         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22679         ... here.
22680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22681         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22683         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22685         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22687         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22689         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22691         Moved ...
22692         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22694         Moved ...
22695         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22697         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22699         Moved ...
22700         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22702         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22704         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22705         folded into ...
22706         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22707         * sysdeps/unix/sysv/linux/s390/Versions
22708         (libpthread: GLIBC_2.19): New version set.
22709         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22710         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22711         (librt: GLIBC_2.3.3): New version set.
22712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22713         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22714         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22715         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22716         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22717         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22718         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22719         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22720         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22721         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22722         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22723         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22724         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22725         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22726         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22727         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22728         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22729         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22730         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22731         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22732         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22733         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22734         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22736         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22737         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22738         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22739         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22740         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22742         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22743         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22748         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22750         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22752         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22754         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22756         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22758         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22759         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22760         (__libc_vfork): Define the function under this name.
22761         [!NOT_IN_libc] (__vfork): Make this an alias.
22762         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22764         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22765         (__libc_vfork): Define the function under this name.
22766         [!NOT_IN_libc] (__vfork): Make this an alias.
22767         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22768         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22769         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22771         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22772         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22775         code that was previously under [RESET_PID].
22776         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22777         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22780         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22781         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22782         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22783         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22784         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22785         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22786         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22787         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22788         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22789         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22790         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22791         Moved ...
22792         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22793         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22794         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22795         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22796         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22797         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22798         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22799         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22800         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22801         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22802         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22803         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22804         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22805         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22806         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22807         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22808         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22809         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22810         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22811         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22812         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22814         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22815         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22816         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22817         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22818         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22820         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22822 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22824         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22825         that was previously under [RESET_PID].
22826         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22828 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22830         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22831         not undefine and redefine.
22832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22833         [O_CLOEXEC]: Make code unconditional.
22834         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22835         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22836         <kernel-features.h>.
22837         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22838         conditional variable definition.
22839         (shm_open) [O_CLOEXEC]: Make code unconditional.
22840         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22841         code.
22843         * configure.ac (USE_REGPARMS): Don't define here.
22844         * configure: Regenerated.
22845         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22846         * sysdeps/i386/configure: Regenerated.
22848         * nptl/createthread.c: Don't include kernel-features.h.
22849         * nptl/pthread_cancel.c: Likewise.
22850         * nptl/pthread_condattr_setclock.c: Likewise.
22851         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22852         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22853         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22854         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22855         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22856         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22857         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22860         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22861         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22862         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22863         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22864         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22865         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22866         * nscd/gai.c: Likewise.
22867         * nss/nss_db/db-open.c: Likewise.
22868         * sysdeps/generic/ldsodefs.h: Likewise.
22869         * sysdeps/sh/nptl/tls.h: Likewise.
22870         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22871         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22872         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22873         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22874         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22875         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22876         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22877         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22878         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22879         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22880         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22881         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22882         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22883         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22884         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22885         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22886         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22887         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22888         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22889         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22892         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22893         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22895         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22898         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22899         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22900         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22901         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22902         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22903         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22904         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22905         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22906         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22907         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22908         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22909         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22910         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22911         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22912         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22913         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22914         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22915         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22916         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22917         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22918         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22919         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22920         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22921         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22922         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22923         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22924         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22925         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22926         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22927         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22950         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22951         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22952         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22953         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22954         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22955         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22956         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22957         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22958         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22959         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22960         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22961         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22962         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22963         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22964         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22965         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22966         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22967         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22968         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22969         * sysdeps/unix/sysv/linux/system.c: Likewise.
22970         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22971         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22972         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22973         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22974         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22975         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22976         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22978         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22979         * configure: Regenerated.
22980         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22982         * configure.ac (base_machine): Do not set specially for particular
22983         machines here.
22984         * configure: Regenerated.
22985         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22986         settings from configure.ac.
22987         * sysdeps/i386/preconfigure: New file.
22988         * sysdeps/s390/preconfigure: Likewise.
22989         * sysdeps/sh/preconfigure: Likewise.
22990         * sysdeps/sparc/preconfigure: Likewise.
22992 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22995         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22996         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22997         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22998         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22999         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23000         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23001         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23002         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23003         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23004         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23005         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23006         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23007         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23009         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23010         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23011         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23012         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23014         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23015         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23016         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23017         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23018         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23019         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23020         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23021         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23022         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23023         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23024         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23025         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23026         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23027         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23028         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23029         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23030         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23031         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23032         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23033         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23034         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23035         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23037         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23039         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23040         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23041         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23042         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23043         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23044         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23045         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23047         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23049         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23051         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23054         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23056         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23058         Moved ...
23059         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23060         ... here.
23061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23062         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23066         Moved ...
23067         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23069         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23071         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23073         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23075         Moved ...
23076         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23078         Moved ...
23079         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23081         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23083         Moved ...
23084         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23086         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23088         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23090         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23092         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23094         Moved ...
23095         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23096         ... here.
23097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23098         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23100         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23102         Moved ...
23103         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23105         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23107         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23109         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23111         Moved ...
23112         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23114         Moved ...
23115         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23119         Moved ...
23120         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23122         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23124         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23126 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23128         * timezone/checktab.awk: Update from tzcode 2014e.
23129         * timezone/private.h: Likewise.
23130         * timezone/tzfile.h: Likewise.
23131         * timezone/zdump.c: Likewise.
23132         * timezone/zic.c: Likewise.
23134         * sysdeps/unix/sysv/linux/kernel-features.h
23135         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23136         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23137         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23138         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23139         Remove conditional code.
23141 2014-06-25  Will Newton  <will.newton@linaro.org>
23143         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23144         (_dl_arm_cap_flags): Add HWCAP2 values.
23145         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23146         (_DL_HWCAP_COUNT): Increase to 37.
23147         (_DL_HWCAP_LAST): New define.
23148         (_DL_HWCAP2_LAST): New define.
23149         (_dl_procinfo): Add support for printing
23150         AT_HWCAP2 entries.
23151         (_dl_string_hwcap): Use _dl_hwcap_string.
23153 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23157 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23159         * README: Do not mention ports directory.
23161         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23162         Remove macro.
23163         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23164         <kernel-features.h>.
23165         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23166         conditional variable definition.
23167         (__futimes): Update comment.
23168         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23169         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23171         [BZ #16560]
23172         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23173         arguments close to 0.
23174         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23175         Likewise.
23176         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23177         Likewise.
23178         * math/auto-libm-test-in: Add more tests of exp10.
23179         * math/auto-libm-test-out: Regenerated.
23180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23182         * sysdeps/unix/sysv/linux/kernel-features.h
23183         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23184         * sysdeps/unix/sysv/linux/readv.c: Do not include
23185         <kernel-features.h>.
23186         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23187         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23188         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23189         unconditional.
23190         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23191         conditional code.
23192         * sysdeps/unix/sysv/linux/writev.c: Do not include
23193         <kernel-features.h>.
23194         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23195         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23196         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23197         unconditional.
23198         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23199         conditional code.
23201 2014-06-25  Will Newton  <will.newton@linaro.org>
23203         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23204         comment changes throughout the file.  Remove checks
23205         for HAVE_*_H definitions that are not required.
23206         (__gen_tempname): Call abort if an unknown kind value is
23207         passed.
23209 2014-06-25  Andreas Schwab  <schwab@suse.de>
23211         [BZ #17086]
23212         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23213         scalbln, scalblnf, scalblnl in libc.
23215 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23217         [BZ #17086]
23218         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23219         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23220         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23222 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23224         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23225         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23226         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23227         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23228         Update #include.
23229         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23230         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23231         Update #include.
23232         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23233         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23234         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23235         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23236         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23237         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23238         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23239         * sysdeps/x86/bits/semaphore.h: ... here.
23240         * sysdeps/x86/nptl/elide.h: Moved ...
23241         * sysdeps/x86/elide.h: ... here.
23242         * sysdeps/x86_64/nptl/Implies: File removed.
23243         * sysdeps/i386/nptl/Implies: File removed.
23245 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23247         [BZ #16539]
23248         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23249         return the argument for normal arguments with exponent below -64.
23250         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23251         Likewise.
23252         * math/auto-libm-test-in: Add another test of expm1.
23253         * math/auto-libm-test-out: Regenerated.
23255         [BZ #16287]
23256         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23257         calling __erfcl for arguments at least 16.
23258         * math/auto-libm-test-in: Add more tests of erf.
23259         * math/auto-libm-test-out: Regenerated.
23261         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23262         individual architectures.
23263         * sysdeps/unix/sysv/linux/configure: Regenerated.
23264         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23265         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23266         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23267         (ldd_rewrite_script): Define variable.
23268         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23270         file.
23271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23272         generated file.
23273         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23274         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23275         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23276         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23277         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23278         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23279         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23280         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23282 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23284         [BZ #17084]
23285         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23286         Rename member __data.d to __data.__elision_data.
23288 2014-06-24  Wilco  <wdijkstr@arm.com>
23290         * NEWS: Add 16918 to fixed bug list.
23292 2014-06-24  Wilco  <wdijkstr@arm.com>
23294         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23296 2014-06-24  Wilco  <wdijkstr@arm.com>
23298         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23299         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23300         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23301         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23302         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23303         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23304         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23305         Use _FPU_MASK_RM.
23307 2014-06-24  Wilco  <wdijkstr@arm.com>
23309         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23311 2014-06-24  Wilco  <wdijkstr@arm.com>
23313         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23314         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23315         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23316         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23318 2014-06-24  Wilco  <wdijkstr@arm.com>
23320         [BZ #16918]
23321         * sysdeps/arm/feupdateenv.c (feupdateenv):
23322         Rewrite to reduce FPSCR accesses and fix return value.
23324 2014-06-24  Wilco  <wdijkstr@arm.com>
23326         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23327         Optimize to avoid unnecessary FPSCR writes.
23328         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23329         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23330         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23331         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23333 2014-06-24  Wilco  <wdijkstr@arm.com>
23335         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23336         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23337         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23338         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23339         Call libc_fetestexcept_vfp.
23340         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23341         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23342         __SOFTFP__ ifdef so that they can be built for softfp.
23344 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23346         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23347         argument type signed char.
23349         * Makerules (check-abi): Dump diff of symlist if the test
23350         fails.
23352 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23354         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23355         using abort.
23357         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23358         Remove unused variable ST.
23360 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23362         [BZ #16354]
23363         [BZ #17061]
23364         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23365         small arguments before calling __expm1.
23366         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23367         small arguments before calling __expm1f.
23368         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23369         small arguments before calling __expm1l.
23370         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23371         Likewise.
23372         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23373         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23374         spurious underflow for some cosh tests.
23375         * math/auto-libm-test-out: Regenerated.
23376         * sysdeps/i386/fpu/libm-test-ulps: Update.
23378         [BZ #17050]
23379         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23380         (__ieee754_y1): Set errno if return value overflows.
23381         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23382         (__ieee754_y1f): Set errno if return value overflows.
23383         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23384         (__ieee754_y1l): Set errno if return value overflows.
23385         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23386         (__ieee754_y1l): Set errno if return value overflows.
23387         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23388         * math/auto-libm-test-out: Regenerated.
23390         * math/gen-auto-libm-tests.c: Document use of
23391         ignore-zero-inf-sign.
23392         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23393         (input_flags): Add ignore-zero-inf-sign.
23394         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23395         * math/gen-libm-test.pl (generate_testfile): Handle
23396         ignore-zero-inf-sign.
23397         * math/auto-libm-test-in: Mark some cpow tests with
23398         ignore-zero-inf-sign and some with xfail-rounding.
23399         * math/auto-libm-test-out: Regenerated.
23400         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23401         * sysdeps/i386/fpu/libm-test-ulps: Update.
23402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23404         [BZ #16315]
23405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23406         overflowing or underflowing operations take place with sign of
23407         result.
23408         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23409         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23410         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23411         (__ieee754_pow): Recompute overflowing and underflowing results in
23412         original rounding mode.
23413         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23414         (__powl_helper): Allow negative argument X and scale negated value
23415         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23416         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23417         overflowing or underflowing operations take place with sign of
23418         result.
23419         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23420         Include <math.h>.
23421         * math/auto-libm-test-in: Add more tests of pow.
23422         * math/auto-libm-test-out: Regenerated.
23423         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23424         (pow_tonearest_test_data): Remove.
23425         (pow_test_tonearest): Likewise.
23426         (pow_towardzero_test_data): Likewise.
23427         (pow_test_towardzero): Likewise.
23428         (pow_downward_test_data): Likewise.
23429         (pow_test_downward): Likewise.
23430         (pow_upward_test_data): Likewise.
23431         (pow_test_upward): Likewise.
23432         (main): Don't call removed functions.
23433         * sysdeps/i386/fpu/libm-test-ulps: Update.
23434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23436 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23439         Moved ...
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23442         Moved ...
23443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23445         Moved ...
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23448         Moved ...
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23451         File removed.
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23453         File removed.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23455         File removed.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23457         File removed.
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23459         File removed.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23461         File removed.
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23463         File removed.
23464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23465         File removed.
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23467         File removed.
23468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23469         File removed.
23470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23471         File removed.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23473         File removed.
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23475         Moved ...
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23478         Moved ...
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23480         ... here.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23482         Moved ...
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23485         Moved ...
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23488         Moved ...
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23491         Moved ...
23492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23494         Moved ...
23495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23497         Moved ...
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23500         Moved ...
23501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23504         ... here.
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23506         Moved ...
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23509         Moved ...
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23513         Moved ...
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23515         ... here.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23517         Moved ...
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23519         ... here.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23521         Moved ...
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23524         Moved ...
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23529         Moved ...
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23531         ... here.
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23533         Moved ...
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23535         ... here.
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23537         Moved ...
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23540         Moved ...
23541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23543         Moved ...
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23546         Moved ...
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23549         Moved ...
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23551         ... here.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23553         Moved ...
23554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23556         Moved ...
23557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23559         Moved ...
23560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23562         Moved ...
23563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23567         Moved ...
23568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23570         Moved ...
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23573         Moved ...
23574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23575         ... here.
23576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23577         Moved ...
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23579         ... here.
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23581         Moved ...
23582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23583         ... here.
23584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23585         Moved ...
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23588         Moved ...
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23591         Moved ...
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23594         Moved ...
23595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23596         ... here.
23597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23598         Moved ...
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23600         ... here.
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23602         Moved ...
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23604         ... here.
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23606         Moved ...
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23609         Moved ...
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23612 2014-06-23  Will Newton  <will.newton@linaro.org>
23613             Wilco  <wdijkstr@arm.com>
23615         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23616         implementation.  Include get-rounding-mode.h.
23617         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23618         [!libc_feholdsetround_noex_ctx]: Define
23619         libc_feholdsetround_noex_ctx.
23620         [!libc_feholdsetround_noexf_ctx]: Define
23621         libc_feholdsetround_noexf_ctx.
23622         [!libc_feholdsetround_noexl_ctx]: Define
23623         libc_feholdsetround_noexl_ctx.
23624         (libc_feholdsetround_ctx): New function.
23625         (libc_feresetround_ctx): New function.
23626         (libc_feholdsetround_noex_ctx): New function.
23627         (libc_feresetround_noex_ctx): New function.
23629 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23631         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23632         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23633         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23634         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23635         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23636         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23638         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23639         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23640         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23641         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23642         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23643         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23645         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23647         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23649         Moved ...
23650         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23651         ... here.
23652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23653         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23655         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23657         Moved ...
23658         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23660         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23662         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23664         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23666         Moved ...
23667         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23669         Moved ...
23670         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23672         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23674         Moved ...
23675         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23676         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23677         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23678         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23679         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23680         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23681         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23683         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23685         Moved ...
23686         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23687         ... here.
23688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23689         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23691         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23693         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23695         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23697         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23699         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23701         Moved ...
23702         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23704         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23708         Moved ...
23709         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23711         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23712         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23713         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23715         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23716         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23717         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23718         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23719         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23720         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23721         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23722         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23724         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23725         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23726         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23727         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23728         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23729         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23730         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23731         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23732         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23734         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23736         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23737         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23738         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23739         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23740         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23741         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23742         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23744 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23746         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23747         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23748         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23749         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23750         (IPV6_PMTUDISC_INTERFACE): Likewise.
23751         (IPV6_PMTUDISC_OMIT): Likewise.
23753 2014-06-23  Andreas Schwab  <schwab@suse.de>
23755         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23756         Remove unused errout label.
23758 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23760         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23761         macro: hardware supports Vector Crypto instructions.
23763 2014-06-23  Will Newton  <will.newton@linaro.org>
23765         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23766         rather than __builtin_expect.
23768         * elf/dl-lookup.c (undefined_msg): Remove variable.
23769         (_dl_lookup_symbol_x): Replace undefined_msg with string
23770         literal.
23772         * elf/dl-lookup.c (do_lookup_unique): New function.
23773         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23774         to a separate function.
23776 2014-06-23  Andreas Schwab  <schwab@suse.de>
23778         [BZ #17079]
23779         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23780         before reading the next line.
23782 2014-06-23  Will Newton  <will.newton@linaro.org>
23784         * test-skeleton.c (signal_handler): Use printf and %m
23785         rather than perror.  Use printf rather than fprintf to
23786         stderr.  Use puts rather than fputs to stderr.
23787         (main): Likewise.
23789 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23791         * nscd/nscd.c (thread_info_t): Remove typedef.
23792         (thread_info): Remove variable.
23794 2014-06-21  Allan McRae  <allan@archlinux.org>
23796         * NEWS: Mention CVE-2014-4043.
23798 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23800         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23801         * nptl/smp.h: ... here.
23803         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23805         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23806         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23807         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23808         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23810         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23811         * nptl/stack-aliasing.h: New file.
23812         * sysdeps/i386/i686/stack-aliasing.h: New file.
23813         * sysdeps/i386/i686/nptl/Makefile: File removed.
23814         * sysdeps/x86_64/stack-aliasing.h: New file.
23815         * sysdeps/x86_64/nptl/Makefile
23816         (CFLAGS-pthread_create.c): Variable removed.
23818         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23819         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23820         old file.
23821         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23822         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23823         old file.
23825 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23827         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23828         (__ASSUME_SIGFRAME_V2): Remove macro.
23829         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23830         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23831         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23832         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23833         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23834         Declare as function.  Remove conditional macro definitions.
23835         (__default_rt_sa_restorer): Likewise.
23836         (__default_sa_restorer_v1): Remove declaration.
23837         (__default_sa_restorer_v2): Likewise.
23838         (__default_rt_sa_restorer_v1): Likewise.
23839         (__default_rt_sa_restorer_v2): Likewise.
23840         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23841         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23842         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23844 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23846         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23847         (libpthread-routines): Add sysdep.
23848         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23849         * sysdeps/unix/sysv/linux/sparc/Versions
23850         (libpthread: GLIBC_2.3.3): New version set.
23851         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23852         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23853         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23854         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23855         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23856         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23857         Moved ...
23858         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23859         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23860         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23861         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23862         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23863         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23864         * sysdeps/sparc/nptl/sem_init.c: ... here.
23865         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23866         * sysdeps/sparc/nptl/sem_post.c: ... here.
23867         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23868         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23869         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23870         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23871         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23872         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23873         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23874         (libpthread-routines): Add cpu_relax.
23875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23876         File removed.
23877         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23878         (librt: GLIBC_2.3.3): New version set.
23879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23880         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23881         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23882         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23885         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23887         Moved ...
23888         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23890         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23892         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23894         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23896         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23898         Moved ...
23899         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23900         Update #include.
23901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23902         Moved ...
23903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23904         Update #include.
23905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23906         Moved ...
23907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23908         Update #include.
23909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23910         Moved ...
23911         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23912         Update #include.
23913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23914         Moved ...
23915         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23916         Update #include.
23917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23918         Moved ...
23919         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23920         Update #include.
23921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23922         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23924         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23928         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23930         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23932         Moved ...
23933         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23939 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23941         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23942         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23943         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23944         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23945         * nscd/nscd.c: Likewise.
23946         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23947         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23948         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23949         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23951         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23952         <kernel-features.h>.
23953         (init_mq_netlink): Remove conditional have_sock_cloexec
23954         definitions.  Remove code conditional on have_sock_cloexec < 0.
23955         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23956         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23957         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23958         <kernel-features.h>.
23959         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23960         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23962 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23965         Add tests for memset_chk and memset.
23967         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23968         with AVX2_Usable.
23970 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23972         [BZ #16046]
23973         * elf/tst-dl-iter-static.c: New file.
23974         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23976         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23977         error.
23979 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23981         * sysdeps/unix/sysv/linux/kernel-features.h
23982         (__ASSUME_F_GETOWN_EX): Remove macro.
23983         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23984         <kernel-features.h>.
23985         (miss_F_GETOWN_EX): Remove variable or macro.
23986         (do_fcntl): Do not check miss_F_GETOWN_EX.
23987         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23989         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23990         Remove macro.
23991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23992         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23993         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23995         * sysdeps/unix/sysv/linux/kernel-features.h
23996         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23997         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23998         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23999         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24001 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24003         [BZ #17075]
24004         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24005         Fix calculation of the symbol's value.
24006         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24007         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24008         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24009         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24010         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24011         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24012         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24013         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24014         (modules-names): Add `tst-armtlsdescmod',
24015         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24016         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24017         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24018         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24019         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24020         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24021         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24022         ($(objpfx)tst-armtlsdescloc): New dependency.
24023         ($(objpfx)tst-armtlsdescextnow): Likewise.
24024         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24025         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24026         TLS scheme support.
24027         * sysdeps/arm/configure: Regenerate.
24029 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24031         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24032         (__atfct_seterrno_2): Likewise.
24033         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24034         <kernel-features.h>.
24035         (__ASSUME_ATFCTS): Do not undefine and redefine.
24036         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24037         (__have_atfcts): Remove conditional definition.
24038         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24039         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24040         unreachable if [__ASSUME_ATFCTS].
24041         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24042         not undefine and redefine.
24043         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24044         <kernel-features.h>.
24045         (faccessat) [__NR_faccessat]: Make code unconditional.
24046         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24047         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24048         <kernel-features.h>.
24049         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24050         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24051         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24052         <kernel-features.h>.
24053         (fchownat) [__NR_fchownat]: Make code unconditional.
24054         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24055         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24056         <kernel-features.h>.
24057         (futimesat) [__NR_futimesat]: Make code unconditional.
24058         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24059         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24060         <kernel-features.h>.
24061         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24062         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24063         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24064         <kernel-features.h>.
24065         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24066         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24067         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24068         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24069         <kernel-features.h>.
24070         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24071         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24072         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24073         <kernel-features.h>.
24074         (linkat) [__NR_linkat]: Make code unconditional.
24075         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24076         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24077         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24078         <kernel-features.h>.
24079         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24080         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24081         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24082         <kernel-features.h>.
24083         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24084         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24085         * sysdeps/unix/sysv/linux/openat.c: Do not include
24086         <kernel-features.h>.
24087         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24088         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24089         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24090         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24091         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24092         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24093         <kernel-features.h>.
24094         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24095         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24096         result of INLINE_SYSCALL directly, not via int variable.
24097         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24098         <kernel-features.h>.
24099         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24100         (renameat) [__NR_renameat]: Make code unconditional.
24101         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24102         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24103         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24104         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24105         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24106         (__ASSUME_ATFCTS): Do not undefine and redefine.
24107         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24108         <kernel-features.h>.
24109         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24110         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24111         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24112         <kernel-features.h>.
24113         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24114         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24115         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24116         (__ASSUME_ATFCTS): Do not undefine and redefine.
24117         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24118         <kernel-features.h>.
24119         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24120         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24121         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24122         <kernel-features.h>.
24123         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24124         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24126 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24128         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24130 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24132         [BZ #17069]
24133         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24134         constructed tree before returning error.
24135         * posix/bug-regexp36.c: Expand test case.
24137 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24139         [BZ #6803]
24140         * math/libm-test.inc (scalbln_test_date):
24141         Add errno expectations.
24142         * math/w_scalblnf.c: New File.
24143         Add wrapper which checks for setting errno to ERANGE.
24144         Add weak_alias for corresponding scalbln function.
24145         * math/w_scalbln.c: Likewise.
24146         * math/w_scalblnl.c: Likewise.
24147         * math/Makefile (libm-calls): Add w_scalbln.
24148         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24149         Remove weak_alias for corresponding scalbln function.
24150         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24152         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24153         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24154         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24155         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24156         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24157         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24158         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24159         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24160         Remove long_double_symbol for scalblnl function in libm, libc.
24161         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24162         Add wrapper which checks for setting errno to ERANGE.
24163         Add long_double_symbol for scalblnl function in libm, libc.
24164         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24165         Remove long_double_symbol for scalblnl in libm.
24166         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24167         Add wrapper which checks for setting errno to ERANGE.
24168         Add long_double_symbol for scalblnl function in libm.
24169         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24170         Do not use wrapper because of own implementation.
24172 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24174         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24175         3 bytes for __pad1 for x32.
24176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24178 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24179             H.J. Lu  <hongjiu.lu@intel.com>
24181         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24182         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24185         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24187 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24189         [BZ #17069]
24190         * posix/regcomp.c (parse_expression): Deallocate partially
24191         constructed tree before returning error.
24192         * posix/Makefile.c (tests): Add bug-regex36.
24193         (generated): Add bug-regex36.mtrace.
24194         (tests-special): Add $(objpfx)bug-regex36-mem.out
24195         (bug-regex36-ENV): New variable.
24196         ($(objpfx)bug-regex36-mem.out): New rule.
24197         * posix/bug-regex36.c: New file.
24199 2014-06-19  Will Newton  <will.newton@linaro.org>
24201         * malloc/malloc.c (systrim): If extra is zero then return
24202         early.
24204 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24206         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24208 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24210         * sysdeps/aarch64/strchr.S: New file.
24212 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24214         [BZ #17022]
24215         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24216         from arguments -2 or below.
24217         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24218         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24220 2014-06-18  Andreas Schwab  <schwab@suse.de>
24222         [BZ #17062]
24223         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24224         of a bracket expr not to run off the end of the string.
24225         * posix/Makefile (tests): Add tst-fnmatch3.
24226         * posix/tst-fnmatch3.c: New file.
24228 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24230         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24231         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24232         [$(cross-compiling) = no]: Likewise.
24233         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24234         [$(cross-compiling) = no]: Likewise.
24236 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24238         [BZ #17031]
24239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24240         double, adjusted for any remainder from the high double.
24241         * math/libm-test.inc (nearbyint): Add tests.
24242         (rint): Likewise.
24244 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24246         * nptl/sysdeps/powerpc/Makefile: Moved ...
24247         * sysdeps/powerpc/nptl/Makefile: ... here.
24248         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24249         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24250         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24251         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24252         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24253         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24254         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24255         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24256         * nptl/sysdeps/powerpc/tls.h: Moved ...
24257         * sysdeps/powerpc/nptl/tls.h: ... here.
24259 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24261         [BZ #16681]
24262         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24263         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24264         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24265         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24266         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24267         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24268         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24269         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24270         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24272 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24274         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24276 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24278         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24279         defined operator.
24281         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24282         $TIMEOUTFACTOR.
24284 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24286         [BZ #17058]
24287         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24288         non-executed part of the test.
24290 2014-06-16  Andreas Schwab  <schwab@suse.de>
24292         * string/bits/string2.h (strdup, strndup): Update feature guard.
24294 2014-06-14  David S. Miller  <davem@davemloft.net>
24296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24298 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24300         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24301         that was previously under [RESET_PID].
24302         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24304         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24305         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24306         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24307         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24308         (__libc_vfork): New strong alias.
24309         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24311 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24313         * sysdeps/generic/elide.h: New file.
24315 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24317         * Makefile (installed-headers): Adjust path of pthread.h header.
24319 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24321         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24322         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24323         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24324         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24326         * nptl/sysdeps/s390/Makefile: Moved ...
24327         * sysdeps/s390/nptl/Makefile: ... here.
24328         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24329         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24330         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24331         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24332         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24333         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24334         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24335         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24336         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24337         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24338         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24339         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24340         * nptl/sysdeps/s390/tls.h: Moved ...
24341         * sysdeps/s390/nptl/tls.h: ... here.
24343         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24344         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24346 2014-06-13  David S. Miller  <davem@davemloft.net>
24348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24351         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24355         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24356         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24357         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24358         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24359         Remove RESET_PID cpp guards.
24360         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24361         Remove RESET_PID cpp guards.
24362         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24364 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24366         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24367         __sp to uintptr_t.
24369 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24372         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24373         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24376         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24377         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24378         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24382         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24383         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24384         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24386         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24392         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24393         (pthread_rwlock_rdlock): Add elision.
24394         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24395         (pthread_rwlock_wrlock): Add elision.
24396         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24397         (pthread_rwlock_trywrlock): Add elision.
24398         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24399         (pthread_rwlock_tryrdlock): Add elision.
24400         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24401         (pthread_rwlock_tryrdlock): Add elision unlock.
24402         * nptl/sysdeps/pthread/pthread.h:
24403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24404         (PTHREAD_RWLOCK_INITIALIZER,
24405         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24406         Handle new elision field.
24407         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24408         * sysdeps/arm/nptl/bits/pthreadtypes.h
24409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24410         * sysdeps/sh/nptl/bits/pthreadtypes.h
24411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24412         * sysdeps/tile/nptl/bits/pthreadtypes.h
24413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24414         * sysdeps/a/nptl/bits/pthreadtypes.h
24415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24416         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24420         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24422         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24424         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24426         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24428         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24430         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24432         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24433         (elision_init): Set try_xbegin to zero when no RTM.
24434         * sysdeps/x86/nptl/bits/pthreadtypes.h
24435         (pthread_rwlock_t): Change __pad1 to __rwelision.
24436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24438 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24440         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24441         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24442         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24443         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24445 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24447         [BZ #16996]
24448         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24449         that the cached result has been set before returning it.
24451 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24453         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24454         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24455         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24456         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24457         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24458         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24460         * nptl/sysdeps/sparc/Makefile: Moved ...
24461         * sysdeps/sparc/nptl/Makefile: ... here.
24462         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24463         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24464         * nptl/sysdeps/sparc/tls.h: Moved ...
24465         * sysdeps/sparc/nptl/tls.h: ... here.
24466         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24467         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24468         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24469         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24470         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24471         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24472         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24473         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24474         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24475         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24476         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24477         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24478         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24479         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24480         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24481         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24482         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24484         Update #include.
24485         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24487         Update #include.
24488         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24490         Update #include.
24491         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24492         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24493         Update #include.
24495         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24497         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24498         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24500         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24501         (struct list_links): Type removed.
24502         (struct thread_node, struct timer_node): Replace struct list_links
24503         with struct list_head.
24504         (list_unlink_ip): Likewise.
24505         * sysdeps/pthread/timer_routines.c
24506         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24507         (list_append, list_insbefore): Likewise.
24508         (list_init): Function removed.
24509         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24510         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24511         * sysdeps/pthread/Makefile: ... here, new file.
24513         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24514         * sysdeps/nptl/Implies: ... here.
24515         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24516         * nptl/sysdeps/pthread/list.h: Moved ...
24517         * include/list.h: ... here.
24518         * nptl/sysdeps/pthread/createthread.c: Moved ...
24519         * nptl/createthread.c: ... here.
24520         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24521         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24522         * nptl/pt-longjmp.c: ... here.
24523         * nptl/sysdeps/pthread/Makefile: Moved ...
24524         * sysdeps/nptl/Makefile: ... here.
24525         * nptl/sysdeps/pthread/Subdirs: Moved ...
24526         * sysdeps/nptl/Subdirs: ... here.
24527         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24528         * sysdeps/nptl/aio_misc.h: ... here.
24529         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24530         * sysdeps/nptl/bits/libc-lock.h: ... here.
24531         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24532         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24533         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24534         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24535         * nptl/sysdeps/pthread/configure: Moved ...
24536         * sysdeps/nptl/configure: ... here.
24537         * nptl/sysdeps/pthread/configure.ac: Moved ...
24538         * sysdeps/nptl/configure.ac: ... here.
24539         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24540         * sysdeps/nptl/gai_misc.h: ... here.
24541         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24542         * sysdeps/nptl/librt-cancellation.c: ... here.
24543         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24544         * sysdeps/nptl/malloc-machine.h: ... here.
24545         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24546         * sysdeps/nptl/pthread-functions.h: ... here.
24547         * nptl/sysdeps/pthread/pthread.h: Moved ...
24548         * sysdeps/nptl/pthread.h: ... here.
24549         * nptl/sysdeps/pthread/setxid.h: Moved ...
24550         * sysdeps/nptl/setxid.h: ... here.
24551         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24552         * sysdeps/nptl/sigfillset.c: ... here.
24553         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24554         * sysdeps/nptl/tcb-offsets.h: ... here.
24555         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24556         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24557         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24558         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24559         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24560         * sysdeps/pthread/allocalim.h: ... here.
24561         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24562         * sysdeps/pthread/bits/sigthread.h: ... here.
24563         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24564         * sysdeps/pthread/flockfile.c: ... here.
24565         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24566         * sysdeps/pthread/ftrylockfile.c: ... here.
24567         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24568         * sysdeps/pthread/funlockfile.c: ... here.
24569         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24570         * sysdeps/pthread/posix-timer.h: ... here.
24571         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24572         * sysdeps/pthread/timer_create.c: ... here.
24573         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24574         * sysdeps/pthread/timer_delete.c: ... here.
24575         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24576         * sysdeps/pthread/timer_getoverr.c: ... here.
24577         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24578         * sysdeps/pthread/timer_gettime.c: ... here.
24579         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24580         * sysdeps/pthread/timer_routines.c: ... here.
24581         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24582         * sysdeps/pthread/timer_settime.c: ... here.
24583         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24584         * sysdeps/pthread/tst-timer.c: ... here.
24585         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24586         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24588         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24589         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24591         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24592         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24593         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24594         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24595         Update #include target.
24596         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24597         * sysdeps/i386/i686/nptl/Makefile: ... here.
24598         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24599         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24600         Update #include target.
24601         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24602         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24603         * nptl/sysdeps/i386/Makefile: Moved ...
24604         * sysdeps/i386/nptl/Makefile: ... here.
24605         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24606         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24607         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24608         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24609         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24610         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24611         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24612         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24613         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24614         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24615         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24616         * nptl/sysdeps/i386/tls.h: Moved ...
24617         * sysdeps/i386/nptl/tls.h: ... here.
24619         * sysdeps/sh/Makefile [$(subdir) = csu]
24620         (gen-as-const-headers): Add tcb-offsets.sym.
24621         * nptl/sysdeps/sh/Makefile: File removed.
24622         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24623         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24624         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24625         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24626         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24627         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24628         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24629         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24630         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24631         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24632         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24633         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24634         * nptl/sysdeps/sh/tls.h: Moved ...
24635         * sysdeps/sh/nptl/tls.h: ... here.
24636         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24637         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24638         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24639         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24640         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24641         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24642         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24644         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24645         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24647         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24649         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24651         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24653         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24655         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24657         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24659         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24661         Moved ...
24662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24664         Moved ...
24665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24670         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24671         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24672         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24673         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24674         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24675         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24676         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24677         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24678         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24679         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24680         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24681         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24682         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24683         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24685 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24687         * posix/spawn_faction_addopen.c: Include string.h.
24689 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24691         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24692         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24693         * nptl/sysdeps/x86_64/Makefile: Moved ...
24694         * sysdeps/x86_64/nptl/Makefile: ... here.
24695         * nptl/sysdeps/x86_64/configure: Moved ...
24696         * sysdeps/x86_64/nptl/configure: ... here.
24697         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24698         * sysdeps/x86_64/nptl/configure.ac: ... here.
24699         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24700         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24701         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24702         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24703         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24704         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24705         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24706         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24707         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24708         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24709         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24710         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24711         * nptl/sysdeps/x86_64/tls.h: Moved ...
24712         * sysdeps/x86_64/nptl/tls.h: ... here.
24713         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24714         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24715         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24716         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24718         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24720 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24724 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24726         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24727         type.
24728         [POSIX] (off_t): Likewise.
24729         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24730         [POSIX] (S_ISBLK): Require macro.
24731         [POSIX] (S_ISCHR): Likewise.
24732         [POSIX] (S_ISDIR): Likewise.
24733         [POSIX] (S_ISFIFO): Likewise.
24734         [POSIX] (S_ISREG): Likewise.
24735         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24736         optional-macro.
24737         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24738         type.
24739         [POSIX] (time_t): Likewise.
24740         [POSIX] (timer_t): Likewise.
24742 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24744         [BZ #17048]
24745         * posix/spawn_int.h (struct __spawn_action): Make the path string
24746         non-const to support deallocation.
24747         * posix/spawn_faction_addopen.c
24748         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24749         * posix/spawn_faction_destroy.c
24750         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24751         path in all spawn_do_open actions.
24752         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24753         posix_spawn_file_actions_addopen.
24755 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24757         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24758         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24759         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24760         conditional code always true.
24761         (__libc_vfork): New alias.
24763 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24765         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24766         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24768         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24770         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24771         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24773         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24774         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24776         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24777         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24779 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24781         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24782         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24783         multiarch strcmp for PPC64.
24784         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24785         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24787         multiarch optimizations.
24788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24789         (__libc_ifunc_impl_list): Likewise.
24791 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24793         * benchtests/scripts/validate_benchout.py: New script.
24794         * benchtests/Makefile (bench-func): Call it.
24795         * benchtests/scripts/benchout.schema.json: New file.
24797 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24799         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24800         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24801         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24802         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24803         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24804         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24805         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24806         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24807         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24808         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24809         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24810         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24811         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24812         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24813         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24814         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24816         Moved ...
24817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24818         ... here.
24819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24820         Moved ...
24821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24823         Moved ...
24824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24825         ... here.
24826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24827         Moved ...
24828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24829         ... here.
24830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24831         Moved ...
24832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24834         Moved ...
24835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24836         ... here.
24837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24838         Moved ...
24839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24840         ... here.
24841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24842         Moved ...
24843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24845         Moved ...
24846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24847         ... here.
24848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24849         Moved ...
24850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24851         ... here.
24852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24853         Moved ...
24854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24855         ... here.
24856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24857         Moved ...
24858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24860         Moved ...
24861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24862         ... here.
24863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24864         Moved ...
24865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24866         ... here.
24867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24868         Moved ...
24869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24870         ... here.
24871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24872         Moved ...
24873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24875         Moved ...
24876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24877         ... here.
24878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24879         Moved ...
24880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24881         ... here.
24882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24883         Moved ...
24884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24886         Moved ...
24887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24888         ... here.
24889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24890         Moved ...
24891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24893         Moved ...
24894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24896         Moved ...
24897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24898         ... here.
24899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24900         Moved ...
24901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24902         ... here.
24903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24904         Moved ...
24905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24906         ... here.
24907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24908         Moved ...
24909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24911         Moved ...
24912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24913         ... here.
24914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24915         Moved ...
24916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24917         ... here.
24918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24919         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24921         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24923         Moved ...
24924         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24925         ... here.
24926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24927         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24931         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24933         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24935         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24937         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24939         Moved ...
24940         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24942         Moved ...
24943         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24945         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24947         Moved ...
24948         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24950         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24951         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24952         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24953         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24954         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24956 2014-06-10  Wilco  <wdijkstr@arm.com>
24958         * math/test-fenv-return.c: New file.
24959         * math/Makefile: Add new test test-fenv-return.
24961 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24963         [BZ #17042]
24964         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24965         when x - 1 is zero.
24966         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24967         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24968         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24969         0.0L for an argument of 1.0L.
24970         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24971         Likewise.
24972         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24973         value when x - 1 is zero.
24974         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24975         * sysdeps/i386/fpu/libm-test-ulps: Update.
24976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24978 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24980         [BZ #15119]
24981         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24983 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24985         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24986         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24988 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24990         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24991         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24993         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24994         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24996         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24997         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24999         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25000         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25002         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25003         if not already defined.
25004         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25005         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25006         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25007         (TLS_INIT_TP): Use it.
25008         (TLS_DEFINE_INIT_TP): New macro.
25009         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25011 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25013         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25014         constant.
25015         [POSIX] (IXANY): Likewise.
25016         [POSIX] (OLCUC): Likewise.
25017         [POSIX || POSIX2008] (CBAUD): Do not allow.
25018         [POSIX || POSIX2008] (DEFECHO): Likewise.
25019         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25020         [POSIX || POSIX2008] (ECHOKE): Likewise.
25021         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25022         [POSIX || POSIX2008] (EXTA): Likewise.
25023         [POSIX || POSIX2008] (EXTB): Likewise.
25024         [POSIX || POSIX2008] (FLUSHO): Likewise.
25025         [POSIX || POSIX2008] (LOBLK): Likewise.
25026         [POSIX || POSIX2008] (PENDIN): Likewise.
25027         [POSIX || POSIX2008] (SWTCH): Likewise.
25028         [POSIX || POSIX2008] (VDISCARD): Likewise.
25029         [POSIX || POSIX2008] (VDSUSP): Likewise.
25030         [POSIX || POSIX2008] (VLNEXT): Likewise.
25031         [POSIX || POSIX2008] (VREPRINT): Likewise.
25032         [POSIX || POSIX2008] (VSTATUS): Likewise.
25033         [POSIX || POSIX2008] (VWERASE): Likewise.
25034         (B*): Change to B[0123456789]*.
25035         * conform/data/time.h-data [POSIX || UNIX98]
25036         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25037         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25038         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25039         [POSIX] (tm_*): Do not allow.
25041 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25043         * Makefile (install): Don't set LANGUAGE.
25044         * Makefile.in (install): Likewise.
25045         * assert/Makefile (test-assert-ENV): Remove variable.
25046         (test-assert-perr-ENV): Likewise.
25047         * elf/Makefile (neededtest4-ENV): Likewise.
25048         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25049         [$(cross-compiling) = no]: Don't set LANGUAGE.
25050         * io/ftwtest-sh (LANG): Remove variable.
25051         * libio/Makefile (tst-widetext-ENV): Likewise.
25052         * manual/install.texi (Running make install): Don't refer to
25053         environment settings for make install.
25054         * INSTALL: Regenerated.
25055         * nptl/tst-tls6.sh: Don't set LANG.
25056         * posix/globtest.sh (LANG): Remove variable.
25057         * string/Makefile (tester-ENV): Likewise.
25058         (inl-tester-ENV): Likewise.
25059         (noinl-tester-ENV): Likewise.
25060         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25061         [$(cross-compiling) = no]: Don't set LANGUAGE.
25062         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25063         without explicit environment settings.
25065 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25067         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25068         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25069         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25070         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25072 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25074         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25075         other files in the crypt directory.
25076         * crypt/crypt.c: Remove duplicate includes.
25077         * crypt/crypt-entry.c: Likewise.
25078         * crypt/crypt_util.c: Likewise.
25080 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25082         * Makeconfig (run-program-env): New variable.
25083         (run-program-prefix-before-env): Likewise.
25084         (run-program-prefix-after-env): Likewise.
25085         (run-program-prefix): Define in terms of new variables.
25086         (built-program-cmd-before-env): New variable.
25087         (built-program-cmd-after-env): Likewise.
25088         (built-program-cmd): Define in terms of new variables.
25089         (test-program-prefix-before-env): New variable.
25090         (test-program-prefix-after-env): Likewise.
25091         (test-program-prefix): Define in terms of new variables.
25092         (test-program-cmd-before-env): New variable.
25093         (test-program-cmd-after-env): Likewise.
25094         (test-program-cmd): Define in terms of new variables.
25095         * Rules (make-test-out): Use $(run-program-env).
25096         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25097         (help): Do not mention environment variables.  Mention
25098         --timeoutfactor option.
25099         (timeoutfactor): New variable.
25100         (blacklist_exports): Remove function.
25101         (exports): Remove variable.
25102         (command): Do not include ${exports}.
25103         * manual/install.texi (Configuring and compiling): Do not mention
25104         test wrappers preserving environment variables.  Mention that last
25105         assignment to a variable must take precedence.
25106         * INSTALL: Regenerated.
25107         * benchtests/Makefile (run-bench): Use $(run-program-env).
25108         * catgets/Makefile ($(objpfx)test1.cat): Use
25109         $(built-program-cmd-before-env), $(run-program-env) and
25110         $(built-program-cmd-after-env).
25111         ($(objpfx)test2.cat): Do not specify environment variables
25112         explicitly.
25113         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25114         $(run-program-env) and $(built-program-cmd-after-env).
25115         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25116         $(run-program-env) and $(test-program-cmd-after-env).
25117         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25118         explicitly.
25119         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25120         run_program_env and test_program_cmd_after_env arguments.
25121         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25122         * elf/tst-pathopt.sh: Use run_program_env argument.
25123         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25124         $(test-wrapper-env) and $(run-program-env).
25125         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25126         run_program_env arguments.
25127         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25128         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25129         $(test-program-prefix-before-env), $(run-program-env) and
25130         $(test-program-prefix-after-env).
25131         ($(objpfx)tst-gettext2.out): Likewise.
25132         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25133         run_program_env and test_program_prefix_after_env arguments.
25134         * intl/tst-gettext2.sh: Likewise.
25135         * intl/tst-gettext4.sh: Do not set environment variables
25136         explicitly.
25137         * intl/tst-gettext6.sh: Likewise.
25138         * intl/tst-translit.sh: Likewise.
25139         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25140         $(test-program-prefix-before-env), $(run-program-env) and
25141         $(test-program-prefix-after-env).
25142         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25143         run_program_env and test_program_prefix_after_env arguments.
25144         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25145         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25146         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25147         explicitly with each use of ${test_wrapper_env}.
25148         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25149         $(test-program-prefix-before-env), $(run-program-env) and
25150         $(test-program-prefix-after-env).
25151         * posix/tst-getconf.sh: Do not set environment variables
25152         explicitly.
25153         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25154         run_program_env and test_program_prefix_after_env arguments.
25155         * stdio-common/tst-printf.sh: Do not set environment variables
25156         explicitly.
25157         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25158         $(test-program-prefix-before-env), $(run-program-env) and
25159         $(test-program-prefix-after-env).
25160         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25161         run_program_env and test_program_prefix_after_env arguments.
25162         Split $test calls into $test_pre and $test.
25163         * timezone/Makefile (build-testdata): Use
25164         $(built-program-cmd-before-env), $(run-program-env) and
25165         $(built-program-cmd-after-env).
25167 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25169         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25170         strlen for non SHARED builds.
25172 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25174         * nptl/allocatestack.c (check_list): Inlined function...
25175         (__reclaim_stacks): ... here.
25177 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25179         [BZ #15698]
25180         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25181         memory overrun.
25183 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25185         * Rules (make-test-out): Include
25186         LOCPATH=$(common-objpfx)localedata in default environment.
25187         * debug/Makefile (tst-chk1-ENV): Remove variable.
25188         (tst-chk2-ENV): Likewise.
25189         (tst-chk3-ENV): Likewise.
25190         (tst-chk4-ENV): Likewise.
25191         (tst-chk5-ENV): Likewise.
25192         (tst-chk6-ENV): Likewise.
25193         (tst-lfschk1-ENV): Likewise.
25194         (tst-lfschk2-ENV): Likewise.
25195         (tst-lfschk3-ENV): Likewise.
25196         (tst-lfschk4-ENV): Likewise.
25197         (tst-lfschk5-ENV): Likewise.
25198         (tst-lfschk6-ENV): Likewise.
25199         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25200         (tst-iconv7-ENV): Likewise.
25201         * intl/Makefile (LOCPATH-ENV): Likewise.
25202         (tst-codeset-ENV): Likewise.
25203         (tst-gettext3-ENV): Likewise.
25204         (tst-gettext5-ENV): Likewise.
25205         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25206         (tst-fopenloc-ENV): Likewise.
25207         (tst-fgetws-ENV): Remove variable.
25208         (tst-ungetwc1-ENV): Likewise.
25209         (tst-ungetwc2-ENV): Likewise.
25210         (bug-ungetwc2-ENV): Likewise.
25211         (tst-swscanf-ENV): Likewise.
25212         (bug-ftell-ENV): Likewise.
25213         (tst-fgetwc-ENV): Likewise.
25214         (tst-fseek-ENV): Likewise.
25215         (tst-ftell-partial-wide-ENV): Likewise.
25216         (tst-ftell-active-handler-ENV): Likewise.
25217         (tst-ftell-append-ENV): Likewise.
25218         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25219         (tst-regexloc-ENV): Likewise.
25220         (bug-regex1-ENV): Likewise.
25221         (tst-regex-ENV): Likewise.
25222         (tst-regex2-ENV): Likewise.
25223         (bug-regex5-ENV): Likewise.
25224         (bug-regex6-ENV): Likewise.
25225         (bug-regex17-ENV): Likewise.
25226         (bug-regex18-ENV): Likewise.
25227         (bug-regex19-ENV): Likewise.
25228         (bug-regex20-ENV): Likewise.
25229         (bug-regex22-ENV): Likewise.
25230         (bug-regex23-ENV): Likewise.
25231         (bug-regex25-ENV): Likewise.
25232         (bug-regex26-ENV): Likewise.
25233         (bug-regex30-ENV): Likewise.
25234         (bug-regex32-ENV): Likewise.
25235         (bug-regex33-ENV): Likewise.
25236         (bug-regex34-ENV): Likewise.
25237         (bug-regex35-ENV): Likewise.
25238         (tst-rxspencer-ENV): Likewise.
25239         (tst-rxspencer-no-utf8-ENV): Likewise.
25240         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25241         (tst-sscanf-ENV): Likewise.
25242         (tst-swprintf-ENV): Likewise.
25243         (tst-swscanf-ENV): Likewise.
25244         (test-vfprintf-ENV): Likewise.
25245         (scanf13-ENV): Likewise.
25246         (bug14-ENV): Likewise.
25247         (tst-grouping-ENV): Likewise.
25248         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25249         (tst-strtod3-ENV): Likewise.
25250         (tst-strtod4-ENV): Likewise.
25251         (tst-strtod5-ENV): Likewise.
25252         (testmb2-ENV): Likewise./
25253         * string/Makefile (tst-strxfrm-ENV): Likewise.
25254         (tst-strxfrm2-ENV): Likewise.
25255         (bug-strcoll1-ENV): Likewise.
25256         (test-strcasecmp-ENV): Likewise.
25257         (test-strncasecmp-ENV): Likewise.
25258         * time/Makefile (tst-strptime-ENV): Likewise.
25259         (tst-ftime_l-ENV): Likewise.
25260         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25261         (tst-mbrtowc-ENV): Likewise.
25262         (tst-wcrtomb-ENV): Likewise.
25263         (tst-mbrtowc2-ENV): Likewise.
25264         (tst-c16c32-1-ENV): Likewise.
25265         (tst-mbsnrtowcs-ENV): Likewise.
25267 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25269         * manual/resource.texi (How to get information about the memory
25270         subsystem?): Fix typo.
25271         Reported by Peon de la Parra Ivan <peon@keba.com>
25273 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25275         [BZ #16882]
25276         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25277         (pthread_spin_lock): Branch out of spin loop to proper location.
25278         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25279         (pthread_spin_lock): Likewise.
25281         * nptl/tst-spin4.c: New test.
25282         * nptl/Makefile (tests): Add tst-spin4.
25284 2014-06-03  Andreas Schwab  <schwab@suse.de>
25286         [BZ #15946]
25287         * resolv/res_send.c (send_dg): Reload file descriptor after
25288         calling reopen.
25290 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25292         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25294 2014-06-03  Richard Henderson  <rth@redhat.com>
25296         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25297         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25298         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25299         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25300         in the SAVE_PID block.
25301         (__libc_vfork): New alias.
25302         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25304         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25305         child in registers, not on the stack.  Remove RESET_PID conditionals.
25306         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25308 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25310         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25312 2014-06-03  Wilco  <wdijkstr@arm.com>
25314         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25315         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25316         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25317         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25318         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25319         Likewise.
25321 2014-06-03  Wilco  <wdijkstr@arm.com>
25323         * sysdeps/aarch64/fpu/math_private.h
25324         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25325         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25326         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25327         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25328         Fix declarations.
25330 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25332         * crypt/crypt-private.h: Include ufc-crypt.h.
25333         (__b64_from_24bit): Declare extern.
25334         * crypt/crypt_util.c(__b64_from_24bit): New function.
25335         (b64t): New static const variable.
25336         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25337         (b64t): Remove variable.
25338         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25339         * crypt/sha256-crypt.c: Include crypt-private.h.
25340         (b64t): Remove variable.
25341         (__sha256_crypt_r): Remove b64_from_24bit and replace
25342         with __b64_from_24bit.
25343         * crypt/sha512-crypt.c: Likewise.
25345 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25347         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25348         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25349         Label the code __libc_vfork rather than __vfork.
25350         [!NOT_IN_libc] (vfork): Define as weak alias.
25351         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25352         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25353         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25355 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25357         * malloc/malloc.c (malloc_info): Fix format specifier for
25358         n_mmaps.
25360 2014-06-02  Wilco  <wdijkstr@arm.com>
25362         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25363         FPCR write.
25365 2014-06-02  Wilco  <wdijkstr@arm.com>
25367         [BZ #17009]
25368         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25369         Rewrite to reduce FPCR/FPSR accesses.
25371 2014-06-01  David S. Miller  <davem@davemloft.net>
25373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25375 2014-05-31  David S. Miller  <davem@davemloft.net>
25377         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25378         to occur in round to nearest mode when |x| >= 2.0
25380 2014-05-30  Richard Henderson  <rth@twiddle.net>
25382         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25383         (PSEUDO_RET_NOERRNO): Remove.
25384         (ret): Don't redefine.
25385         (ret_NOERRNO): Define in terms of ret.
25386         (ret_ERRVAL): Likewise.
25388         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25389         use of PSEUDO_RET; perform the error check directly.
25391 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25393         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25394         with __int128_t.
25396 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25398         * malloc/malloc (malloc_info): Fix formatting.
25400 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25401             Roland McGrath  <roland@hack.frob.com>
25403         * malloc/malloc (malloc_info): Also print mmapped statistics.
25405 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25407         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25408         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25410 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25412         * malloc/malloc.c (malloc_info): Inline mi_arena.
25414 2014-05-29  Richard Henderson  <rth@twiddle.net>
25416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25417         Remove comma before expanding ASM_ARGS_##nr.
25418         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25419         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25420         of ASM_ARGS_##nr.
25421         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25422         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25423         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25424         (ASM_ARGS_1): Add leading comma.
25426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25427         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25428         to __errno_location.
25429         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25430         Remove the expected plt for __errno_location.
25432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25433         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25434         call to __read_tp.
25436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25437         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25438         it and break it down.
25439         (DOCARGS_0, DOCARGS_1): Do nothing.
25440         (DOCARGS_2): Update to store into the new stack frame.
25441         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25442         (UNDOCARGS_1): Update to restore from the new stack frame.
25443         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25444         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25447         (SINGLE_THREAD_P): New parameter for result regno.
25448         (PSEUDO): Update to match; use cbz instead of beq.
25450         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25451         Use ENTRY to define the _nocancel entry point.  Share the syscall
25452         and syscall error check paths with the cancel path.
25453         (PSEUDO_END): New.
25455         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25456         whitespace; tabs before and after asm mnemonics.
25458 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25460         [BZ #15132]
25461         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25462         Call fstat64 or stat64 internally, depending on arguments passed.
25463         Replace stat buffer argument with file descriptor argument.
25464         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25465         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25466         Pass fd to __internal_statvfs instead of calling fstat64.
25467         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25468         Pass fd to __internal_statvfs64 instead of calling fstat64.
25469         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25470         Pass -1 to __internal_statvfs instead of calling stat64.
25471         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25472         Pass -1 to __internal_statvfs64 instead of calling stat64.
25474 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25476         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25477         that was previously under [RESET_PID].
25478         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25480         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25481         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25483 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25485         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25487         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25488         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25490 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25492         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25494 2014-05-27  Andreas Schwab  <schwab@suse.de>
25496         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25497         TLS_INIT_TP macro.
25498         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25499         * elf/rtld.c (init_tls, dl_main): Likewise.
25500         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25501         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25502         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25503         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25504         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25505         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25506         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25507         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25508         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25509         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25510         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25511         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25512         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25513         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25514         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25515         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25516         * sysdeps/generic/tls.h: Update description.
25518 2014-05-27  Will Newton  <will.newton@linaro.org>
25520         [BZ #16990]
25521         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25522         and restore r2 rather than just restoring.
25524 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25526         [BZ #16724]
25527         * libio/tst-ftell-append.c: New test case.
25528         * libio/Makefile (tests): Add test case.
25529         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25530         append mode.
25531         * libio/wfileops.c (do_ftell_wide): Likewise.
25533 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25537         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25538         ...
25539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25541         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25542         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25543         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25544         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25545         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25546         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25548         Moved ...
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25551         Moved ...
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25553         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25554         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25555         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25556         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25558         ...
25559         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25560         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25561         Moved ...
25562         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25563         here.
25564         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25565         ...
25566         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25567         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25568         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25571         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25573         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25576         merge into ...
25577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25579         ...
25580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25582         ...
25583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25585         Moved ...
25586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25587         here.
25588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25589         Moved ...
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25592         Moved ...
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25596         conditional [RESET_PID].
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25599         removed.
25600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25601         removed.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25604         <tcb-offsets.h>.
25605         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25606         (__libc_vfork): New strong alias.
25607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25608         removed.
25609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25610         Removed.
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25613         <tcb-offsets.h>.
25614         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25615         (__libc_vfork): New strong alias.
25616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25617         removed.
25618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25619         removed.
25621 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25623         * malloc/malloc.c (mi_arena): New function.
25624         (malloc_info): Remove nested function mi_arena. Call non-nosted
25625         function mi_arena.
25627 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25629         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25630         by insrwi.
25631         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25632         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25633         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25634         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25635         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25636         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25637         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25639 2014-05-26  Andreas Schwab  <schwab@suse.de>
25641         [BZ #16984]
25642         * locale/programs/repertoire.c (repertoire_read): Add slash
25643         between I18NPATH element and file name.
25644         * locale/programs/locfile.c (locfile_read): Likewise.
25646 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25648         * nptl/pthread_mutexattr_settype.c
25649         (__pthread_mutexattr_settype):
25650         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25652 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25654         * nptl/tst-mutex5 (do_test):
25655         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25657 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25659         * benchtests/README: Document 'init' directive.
25660         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25661         BENCH_INIT.
25662         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25663         (parse_file): Recognize 'init' directive.
25665 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25667         [BZ #16796]
25668         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25669         alignment of struct pthread.
25671 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25673         [BZ #16878]
25674         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25675         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25676         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25677         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25679 2014-05-25  Richard Henderson  <rth@twiddle.net>
25681         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25682         (SINGLE_THREAD_P_PIC): Remove.
25683         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25684         (SINGLE_THREAD_P_PIC): Remove.
25686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25687         branch to syscall error ...
25688         (PSEUDO): ... here.
25689         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25690         from __local_syscall_error to .Lsyscall_error.
25691         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25692         (SYSCALL_ERROR): Update label name.
25694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25695         Do not use DOARGS/UNDOARGS.
25696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25697         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25698         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25699         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25700         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25703         block comment.
25705         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25706         define if !NOT_IN_libc.
25707         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25708         define with non-default symbol versions.
25710 2014-05-23  Richard Henderson  <rth@twiddle.net>
25712         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25713         (vfork, __vfork): Define via compat_symbol.
25715         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25716         [!HAVE_IFUNC] (vfork_compat): Remove.
25717         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25719 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25721         [BZ #16978]
25722         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25723         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25724         variable.
25726 2014-05-23  Richard Henderson  <rth@twiddle.net>
25728         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25729         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25730         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25731         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25733         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25734         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25735         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25736         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25737         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25738         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25739         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25740         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25741         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25742         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25743         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25744         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25745         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25746         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25747         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25748         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25749         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25750         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25751         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25752         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25753         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25754         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25755         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25756         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25757         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25758         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25759         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25760         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25761         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25762         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25763         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25764         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25765         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25766         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25767         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25768         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25769         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25770         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25771         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25772         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25773         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25774         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25775         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25776         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25777         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25778         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25779         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25780         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25782         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25784         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25786         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25788         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25790         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25791         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25792         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25793         before exiting on error.
25794         (__libc_vfork): New strong alias.
25795         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25796         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25798         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25799         that was previously under [RESET_PID].
25800         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25802         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25804 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25806         [BZ #16977]
25807         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25808         value when x - 1 is zero.
25809         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25810         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25811         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25812         0.0L for an argument of 1.0L.
25813         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25814         Likewise.
25815         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25816         value when x - 1 is zero.
25817         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25818         * sysdeps/i386/fpu/libm-test-ulps: Update.
25819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25821 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25823         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25824         alphasort and versionsort.
25826 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25828         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25829         macro.
25830         [copysignf]: Likewise.
25832 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25834         * crypt/md5-crypt.c: Fix formatting.
25836 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25838         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25839         (b64_from_24bit): New function.
25841 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25844         libc_hidden_builtin_def to ifunc.
25845         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25846         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25848 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25850         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25851         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25853 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25855         * nscd/Depend (linuxthreads): Remove.
25856         (nptl): Add.
25857         * resolv/Depend (linuxthreads): Remove.
25858         * rt/Depend (linuxthreads): Remove.
25860         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25861         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25862         $(common-objpfx)elf/.
25863         (link-libc-before-gnulib): Likewise.
25864         (elfobjdir): Remove variable.
25865         * Makefile (install): Use $(elf-objpfx) instead of
25866         $(common-objpfx)elf/.
25867         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25868         $(elfobjdir)/.
25869         (link-libc-deps): Likewise.
25870         ($(common-objpfx)libc.so): Likewise.
25871         ($(common-objpfx)linkobj/libc.so): Likewise.
25872         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25873         instead of $(common-objpfx)elf/.
25874         (symbolic-link-list): Likewise.
25875         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25876         [$(cross-compiling) = no]: Likewise.
25877         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25878         $(elfobjdir)/.
25879         (static-gnulib-arch): Likewise.
25880         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25881         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25882         $(common-objpfx)elf/.
25884 2014-05-21  Richard Henderson  <rth@redhat.com>
25886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25887         (SINGLE_THREAD_P): Use the correct width load.  Fold
25888         into the ldr offset.
25890         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25891         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25893 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25895         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25896         (libgcc_s_resume): Use __attribute_used__.
25897         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25898         Likewise.
25900 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25902         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25903         optimization when used with float constants.
25905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25907 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25909         [BZ #16915]
25910         * locale/nl_langinfo_l.c: Make direct reference to every
25911         _nl_current_CATEGORY symbol.
25912         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25913         (tests-static): Add tst-langinfo-static.
25914         (tests-special): Add tst-langinfo-static.out.
25915         ($(objpfx)tst-langinfo.out): Redirect output.
25916         ($(objpfx)tst-langinfo-static.out): New.
25917         * localedata/tst-langinfo.sh: Send output to stdout.
25918         * localedata/tst-langinfo-static.c: New file.
25920         [BZ #16965]
25921         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25922         when the shift amount is modulo the limb size.
25924 2014-05-20  Richard Henderson  <rth@redhat.com>
25926         [BZ #16967]
25927         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25928         Change type of sa_flags from unsigned int to int.
25930         [BZ #16966]
25931         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25933         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25935 2014-05-20  Will Newton  <will.newton@linaro.org>
25937         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25938         Test the return value of the system call in the nocancel case.
25940 2014-05-20  Will Newton  <will.newton@linaro.org>
25941             Yvan Roux  <yvan.roux@linaro.org>
25943         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25944         #include of asm/ptrace.h.
25945         (PTRACE_GET_THREAD_AREA): Remove #undef.
25946         (PTRACE_GETHBPREGS): Likewise.
25947         (PTRACE_SETHBPREGS): Likewise.
25948         (struct user_regs_struct): New structure.
25949         (struct user_fpsimd_struct): New structure.
25950         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25951         #include of asm/ptrace.h and second #include of sys/user.h.
25952         (PTRACE_GET_THREAD_AREA): Remove #undef.
25953         (PTRACE_GETHBPREGS): Likewise.
25954         (PTRACE_SETHBPREGS): Likewise.
25955         (ELF_NGREG): Use new struct user_regs_struct.
25956         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25958 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25963 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25965         [BZ #16958]
25966         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25967         membar to avoid block loads/stores to overlap previous stores.
25969 2014-05-17  Richard Henderson  <rth@redhat.com>
25971         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25972         Create the __##syscall_name##_nocancel entry point.
25973         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25974         Remove; let the sysdep-cancel.h code create it.
25976 2014-05-17  David S. Miller  <davem@davemloft.net>
25978         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25979         Protect with __USE_GNU.
25980         (TIOCSET_TEMPT): Likewise.
25981         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25982         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25983         these are already provided in bits/ioctl-types.h
25985 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25987         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25988         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25990         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25991         Use wait4 regardless of [__NR_waitpid].
25993 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25995         PR libgcc/60166
25996         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25997         (_FP_NANSIGN_Q): Set the quiet bit.
25999 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26001         * benchtests/Makefile
26002         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26003         not $(common-objpfx)math/libm.so.
26004         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26005         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26006         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26007         $(common-objpfx)dlfcn/libdl.so.
26008         ($(objpfx)tst-audit8): Depend on $(libm), not
26009         $(common-objpfx)math/libm.so.
26010         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26011         not $(common-objpfx)dlfcn/libdl.so.
26012         * math/Makefile
26013         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26014         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26015         [$(build-shared) = yes].
26016         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26017         $(common-objpfx)nptl/libpthread.so.
26018         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26019         $(common-objpfx)math/libm.so$(libm.so-version) or
26020         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26021         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26022         $(common-objpfx)dlfcn/libdl.so.
26023         * setjmp/Makefile (link-libm): Remove variable.
26024         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26025         * stdio-common/Makefile (link-libm): Remove variable.
26026         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26027         * stdlib/Makefile (link-libm): Remove variable.
26028         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26029         ($(objpfx)tst-strtod-round): Likewise.
26030         ($(objpfx)tst-tininess): Likewise.
26031         ($(objpfx)tst-strtod-underflow): Likewise.
26032         ($(objpfx)tst-strtod6): Likewise.
26033         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26034         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26035         $(common-objpfx)dlfcn/libdl.so.
26037 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26039         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26040         BSD terminal modes definitions.
26042 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26044         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26045         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26047         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26048         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26049         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26050         Don't do #include_next.
26051         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26052         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26053         Don't do #include_next.
26054         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26055         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26056         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26057         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26059 2014-05-16  Allan McRae  <allan@archlinux.org>
26061         * po/sv.po: Update Swedish translation from translation project.
26063         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26064         in sed expression.
26066 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26068         [BZ #16917]
26069         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26070         errno if the TIOCGPTN ioctl fails with an error different than
26071         EINVAL.
26072         * login/tst-ptsname.c: New file.
26073         * login/Makefile (tests): Add tst-ptsname.
26075         [BZ #16943]
26076         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26077         and prlimit64.
26079 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26081         [BZ #16849]
26082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26083         herrno to return EAI_AGAIN.
26085 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26087         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26088         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26089         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26090         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26091         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26092         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26093         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26094         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26095         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26096         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26097         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26098         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26099         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26100         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26101         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26102         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26103         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26104         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26105         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26106         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26107         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26108         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26109         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26110         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26111         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26112         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26113         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26114         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26115         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26116         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26118         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26120         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26122         Moved ...
26123         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26125         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26127         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26129         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26131         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26133         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26135         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26137         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26139         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26141         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26143         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26145         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26147         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26149         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26151         Moved ...
26152         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26154         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26156         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26158         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26160         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26162         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26164         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26166         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26168         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26170         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26172         Moved ...
26173         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26175         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26177         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26178         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26179         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26180         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26181         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26182         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26183         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26184         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26185         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26186         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26187         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26188         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26189         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26190         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26191         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26192         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26193         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26194         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26195         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26196         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26197         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26198         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26199         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26200         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26201         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26202         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26203         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26204         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26205         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26206         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26207         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26209         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26210         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26212         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26213         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26214         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26216         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26217         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26218         Moved ...
26219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26221         Moved ...
26222         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26223         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26224         Moved ...
26225         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26227         Moved ...
26228         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26229         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26230         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26232         Moved ...
26233         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26234         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26235         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26237         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26239         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26240         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26241         Moved ...
26242         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26244         Moved ...
26245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26246         ... here.
26247         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26248         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26249         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26250         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26252         Moved ...
26253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26254         ... here.
26255         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26256         Moved ...
26257         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26258         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26259         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26261         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26262         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26263         Moved ...
26264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26266         Moved ...
26267         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26268         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26269         Moved ...
26270         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26272         Moved ...
26273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26274         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26275         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26277         Moved ...
26278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26279         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26280         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26282         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26283         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26284         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26285         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26286         Moved ...
26287         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26289         Moved ...
26290         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26291         ... here.
26292         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26293         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26294         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26295         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26299         ... here.
26300         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26301         Moved ...
26302         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26303         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26304         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26305         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26306         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26310         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26312         Moved ...
26313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26315         Moved ...
26316         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26318         Moved ...
26319         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26321         Moved ...
26322         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26323         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26324         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26325         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26326         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26328         Moved ...
26329         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26331         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26332         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26333         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26335         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26337         Moved ...
26338         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26340         Moved ...
26341         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26342         ... here.
26343         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26344         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26346         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26348         Moved ...
26349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26350         ... here.
26351         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26352         Moved ...
26353         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26355         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26356         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26357         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26358         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26359         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26360         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26361         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26362         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26363         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26365         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26366         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26368         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26369         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26371         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26372         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26373         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26374         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26375         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26376         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26377         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26378         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26379         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26381         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26382         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26383         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26385         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26387         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26394         Moved ...
26395         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26399         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26401         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26403         Moved ...
26404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26406         Moved ...
26407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26413         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26414         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26415         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26416         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26417         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26418         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26419         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26420         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26421         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26422         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26423         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26425         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26426         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26427         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26428         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26429         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26431         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26432         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26433         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26434         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26435         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26436         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26437         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26438         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26439         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26440         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26442         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26443         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26445         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26446         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26447         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26448         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26449         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26450         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26451         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26452         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26453         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26454         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26455         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26456         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26457         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26458         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26460         Update #include.
26461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26462         Likewise.
26463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26464         Likewise.
26465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26466         Likewise.
26467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26468         Likewise.
26469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26470         Likewise.
26471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26472         Likewise.
26473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26474         Likewise.
26475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26476         Likewise.
26477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26478         Likewise.
26479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26484         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26490         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26495         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26496         that was previously under [RESET_PID].
26497         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26498         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26499         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26501         * sysdeps/i386/nptl/Implies: New file.
26502         * sysdeps/x86_64/nptl/Implies: New file.
26503         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26504         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26505         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26506         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26508         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26509         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26510         (__libc_vfork): New strong alias.
26511         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26512         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26514         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26515         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26516         (__libc_vfork): New strong alias.
26517         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26518         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26520         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26521         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26522         (__libc_vfork): New strong alias.
26523         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26524         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26525         * nptl/pt-vfork.c: New file.
26526         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26527         (libpthread: GLIBC_2.20): New version set (empty).
26529 2014-05-14  Will Newton  <will.newton@linaro.org>
26531         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26532         rather than #if.
26534 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26536         [BZ #16564]
26537         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26538         arguments with exponent 65 or above.
26539         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26540         arguments 0x1p113L or above.
26541         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26542         to arguments 0x1p107L or above.
26543         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26544         positive arguments with exponent 65 or above.
26545         * math/auto-libm-test-in: Add more tests of log1p.
26546         * math/auto-libm-test-out: Regenerated.
26548         [BZ #16928]
26549         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26550         non-finite arguments is +0.
26551         * math/s_cacosf.c (__cacosf): Likewise.
26552         * math/s_cacosl.c (__cacosl): Likewise.
26553         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26554         * sysdeps/i386/fpu/libm-test-ulps: Update.
26555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26557         [BZ #16927]
26558         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26559         value.
26560         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26561         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26562         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26563         for explicit high bit of mantissa when testing for argument equal
26564         to 1.
26565         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26566         * sysdeps/i386/fpu/libm-test-ulps: Update.
26567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26569         [BZ #16516]
26570         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26571         (__erf): Scale by 16 instead of 8 in potentially underflowing
26572         case.  Ensure exception if result actually underflows.
26573         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26574         (__erff): Scale by 16 instead of 8 in potentially underflowing
26575         case.  Ensure exception if result actually underflows.
26576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26577         (efx8): Remove variable.
26578         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26579         case.  Ensure exception if result actually underflows.
26580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26581         (efx8): Remove variable.
26582         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26583         case.  Ensure exception if result actually underflows.
26584         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26585         (efx8): Remove variable.
26586         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26587         case.  Ensure exception if result actually underflows.
26588         * math/auto-libm-test-in: Add more tests of erf.
26589         * math/auto-libm-test-out: Regenerated.
26591 2014-05-14  Andreas Schwab  <schwab@suse.de>
26593         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26594         Remove code conditionalized on USE___THREAD.
26596         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26597         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26598         not definedness.
26600 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26603         Define unconditionally.
26604         (__ASSUME_O_CLOEXEC): Likewise.
26605         (__ASSUME_SOCK_CLOEXEC): Likewise.
26606         (__ASSUME_IN_NONBLOCK): Likewise.
26607         (__ASSUME_PIPE2): Likewise.
26608         (__ASSUME_EVENTFD2): Likewise.
26609         (__ASSUME_SIGNALFD4): Likewise.
26610         (__ASSUME_DUP3): Likewise.
26611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26612         (__ASSUME_DUP3): Do not define.
26613         (__ASSUME_EVENTFD2): Likewise.
26614         (__ASSUME_IN_NONBLOCK): Likewise.
26615         (__ASSUME_O_CLOEXEC): Likewise.
26616         (__ASSUME_PIPE2): Likewise.
26617         (__ASSUME_SIGNALFD4): Likewise.
26618         (__ASSUME_SOCK_CLOEXEC): Likewise.
26619         (__ASSUME_UTIMES): Undefine.
26620         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26621         (__ASSUME_UTIMES): Do not define.
26622         (__ASSUME_O_CLOEXEC): Likewise.
26623         (__ASSUME_SOCK_CLOEXEC): Likewise.
26624         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26625         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26626         0x020621].
26627         (__ASSUME_PIPE2): Likewise.
26628         (__ASSUME_EVENTFD2): Likewise.
26629         (__ASSUME_SIGNALFD4): Likewise.
26630         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26631         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26632         Do not define.
26633         (__ASSUME_EVENTFD2): Likewise.
26634         (__ASSUME_SIGNALFD4): Likewise.
26635         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26636         (__ASSUME_32BITUIDS): Likewise.
26637         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26638         (__ASSUME_IPC64): Likewise.
26639         (__ASSUME_ST_INO_64_BIT): Likewise.
26640         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26641         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26642         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26643         (__ASSUME_UTIMES): Do not define.
26644         (__ASSUME_PSELECT): Likewise.
26645         (__ASSUME_PPOLL): Likewise.
26646         (__ASSUME_O_CLOEXEC): Likewise.
26647         (__ASSUME_SOCK_CLOEXEC): Likewise.
26648         (__ASSUME_IN_NONBLOCK): Likewise.
26649         (__ASSUME_PIPE2): Likewise.
26650         (__ASSUME_EVENTFD2): Likewise.
26651         (__ASSUME_SIGNALFD4): Likewise.
26652         (__ASSUME_DUP3): Likewise.
26653         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26654         (__ASSUME_UTIMES): Likewise.
26655         (__ASSUME_O_CLOEXEC): Likewise.
26656         (__ASSUME_SOCK_CLOEXEC): Likewise.
26657         (__ASSUME_IN_NONBLOCK): Likewise.
26658         (__ASSUME_PIPE2): Likewise.
26659         (__ASSUME_EVENTFD2): Likewise.
26660         (__ASSUME_SIGNALFD4): Likewise.
26661         (__ASSUME_DUP3): Likewise.
26662         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26663         (__ASSUME_UTIMES): Likewise.
26664         (__ASSUME_O_CLOEXEC): Likewise.
26665         (__ASSUME_SOCK_CLOEXEC): Likewise.
26666         (__ASSUME_IN_NONBLOCK): Likewise.
26667         (__ASSUME_PIPE2): Likewise.
26668         (__ASSUME_EVENTFD2): Likewise.
26669         (__ASSUME_SIGNALFD4): Likewise.
26670         (__ASSUME_DUP3): Likewise.
26671         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26672         Likewise.
26673         (__ASSUME_UTIMES): Likewise.
26674         (__ASSUME_EVENTFD2): Likewise.
26675         (__ASSUME_SIGNALFD4): Likewise.
26676         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26677         (__ASSUME_O_CLOEXEC): Likewise.
26678         (__ASSUME_SOCK_CLOEXEC): Likewise.
26679         (__ASSUME_IN_NONBLOCK): Likewise.
26680         (__ASSUME_PIPE2): Likewise.
26681         (__ASSUME_EVENTFD2): Likewise.
26682         (__ASSUME_SIGNALFD4): Likewise.
26683         (__ASSUME_DUP3): Likewise.
26684         (__ASSUME_UTIMES): Undefine.
26686         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26687         feclearexcept.  Remove symbol versioning code.
26688         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26689         symbol versioning code.
26690         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26691         symbol versioning code.
26692         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26693         feupdateenv.  Remove symbol versioning code.
26694         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26695         fegetexceptflag.  Remove symbol versioning code.
26696         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26697         fesetexceptflag.  Remove symbol versioning code.
26698         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26699         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26700         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26701         (__posix_fadvise64_l32): Remove prototype.
26702         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26703         code.
26705 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26707         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26708         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26709         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26710         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26712 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26714         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26715         current working directory
26717 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26719         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26720         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26721         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26722         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26723         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26724         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26725         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26726         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26727         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26728         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26729         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26730         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26731         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26732         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26733         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26734         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26735         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26736         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26737         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26738         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26739         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26740         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26741         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26742         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26752         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26753         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26754         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26755         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26756         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26757         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26758         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26759         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26760         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26762         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26763         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26765         * sysdeps/unix/sysv/linux/arm/Makefile
26766         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26767         Add rt-aeabi_unwind_cpp_pr1.
26768         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26769         Add nptl-aeabi_unwind_cpp_pr1.
26770         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26771         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26772         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26773         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26774         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26775         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26777         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26778         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26779         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26780         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26782         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26783         Deconditionalize the code that was previously under [RESET_PID].
26784         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26786         * sysdeps/generic/exit-thread.h: New file.
26787         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26788         * include/unistd.h (__exit_thread): Remove declaration.
26789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26790         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26791         * csu/libc-start.c: Include <exit-thread.h>.
26792         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26793         * nptl/pthread_create.c: Include <exit-thread.h>.
26794         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26795         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26796         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26797         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26798         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26799         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26800         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26801         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26802         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26803         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26804         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26805         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26806         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26807         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26808         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26809         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26810         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26812 2014-05-13  Andreas Schwab  <schwab@suse.de>
26814         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26816 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26818         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26819         (__ASSUME_UTIMES): Do not condition on kernel version.
26820         (__ASSUME_PSELECT): Define unconditionally.
26821         (__ASSUME_PPOLL): Likewise.
26822         (__ASSUME_ATFCTS): Likewise.
26823         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26824         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26825         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26826         (__ASSUME_UTIMENSAT): Define unconditionally.
26827         (__ASSUME_PRIVATE_FUTEX): Likewise.
26828         (__ASSUME_FALLOCATE): Likewise.
26829         (__ASSUME_O_CLOEXEC): Likewise.
26830         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26831         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26832         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26833         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26834         (__ASSUME_IN_NONBLOCK): Likewise.
26835         (__ASSUME_PIPE2): Likewise.
26836         (__ASSUME_EVENTFD2): Likewise.
26837         (__ASSUME_SIGNALFD4): Likewise.
26838         (__ASSUME_DUP3): Likewise.
26839         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26840         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26841         (__ASSUME_AT_RANDOM): Likewise.
26842         (__ASSUME_PREADV): Likewise.
26843         (__ASSUME_PWRITEV): Likewise.
26844         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26845         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26846         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26847         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26848         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26849         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26850         (__ASSUME_O_CLOEXEC): Define unconditionally.
26851         (__ASSUME_PSELECT): Do not undefine conditionally.
26852         (__ASSUME_PPOLL): Likewise.
26853         (__ASSUME_ATFCTS): Likewise.
26854         (__ASSUME_SET_ROBUST_LIST): Likewise.
26855         (__ASSUME_UTIMENSAT): Likewise.
26856         (__ASSUME_FDATASYNC): Define unconditionally.
26857         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26858         (__ASSUME_SIGFRAME_V2): Likewise.
26859         )__ASSUME_EVENTFD2): Likewise.
26860         (__ASSUME_SIGNALFD4): Likewise.
26861         (__ASSUME_PSELECT): Do not undefine conditionally.
26862         (__ASSUME_PPOLL): Likewise.
26863         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26864         (__ASSUME_PSELECT): Define unconditionally.
26865         (__ASSUME_PPOLL): Likewise.
26866         (__ASSUME_O_CLOEXEC): Likewise.
26867         (__ASSUME_SOCK_CLOEXEC): Likewise.
26868         (__ASSUME_IN_NONBLOCK): Likewise.
26869         (__ASSUME_PIPE2): Likewise.
26870         (__ASSUME_EVENTFD2): Likewise.
26871         (__ASSUME_SIGNALFD4): Likewise.
26872         (__ASSUME_DUP3): Likewise.
26873         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26874         (__ASSUME_O_CLOEXEC): Likewise.
26875         (__ASSUME_SOCK_CLOEXEC): Likewise.
26876         (__ASSUME_IN_NONBLOCK): Likewise.
26877         (__ASSUME_PIPE2): Likewise.
26878         (__ASSUME_EVENTFD2): Likewise.
26879         (__ASSUME_SIGNALFD4): Likewise.
26880         (__ASSUME_DUP3): Likewise.
26881         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26882         (__ASSUME_EVENTFD2): Likewise.
26883         (__ASSUME_SIGNALFD4): Likewise.
26884         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26886 2014-05-12  Andreas Schwab  <schwab@suse.de>
26888         [BZ #16932]
26889         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26890         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26891         than maximum RPC packet size.
26892         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26893         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26894         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26895         (_nss_nis_getservbyport_r): Likewise.
26897 2014-05-12  Will Newton  <will.newton@linaro.org>
26899         * malloc/Makefile (tests): Add tst-mallopt.
26900         * malloc/tst-mallopt.c: New file.
26902 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26904         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26905         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26907 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26909         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26910         (tst-tlsmod6.so): Likewise.
26912 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26914         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26916 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26918         [BZ #16064]
26919         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26920         and <dl-procinfo.h>.
26921         (__fegetenv): Save SSE state in envp->__eip if supported.
26922         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26923         envp->__eip if supported.
26924         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26925         and <dl-procinfo.h>.
26926         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26927         __data_offset and __data_selector in environment to 0.  Set SSE
26928         state if supported.
26929         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26930         test-fenv-sse.
26931         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26932         -mfpmath=sse.
26933         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26935 2014-05-09  Will Newton  <will.newton@linaro.org>
26937         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26938         and libc_relro_required for ARM.
26939         * sysdeps/arm/preconfigure: Regenerate.
26941 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26942             Stefan Liebler  <stli@linux.vnet.ibm.com>
26944         * config.make.in (enable-lock-elision): New Makefile variable.
26945         * configure.ac: Likewise.
26946         * configure: Regenerate.
26947         * sysdeps/s390/configure.ac:
26948         Add check for gcc transactions support.
26949         * sysdeps/s390/configure: Regenerate.
26950         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26951         Build elision files if enabled.
26952         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26953         Add lock elision support for s390.
26954         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26955         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26956         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26957         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26958         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26959         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26960         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26961         Likewise.
26962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26963         Likewise.
26964         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26965         Likewise.
26966         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26967         Likewise.
26968         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26969         (__lll_timedlock_elision, __lll_lock_elision)
26970         (__lll_unlock_elision, __lll_trylock_elision)
26971         (lll_timedlock_elision, lll_lock_elision)
26972         (lll_unlock_elision, lll_trylock_elision): Add.
26973         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26974         (pthread_mutex_t): Add lock elision support for s390.
26976 2014-05-14  Wilco  <wdijkstr@arm.com>
26978         * sysdeps/arm/fclrexcpt.c: Cleanup.
26979         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26980         * sysdeps/arm/feenablxcpt.c: Cleanup.
26981         * sysdeps/arm/fegetenv.c: Cleanup.
26982         * sysdeps/arm/fegetexcept.c: Cleanup.
26983         * sysdeps/arm/fegetround.c: Cleanup.
26984         * sysdeps/arm/feholdexcpt.c: Cleanup.
26985         * sysdeps/arm/fesetenv.c: Cleanup.
26986         * sysdeps/arm/fesetround.c: Cleanup.
26987         * sysdeps/arm/feupdateenv.c: Cleanup.
26988         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26989         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26990         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26991         * sysdeps/arm/ftestexcept.c: Cleanup.
26992         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26993         * sysdeps/arm/setfpucw.c: Cleanup.
26995 2014-05-09  Will Newton  <will.newton@linaro.org>
26997         * sysdeps/arm/armv7/strcmp.S: New file.
26998         * NEWS: Mention addition of ARMv7 optimized strcmp.
27000 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27002         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27003         look for %.ac rather than %.in.
27005         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27006         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27007         * sysdeps/mach/hurd/configure: Regenerated.
27008         * sysdeps/unix/sysv/linux/configure: Regenerated.
27010         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27012 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27014         [BZ# 16922]
27015         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27016         (LONG_SUB): Ditto.
27017         (PTR_SUB): Ditto.
27019 2014-05-07  Andreas Schwab  <schwab@suse.de>
27021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27022         when skipping over non-matching result from nscd.
27024 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27026         [BZ #16876]
27027         * nptl/sockperf.c (client): Check socket return value.
27029         [BZ #16877]
27030         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27031         nscd security class.
27033 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27035         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27036         * sysdeps/arm/unwind.h: ... here.
27038 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27040         [BZ# 16916]
27041         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27042         Define.
27044 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27046         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27047         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27048         multiarch strncpy for PPC64.
27049         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27050         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27052         multiarch optimizations.
27053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27054         (__libc_ifunc_impl_list): Likewise.
27055         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27056         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27057         multiarch stpncpy for PPC64.
27058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27059         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27061 2014-05-06  Andreas Schwab  <schwab@suse.de>
27063         [BZ #16912]
27064         * gmon/mcount.c (_MCOUNT_DECL): Use
27065         atomic_compare_and_exchange_bool_acq instead of
27066         catomic_compare_and_exchange_bool_acq.
27068 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27070         * elf/Makefile (others, install-bin): Remove pldd.
27071         (pldd-modules): Variable removed.
27072         ($(objpfx)pldd): Target removed.
27073         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27074         (others, install-bin): Append pldd here.
27075         ($(objpfx)pldd): New target.
27077         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27078         to 0, so the first #if test emitted later doesn't see it undefined.
27079         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27080         * sysdeps/gnu/errlist.c: Regenerated.
27082 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27084         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27085         [libc_hidden_builtin_def]: Define to empty value.
27086         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27087         [libc_hidden_builtin_def]: Likewise.
27088         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27089         [libc_hidden_builtin_def]: Likewise.
27090         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27091         [libc_hidden_builtin_def]: Likewise.
27092         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27093         __redirect_memcpy and define ifunc as default hidden symbol.
27094         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27095         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27097 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27099         * locale/iso-4217.def: Reintroduce XDR currency.
27101 2014-05-04  Allan McRae  <allan@archlinux.org>
27103         * po/eo.po: Update Esperanto translation from translation project.
27105 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27107         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27108         and FEATURE_INDEX_MAX to 1.
27109         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27111 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27113         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27114         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27115         * iconvdata/big5.c (ONE_DIRECTION): Define.
27116         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27117         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27118         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27119         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27120         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27121         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27122         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27123         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27124         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27125         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27126         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27127         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27128         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27129         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27130         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27131         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27132         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27133         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27134         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27135         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27136         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27137         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27138         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27139         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27140         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27141         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27142         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27143         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27144         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27145         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27146         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27147         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27148         * iconvdata/johab.c (ONE_DIRECTION): Define.
27149         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27150         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27151         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27152         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27153         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27154         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27155         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27156         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27157         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27158         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27160 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27162         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27163         (_IO_JUMPS_OFFSET): Define to 0.
27165         * nptl/sysdeps/pthread/bits/libc-lock.h
27166         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27167         (__libc_lock_define_initialized_recursive): Always define using
27168         initializer.  Modern compilers treat uninitialized (implicit zero) and
27169         explicit zero initializers the same (i.e. put the datum in bss).
27171 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27173         * nscd/nscd-client.h: Include <string.h>.
27175 2014-05-01  David S. Miller  <davem@davemloft.net>
27177         [BZ #16885]
27178         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27179         multiple zero bytes exist at the end of a string.
27180         Reported by Aurelien Jarno <aurelien@aurel32.net>
27182         * string/test-strcmp.c (check): Add explicit test for situations where
27183         there are multiple zero bytes after the first.
27185 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27187         [BZ #16890]
27188         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27189         when compiling wprintf.
27190         * stdio-common/tstdiomisc.c (t3): New function.
27191         (main): Call it.
27193 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27195         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27196         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27197         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27198         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27200 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27202         * stdlib/longlong.h: Updated from GCC.
27204 2014-05-01  Will Newton  <will.newton@linaro.org>
27205             Bernard Ogden  <bernie.ogden@linaro.org>
27207         * NEWS: Update fixed bug list.
27209         [BZ #15119]
27210         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27212 2014-04-30  David S. Miller  <davem@davemloft.net>
27214         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27215         (libc_feholdexcept_setround_sparc_ctx): New function.
27216         (libc_fesetenv_sparc_ctx): Likewise.
27217         (libc_feupdateenv_sparc_ctx): Likewise.
27218         (libc_feholdsetround_sparc_ctx): Likewise.
27219         (libc_feholdexcept_setround_ctx): Define.
27220         (libc_feholdexcept_setroundf_ctx): Likewise.
27221         (libc_feholdexcept_setroundl_ctx): Likewise.
27222         (libc_fesetenv_ctx): Likewise.
27223         (libc_fesetenvf_ctx): Likewise.
27224         (libc_fesetenvl_ctx): Likewise.
27225         (libc_feupdateenv_ctx): Likewise.
27226         (libc_feupdateenvf_ctx): Likewise.
27227         (libc_feupdateenvl_ctx): Likewise.
27228         (libc_feresetround_ctx): Likewise.
27229         (libc_feresetroundf_ctx): Likewise.
27230         (libc_feresetroundl_ctx): Likewise.
27231         (libc_feholdsetround_ctx): Likewise.
27232         (libc_feholdsetroundf_ctx): Likewise.
27233         (libc_feholdsetroundl_ctx): Likewise.
27235         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27236         with __USE_GNU instead of XOPEN cpp guards.
27238         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27239         0.
27241         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27242         with XOPEN cpp guards.
27244 2014-04-30  Julian Brown  <julian@codesourcery.com>
27246         [BZ #16888]
27247         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27248         handling.
27250 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27252         [BZ #9894]
27253         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27254         Change to 2.6.32.
27255         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27256         * sysdeps/unix/sysv/linux/configure: Regenerated.
27257         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27258         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27259         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27260         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27261         * README: Update reference to required Linux kernel version.
27262         * manual/install.texi (Linux): Update reference to required Linux
27263         kernel headers version.
27264         * INSTALL: Regenerated.
27266         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27267         header inclusion.
27268         [POSIX] (limits.h): Likewise.
27269         [POSIX] (math.h): Likewise.
27270         [POSIX] (sys/wait.h): Likewise.
27271         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27272         function.
27273         [POSIX] (stddef.h): Do not allow header inclusion.
27275 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27277         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27279 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27281         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27282         Return immediately after lll_futex_wake.
27284 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27286         [BZ #16791]
27287         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27288         structure.
27289         (datahead_init_pos): Call datahead_init_common early.
27290         (datahead_init_neg): Likewise.
27292         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27293         datahead_init_neg): New functions.
27294         * nscd/aicache.c (addhstaiX): Use them.
27295         * nscd/grpcache.c (cache_addgr): Likewise.
27296         * nscd/hstcache.c (cache_addhst): Likewise.
27297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27298         * nscd/netgroupcache.c (do_notfound): Likewise.
27299         (addgetnetgrentX): Likewise.
27300         (addinnetgrX): Likewise.
27301         * nscd/pwdcache.c (cache_addpw): Likewise.
27302         * nscd/servicescache.c (cache_addserv): Likewise.
27304 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27305             Atsushi Onoe  <atsushi@onoe.org>
27307         [BZ #14308]
27308         [BZ #12994]
27309         [BZ #13651]
27310         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27311         one response is valid.
27312         * resolv/res_send.c (send_dg): Check for validity of other
27313         response if the current response is a referral.
27315 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27317         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27319 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27321         [BZ #16823]
27322         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27323         Always divide by positive zero when computing -Inf result.
27324         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27325         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27327 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27329         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27330         FPSCR if value do not change.
27331         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27332         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27333         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27334         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27335         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27336         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27337         function.
27339 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27341         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27342         * sysdeps/unix/sysv/linux/hppa: Move directory from
27343         ports/systeps/unix/sysv/linux/hppa.
27344         * README: Update listing for hppa-*-linux-gnu.
27346 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27348         [BZ #16754]
27349         * manual/stdio.texi (Hook functions): Fix types of stream hook
27350         functions.
27351         [BZ #16854]
27352         * socket/sys/socket.h: Fix typo in comment.
27354 2014-04-28  Wilco  <wdijkstr@arm.com>
27356         * sysdeps/arm/fenv_private.h: New file.
27357         * sysdeps/arm/math_private.h: New file.
27358         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27360 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27362         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27363         with __int128_t.
27364         (La_x86_64_retval): Likewise.
27366 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27368         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27369         fpsr if value didn't change.
27370         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27371         to fpcr if value didn't change.
27372         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27373         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27374         fpsr or fpcr if value didn't change.
27375         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27376         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27377         fpcr if value didn't change.
27378         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27379         to fpsr if value didn't change.
27381 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27383         * nptl/tst-sem3.c: Use test-skeleton.c
27384         (main): Rename to do_test.  Use return instead of
27385         exit.
27386         * nptl/tst-sem4.c: Use test-skeleton.c
27387         (main): Rename to do_test.
27389 2014-04-22  David S. Miller  <davem@davemloft.net>
27391         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27392         (struct sigaction): New struct member __glibc_reserved0, change
27393         type of sa_flags to int.
27395 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27397         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27398         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27400 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27402         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27403         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27405 2014-04-22  Will Newton  <will.newton@linaro.org>
27406             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27408         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27409         (__longjmp): Add longjmp and longjmp_target SystemTap
27410         probes.
27411         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27412         (__sigsetjmp): Add setjmp SystemTap probe.
27414 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27416         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27417         match manual order.
27419 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27421         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27423         * sysdeps/powerpc/fpu/fenv_private.h
27424         (libc_feholdexcept_setroundl_ctx): Define to
27425         libc_feholdexcept_setround_ppc_ctx.
27426         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27427         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27428         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27429         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27431 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27433         * sysdeps/aarch64/math-tests.h: New file.
27435 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27437         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27438         New.
27439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27440         Check and set bit_AVX2_Usable.
27441         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27442         macro.
27443         (bit_AVX2): Likewise.
27444         (index_AVX2_Usable): Likewise.
27445         (CPUID_AVX2): Likewise.
27446         (HAS_AVX2): Likewise.
27448 2014-04-17  Will Newton  <will.newton@linaro.org>
27450         * manual/setjmp.texi (System V contexts): Add note that
27451         calling setcontext on a context created by a call to a
27452         signal handler is undefined.  Update text to note that
27453         setcontext from a signal handler is possible but not
27454         recommended.
27456         [BZ #16629]
27457         * stdlib/tst-setcontext.c: Include signal.h.
27458         (main): Check that the signal stack before and
27459         after swapcontext is the same.
27461         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27462         Re-implement to restore registers in user code and avoid
27463         rt_sigreturn system call.
27465 2014-04-17  Wilco  <wdijkstr@arm.com>
27467         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27468         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27469         * math/test-fenv.c: Skip exception trap tests on targets which only
27470         support non-stop mode.
27472 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27473             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27475         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27476         (libc_feholdsetround_aarch64_ctx)
27477         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27478         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27479         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27480         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27481         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27482         (libc_feresetround_noexl_ctx): Define.
27484 2014-04-16  Richard Henderson  <rth@redhat.com>
27486         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27488         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27489         unwind tables.
27491         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27492         const from the non-libc, non-ldso copy.
27494         * sysdeps/alpha/libm-test-ulps: Regenerate.
27496 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27497             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27499         * sysdeps/aarch64/fpu/math_private.h: New file.
27501 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27503         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27505 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27507         [BZ #16275]
27508         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27509         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27511         Intel MPX bound registers before _dl_profile_fixup.
27512         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27513         registers after _dl_profile_fixup.  Save and restore bound
27514         registers bnd0/bnd1 when calling _dl_call_pltexit.
27515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27516         (LR_BND_OFFSET): Likewise.
27517         (LRV_BND0_OFFSET): Likewise.
27518         (LRV_BND1_OFFSET): Likewise.
27520 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27522         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27523         to...
27524         * sysdeps/mach/hurd/i386/tls.h: ... here.
27525         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27526         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27527         fields.
27529 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27531         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27533 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27535         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27537 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27539         [BZ #14770]
27540         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27541         * sysdeps/s390/configure: Regenerate.
27543         [BZ #16824]
27544         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27545         Set round-to-nearest internally to reduce error accumulation.
27547 2014-04-16  Alan Modra  <amodra@gmail.com>
27549         [BZ #16740]
27550         [BZ #16619]
27551         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27552         * math/libm-test.inc (frexp_test_data): Add tests.
27553         * NEWS: Update fixed bug list.
27555 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27557         * benchtests/Makefile: Depend on libraries in build directory.
27558         (bench-math): Separate out math tests.
27559         (bench-pthread): Separate out pthread tests.
27560         (bench): Include math and pthread tests.
27562 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27564         [BZ #16831]
27565         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27566         _dl_debug_initialize.
27568         * configure.ac: Remove SELinux header check.
27569         * configure: Regenerate.
27570         * nscd/selinux.c (perms): Array of const char* to permission names.
27571         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27572         default policy. Call string_to_security_class and string_to_av_perm to
27573         translate strings. Enforce default policy and call avs_has_perm with
27574         results of translated strings.
27576 2014-04-13  David S. Miller  <davem@davemloft.net>
27578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27580 2014-04-12  Allan McRae  <allan@archlinux.org>
27582         [BZ #16838]
27583         * manual/string.texi (Collation Functions): Fix qsort argument
27584         order in example.
27585         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27587 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27589         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27590         Make the test a no-op if there are no exceptions defined.
27592 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27594         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27595         enable-hardcoded-path-in-tests
27597 2014-04-11  Will Newton  <will.newton@linaro.org>
27599         * benchtests/Makefile (extra-objs): Add json-lib.o.
27600         (bench-func): Tidy up JSON output.
27601         * benchtests/bench-skeleton.c: Include json-lib.h.
27602         (main): Use JSON library functions to do output of
27603         benchmark results.
27604         * benchtests/bench-timing-type.c (main): Output the
27605         timing type simply, leaving formatting to the user.
27606         * benchtests/json-lib.c: New file.
27607         * benchtests/json-lib.h: Likewise.
27609 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27611         [BZ #15215]
27612         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27613         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27614         memory barriers.  Add comments.
27615         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27616         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27617         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27618         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27619         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27620         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27622 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27624         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27625         * sysdeps/s390/s390-64/configure.ac: ... this ...
27626         * sysdeps/s390/configure.ac: ... to here.
27627         * sysdeps/s390/s390-32/configure: Delete file.
27628         * sysdeps/s390/s390-64/configure: Delete file.
27629         * sysdeps/s390/configure: Regenerate.
27631 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27633         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27635 2014-04-11  Will Newton  <will.newton@linaro.org>
27637         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27638         to zero if it is not defined elsewhere.  (mtrim): Test
27639         the value of MALLOC_DEBUG with #if rather than #ifdef.
27641 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27643         * benchtests/pthread_once-inputs: New file.
27644         * benchtests/pthread_once-source.c: New file.
27645         * benchtests/README: Update documentation.
27647 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27648             H.J. Lu  <hongjiu.lu@intel.com>
27650         [BZ #16275]
27651         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27652         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27653         * sysdeps/x86_64/configure: Regenerated.
27654         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27655         macro.
27656         (REGISTER_SAVE_RAX): Likewise.
27657         (REGISTER_SAVE_RCX): Likewise.
27658         (REGISTER_SAVE_RDX): Likewise.
27659         (REGISTER_SAVE_RSI): Likewise.
27660         (REGISTER_SAVE_RDI): Likewise.
27661         (REGISTER_SAVE_R8): Likewise.
27662         (REGISTER_SAVE_R9): Likewise.
27663         (REGISTER_SAVE_BND0): Likewise.
27664         (REGISTER_SAVE_BND1): Likewise.
27665         (REGISTER_SAVE_BND2): Likewise.
27666         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27667         bound registers when calling _dl_fixup.
27669 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27671         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27672         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27673         of its definition.
27674         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27675         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27676         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27677         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27678         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27679         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27680         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27682 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27684         [BZ #15514]
27685         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27686         pathconf(_PC_NAME_MAX).
27688 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27690         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27691         Remove macro usage.
27692         (__PTHREAD_SPINS): Move definition to ...
27693         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27694         (__PTHREAD_SPINS): ... here.
27695         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27696         (__PTHREAD_SPIN): Likewise.
27697         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27698         (__PTHREAD_SPIN): Likewise.
27699         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27700         (__PTHREAD_SPIN): Likewise.
27701         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27702         (__PTHREAD_SPIN): Likewise.
27703         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27704         (__PTHREAD_SPIN): Likewise.
27705         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27706         (__PTHREAD_SPIN): Likewise.
27707         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27708         (__PTHREAD_SPIN): Likewise.
27709         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27710         (__PTHREAD_SPIN): Likewise.
27711         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27712         (__PTHREAD_SPIN): Likewise.
27713         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27714         (__PTHREAD_SPIN): Likewise.
27715         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27716         (__PTHREAD_SPIN): Likewise.
27717         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27718         (__PTHREAD_SPIN): Likewise.
27720         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27721         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27722         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27723         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27724         imply folder.
27725         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27726         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27727         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27728         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27729         correct imply path.
27730         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27731         strlen symbol for non multi-arch builds.
27732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27733         missing hidden_def and weak_alias.
27735 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27737         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27739 2014-04-07  Will Newton  <will.newton@linaro.org>
27741         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27742         and contents.  [!_LIBC] Remove #ifndef and contents.
27743         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27744         * string/memccpy.c (__memccpy): Use ANSI prototype.
27745         * string/memfrob.c (memfrob): Likewise.
27746         * string/strcoll.c (STRCOLL): Likewise.
27747         * string/strlen.c (strlen): Likewise.
27748         * string/strtok.c (STRTOK): Likewise.
27749         * string/strcat.c: Remove unused #include of memcopy.h.
27750         (strcat): Use ANSI prototype.
27751         * string/strchr.c: Remove unused #include of memcopy.h.
27752         (strchr): Use ANSI prototype.
27753         * string/strcmp.c: Remove unused #include of memcopy.h.
27754         (strcmp): Use ANSI prototype.
27755         * string/strcpy.c: Remove unused #include of memcopy.h.
27756         (strcpy): Use ANSI prototype.
27758 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27760         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27761         * config.make.in (config-extra-cppflags): Set it from
27762         libc_extra_cppflags.
27763         * configure.ac (libc_extra_cflags): Make it accumulate over
27764         configure fragments.
27765         (libc_extra_cppflags): New flag.
27766         * configure. Regenerate.
27767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27768         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27769         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27772         [BZ #16815]
27773         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27774         result for FE_DOWNWARD rounding mode.
27775         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27776         Likewise.
27777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27779 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27781         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27782         in function argument name.
27784 2014-04-03  David Svoboda  <svoboda@cert.org>
27786         [BZ #5666]
27787         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27788         explicitly.
27790 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27792         * elf/dl-unmap-segments.h: New file.
27793         * sysdeps/generic/ldsodefs.h
27794         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27795         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27796         * elf/dl-fptr.c: Likewise.
27797         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27798         * sysdeps/aarch64/tlsdesc.c: Likewise.
27799         * sysdeps/arm/tlsdesc.c: Likewise.
27800         * sysdeps/i386/tlsdesc.c: Likewise.
27801         * sysdeps/tile/dl-runtime.c: Likewise.
27802         * sysdeps/x86_64/tlsdesc.c: Likewise.
27803         * elf/dl-load.h: New file.
27804         * elf/dl-load.c: Include it.
27805         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27806         Macros moved to dl-load.h.
27807         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27808         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27809         Use _dl_unmap_segments in place of __munmap.
27810         Break out segment-mapping loop into ...
27811         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27813 2014-04-03  Will Newton  <will.newton@linaro.org>
27815         * elf/dl-lookup.c (do_lookup_x): Remove comment
27816         referring to nested function and move variable
27817         declarations down to before first use.
27819 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27821         [BZ #16799]
27822         [BZ #16800]
27823         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27824         with 0 numerator.
27825         * math/s_catanf.c (__catanf): Likewise.
27826         * math/s_catanh.c (__catanh): Likewise.
27827         * math/s_catanhf.c (__catanhf): Likewise.
27828         * math/s_catanhl.c (__catanhl): Likewise.
27829         * math/s_catanl.c (__catanl): Likewise.
27830         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27831         by positive zero when computing -Inf result.
27832         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27833         (catanh_test): Likewise.
27834         * sysdeps/i386/fpu/libm-test-ulps: Update.
27835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27837         [BZ #16789]
27838         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27839         instead of using underflowing value in computing result.
27840         * math/s_clog10.c (__clog10): Likewise.
27841         * math/s_clog10f.c (__clog10f): Likewise.
27842         * math/s_clog10l.c (__clog10l): Likewise.
27843         * math/s_clogf.c (__clogf): Likewise.
27844         * math/s_clogl.c (__clogl): Likewise.
27845         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27846         (clog10_test): Likewise.
27847         * sysdeps/i386/fpu/libm-test-ulps: Update.
27848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27850 2014-04-02  Alan Modra  <amodra@gmail.com>
27852         [BZ #16739]
27853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27854         output when value is near a power of two.  Use int64_t for lx and
27855         remove casts.  Use decimal rather than hex exponent constants.
27856         Don't use long double multiplication when double will suffice.
27857         * math/libm-test.inc (nextafter_test_data): Add tests.
27858         * NEWS: Add 16739 and 16786 to bug list.
27860         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27862         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27864 2014-04-01  Will Newton  <will.newton@linaro.org>
27866         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27867         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27869 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27871         [BZ #13347]
27872         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27873         * nptl/tst-setuid2.c: New file.
27874         * nptl/Makefile (xtests): Add tst-setuid2.
27876 2014-04-01  Alan Modra  <amodra@gmail.com>
27878         [BZ #16786]
27879         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27881 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27883         [BZ #6803]
27884         [BZ #6804]
27885         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27886         set errno as appropriate.
27887         * math/w_scalbf.c (__scalbf): Likewise.
27888         * math/w_scalbl.c (__scalbl): Likewise.
27889         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27890         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27891         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27892         Add more NaN tests.
27894         [BZ #16349]
27895         * math/w_atan2.c: Include <errno.h>.
27896         (__atan2): Set errno for result underflowing to zero.
27897         * math/w_atan2f.c: Include <errno.h>.
27898         (__atan2f): Set errno for result underflowing to zero.
27899         * math/w_atan2l.c: Include <errno.h>.
27900         (__atan2l): Set errno for result underflowing to zero.
27901         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27902         tests.
27903         * math/auto-libm-test-out: Regenerated.
27905 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27907         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27908         Encode instruction correctly in little endian.
27909         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27910         Likewise.
27911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27912         Likewise.
27913         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27914         Likewise.
27915         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27916         Likewise.
27918 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27920         [BZ #9894]
27921         * sysdeps/unix/sysv/linux/kernel-features.h
27922         [__sparc__ && !__arch64__ && !__sparc_v9__]
27923         (__ASSUME_SET_ROBUST_LIST): Do not define.
27924         [__sparc__ && !__arch64__ && !__sparc_v9__]
27925         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27926         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27927         Likewise.
27928         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27929         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27930         (__ASSUME_REQUEUE_PI): Likewise.
27931         (__ASSUME_SET_ROBUST_LIST): Likewise.
27932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27933         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27934         Undefine.
27935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27936         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27937         Likewise.
27938         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27939         Likewise.
27940         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27941         Likewise.
27942         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27943         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27944         Undefine.
27945         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27946         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27947         Likewise.
27949         [BZ #16648]
27950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27952         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27954 2014-03-31  Will Newton  <will.newton@linaro.org>
27956         * benchtests/Makefile (bench): Add ffs and ffsll to list
27957         of tests.
27958         * benchtests/ffs-inputs: New file.
27959         * benchtests/ffsll-inputs: Likewise.
27961 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27963         [BZ #16770]
27964         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27965         too large before casting to int.
27966         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27967         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27968         * math/libm-test.inc (scalb_test_data): Add more tests.
27970 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27972         * benchtests/Makefile (DETAILED_OPT): New make option.
27973         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27974         set.
27975         * benchtests/bench-skeleton.c: Include stdbool.h.
27976         (main): Store and print timings per input.
27977         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27978         member to each argument value.
27979         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27980         (_print_arg_data): Initialize per-input timing to 0.
27982         * benchtests/Makefile (timing-type): New binary.
27983         (bench-clean): Also remove bench-timing-type.
27984         (bench): New target for timing-type.
27985         (bench-func): Print output in JSON format.
27986         * benchtests/bench-skeleton.c (main): Print output in JSON
27987         format.
27988         * benchtests/bench-timing-type.c: New file.
27989         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27990         (TIMING_PRINT_STATS): Remove.
27991         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27992         name separately.
27994         * benchtests/bench-modf.c: Remove.
27995         * benchtests/modf-inputs: New inputs file.
27997 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27999         [BZ #16362]
28000         * math/s_clog10.c (M_PI_LOG10E): New macro.
28001         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28002         imaginary parts are 0.
28003         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28004         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28005         imaginary parts are 0.
28006         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28007         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28008         imaginary parts are 0.
28009         * math/libm-test.inc (clog10_test_data): Update expected results
28010         for when real and imaginary parts are 0.
28012 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28014         * elf/dl-load.c: Finish conversion of __builtin_expect into
28015         __glibc_{un}likely.
28017 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28019         [BZ #16348]
28020         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28021         1+x for argument with exponent below -67.
28022         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28023         Likewise.
28024         * math/auto-libm-test-in: Add more tests of exp.
28025         * math/auto-libm-test-out: Regenerated.
28027 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         [BZ #16759]
28030         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28031         (nscd_getnetgrent): Use it.
28033         [BZ #16760]
28034         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28035         of stpcpy.
28037 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28039         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28040         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28041         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28042         (lll_robust_unlock): Remove out of line section. Use cfi
28043         intrinsics.
28044         (LLL_STUB_UNWIND_INFO*): Remove.
28045         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28046         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28047         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28048         (lll_robust_unlock): Remove out of line section. Use cfi
28049         intrinsics.
28050         (LLL_STUB_UNWIND_INFO*): Remove.
28052 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28054         [BZ #16758]
28055         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28056         blank values.
28058 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28060         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28062 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28064         [BZ #16198]
28065         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28066         fnstenv.
28067         * math/test-fenv-preserve.c: New file.
28068         * math/Makefile (tests): Add test-fenv-preserve.
28070 2014-03-26  Will Newton <will.newton@linaro.org>
28072         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28074 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28076         * scripts/versionlist.awk: Partition the version sets and emit all
28077         GLIBC_* (sorted) before all others (sorted).
28079 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28081         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28082         GLIBC_2.2.5 version.
28084 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28086         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28087         calls.
28089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28090         previous change.
28092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28094 2014-03-25  Andreas Schwab  <schwab@suse.de>
28096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28097         label to be used after in6ailist is initialized.
28099 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28101         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28102         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28104 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28106         [BZ #16357]
28107         [BZ #16599]
28108         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28109         min_plus_half.
28110         (fp_formats): Update initializers.
28111         (init_fp_formats): Initialize new field.
28112         (output_for_one_input_case): Allow underflow for results up to
28113         min_plus_half.
28114         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28115         * math/auto-libm-test-in: Don't mark some underflows from asin and
28116         atanh as spurious.
28117         * math/auto-libm-test-out: Regenerated.
28118         * sysdeps/i386/fpu/libm-test-ulps: Update.
28119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121 2014-03-25  Andreas Schwab  <schwab@suse.de>
28123         * libio/Makefile (tst-ftell-partial-wide-ENV)
28124         (tst-ftell-active-handler-ENV): Define.
28126 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28128         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28130 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28132         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28134 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28136         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28137         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28138         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28140 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28142         [BZ #16634]
28143         * elf/dl-load.c (open_verify): Add mode parameter.
28144         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28145         (open_path): Change from boolean 'secure' to complete flag 'mode'
28146         (_dl_map_object): Adjust.
28147         * elf/Makefile (tests): Add tst-dlopen-aout.
28148         * elf/tst-dlopen-aout.c: New test.
28150 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28152         [BZ #16714]
28153         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28154         (struct stat): Rename member pad0 to __glibc_reserved0.
28156         [BZ #16712]
28157         * sysdeps/s390/s390-32/bits/wordsize.h
28158         (__WORDSIZE32_SIZE_ULONG): New define.
28159         * sysdeps/s390/s390-64/bits/wordsize.h
28160         (__WORDSIZE32_SIZE_ULONG): Likewise.
28161         * sysdeps/generic/stdint.h (SIZE_MAX):
28162         Define as UL if __WORDSIZE32_SIZE_ULONG.
28164         [BZ #16713]
28165         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28166         (__glibc_reserved0): New variable.
28167         (sa_flags): Change type to int.
28169         * posix/Makefile (before-compile): Use += before-compile instead
28170         of a :=.
28172         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28173         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28175 2014-03-20  Andreas Schwab  <schwab@suse.de>
28177         [BZ #16743]
28178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28179         non-matching result from nscd.
28181 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28183         * scripts/bench.py: Moved to ...
28184         * benchtests/scripts/bench.py: ... here.
28185         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28187 2014-03-24  Andreas Schwab  <schwab@suse.de>
28189         [BZ #16002]
28190         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28191         alloca_account and account alloca use for struct in6ailist.
28193 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28195         [BZ #16284]
28196         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28197         rounding mode to recompute results that overflow to infinity or
28198         underflow to zero.
28199         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28200         bug 16284.
28201         * math/auto-libm-test-out: Regenerated.
28202         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28203         (ccosh_test): Likewise.
28204         (csin_test_data): Use plus_oflow.
28205         (csin_test): Use ALL_RM_TEST.
28206         (csinh_test_data): Use plus_oflow.
28207         (csinh_test): Use ALL_RM_TEST.
28208         * sysdeps/i386/fpu/libm-test-ulps: Update.
28209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28211 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28213         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28214         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28215         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28217         [BZ #16731]
28218         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28219         when x - 1 is zero.
28220         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28221         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28222         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28223         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28224         argument is 1.
28225         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28226         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28227         zero.
28228         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28229         * sysdeps/i386/fpu/libm-test-ulps: Update.
28230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28232 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28234         * scripts/bench.pl: Remove file.
28235         * scripts/bench.py: New benchmark script.
28236         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28237         * benchtests/README: Mention python dependency.
28238         * scripts/pylintrc: New file.
28239         * scripts/pylint: New file.
28241         * bits/mathdef.h: Use #ifdef instead of #if.
28242         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28243         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28244         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28245         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28246         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28247         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28249 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28250             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28252         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28254         and strpbrk-ppc64 objects.
28255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28256         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28257         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28258         multiarch strpbrk for POWER7.
28259         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28260         multiarch strpbrk for PPC64.
28261         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28262         ifunc selector.
28263         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28264         strpbrk for POWER7.
28266 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28268         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28269         (atan_test): Likewise.
28270         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28271         (atanh_test): Use ALL_RM_TEST.
28272         (atan2_test_data): Likewise.
28273         (cabs_test): Likewise.
28274         (cacosh_test): Likewise.
28275         (carg_test): Likewise.
28276         (casin_test): Likewise.
28277         (casinh_test): Likewise.
28278         (cbrt_test): Likewise.
28279         (csqrt_test): Likewise.
28280         (erf_test): Likewise.
28281         (erfc_test): Likewise.
28282         (pow10_test): Likewise.
28283         (exp2_test): Likewise.
28284         (hypot_test): Likewise.
28285         (j0_test): Likewise.
28286         (j1_test): Likewise.
28287         (lgamma_test): Likewise.
28288         (gamma_test): Likewise.
28289         (sincos_test): Likewise.
28290         (tanh_test): Likewise.
28291         (y0_test): Likewise.
28292         (y1_test): Likewise.
28293         * sysdeps/i386/fpu/libm-test-ulps: Update.
28294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28296 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28298         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28300         and strcspn-ppc64 objects.
28301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28302         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28303         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28304         multiarch strcspn for POWER7.
28305         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28306         multiarch strcspn for PPC64.
28307         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28308         ifunc selector.
28309         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28310         strcspn for POWER7.
28312 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28314         * math/gen-libm-test.pl (generate_testfile): Expect only function
28315         name as argument to AUTO_TESTS_* and pass results for all rounding
28316         modes to parse_args.
28317         (parse_auto_input): Separate inputs of automatic tests from
28318         outputs before storing in %auto_tests.
28319         * math/libm-test.inc (acos_test_data): Update call to
28320         AUTO_TESTS_f_f.
28321         (acos_test): Use ALL_RM_TEST.
28322         (acos_tonearest_test_data): Remove.
28323         (acos_test_tonearest): Likewise.
28324         (acos_towardzero_test_data): Likewise.
28325         (acos_test_towardzero): Likewise.
28326         (acos_downward_test_data): Likewise.
28327         (acos_test_downward): Likewise.
28328         (acos_upward_test_data): Likewise.
28329         (acos_test_upward): Likewise.
28330         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28331         (asin_test_data): Likewise.
28332         (asin_test): Use ALL_RM_TEST.
28333         (asin_tonearest_test_data): Remove.
28334         (asin_test_tonearest): Likewise.
28335         (asin_towardzero_test_data): Likewise.
28336         (asin_test_towardzero): Likewise.
28337         (asin_downward_test_data): Likewise.
28338         (asin_test_downward): Likewise.
28339         (asin_upward_test_data): Likewise.
28340         (asin_test_upward): Likewise.
28341         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28342         (atan_test_data): Likewise.
28343         (atanh_test_data): Likewise.
28344         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28345         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28346         (carg_test_data): Likewise.
28347         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28348         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28349         (ccosh_test_data): Likewise.
28350         (cexp_test_data): Likewise.
28351         (clog_test_data): Likewise.
28352         (clog10_test_data): Likewise.
28353         (cos_test_data): Update call to AUTO_TESTS_f_f.
28354         (cos_test): Use ALL_RM_TEST.
28355         (cos_tonearest_test_data): Remove.
28356         (cos_test_tonearest): Likewise.
28357         (cos_towardzero_test_data): Likewise.
28358         (cos_test_towardzero): Likewise.
28359         (cos_downward_test_data): Likewise.
28360         (cos_test_downward): Likewise.
28361         (cos_upward_test_data): Likewise.
28362         (cos_test_upward): Likewise.
28363         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28364         (cosh_test): Use ALL_RM_TEST.
28365         (cosh_tonearest_test_data): Remove.
28366         (cosh_test_tonearest): Likewise.
28367         (cosh_towardzero_test_data): Likewise.
28368         (cosh_test_towardzero): Likewise.
28369         (cosh_downward_test_data): Likewise.
28370         (cosh_test_downward): Likewise.
28371         (cosh_upward_test_data): Likewise.
28372         (cosh_test_upward): Likewise.
28373         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28374         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28375         (ctan_test_data): Likewise.
28376         (ctan_test): Use ALL_RM_TEST.
28377         (ctan_tonearest_test_data): Remove.
28378         (ctan_test_tonearest): Likewise.
28379         (ctan_towardzero_test_data): Likewise.
28380         (ctan_test_towardzero): Likewise.
28381         (ctan_downward_test_data): Likewise.
28382         (ctan_test_downward): Likewise.
28383         (ctan_upward_test_data): Likewise.
28384         (ctan_test_upward): Likewise.
28385         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28386         (ctanh_test): Use ALL_RM_TEST.
28387         (ctanh_tonearest_test_data): Remove.
28388         (ctanh_test_tonearest): Likewise.
28389         (ctanh_towardzero_test_data): Likewise.
28390         (ctanh_test_towardzero): Likewise.
28391         (ctanh_downward_test_data): Likewise.
28392         (ctanh_test_downward): Likewise.
28393         (ctanh_upward_test_data): Likewise.
28394         (ctanh_test_upward): Likewise.
28395         (erf_test_data): Update call to AUTO_TESTS_f_f.
28396         (erfc_test_data): Likewise.
28397         (exp_test_data): Likewise.
28398         (exp_test): Use ALL_RM_TEST.
28399         (exp_tonearest_test_data): Remove.
28400         (exp_test_tonearest): Likewise.
28401         (exp_towardzero_test_data): Likewise.
28402         (exp_test_towardzero): Likewise.
28403         (exp_downward_test_data): Likewise.
28404         (exp_test_downward): Likewise.
28405         (exp_upward_test_data): Likewise.
28406         (exp_test_upward): Likewise.
28407         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28408         (exp10_test): Use ALL_RM_TEST.
28409         (exp10_tonearest_test_data): Remove.
28410         (exp10_test_tonearest): Likewise.
28411         (exp10_towardzero_test_data): Likewise.
28412         (exp10_test_towardzero): Likewise.
28413         (exp10_downward_test_data): Likewise.
28414         (exp10_test_downward): Likewise.
28415         (exp10_upward_test_data): Likewise.
28416         (exp10_test_upward): Likewise.
28417         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28418         (expm1_test_data): Likewise.
28419         (expm1_test): Use ALL_RM_TEST.
28420         (expm1_tonearest_test_data): Remove.
28421         (expm1_test_tonearest): Likewise.
28422         (expm1_towardzero_test_data): Likewise.
28423         (expm1_test_towardzero): Likewise.
28424         (expm1_downward_test_data): Likewise.
28425         (expm1_test_downward): Likewise.
28426         (expm1_upward_test_data): Likewise.
28427         (expm1_test_upward): Likewise.
28428         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28429         (fma_test): Use ALL_RM_TEST.
28430         (fma_towardzero_test_data): Remove.
28431         (fma_test_towardzero): Likewise.
28432         (fma_downward_test_data): Likewise.
28433         (fma_test_downward): Likewise.
28434         (fma_upward_test_data): Likewise.
28435         (fma_test_upward): Likewise.
28436         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28437         (j0_test_data): Update call to AUTO_TESTS_f_f.
28438         (j1_test_data): Likewise.
28439         (jn_test_data): Update call to AUTO_TESTS_if_f.
28440         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28441         (log_test_data): Update call to AUTO_TESTS_f_f.
28442         (log10_test_data): Likewise.
28443         (log1p_test_data): Likewise.
28444         (log2_test_data): Likewise.
28445         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28446         (pow_tonearest_test_data): Likewise.
28447         (sin_test_data): Update call to AUTO_TESTS_f_f.
28448         (sin_test): Use ALL_RM_TEST.
28449         (sin_tonearest_test_data): Remove.
28450         (sin_test_tonearest): Likewise.
28451         (sin_towardzero_test_data): Likewise.
28452         (sin_test_towardzero): Likewise.
28453         (sin_downward_test_data): Likewise.
28454         (sin_test_downward): Likewise.
28455         (sin_upward_test_data): Likewise.
28456         (sin_test_upward): Likewise.
28457         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28458         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28459         (sinh_test): Use ALL_RM_TEST.
28460         (sinh_tonearest_test_data): Remove.
28461         (sinh_test_tonearest): Likewise.
28462         (sinh_towardzero_test_data): Likewise.
28463         (sinh_test_towardzero): Likewise.
28464         (sinh_downward_test_data): Likewise.
28465         (sinh_test_downward): Likewise.
28466         (sinh_upward_test_data): Likewise.
28467         (sinh_test_upward): Likewise.
28468         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28469         (sqrt_test): Use ALL_RM_TEST.
28470         (sqrt_tonearest_test_data): Remove.
28471         (sqrt_test_tonearest): Likewise.
28472         (sqrt_towardzero_test_data): Likewise.
28473         (sqrt_test_towardzero): Likewise.
28474         (sqrt_downward_test_data): Likewise.
28475         (sqrt_test_downward): Likewise.
28476         (sqrt_upward_test_data): Likewise.
28477         (sqrt_test_upward): Likewise.
28478         (tan_test_data): Update call to AUTO_TESTS_f_f.
28479         (tan_test): Use ALL_RM_TEST.
28480         (tan_tonearest_test_data): Remove.
28481         (tan_test_tonearest): Likewise.
28482         (tan_towardzero_test_data): Likewise.
28483         (tan_test_towardzero): Likewise.
28484         (tan_downward_test_data): Likewise.
28485         (tan_test_downward): Likewise.
28486         (tan_upward_test_data): Likewise.
28487         (tan_test_upward): Likewise.
28488         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28489         (tgamma_test_data): Likewise.
28490         (y0_test_data): Likewise.
28491         (y1_test_data): Likewise.
28492         (yn_test_data): Update call to AUTO_TESTS_if_f.
28493         (main): Do not call removed functions.
28495 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28497         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28498         (ldexp_test_data): Remove.
28499         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28500         scalbn_test_data.
28501         (scalb_test): Use ALL_RM_TEST.
28503 2014-03-19  Andreas Schwab  <schwab@suse.de>
28505         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28507 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #16649]
28510         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28511         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28512         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28514         (__ASSUME_PREADV): Undefine.
28515         (__ASSUME_PWRITEV): Likewise.
28517 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28519         * bits/mman-linux.h: Add comment about non-Linux use.
28520         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28521         bits/mman-linux.h resting place.
28523         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28524         * bits/mman-linux.h: ... here.
28526 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28528         * conform/conformtest.pl: Add standard definition when calling C
28529         preprocessor on data files.
28530         (checknamespace): Remove unused variable.
28532 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28534         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28535         minus_oflow, plus_uflow and minus_uflow in expected results.
28536         * math/libm-test.inc (scalbn_test_data): Add more tests of
28537         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28538         minus_uflow.
28539         (scalbn_test): Use ALL_RM_TEST.
28540         (scalbln_test_data): Add more tests of negative arguments.  Use
28541         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28542         (scalbln_test): Use ALL_RM_TEST.
28544 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28546         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28548 2014-03-18  Will Newton  <will.newton@linaro.org>
28550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28551         inaccurate comment.
28553 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28555         * Makerules [!subdir] (check-abi): Exit with error status if a
28556         test failed.
28558 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28560         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28561         for rint.  Include results for all rounding modes.
28562         (nearbyint_test): Use ALL_RM_TEST.
28563         (rint_test_data): Include all tests used for nearbyint.
28565 2014-03-17  Will Newton  <will.newton@linaro.org>
28567         * nptl/sysdeps/pthread/pthread.h: Revert previous
28568         change.
28570         * sysdeps/generic/ldsodefs.h: Revert previous
28571         change.
28573         * libio/genops.c: Revert previous change.
28574         * libio/libioP.h: Likewise.
28575         * stdio-common/vfprintf.c: Likewise.
28577         * sysdeps/generic/math_private.h: Revert previous
28578         change.
28580         * sysdeps/generic/math_private.h: Check whether
28581         HAVE_RM_CTX is defined with #ifdef rather
28582         than #if.
28584         * argp/argp-fmtstream.h: Check whether
28585         __STRICT_ANSI__ is defined with #ifdef rather
28586         than #if.
28587         * argp/argp.h: Likewise.
28589         * libio/genops.c: Check whether
28590         _IO_JUMPS_OFFSET is defined with #ifdef rather
28591         than #if.
28592         * libio/libioP.h: Likewise.
28593         * stdio-common/vfprintf.c: Likewise.
28595         * sysdeps/generic/ldsodefs.h: Check whether
28596         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28597         than #if.
28599         * nptl/sysdeps/pthread/pthread.h: Check
28600         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28601         its value.
28603 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28605         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28606         setting O_APPEND.
28607         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28608         test case.
28610         [BZ #16680]
28611         * libio/fileops.c (_IO_file_open): Seek to end of file but
28612         don't cache the offset.
28613         (get_file_offset): Remove function.
28614         (do_ftell): Use cached offset when available.
28615         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28616         don't cache the offset.
28617         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28618         case.
28619         (do_one_test): Call it.
28620         (do_ftell_test): Fix up expected old offset for a+ mode.
28621         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28622         available.
28624         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28625         up test status with function return status.
28626         (do_write_test): Likewise.
28627         (do_append_test): Likewise.
28629         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28630         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28631         Remove.
28633 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28635         * math/gen-libm-test.pl (parse_args): Handle results specified for
28636         each rounding mode separately.
28637         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28638         tests and results from lrint_tonearest_test_data,
28639         lrint_towardzero_test_data, lrint_downward_test_data and
28640         lrint_upward_test_data.
28641         (lrint_test): Use ALL_RM_TEST.
28642         (lrint_tonearest_test_data): Remove.
28643         (lrint_test_tonearest): Likewise.
28644         (lrint_towardzero_test_data): Likewise.
28645         (lrint_test_towardzero): Likewise.
28646         (lrint_downward_test_data): Likewise.
28647         (lrint_test_downward): Likewise.
28648         (lrint_upward_test_data): Likewise.
28649         (lrint_test_upward): Likewise.
28650         (llrint_test_data): Merge in per-rounding-mode tests and results
28651         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28652         llrint_downward_test_data and llrint_upward_test_data.
28653         (llrint_test): Use ALL_RM_TEST.
28654         (llrint_tonearest_test_data): Remove.
28655         (llrint_test_tonearest): Likewise.
28656         (llrint_towardzero_test_data): Likewise.
28657         (llrint_test_towardzero): Likewise.
28658         (llrint_downward_test_data): Likewise.
28659         (llrint_test_downward): Likewise.
28660         (llrint_upward_test_data): Likewise.
28661         (llrint_test_upward): Likewise.
28662         (rint_test_data): Merge in per-rounding-mode tests and results
28663         from rint_tonearest_test_data, rint_towardzero_test_data,
28664         rint_downward_test_data and rint_upward_test_data.  Add
28665         per-rounding-mode results for tests not in those arrays.
28666         (rint_test): Use ALL_RM_TEST.
28667         (rint_tonearest_test_data): Remove.
28668         (rint_test_tonearest): Likewise.
28669         (rint_towardzero_test_data): Likewise.
28670         (rint_test_towardzero): Likewise.
28671         (rint_downward_test_data): Likewise.
28672         (rint_test_downward): Likewise.
28673         (rint_upward_test_data): Likewise.
28674         (rint_test_upward): Likewise.
28675         (main): Don't call removed functions.
28677 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28679         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28680         "Compiled on ..." crapola.  It is anti-useful.
28682 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28684         * scripts/evaluate-test.sh: Handle fourth argument to determine
28685         whether test run should stop on failure.
28686         * Makeconfig (stop-on-test-failure): New variable.
28687         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28688         $(stop-on-test-failure).
28689         * Makefile (tests): Give a summary of results from testing and
28690         exit with failure status if they include an ERROR or FAIL.
28691         (xtests): Likewise.
28692         * manual/install.texi (Configuring and compiling): Mention
28693         stop-on-test-failure=y.
28694         * INSTALL: Regenerated.
28696 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28698         * scripts/versionlist.awk: New file.
28699         * Makerules [$(build-shared) = yes]
28700         (postclean-generated): Add Versions.def, not Versions.def.v and
28701         Versions.def.v.i.
28702         ($(common-objpfx)Versions.def.v.i): Target removed.
28703         ($(common-objpfx)Versions.def): New target.
28704         ($(common-objpfx)Versions.all): Depend on that rather that
28705         $(common-objpfx)Versions.def.v.
28706         * Versions.def: File removed.
28708         * Makeconfig (+gccwarn): Add -Wundef.
28709         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28710         a dl-sysdep.h breaking its contract.
28711         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28712         * include/stackinfo.h: New file.
28713         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28714         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28715         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28716         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28717         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28718         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28719         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28720         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28721         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28722         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28723         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28724         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28725         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28726         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28727         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28729 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28731         [BZ #16707]
28732         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28733         implementation.
28734         * math/libm-test.inc (round_test_data): Add more tests.
28736         [BZ #16706]
28737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28738         implementation.
28739         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28741         [BZ #16701]
28742         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28743         implementation.
28744         * math/libm-test.inc (ceil_test_data): Add more tests.
28746         * math/libm-test.inc (trunc_test_data): Add more tests related to
28747         BZ#16414.
28749 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28751         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28752         with #if rather than #ifdef.
28753         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28755 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28757         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28758         first.  Disable AVX-512 GCC support if assembler doesn't support
28759         it.
28760         * sysdeps/x86_64/configure: Regenerated.
28762 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28764         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28765         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28766         (__old_pthread_attr_setstack): Likewise.
28767         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28768         [!_STACK_GROWS_DOWN]: Likewise.
28770 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28772         * config.make.in (have-bash2): Delete.
28773         * configure.ac (libc_cv_have_bash2): Delete.
28774         * configure: Regenerate.
28775         * elf/Makefile (common-ldd-rewrite): Rename to ...
28776         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28777         (sh-ldd-rewrite): Delete.
28778         (bash-ldd-rewrite): Delete.
28779         (have-bash2): Delete checks.
28780         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28781         ldd-rewrite.
28783         * config.make.in (have-ksh): Delete.
28784         (KSH): Delete.
28785         * configure.ac (libc_cv_have_ksh): Delete.
28786         * configure: Regenerate.
28788         * elf/Makefile: Delete $(have-ksh) check.
28789         ($(objpfx)sotruss): Change KSH to BASH.
28790         * elf/sotruss.ksh: Rename to ...
28791         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28792         function style to match POSIX.  Drop ksh vim mode setting.
28794         * manual/time.texi (Specifying the Time Zone with TZ): Change
28795         Tuesday to Thursday.
28797         * debug/tst-longjmp_chk2.c: Update header comment.
28798         (stackoverflow_handler): Add comment.  Call assert on pass value.
28800 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28802         [BZ #16194]
28803         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28804         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28805         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28806         (La_x86_64_vector): Add zmm.
28807         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28808         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28809         ($(objpfx)tst-audit10): New target.
28810         ($(objpfx)tst-audit10.out): Likewise.
28811         (tst-audit10-ENV): New.
28812         (AVX512-CFLAGS): Likewise.
28813         (CFLAGS-tst-audit10.c): Likewise.
28814         (CFLAGS-tst-auditmod10a.c): Likewise.
28815         (CFLAGS-tst-auditmod10b.c): Likewise.
28816         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28817         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28818         * sysdeps/x86_64/configure: Regenerated.
28819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28820         AVX-512 zmm register support.
28821         (_dl_x86_64_save_sse): Likewise.
28822         (_dl_x86_64_restore_sse): Likewise.
28823         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28824         size vector registers.
28825         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28826         (ZMM_SIZE): Likewise.
28827         * sysdeps/x86_64/tst-audit10.c: New file.
28828         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28829         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28831 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28833         * configure.ac (HAVE_EHDR_START): New check.
28834         * configure: Regenerated.
28835         * config.h.in (HAVE_EHDR_START): New #undef.
28836         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28837         assuming the lowest-addressed segment maps the start of the file.
28839 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28841         * INSTALL: Regenerated.
28843 2014-03-13  Will Newton  <will.newton@linaro.org>
28845         * manual/setjmp.texi (System V contexts): Improve
28846         clarity and grammar of documentation.
28848 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28850         [BZ #16381]
28851         * elf/Makefile (tests): Add tst-pie2.
28852         (tests-pie): Add tst-pie2.
28853         * elf/tst-pie2.c: New file.
28854         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28855         for ET_EXEC.
28856         * elf/rtld.c (map_doit): Load executable as lt_executable.
28857         (dl_main): Likewise.
28859 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28861         [BZ #16642]
28862         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28863         (__ASSUME_PSELECT): Undefine.
28865 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         [BZ #16689]
28868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28869         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28870         static build.
28871         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28872         selector for static builds.
28874 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28876         [BZ #16695]
28877         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28878         key in the buffer.
28880 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28882         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28883         IFUNC selector for static builds.
28885 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28887         * sysdeps/mips/math_private.h [__mips_hard_float]
28888         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28889         libc_feresetround_mips_ctx.
28890         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28891         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28892         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28894         [BZ #16677]
28895         * math/s_nextafter.c (__nextafter): Do not return value from
28896         overflowing computation.
28897         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28898         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28899         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28900         Likewise.
28901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28902         Likewise.
28903         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28904         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28906 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28908         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28909         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28910         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28911         the new mov targetting sp.
28913 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28915         [BZ #16683]
28916         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28917         Define it for static builds as well.
28918         (NO_BZERO_IMPL): Likewise.
28920 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28922         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28923         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28924         multiarch strspn for PPC64.
28925         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28926         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28928         (__libc_ifunc_impl_list): Likewise.
28929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28930         multiarch optimizations
28931         * string/strspn.c (strspn): Using macro to redefine symbol name.
28933 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28934             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28936         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28937         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28938         multiarch strncat for PPC64.
28939         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28940         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28942         (__libc_ifunc_impl_list): Likewise.
28943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28944         multiarch optimizations
28946 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28948         [BZ #16639]
28949         * nscd/nscd.service: Make service type forking.
28951 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28953         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28954         sign in non default rounding modes.
28955         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28957 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28959         * math/libm-test.inc (ALL_RM_TEST): New macro.
28960         (ceil_test): Use ALL_RM_TEST.
28961         (cimag_test): Likewise.
28962         (conj_test): Likewise.
28963         (copysign_test): Likewise.
28964         (cproj_test): Likewise.
28965         (creal_test): Likewise.
28966         (fabs_test): Likewise.
28967         (floor_test): Likewise.
28968         (fmax_test): Likewise.
28969         (fmin_test): Likewise.
28970         (fmod_test): Likewise.
28971         (fpclassify_test): Likewise.
28972         (frexp_test): Likewise.
28973         (ilogb_test): Likewise.
28974         (isfinite_test): Likewise.
28975         (finite_test): Likewise.
28976         (isgreater_test): Likewise.
28977         (isgreaterequal_test): Likewise.
28978         (isinf_test): Likewise.
28979         (isless_test): Likewise.
28980         (islessequal_test): Likewise.
28981         (islessgreater_test): Likewise.
28982         (isnan_test): Likewise.
28983         (isnormal_test): Likewise.
28984         (issignaling_test): Likewise.
28985         (isunordered_test): Likewise.
28986         (logb_test): Likewise.
28987         (logb_downward_test_data): Remove.
28988         (logb_test_downward): Likewise.
28989         (lround_test): Use ALL_RM_TEST.
28990         (llround_test): Likewise.
28991         (modf_test): Likewise.
28992         (nexttoward_test): Likewise.
28993         (remainder_test): Likewise.
28994         (drem_test): Likewise.
28995         (remainder_tonearest_test_data): Likewise.
28996         (remainder_test_tonearest): Likewise.
28997         (drem_test_tonearest): Likewise.
28998         (remainder_towardzero_test_data): Likewise.
28999         (remainder_test_towardzero): Likewise.
29000         (drem_test_towardzero): Likewise.
29001         (remainder_downward_test_data): Likewise.
29002         (remainder_test_downward): Likewise.
29003         (drem_test_downward): Likewise.
29004         (remainder_upward_test_data): Likewise.
29005         (remainder_test_upward): Likewise.
29006         (drem_test_upward): Likewise.
29007         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29008         (round_test): Use ALL_RM_TEST.
29009         (signbit_test): Likewise.
29010         (trunc_test): Likewise.
29011         (significand_test): Likewise.
29012         (main): Don't call removed functions.
29014 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29016         [BZ #16674]
29017         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29018         || __USE_XOPEN2K8].
29019         (ILL_ILLOPN): Likewise.
29020         (ILL_ILLADR): Likewise.
29021         (ILL_ILLTRP): Likewise.
29022         (ILL_PRVOPC): Likewise.
29023         (ILL_PRVREG): Likewise.
29024         (ILL_COPROC): Likewise.
29025         (ILL_BADSTK): Likewise.
29026         (FPE_INTDIV): Likewise.
29027         (FPE_INTOVF): Likewise.
29028         (FPE_FLTDIV): Likewise.
29029         (FPE_FLTOVF): Likewise.
29030         (FPE_FLTUND): Likewise.
29031         (FPE_FLTRES): Likewise.
29032         (FPE_FLTINV): Likewise.
29033         (FPE_FLTSUB): Likewise.
29034         (SEGV_MAPERR): Likewise.
29035         (SEGV_ACCERR): Likewise.
29036         (BUS_ADRALN): Likewise.
29037         (BUS_ADRERR): Likewise.
29038         (BUS_OBJERR): Likewise.
29039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29040         (TRAP_TRACE): Likewise.
29041         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29042         __USE_XOPEN2K8].
29043         (CLD_KILLED): Likewise.
29044         (CLD_DUMPED): Likewise.
29045         (CLD_TRAPPED): Likewise.
29046         (CLD_STOPPED): Likewise.
29047         (CLD_CONTINUED): Likewise.
29048         (POLL_IN): Likewise.
29049         (POLL_OUT): Likewise.
29050         (POLL_MSG): Likewise.
29051         (POLL_ERR): Likewise.
29052         (POLL_PRI): Likewise.
29053         (POLL_HUP): Likewise.
29054         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29055         Likewise.
29056         (ILL_ILLOPN): Likewise.
29057         (ILL_ILLADR): Likewise.
29058         (ILL_ILLTRP): Likewise.
29059         (ILL_PRVOPC): Likewise.
29060         (ILL_PRVREG): Likewise.
29061         (ILL_COPROC): Likewise.
29062         (ILL_BADSTK): Likewise.
29063         (FPE_INTDIV): Likewise.
29064         (FPE_INTOVF): Likewise.
29065         (FPE_FLTDIV): Likewise.
29066         (FPE_FLTOVF): Likewise.
29067         (FPE_FLTUND): Likewise.
29068         (FPE_FLTRES): Likewise.
29069         (FPE_FLTINV): Likewise.
29070         (FPE_FLTSUB): Likewise.
29071         (SEGV_MAPERR): Likewise.
29072         (SEGV_ACCERR): Likewise.
29073         (BUS_ADRALN): Likewise.
29074         (BUS_ADRERR): Likewise.
29075         (BUS_OBJERR): Likewise.
29076         (BUS_MCEERR_AR): Likewise.
29077         (BUS_MCEERR_AO): Likewise.
29078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29079         (TRAP_TRACE): Likewise.
29080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29081         __USE_XOPEN2K8].
29082         (CLD_KILLED): Likewise.
29083         (CLD_DUMPED): Likewise.
29084         (CLD_TRAPPED): Likewise.
29085         (CLD_STOPPED): Likewise.
29086         (CLD_CONTINUED): Likewise.
29087         (POLL_IN): Likewise.
29088         (POLL_OUT): Likewise.
29089         (POLL_MSG): Likewise.
29090         (POLL_ERR): Likewise.
29091         (POLL_PRI): Likewise.
29092         (POLL_HUP): Likewise.
29093         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29094         (ILL_ILLOPN): Likewise.
29095         (ILL_ILLADR): Likewise.
29096         (ILL_ILLTRP): Likewise.
29097         (ILL_PRVOPC): Likewise.
29098         (ILL_PRVREG): Likewise.
29099         (ILL_COPROC): Likewise.
29100         (ILL_BADSTK): Likewise.
29101         (FPE_INTDIV): Likewise.
29102         (FPE_INTOVF): Likewise.
29103         (FPE_FLTDIV): Likewise.
29104         (FPE_FLTOVF): Likewise.
29105         (FPE_FLTUND): Likewise.
29106         (FPE_FLTRES): Likewise.
29107         (FPE_FLTINV): Likewise.
29108         (FPE_FLTSUB): Likewise.
29109         (SEGV_MAPERR): Likewise.
29110         (SEGV_ACCERR): Likewise.
29111         (BUS_ADRALN): Likewise.
29112         (BUS_ADRERR): Likewise.
29113         (BUS_OBJERR): Likewise.
29114         (BUS_MCEERR_AR): Likewise.
29115         (BUS_MCEERR_AO): Likewise.
29116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29117         (TRAP_TRACE): Likewise.
29118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29119         __USE_XOPEN2K8].
29120         (CLD_KILLED): Likewise.
29121         (CLD_DUMPED): Likewise.
29122         (CLD_TRAPPED): Likewise.
29123         (CLD_STOPPED): Likewise.
29124         (CLD_CONTINUED): Likewise.
29125         (POLL_IN): Likewise.
29126         (POLL_OUT): Likewise.
29127         (POLL_MSG): Likewise.
29128         (POLL_ERR): Likewise.
29129         (POLL_PRI): Likewise.
29130         (POLL_HUP): Likewise.
29131         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29132         Likewise.
29133         (ILL_ILLOPN): Likewise.
29134         (ILL_ILLADR): Likewise.
29135         (ILL_ILLTRP): Likewise.
29136         (ILL_PRVOPC): Likewise.
29137         (ILL_PRVREG): Likewise.
29138         (ILL_COPROC): Likewise.
29139         (ILL_BADSTK): Likewise.
29140         (ILL_BADIADDR): Likewise.
29141         (ILL_BREAK): Likewise.
29142         (FPE_INTDIV): Likewise.
29143         (FPE_INTOVF): Likewise.
29144         (FPE_FLTDIV): Likewise.
29145         (FPE_FLTOVF): Likewise.
29146         (FPE_FLTUND): Likewise.
29147         (FPE_FLTRES): Likewise.
29148         (FPE_FLTINV): Likewise.
29149         (FPE_FLTSUB): Likewise.
29150         (FPE_DECOVF): Likewise.
29151         (FPE_DECDIV): Likewise.
29152         (FPE_DECERR): Likewise.
29153         (FPE_INVASC): Likewise.
29154         (FPE_INVDEC): Likewise.
29155         (SEGV_MAPERR): Likewise.
29156         (SEGV_ACCERR): Likewise.
29157         (SEGV_PSTKOVF): Likewise.
29158         (BUS_ADRALN): Likewise.
29159         (BUS_ADRERR): Likewise.
29160         (BUS_OBJERR): Likewise.
29161         (BUS_MCEERR_AR): Likewise.
29162         (BUS_MCEERR_AO): Likewise.
29163         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29164         (TRAP_TRACE): Likewise.
29165         (TRAP_BRANCH): Likewise.
29166         (TRAP_HWBKPT): Likewise.
29167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29168         __USE_XOPEN2K8].
29169         (CLD_KILLED): Likewise.
29170         (CLD_DUMPED): Likewise.
29171         (CLD_TRAPPED): Likewise.
29172         (CLD_STOPPED): Likewise.
29173         (CLD_CONTINUED): Likewise.
29174         (POLL_IN): Likewise.
29175         (POLL_OUT): Likewise.
29176         (POLL_MSG): Likewise.
29177         (POLL_ERR): Likewise.
29178         (POLL_PRI): Likewise.
29179         (POLL_HUP): Likewise.
29180         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29181         (ILL_ILLOPN): Likewise.
29182         (ILL_ILLADR): Likewise.
29183         (ILL_ILLTRP): Likewise.
29184         (ILL_PRVOPC): Likewise.
29185         (ILL_PRVREG): Likewise.
29186         (ILL_COPROC): Likewise.
29187         (ILL_BADSTK): Likewise.
29188         (FPE_INTDIV): Likewise.
29189         (FPE_INTOVF): Likewise.
29190         (FPE_FLTDIV): Likewise.
29191         (FPE_FLTOVF): Likewise.
29192         (FPE_FLTUND): Likewise.
29193         (FPE_FLTRES): Likewise.
29194         (FPE_FLTINV): Likewise.
29195         (FPE_FLTSUB): Likewise.
29196         (SEGV_MAPERR): Likewise.
29197         (SEGV_ACCERR): Likewise.
29198         (BUS_ADRALN): Likewise.
29199         (BUS_ADRERR): Likewise.
29200         (BUS_OBJERR): Likewise.
29201         (BUS_MCEERR_AR): Likewise.
29202         (BUS_MCEERR_AO): Likewise.
29203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29204         (TRAP_TRACE): Likewise.
29205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29206         __USE_XOPEN2K8].
29207         (CLD_KILLED): Likewise.
29208         (CLD_DUMPED): Likewise.
29209         (CLD_TRAPPED): Likewise.
29210         (CLD_STOPPED): Likewise.
29211         (CLD_CONTINUED): Likewise.
29212         (POLL_IN): Likewise.
29213         (POLL_OUT): Likewise.
29214         (POLL_MSG): Likewise.
29215         (POLL_ERR): Likewise.
29216         (POLL_PRI): Likewise.
29217         (POLL_HUP): Likewise.
29218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29219         (ILL_ILLOPN): Likewise.
29220         (ILL_ILLADR): Likewise.
29221         (ILL_ILLTRP): Likewise.
29222         (ILL_PRVOPC): Likewise.
29223         (ILL_PRVREG): Likewise.
29224         (ILL_COPROC): Likewise.
29225         (ILL_BADSTK): Likewise.
29226         (FPE_INTDIV): Likewise.
29227         (FPE_INTOVF): Likewise.
29228         (FPE_FLTDIV): Likewise.
29229         (FPE_FLTOVF): Likewise.
29230         (FPE_FLTUND): Likewise.
29231         (FPE_FLTRES): Likewise.
29232         (FPE_FLTINV): Likewise.
29233         (FPE_FLTSUB): Likewise.
29234         (SEGV_MAPERR): Likewise.
29235         (SEGV_ACCERR): Likewise.
29236         (BUS_ADRALN): Likewise.
29237         (BUS_ADRERR): Likewise.
29238         (BUS_OBJERR): Likewise.
29239         (BUS_MCEERR_AR): Likewise.
29240         (BUS_MCEERR_AO): Likewise.
29241         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29242         (TRAP_TRACE): Likewise.
29243         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29244         __USE_XOPEN2K8].
29245         (CLD_KILLED): Likewise.
29246         (CLD_DUMPED): Likewise.
29247         (CLD_TRAPPED): Likewise.
29248         (CLD_STOPPED): Likewise.
29249         (CLD_CONTINUED): Likewise.
29250         (POLL_IN): Likewise.
29251         (POLL_OUT): Likewise.
29252         (POLL_MSG): Likewise.
29253         (POLL_ERR): Likewise.
29254         (POLL_PRI): Likewise.
29255         (POLL_HUP): Likewise.
29256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29257         (ILL_ILLOPN): Likewise.
29258         (ILL_ILLADR): Likewise.
29259         (ILL_ILLTRP): Likewise.
29260         (ILL_PRVOPC): Likewise.
29261         (ILL_PRVREG): Likewise.
29262         (ILL_COPROC): Likewise.
29263         (ILL_BADSTK): Likewise.
29264         (FPE_INTDIV): Likewise.
29265         (FPE_INTOVF): Likewise.
29266         (FPE_FLTDIV): Likewise.
29267         (FPE_FLTOVF): Likewise.
29268         (FPE_FLTUND): Likewise.
29269         (FPE_FLTRES): Likewise.
29270         (FPE_FLTINV): Likewise.
29271         (FPE_FLTSUB): Likewise.
29272         (SEGV_MAPERR): Likewise.
29273         (SEGV_ACCERR): Likewise.
29274         (BUS_ADRALN): Likewise.
29275         (BUS_ADRERR): Likewise.
29276         (BUS_OBJERR): Likewise.
29277         (BUS_MCEERR_AR): Likewise.
29278         (BUS_MCEERR_AO): Likewise.
29279         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29280         (TRAP_TRACE): Likewise.
29281         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29282         __USE_XOPEN2K8].
29283         (CLD_KILLED): Likewise.
29284         (CLD_DUMPED): Likewise.
29285         (CLD_TRAPPED): Likewise.
29286         (CLD_STOPPED): Likewise.
29287         (CLD_CONTINUED): Likewise.
29288         (POLL_IN): Likewise.
29289         (POLL_OUT): Likewise.
29290         (POLL_MSG): Likewise.
29291         (POLL_ERR): Likewise.
29292         (POLL_PRI): Likewise.
29293         (POLL_HUP): Likewise.
29294         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29295         (ILL_ILLOPN): Likewise.
29296         (ILL_ILLADR): Likewise.
29297         (ILL_ILLTRP): Likewise.
29298         (ILL_PRVOPC): Likewise.
29299         (ILL_PRVREG): Likewise.
29300         (ILL_COPROC): Likewise.
29301         (ILL_BADSTK): Likewise.
29302         (ILL_DBLFLT): Likewise.
29303         (ILL_HARDWALL): Likewise.
29304         (FPE_INTDIV): Likewise.
29305         (FPE_INTOVF): Likewise.
29306         (FPE_FLTDIV): Likewise.
29307         (FPE_FLTOVF): Likewise.
29308         (FPE_FLTUND): Likewise.
29309         (FPE_FLTRES): Likewise.
29310         (FPE_FLTINV): Likewise.
29311         (FPE_FLTSUB): Likewise.
29312         (SEGV_MAPERR): Likewise.
29313         (SEGV_ACCERR): Likewise.
29314         (BUS_ADRALN): Likewise.
29315         (BUS_ADRERR): Likewise.
29316         (BUS_OBJERR): Likewise.
29317         (BUS_MCEERR_AR): Likewise.
29318         (BUS_MCEERR_AO): Likewise.
29319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29320         (TRAP_TRACE): Likewise.
29321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29322         __USE_XOPEN2K8].
29323         (CLD_KILLED): Likewise.
29324         (CLD_DUMPED): Likewise.
29325         (CLD_TRAPPED): Likewise.
29326         (CLD_STOPPED): Likewise.
29327         (CLD_CONTINUED): Likewise.
29328         (POLL_IN): Likewise.
29329         (POLL_OUT): Likewise.
29330         (POLL_MSG): Likewise.
29331         (POLL_ERR): Likewise.
29332         (POLL_PRI): Likewise.
29333         (POLL_HUP): Likewise.
29334         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29335         (ILL_ILLOPN): Likewise.
29336         (ILL_ILLADR): Likewise.
29337         (ILL_ILLTRP): Likewise.
29338         (ILL_PRVOPC): Likewise.
29339         (ILL_PRVREG): Likewise.
29340         (ILL_COPROC): Likewise.
29341         (ILL_BADSTK): Likewise.
29342         (FPE_INTDIV): Likewise.
29343         (FPE_INTOVF): Likewise.
29344         (FPE_FLTDIV): Likewise.
29345         (FPE_FLTOVF): Likewise.
29346         (FPE_FLTUND): Likewise.
29347         (FPE_FLTRES): Likewise.
29348         (FPE_FLTINV): Likewise.
29349         (FPE_FLTSUB): Likewise.
29350         (SEGV_MAPERR): Likewise.
29351         (SEGV_ACCERR): Likewise.
29352         (BUS_ADRALN): Likewise.
29353         (BUS_ADRERR): Likewise.
29354         (BUS_OBJERR): Likewise.
29355         (BUS_MCEERR_AR): Likewise.
29356         (BUS_MCEERR_AO): Likewise.
29357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29358         (TRAP_TRACE): Likewise.
29359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29360         __USE_XOPEN2K8].
29361         (CLD_KILLED): Likewise.
29362         (CLD_DUMPED): Likewise.
29363         (CLD_TRAPPED): Likewise.
29364         (CLD_STOPPED): Likewise.
29365         (CLD_CONTINUED): Likewise.
29366         (POLL_IN): Likewise.
29367         (POLL_OUT): Likewise.
29368         (POLL_MSG): Likewise.
29369         (POLL_ERR): Likewise.
29370         (POLL_PRI): Likewise.
29371         (POLL_HUP): Likewise.
29372         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29373         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29375         [BZ #16670]
29376         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29377         before #include of <time.h>.
29378         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29379         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29380         (test-xfail-UNIX98/sched.h/conform): Likewise.
29382 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29384         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29385         error absence of trapping exception support.
29386         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29388 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29390         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29391         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29392         * timezone/Makefile (testdata): Move definition above include of
29393         Rules.
29394         (test-zones): New variable.
29395         (tests-special): Add zone files.
29396         (build-testdata): Use $(evaluate-test).
29398         * elf/Makefile (tests-special): Rename tests to end with .out.
29399         ($(objpfx)noload-mem): Likewise.
29400         ($(objpfx)tst-leaks1-mem): Likewise.
29401         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29402         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29403         $(objpfx)test-iconvconfig.out.
29404         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29405         set -e inside subshell and redirect output to file.
29406         * iconvdata/Makefile (generated): Rename tests to end with .out.
29407         Correct type.
29408         (tests-special): Rename tests to end with .out.
29409         ($(objpfx)mtrace-tst-loading): Likewise.
29410         * intl/Makefile (generated): Likewise.
29411         (tests-special): Likewise.
29412         ($(objpfx)mtrace-tst-gettext): Likewise.
29413         * misc/Makefile (generated): Likewise.
29414         (tests-special): Likewise.
29415         ($(objpfx)tst-error1-mem): Likewise.
29416         * nptl/Makefile (tests-special): Likewise.
29417         ($(objpfx)tst-stack3-mem): Likewise.
29418         (generated): Likewise.
29419         * posix/Makefile (generated): Likewise.
29420         (tests-special): Likewise.
29421         (xtests-special): Likewise.
29422         ($(objpfx)tst-fnmatch-mem): Likewise.
29423         ($(objpfx)bug-regex2-mem): Likewise.
29424         ($(objpfx)bug-regex14-mem): Likewise.
29425         ($(objpfx)bug-regex21-mem): Likewise.
29426         ($(objpfx)bug-regex31-mem): Likewise.
29427         ($(objpfx)tst-vfork3-mem): Likewise.
29428         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29429         ($(objpfx)tst-pcre-mem): Likewise.
29430         ($(objpfx)tst-boost-mem): Likewise.
29431         ($(objpfx)bug-ga2-mem): Likewise.
29432         ($(objpfx)bug-glob2-mem): Likewise.
29433         * resolv/Makefile (generate): Likewise.
29434         (tests-special): Likewise.
29435         (xtests-special): Likewise.
29436         (generated): Likewise.
29437         ($(objpfx)mtrace-tst-leaks): Likewise.
29438         ($(objpfx)mtrace-tst-leaks2): Likewise.
29440         * scripts/merge-test-results.sh: New file.
29441         * Makefile (tests-special-notdir): New variable.
29442         (tests): Run merge-test-results.sh.
29443         (xtests): Likewise.
29444         * Rules (tests-special-notdir): New variable.
29445         (xtests-special-notdir): Likewise.
29446         (tests): Run merge-test-results.sh
29447         (xtests): Likewise.
29449         * Makeconfig (test-xfail-name): New variable.
29450         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29451         compute variable name for expected failures.
29452         * conform/Makefile (conformtest-headers-data): New variable.
29453         (conformtest-standards): Likewise.
29454         (conformtest-headers-ISO): Likewise.
29455         (conformtest-headers-ISO99): Likewise.
29456         (conformtest-headers-ISO11): Likewise.
29457         (conformtest-headers-POSIX): Likewise.
29458         (conformtest-headers-XPG3): Likewise.
29459         (conformtest-headers-XPG4): Likewise.
29460         (conformtest-headers-UNIX98): Likewise.
29461         (conformtest-headers-XOPEN2K): Likewise.
29462         (conformtest-headers-POSIX2008): Likewise.
29463         (conformtest-headers-XOPEN2K8): Likewise.
29464         (conformtest-header-list-base): Likewise.
29465         (conformtest-header-list-tests): Likewise.
29466         (conformtest-header-base): Likewise.
29467         (conformtest-header-tests): Likewise.
29468         (tests-special): Add $(conformtest-header-list-tests).  If
29469         [$(fast-check) && !$(cross-compiling)], add
29470         $(conformtest-header-tests) instead of
29471         $(objpfx)run-conformtest.out.
29472         (generated): Add $(conformtest-header-list-base).  If
29473         [$(fast-check) && !$(cross-compiling)], add
29474         $(conformtest-header-base).  Remove previous setting.
29475         ($(conformtest-header-list-tests)): New target.
29476         (test-xfail-run-conformtest): Remove variable.
29477         ($(objpfx)run-conformtest.out): Remove target.
29478         (test-xfail-ISO11/complex.h/conform): New variable.
29479         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29480         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29481         (test-xfail-XPG3/varargs.h/conform): Likewise.
29482         (test-xfail-XPG4/varargs.h/conform): Likewise.
29483         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29484         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29485         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29486         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29487         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29488         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29489         (test-xfail-XPG3/ftw.h/conform): Likewise.
29490         (test-xfail-XPG3/grp.h/conform): Likewise.
29491         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29492         (test-xfail-XPG3/limits.h/conform): Likewise.
29493         (test-xfail-XPG3/pwd.h/conform): Likewise.
29494         (test-xfail-XPG3/search.h/conform): Likewise.
29495         (test-xfail-XPG3/signal.h/conform): Likewise.
29496         (test-xfail-XPG3/stdio.h/conform): Likewise.
29497         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29498         (test-xfail-XPG3/string.h/conform): Likewise.
29499         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29500         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29501         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29502         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29503         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29504         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29505         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29506         (test-xfail-XPG3/termios.h/conform): Likewise.
29507         (test-xfail-XPG3/time.h/conform): Likewise.
29508         (test-xfail-XPG3/unistd.h/conform): Likewise.
29509         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29510         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29511         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29512         (test-xfail-XPG4/netdb.h/conform): Likewise.
29513         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29514         (test-xfail-XPG4/signal.h/conform): Likewise.
29515         (test-xfail-XPG4/stdio.h/conform): Likewise.
29516         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29517         (test-xfail-XPG4/stropts.h/conform): Likewise.
29518         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29519         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29520         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29521         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29522         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29523         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29524         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29525         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29526         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29527         (test-xfail-XPG4/termios.h/conform): Likewise.
29528         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29529         (test-xfail-XPG4/unistd.h/conform): Likewise.
29530         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29531         (test-xfail-POSIX/sched.h/conform): Likewise.
29532         (test-xfail-POSIX/signal.h/conform): Likewise.
29533         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29534         (test-xfail-POSIX/tar.h/conform): Likewise.
29535         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29536         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29537         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29538         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29539         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29540         (test-xfail-UNIX98/sched.h/conform): Likewise.
29541         (test-xfail-UNIX98/signal.h/conform): Likewise.
29542         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29543         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29544         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29545         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29546         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29547         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29548         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29549         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29550         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29551         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29552         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29553         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29554         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29555         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29556         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29557         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29558         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29559         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29560         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29561         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29562         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29563         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29564         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29565         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29566         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29567         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29568         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29569         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29570         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29571         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29572         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29573         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29574         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29575         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29576         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29577         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29578         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29579         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29580         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29581         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29582         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29583         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29584         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29585         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29586         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29587         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29588         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29589         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29590         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29591         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29592         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29593         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29594         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29595         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29596         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29597         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29598         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29599         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29600         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29601         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29602         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29603         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29604         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29605         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29606         (conformtest-cc-flags): Likewise.
29607         ($(conformtest-header-tests): New target.
29608         * conform/check-header-lists.sh: New file.
29609         * conform/run-conformtest.sh: Remove.
29611         * conform/conformtest.pl: Allow ' and \ in values given for
29612         constants.
29613         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29614         inclusion.
29615         [POSIX] (sys/types.h): Likewise.
29616         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29617         inclusion.
29618         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29619         inclusion.
29620         * conform/data/signal.h-data (SIGIO): Remove expectation.
29621         [XPG3] (SIGBUS): Do not expect.
29622         [POSIX || XPG3] (SIGPOLL): Likewise.
29623         [POSIX || XPG3] (SIGPROF): Likewise.
29624         [POSIX || XPG3] (SIGSYS): Likewise.
29625         [XPG3] (SIGTRAP): Likewise.
29626         [POSIX || XPG3] (SIGURG): Likewise.
29627         [POSIX || XPG3] (SIGVTALRM): Likewise.
29628         [POSIX || XPG3] (SIGXCPU): Likewise.
29629         [POSIX || XPG3] (SIGXFSZ): Likewise.
29630         [POSIX] (SA_SIGINFO): Expect.
29631         [XPG3] (siginfo_t): Do not expect type or contents.
29632         [POSIX] (si_pid): Do not expect element.
29633         [POSIX] (si_uid): Likewise.
29634         [POSIX] (si_addr): Likewise.
29635         [POSIX] (si_status): Likewise.
29636         [POSIX] (si_band): Likewise.
29637         [XPG4] (si_value): Likewise.
29638         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29639         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29640         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29641         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29642         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29643         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29644         [POSIX || XPG3] (ILL_COPROC): Likewise.
29645         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29646         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29647         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29648         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29649         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29650         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29651         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29652         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29653         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29654         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29655         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29656         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29657         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29658         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29659         [POSIX || XPG3] (CLD_EXITED): Likewise.
29660         [POSIX || XPG3] (CLD_KILLED): Likewise.
29661         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29662         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29663         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29664         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29665         [POSIX || XPG3] (POLL_IN): Likewise.
29666         [POSIX || XPG3] (POLL_OUT): Likewise.
29667         [POSIX || XPG3] (POLL_MSG): Likewise.
29668         [POSIX || XPG3] (POLL_ERR): Likewise.
29669         [POSIX || XPG3] (POLL_PRI): Likewise.
29670         [POSIX || XPG3] (POLL_HUP): Likewise.
29671         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29672         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29673         (SIG*): Do not allow.
29674         [XPG3] (si_*): Likewise.
29675         [XPG3] (SI_*): Likewise.
29676         [XPG3 || XPG4] (sigev_*): Likewise.
29677         [XPG3 || XPG4] (SIGEV_*): Likewise.
29678         [XPG3 || XPG4] (sival_*): Likewise.
29679         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29680         [POSIX || XPG3] (BUS_*): Likewise.
29681         [POSIX || XPG3] (CLD_*): Likewise.
29682         [POSIX || XPG3] (FPE_*): Likewise.
29683         [POSIX || XPG3] (ILL_*): Likewise.
29684         [POSIX || XPG3] (POLL_*): Likewise.
29685         [POSIX || XPG3] (SEGV_*): Likewise.
29686         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29687         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29688         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29689         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29690         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29691         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29692         Specify type and value.
29693         (TVERSLEN): Likewise.
29694         (REGTYPE): Likewise.
29695         (AREGTYPE): Likewise.
29696         (LNKTYPE): Likewise.
29697         (SYMTYPE): Likewise.
29698         (CHRTYPE): Likewise.
29699         (BLKTYPE): Likewise.
29700         (DIRTYPE): Likewise.
29701         (FIFOTYPE): Likewise.
29702         (CONTTYPE): Likewise.
29703         (TSUID): Likewise.
29704         (TSGID): Likewise.
29705         (TSVTX): Likewise.
29706         (TUREAD): Likewise.
29707         (TUWRITE): Likewise.
29708         (TUEXEC): Likewise.
29709         (TGREAD): Likewise.
29710         (TGWRITE): Likewise.
29711         (TGEXEC): Likewise.
29712         (TOREAD): Likewise.
29713         (TOWRITE): Likewise.
29714         (TOEXEC): Likewise.
29715         [POSIX] (TSVTX): Expect constant.
29717 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29719         * Makefile (tests): Change dependencies to ....
29720         (tests-special): ... additions to this variable.
29721         (tests): Depend on $(tests-special).
29722         * Makerules (check-abi-list): New variable.
29723         (check-abi): Depend on $(check-abi-list).
29724         [$(subdir) = elf] (tests-special): Add
29725         $(objpfx)check-abi-libc.out.
29726         [$(build-shared) = yes && subdir] (tests-special): Add
29727         $(check-abi-list).
29728         [$(build-shared) = yes && subdir] (tests): Do not depend on
29729         check-abi.
29730         * Rules (tests): Depend on $(tests-special).
29731         (xtests): Depend on $(xtests-special).
29732         * catgets/Makefile (tests): Change dependencies to ....
29733         (tests-special): ... additions to this variable.
29734         * conform/Makefile (tests): Change dependencies to ....
29735         (tests-special): ... additions to this variable.
29736         * elf/Makefile (tests): Change dependencies to ....
29737         (tests-special): ... additions to this variable.
29738         * grp/Makefile (tests): Change dependencies to ....
29739         (tests-special): ... additions to this variable.
29740         * iconv/Makefile (xtests): Change dependencies to ....
29741         (xtests-special): ... additions to this variable.
29742         * iconvdata/Makefile (tests): Change dependencies to ....
29743         (tests-special): ... additions to this variable.
29744         * intl/Makefile (tests): Change dependencies to ....
29745         (tests-special): ... additions to this variable.  Also add
29746         $(objpfx)tst-gettext.out.
29747         * io/Makefile (tests): Change dependencies to ....
29748         (tests-special): ... additions to this variable.
29749         * libio/Makefile (tests): Change dependencies to ....
29750         (tests-special): ... additions to this variable.
29751         * malloc/Makefile (tests): Change dependencies to ....
29752         (tests-special): ... additions to this variable.
29753         * misc/Makefile (tests): Change dependencies to ....
29754         (tests-special): ... additions to this variable.
29755         * nptl/Makefile (tests): Change dependencies to ....
29756         (tests-special): ... additions to this variable.
29757         * nptl_db/Makefile (tests): Change dependencies to ....
29758         (tests-special): ... additions to this variable.
29759         * posix/Makefile (tests): Change dependencies to ....
29760         (tests-special): ... additions to this variable.
29761         (xtests): Change dependencies to ....
29762         (xtests-special): ... additions to this variable.
29763         * resolv/Makefile (tests): Change dependencies to ....
29764         (tests-special): ... additions to this variable.
29765         (xtests): Change dependencies to ....
29766         (xtests-special): ... additions to this variable.
29767         * stdio-common/Makefile (tests): Change dependencies to ....
29768         (tests-special): ... additions to this variable.
29769         (do-tst-unbputc): Remove target.
29770         (do-tst-printf): Likewise.
29771         * stdlib/Makefile (tests): Change dependencies to ....
29772         (tests-special): ... additions to this variable.
29773         * string/Makefile (tests): Change dependencies to ....
29774         (tests-special): ... additions to this variable.
29775         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29776         (tests-special): ... additions to this variable.
29778         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29779         whole file.
29780         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29781         whole file.
29782         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29783         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29785         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29786         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29787         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29788         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29789         * conform/data/libgen.h-data [XPG3]: Likewise.
29790         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29791         * conform/data/ndbm.h-data [XPG3]: Likewise.
29792         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29793         * conform/data/netdb.h-data [XPG3]: Likewise.
29794         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29795         * conform/data/poll.h-data [XPG3]: Likewise.
29796         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29797         * conform/data/strings.h-data [XPG3]: Likewise.
29798         * conform/data/stropts.h-data [XPG3]: Likewise.
29799         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29800         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29801         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29802         Likewise.
29803         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29804         * conform/data/sys/time.h-data [XPG3]: Likewise.
29805         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29806         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29807         * conform/data/sys/un.h-data [XPG3]: Likewise.
29808         * conform/data/syslog.h-data [XPG3]: Likewise.
29809         * conform/data/ucontext.h-data [XPG3]: Likewise.
29810         * conform/data/utmpx.h-data [XPG3]: Likewise.
29811         * conform/data/varargs.h-data [UNIX98]: Enable file.
29813         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29815         * math/libm-test.inc (struct test_f_f_data): Move expected results
29816         into structure for each rounding mode.
29817         (struct test_ff_f_data): Likewise.
29818         (struct test_ff_f_data_nexttoward): Likewise.
29819         (struct test_fi_f_data): Likewise.
29820         (struct test_fl_f_data): Likewise.
29821         (struct test_if_f_data): Likewise.
29822         (struct test_fff_f_data): Likewise.
29823         (struct test_c_f_data): Likewise.
29824         (struct test_f_f1_data): Likewise.
29825         (struct test_fF_f1_data): Likewise.
29826         (struct test_ffI_f1_data): Likewise.
29827         (struct test_c_c_data): Likewise.
29828         (struct test_cc_c_data): Likewise.
29829         (struct test_f_i_data): Likewise.
29830         (struct test_ff_i_data): Likewise.
29831         (struct test_f_l_data): Likewise.
29832         (struct test_f_L_data): Likewise.
29833         (struct test_fFF_11_data): Likewise.
29834         (RM_): New macro.
29835         (RM_FE_DOWNWARD): Likewise.
29836         (RM_FE_TONEAREST): Likewise.
29837         (RM_FE_TOWARDZERO): Likewise.
29838         (RM_FE_UPWARD): Likewise.
29839         (RUN_TEST_LOOP_f_f): Update references to expected results.
29840         (RUN_TEST_LOOP_2_f): Likewise.
29841         (RUN_TEST_LOOP_fff_f): Likewise.
29842         (RUN_TEST_LOOP_c_f): Likewise.
29843         (RUN_TEST_LOOP_f_f1): Likewise.
29844         (RUN_TEST_LOOP_fF_f1): Likewise.
29845         (RUN_TEST_LOOP_fI_f1): Likewise.
29846         (RUN_TEST_LOOP_ffI_f1): Likewise.
29847         (RUN_TEST_LOOP_c_c): Likewise.
29848         (RUN_TEST_LOOP_cc_c): Likewise.
29849         (RUN_TEST_LOOP_f_i): Likewise.
29850         (RUN_TEST_LOOP_f_i_tg): Likewise.
29851         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29852         (RUN_TEST_LOOP_f_b): Likewise.
29853         (RUN_TEST_LOOP_f_b_tg): Likewise.
29854         (RUN_TEST_LOOP_f_l): Likewise.
29855         (RUN_TEST_LOOP_f_L): Likewise.
29856         (RUN_TEST_LOOP_fFF_11): Likewise.
29857         * math/gen-libm-test.pl (parse_args): Output four copies of
29858         expected results for each test.
29860         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29861         (__ASSUME_UTIMES): Remove.
29862         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29863         (__ASSUME_UTIMES): Likewise.
29865         * math/gen-auto-libm-tests.c: Update comment on output format.
29866         (output_for_one_input_case): Generate before-rounding and
29867         after-rounding information as conditions on output flags not
29868         floating-point format.
29869         * math/auto-libm-test-out: Regenerated.
29870         * math/gen-libm-test.pl (cond_value): New function.
29871         (or_cond_value): Use cond_value.
29872         (generate_testfile): Handle conditional exceptions.
29874 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29876         * math/libm-test.inc (max_valid_error): New variable.
29877         (init_max_error): Take new argument specifying whether function
29878         results are exactly determined.  Set max_valid_error and bound
29879         other variables for errors based on this argument.
29880         (set_max_error): Do not record results above max_valid_error.
29881         (check_float_internal): Only accept errors of up to 0.5ulps if
29882         also at most max_valid_error.
29883         (START): Take new argument EXACT and pass it to init_max_error.
29884         (acos_test): Update call to START.
29885         (acos_test_tonearest): Likewise.
29886         (acos_test_towardzero): Likewise.
29887         (acos_test_downward): Likewise.
29888         (acos_test_upward): Likewise.
29889         (acosh_test): Likewise.
29890         (asin_test): Likewise.
29891         (asin_test_tonearest): Likewise.
29892         (asin_test_towardzero): Likewise.
29893         (asin_test_downward): Likewise.
29894         (asin_test_upward): Likewise.
29895         (asinh_test): Likewise.
29896         (atan_test): Likewise.
29897         (atanh_test): Likewise.
29898         (atan2_test): Likewise.
29899         (cabs_test): Likewise.
29900         (cacos_test): Likewise.
29901         (cacosh_test): Likewise.
29902         (carg_test): Likewise.
29903         (casin_test): Likewise.
29904         (casinh_test): Likewise.
29905         (catan_test): Likewise.
29906         (catanh_test): Likewise.
29907         (cbrt_test): Likewise.
29908         (ccos_test): Likewise.
29909         (ccosh_test): Likewise.
29910         (ceil_test): Likewise.
29911         (cexp_test): Likewise.
29912         (cimag_test): Likewise.
29913         (clog_test): Likewise.
29914         (clog10_test): Likewise.
29915         (conj_test): Likewise.
29916         (copysign_test): Likewise.
29917         (cos_test): Likewise.
29918         (cos_test_tonearest): Likewise.
29919         (cos_test_towardzero): Likewise.
29920         (cos_test_downward): Likewise.
29921         (cos_test_upward): Likewise.
29922         (cosh_test): Likewise.
29923         (cosh_test_tonearest): Likewise.
29924         (cosh_test_towardzero): Likewise.
29925         (cosh_test_downward): Likewise.
29926         (cosh_test_upward): Likewise.
29927         (cpow_test): Likewise.
29928         (cproj_test): Likewise.
29929         (creal_test): Likewise.
29930         (csin_test): Likewise.
29931         (csinh_test): Likewise.
29932         (csqrt_test): Likewise.
29933         (ctan_test): Likewise.
29934         (ctan_test_tonearest): Likewise.
29935         (ctan_test_towardzero): Likewise.
29936         (ctan_test_downward): Likewise.
29937         (ctan_test_upward): Likewise.
29938         (ctanh_test): Likewise.
29939         (ctanh_test_tonearest): Likewise.
29940         (ctanh_test_towardzero): Likewise.
29941         (ctanh_test_downward): Likewise.
29942         (ctanh_test_upward): Likewise.
29943         (erf_test): Likewise.
29944         (erfc_test): Likewise.
29945         (exp_test): Likewise.
29946         (exp_test_tonearest): Likewise.
29947         (exp_test_towardzero): Likewise.
29948         (exp_test_downward): Likewise.
29949         (exp_test_upward): Likewise.
29950         (exp10_test): Likewise.
29951         (exp10_test_tonearest): Likewise.
29952         (exp10_test_towardzero): Likewise.
29953         (exp10_test_downward): Likewise.
29954         (exp10_test_upward): Likewise.
29955         (pow10_test): Likewise.
29956         (exp2_test): Likewise.
29957         (expm1_test): Likewise.
29958         (expm1_test_tonearest): Likewise.
29959         (expm1_test_towardzero): Likewise.
29960         (expm1_test_downward): Likewise.
29961         (expm1_test_upward): Likewise.
29962         (fabs_test): Likewise.
29963         (fdim_test): Likewise.
29964         (floor_test): Likewise.
29965         (fma_test): Likewise.
29966         (fma_test_towardzero): Likewise.
29967         (fma_test_downward): Likewise.
29968         (fma_test_upward): Likewise.
29969         (fmax_test): Likewise.
29970         (fmin_test): Likewise.
29971         (fmod_test): Likewise.
29972         (fpclassify_test): Likewise.
29973         (frexp_test): Likewise.
29974         (hypot_test): Likewise.
29975         (ilogb_test): Likewise.
29976         (isfinite_test): Likewise.
29977         (finite_test): Likewise.
29978         (isgreater_test): Likewise.
29979         (isgreaterequal_test): Likewise.
29980         (isinf_test): Likewise.
29981         (isless_test): Likewise.
29982         (islessequal_test): Likewise.
29983         (islessgreater_test): Likewise.
29984         (isnan_test): Likewise.
29985         (isnormal_test): Likewise.
29986         (issignaling_test): Likewise.
29987         (isunordered_test): Likewise.
29988         (j0_test): Likewise.
29989         (j1_test): Likewise.
29990         (jn_test): Likewise.
29991         (ldexp_test): Likewise.
29992         (lgamma_test): Likewise.
29993         (gamma_test): Likewise.
29994         (lrint_test): Likewise.
29995         (lrint_test_tonearest): Likewise.
29996         (lrint_test_towardzero): Likewise.
29997         (lrint_test_downward): Likewise.
29998         (lrint_test_upward): Likewise.
29999         (llrint_test): Likewise.
30000         (llrint_test_tonearest): Likewise.
30001         (llrint_test_towardzero): Likewise.
30002         (llrint_test_downward): Likewise.
30003         (llrint_test_upward): Likewise.
30004         (log_test): Likewise.
30005         (log10_test): Likewise.
30006         (log1p_test): Likewise.
30007         (log2_test): Likewise.
30008         (logb_test): Likewise.
30009         (logb_test_downward): Likewise.
30010         (lround_test): Likewise.
30011         (llround_test): Likewise.
30012         (modf_test): Likewise.
30013         (nearbyint_test): Likewise.
30014         (nextafter_test): Likewise.
30015         (nexttoward_test): Likewise.
30016         (pow_test): Likewise.
30017         (pow_test_tonearest): Likewise.
30018         (pow_test_towardzero): Likewise.
30019         (pow_test_downward): Likewise.
30020         (pow_test_upward): Likewise.
30021         (remainder_test): Likewise.
30022         (drem_test): Likewise.
30023         (remainder_test_tonearest): Likewise.
30024         (drem_test_tonearest): Likewise.
30025         (remainder_test_towardzero): Likewise.
30026         (drem_test_towardzero): Likewise.
30027         (remainder_test_downward): Likewise.
30028         (drem_test_downward): Likewise.
30029         (remainder_test_upward): Likewise.
30030         (drem_test_upward): Likewise.
30031         (remquo_test): Likewise.
30032         (rint_test): Likewise.
30033         (rint_test_tonearest): Likewise.
30034         (rint_test_towardzero): Likewise.
30035         (rint_test_downward): Likewise.
30036         (rint_test_upward): Likewise.
30037         (round_test): Likewise.
30038         (scalb_test): Likewise.
30039         (scalbn_test): Likewise.
30040         (scalbln_test): Likewise.
30041         (signbit_test): Likewise.
30042         (sin_test): Likewise.
30043         (sin_test_tonearest): Likewise.
30044         (sin_test_towardzero): Likewise.
30045         (sin_test_downward): Likewise.
30046         (sin_test_upward): Likewise.
30047         (sincos_test): Likewise.
30048         (sinh_test): Likewise.
30049         (sinh_test_tonearest): Likewise.
30050         (sinh_test_towardzero): Likewise.
30051         (sinh_test_downward): Likewise.
30052         (sinh_test_upward): Likewise.
30053         (sqrt_test): Likewise.
30054         (sqrt_test_tonearest): Likewise.
30055         (sqrt_test_towardzero): Likewise.
30056         (sqrt_test_downward): Likewise.
30057         (sqrt_test_upward): Likewise.
30058         (tan_test): Likewise.
30059         (tan_test_tonearest): Likewise.
30060         (tan_test_towardzero): Likewise.
30061         (tan_test_downward): Likewise.
30062         (tan_test_upward): Likewise.
30063         (tanh_test): Likewise.
30064         (tgamma_test): Likewise.
30065         (trunc_test): Likewise.
30066         (y0_test): Likewise.
30067         (y1_test): Likewise.
30068         (yn_test): Likewise.
30069         (significand_test): Likewise.
30071         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30072         individual tests in comment.
30073         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30074         (prev_max_error): New variable.
30075         (prev_real_max_error): Likewise.
30076         (prev_imag_max_error): Likewise.
30077         (compare_ulp_data): Don't refer to test names in comment.
30078         (find_test_ulps): Remove function.
30079         (find_function_ulps): Likewise.
30080         (find_complex_function_ulps): Likewise.
30081         (init_max_error): Take function name as argument.  Look up ulps
30082         for that function.
30083         (print_ulps): Remove function.
30084         (print_max_error): Use prev_max_error instead of calling
30085         find_function_ulps.
30086         (print_complex_max_error): Use prev_real_max_error and
30087         prev_imag_max_error instead of calling find_complex_function_ulps.
30088         (check_float_internal): Take max_ulp parameter instead of calling
30089         find_test_ulps.  Don't call print_ulps.
30090         (check_float): Update call to check_float_internal.
30091         (check_complex): Update calls to check_float_internal.
30092         (START): Pass argument to init_max_error.
30093         * math/gen-libm-test.pl (%results): Don't include "kind"
30094         information.
30095         (parse_ulps): Don't handle ulps of individual tests.
30096         (print_ulps_file): Likewise.
30097         (output_ulps): Likewise.
30098         * math/README.libm-test: Update.
30099         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30100         individual tests.
30101         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30102         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30103         * sysdeps/arm/libm-test-ulps: Likewise.
30104         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30105         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30106         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30107         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30108         * sysdeps/microblaze/libm-test-ulps: Likewise.
30109         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30110         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30112         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30113         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30114         * sysdeps/sh/libm-test-ulps: Likewise.
30115         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30116         * sysdeps/tile/libm-test-ulps: Likewise.
30117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30119 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30121         * math/libm-test.inc (print_complex_max_error): Check separately
30122         whether real and imaginary errors are within allowed range and
30123         pass 0 to print_complex_function_ulps instead of value within
30124         allowed range.
30126 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30128         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30129         formatting.
30130         (get_handles_fopen): Likewise.
30131         (do_write_test): Likewise.
30133         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30135         * libio/fileops.c (do_ftell): Use cached offset when
30136         available.
30137         * libio/iofwide.c (do_ftell_wide): Likewise.
30138         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30139         _IO_file_attach.
30140         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30142         [BZ #16532]
30143         * libio/libioP.h (get_file_offset): New function.
30144         * libio/fileops.c (get_file_offset): Likewise.
30145         (do_ftell): Likewise.
30146         (_IO_new_file_seekoff): Split out ftell logic.
30147         * libio/wfileops.c (do_ftell_wide): Likewise.
30148         (_IO_wfile_seekoff): Split out ftell logic.
30149         * libio/tst-ftell-active-handler.c: New test case.
30150         * libio/Makefile (tests): Add it.
30152 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30154         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30155         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30157 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159         [BZ #16639]
30160         * nscd/connections.c (nscd_init): Call do_exit.
30161         (start_threads): Call do_exit and notify_parent.
30162         (begin_drop_privileges): Call do_exit.
30163         (finish_drop_privileges): Likewise.
30164         * nscd/selinux.c (preserve_capabilities): Likewise.
30165         (install_real_capabilities): Likewise.
30166         (nscd_selinux_enabled): Likewise.
30167         (avc_create_thread): Likewise.
30168         (avc_alloc_lock): Likewise.
30169         (nscd_avc_init): Likewise.
30170         * nscd/nscd.c (parent_fd): New static variable.
30171         (main): Create a pipe between parent and child processes.
30172         Skip closing parent_fd.
30173         (monitor_child): New function.
30174         (do_exit): Likewise.
30175         (notify_parent): Likewise.
30176         * nscd/nscd.h (notify_parent): Likewise.
30177         (do_exit): Likewise.
30179 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30181         * malloc/malloc.c (__libc_calloc): Revert last change.
30183 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30187 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30189         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30191         implementation.
30192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30193         (__libc_ifunc_impl_list): Likewise.
30194         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30195         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30196         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30197         * string/strrchr.c: Define STRRCHR.
30199 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30201         * benchtest/bench-strtok.c (simple_strtok): Delete.
30202         (strtok_string): Use as benchmark.
30203         * string/strtok (STRTOK): New macro.
30205 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30207         * manual/threads.texi: Add header and standard comments to all
30208         functions.
30210         * elf/dl-lookup.c (check_match): New function.
30211         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30212         (do_lookup_x): Remove nested function check_match. Use non-nested
30213         function check_match.
30215 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30217         * csu/Makefile (generated, before-compile): Use += rather than =.
30218         * catgets/Makefile (generated, generated-dirs): Likewise.
30219         * debug/Makefile (generated): Likewise.
30220         * dlfcn/Makefile (generated): Likewise.
30221         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30222         * iconvdata/Makefile (before-compile, generated): Likewise.
30223         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30224         * libio/Makefile (generated): Likewise.
30225         * malloc/Makefile (generated): Likewise.
30226         * manual/Makefile (generated, generated-dirs): Likewise.
30227         * misc/Makefile (generated): Likewise.
30228         * posix/Makefile (generated): Likewise.
30229         * resolv/Makefile (generated): Likewise.
30230         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30231         * timezone/Makefile (generated, generated-dirs): Likewise.
30233         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30235 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30238         power8 implementation.
30239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30240         file: POWER8 llround ifunc implementation.
30241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30242         (__lllround): Add POWER8 implementation.
30243         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30244         POWER8 llround implementation.
30246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30247         power8 implementation.
30248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30249         file: POWER8 llrint ifunc implementation.
30250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30251         Add POWER8 implementation.
30252         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30253         POWER8 llrint implementation.
30255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30256         power8 implementation.
30257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30258         file: POWER8 finite ifunc implementation.
30259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30260         Add POWER8 implementation.
30261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30262         Likewise.
30263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30264         POWER8 finite implementation.
30265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30268         power8 implementation.
30269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30270         file: POWER8 isinf ifunc implementation.
30271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30272         POWER8 implementation.
30273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30274         Likewise.
30275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30276         isinf implementation.
30277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30279         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30280         (INIT_ARCH): Add hwcap2 initialization.
30281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30282         power8 implementation.
30283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30284         file: POWER8 isnan ifunc implementation.
30285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30286         POWER8 implementation.
30287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30288         Likewise.
30289         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30290         isnan implementation.
30291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30293 2014-02-27  Joey Ye  <joey.ye@arm.com>
30295         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30296         (_FP_NANFRAC_Q): Set to zero.
30298 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300         [BZ #16623]
30301         * math/auto-libm-test-in: New test inputs.
30302         * math/auto-libm-test-out: Regenerate.
30303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30304         and DA.
30305         (__cos): Likewise.
30306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30308 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30310         * scripts/evaluate-test.sh: Take new argument indicating whether
30311         failure is expected.
30312         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30313         indicating whether failure is expected.
30314         * conform/Makefile (test-xfail-run-conformtest): New variable.
30315         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30316         level.
30317         * posix/Makefile (test-xfail-annexc): New variable.
30318         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30320 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30322         * argp/Makefile: Include Makeconfig immediately after defining
30323         subdir.
30324         * assert/Makefile: Likewise.
30325         * benchtests/Makefile: Likewise.
30326         * catgets/Makefile: Likewise.
30327         * conform/Makefile: Likewise.
30328         * crypt/Makefile: Likewise.
30329         * csu/Makefile: Likewise.
30330         (all): Remove target.
30331         * ctype/Makefile: Include Makeconfig immediately after defining
30332         subdir.
30333         * debug/Makefile: Likewise.
30334         * dirent/Makefile: Likewise.
30335         * dlfcn/Makefile: Likewise.
30336         * gmon/Makefile: Likewise.
30337         * gnulib/Makefile: Likewise.
30338         * grp/Makefile: Likewise.
30339         * gshadow/Makefile: Likewise.
30340         * hesiod/Makefile: Likewise.
30341         * hurd/Makefile: Likewise.
30342         (all): Remove target.
30343         * iconvdata/Makefile: Include Makeconfig immediately after
30344         defining subdir.
30345         * inet/Makefile: Likewise.
30346         * intl/Makefile: Likewise.
30347         * io/Makefile: Likewise.
30348         * libio/Makefile: Likewise.
30349         (all): Remove target.
30350         * locale/Makefile: Include Makeconfig immediately after defining
30351         subdir.
30352         * login/Makefile: Likewise.
30353         * mach/Makefile: Likewise.
30354         (all): Remove target.
30355         * malloc/Makefile: Include Makeconfig immediately after defining
30356         subdir.
30357         (all): Remove target.
30358         * manual/Makefile: Include Makeconfig immediately after defining
30359         subdir.
30360         * math/Makefile: Likewise.
30361         * misc/Makefile: Likewise.
30362         * nis/Makefile: Likewise.
30363         * nss/Makefile: Likewise.
30364         * po/Makefile: Likewise.
30365         (all): Remove target.
30366         * posix/Makefile: Include Makeconfig immediately after defining
30367         subdir.
30368         * pwd/Makefile: Likewise.
30369         * resolv/Makefile: Likewise.
30370         * resource/Makefile: Likewise.
30371         * rt/Makefile: Likewise.
30372         * setjmp/Makefile: Likewise.
30373         * shadow/Makefile: Likewise.
30374         * signal/Makefile: Likewise.
30375         * socket/Makefile: Likewise.
30376         * soft-fp/Makefile: Likewise.
30377         * stdio-common/Makefile: Likewise.
30378         * stdlib/Makefile: Likewise.
30379         * streams/Makefile: Likewise.
30380         * string/Makefile: Likewise.
30381         * sunrpc/Makefile: Likewise.
30382         (all): Remove target.
30383         * sysvipc/Makefile: Include Makeconfig immediately after defining
30384         subdir.
30385         * termios/Makefile: Likewise.
30386         * time/Makefile: Likewise.
30387         * timezone/Makefile: Likewise.
30388         (all): Remove target.
30389         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30390         subdir.
30391         * wctype/Makefile: Likewise.
30393 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30395         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30396         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30397         (libc_feholdexcept_setround_mips): Ditto.
30398         (libc_feholdsetround): New.
30399         (libc_feholdsetroundf): New.
30400         (libc_feholdsetroundl): New.
30401         (libc_feupdateenv_test_mips): New.
30402         (libc_feupdateenv_test): New.
30403         (libc_feupdateenv_testf): New.
30404         (libc_feupdateenv_testl): New.
30405         (libc_feresetround): New.
30406         (libc_feresetroundf): New.
30407         (libc_feresetroundl): New.
30408         (libc_fetestexcept_mips): New.
30409         (libc_fetestexcept): New.
30410         (libc_fetestexceptf): New.
30411         (libc_fetestexceptl): New.
30412         (HAVE_RM_CTX): New.
30413         (libc_feholdexcept_setround_mips_ctx): New.
30414         (libc_feholdexcept_setround_ctx): New.
30415         (libc_feholdexcept_setroundf_ctx): New.
30416         (libc_feholdexcept_setroundl_ctx): New.
30417         (libc_fesetenv_mips_ctx): New.
30418         (libc_fesetenv_ctx): New.
30419         (libc_fesetenv_ctxf): New.
30420         (libc_fesetenv_ctxl): New.
30421         (libc_feupdateenv_mips_ctx): New.
30422         (libc_feupdateenv_ctx): New.
30423         (libc_feupdateenvf_ctx): New.
30424         (libc_feupdateenvl_ctx): New.
30425         (libc_feholdsetround_mips_ctx): New.
30426         (libc_feholdsetround_ctx): New.
30427         (libc_feholdsetroundf_ctx): New.
30428         (libc_feholdsetroundl_ctx): New.
30429         (libc_feresetround_mips_ctx): New.
30430         (libc_feresetround_ctx): New.
30431         (libc_feresetroundf_ctx): New.
30432         (libc_feresetroundl_ctx): New.
30434 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30436         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30438         * manual/ipc.texi: New file.
30439         * manual/Makefile (chapters): Add ipc.
30440         * manual/job.texi: Add "Inter-Process Communication" to next.
30441         * manual/process.texi: Add "Inter-Process Communication" to prev.
30443 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30447 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30449         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30451         * manual/arith.texi: Fix spaces after sentences.
30452         * manual/charset.texi: Likewise.
30453         * manual/errno.texi: Likewise.
30454         * manual/install.texi: Likewise.
30455         * manual/llio.texi: Likewise.
30456         * manual/locale.texi: Likewise.
30457         * manual/maint.texi: Likewise.
30458         * manual/math.texi: Likewise.
30459         * manual/memory.texi: Likewise.
30460         * manual/message.texi: Likewise.
30461         * manual/probes.texi: Likewise.
30462         * manual/resource.texi: Likewise.
30463         * manual/signal.texi: Likewise.
30464         * manual/socket.texi: Likewise.
30465         * manual/stdio.texi: Likewise.
30466         * manual/string.texi: Likewise.
30467         * manual/time.texi: Likewise.
30468         * manual/users.texi: Likewise.
30470 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30472         [BZ #16632]
30473         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30474         _DEFAULT_SOURCE is defined.
30476 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30477             Carlos O'Donell  <carlos@redhat.com>
30479         [BZ #16613]
30480         * elf/dl-tls.c (_dl_count_modids): New function.
30481         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30482         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30483         audit library and increment generation counter.
30484         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30485         * elf/tst-audit9.c: New file.
30486         * elf/tst-auditmod9a.c: New file.
30487         * elf/tst-auditmod9b.c: New file.
30488         * elf/Makefile: Add rules to build and run tst-audit9.
30490 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30492         [BZ #15347]
30493         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30495 2014-02-25  Will Newton  <will.newton@linaro.org>
30497         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30498         (__longjmp): Restore sp and lr before restoring callee
30499         saved registers.  Add longjmp and longjmp_target
30500         SystemTap probe point.
30501         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30502         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30503         Define to zero to match jmpbuf layout.
30504         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30505         (__sigsetjmp): Save sp and lr before saving callee
30506         saved registers.  Add setjmp SystemTap probe point.
30508 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30510         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30512 2014-02-24  Andreas Schwab  <schwab@suse.de>
30514         [BZ #15804]
30515         * elf/pldd.c (wait_for_ptrace_stop): New function.
30516         (main): Call it after attaching.
30518 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30520         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30521         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30522         Versions files is now verboten.
30523         * hurd/Versions (libc: GLIBC_2.0):
30524         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30525         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30526         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30527         * mach/Versions: Likewise.
30529         * csu/Versions: Remove unused %include.
30530         * resolv/Versions: Likewise.
30532 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30534         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30535         ($(objpfx)check-local-headers.out): Likewise.
30536         ($(objpfx)begin-end-check.out): Likewise.
30537         * Makerules (check-abi-%.out): Likewise.
30538         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30539         ($(objpfx)test2.cat): Likewise.
30540         ($(objpfx)de/libc.cat): Likewise.
30541         ($(objpfx)test-gencat.out): Likewise.
30542         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30543         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30544         ($(objpfx)noload-mem): Likewise.
30545         ($(objpfx)tst-pathopt.out): Likewise.
30546         ($(objpfx)tst-rtld-load-self.out): Likewise.
30547         ($(objpfx)tst-array1-cmp.out): Likewise.
30548         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30549         ($(objpfx)tst-array2-cmp.out): Likewise.
30550         ($(objpfx)tst-array3-cmp.out): Likewise.
30551         ($(objpfx)tst-array4-cmp.out): Likewise.
30552         ($(objpfx)tst-array5-cmp.out): Likewise.
30553         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30554         ($(objpfx)check-textrel.out): Likewise.
30555         ($(objpfx)check-execstack.out): Likewise.
30556         ($(objpfx)check-localplt.out): Likewise.
30557         ($(objpfx)order2-cmp.out): Likewise.
30558         ($(objpfx)tst-leaks1-mem): Likewise.
30559         ($(objpfx)tst-leaks1-static-mem): Likewise.
30560         ($(objpfx)tst-initorder-cmp.out): Likewise.
30561         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30562         ($(objpfx)tst-unused-dep.out): Likewise.
30563         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30564         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30565         * iconv/Makefile (test-iconvconfig): Likewise.
30566         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30567         ($(objpfx)iconv-test.out): Likewise.
30568         ($(objpfx)tst-tables.out): Likewise.
30569         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30570         ($(objpfx)tst-gettext.out): Likewise.
30571         ($(objpfx)tst-translit.out): Likewise.
30572         ($(objpfx)tst-gettext2.out): Likewise.
30573         ($(objpfx)tst-gettext4.out): Likewise.
30574         ($(objpfx)tst-gettext6.out): Likewise.
30575         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30576         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30577         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30578         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30579         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30580         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30581         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30582         ($(objpfx)wordexp-tst.out): Likewise.
30583         ($(objpfx)annexc.out): Likewise.
30584         ($(objpfx)tst-fnmatch-mem): Likewise.
30585         ($(objpfx)bug-regex2-mem): Likewise.
30586         ($(objpfx)bug-regex14-mem): Likewise.
30587         ($(objpfx)bug-regex21-mem): Likewise.
30588         ($(objpfx)bug-regex31-mem): Likewise.
30589         ($(objpfx)tst-vfork3-mem): Likewise.
30590         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30591         ($(objpfx)tst-pcre-mem): Likewise.
30592         ($(objpfx)tst-boost-mem): Likewise.
30593         ($(objpfx)tst-getconf.out): Likewise.
30594         ($(objpfx)bug-ga2-mem): Likewise.
30595         ($(objpfx)bug-glob2-mem): Likewise.
30596         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30597         ($(objpfx)mtrace-tst-leaks2): Likewise.
30598         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30599         ($(objpfx)tst-printf.out): Likewise.
30600         ($(objpfx)tst-setvbuf1.out): Likewise.
30601         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30602         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30603         ($(objpfx)tst-fmtmsg.out): Likewise.
30604         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30605         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30607         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30608         * bits/sigaction.h [__USE_MISC]: Likewise.
30609         * bits/waitstatus.h: Update #endif comments.
30610         * ctype/ctype.h: Likewise.
30611         * dirent/dirent.h: Likewise.
30612         [__USE_MISC]: Remove redundant conditionals.
30613         * grp/grp.h: Update #endif comments.
30614         [__USE_GNU]: Remove redundant conditionals.
30615         [__USE_MISC]: Likewise.
30616         * inet/netinet/in.h [__USE_GNU]: Likewise.
30617         * io/sys/stat.h [__USE_MISC]: Likewise.
30618         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30619         * libio/bits/stdio.h: Update #endif comments.
30620         [__USE_MISC]: Remove redundant conditionals.
30621         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30622         * libio/stdio.h: Update #endif comments.
30623         [__USE_MISC]: Remove redundant conditionals.
30624         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30625         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30626         * math/math.h: Update #else and #endif comments.
30627         [__USE_MISC]: Remove redundant conditionals.
30628         * misc/sys/uio.h: Update #endif comments.
30629         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30630         * posix/glob.h [__USE_MISC]: Likewise.
30631         * posix/sys/types.h: Update #endif comments.
30632         [__USE_MISC]: Remove redundant conditionals.
30633         * posix/sys/wait.h: Update #endif comments.
30634         [__USE_MISC]: Remove redundant conditionals.
30635         * posix/unistd.h: Update #endif comments.
30636         [__USE_MISC]: Remove redundant conditionals.
30637         * pwd/pwd.h [__USE_GNU]: Likewise.
30638         [__USE_MISC]: Likewise.
30639         * resolv/netdb.h [__USE_GNU]: Likewise.
30640         * signal/signal.h: Update #endif comments.
30641         [__USE_MISC]: Remove redundant conditionals.
30642         * stdlib/stdlib.h: Update #else and #endif comments.
30643         [__USE_MISC]: Remove redundant conditionals.
30644         [__USE_GNU]: Likewise.
30645         * string/bits/string2.h [__USE_MISC]: Likewise.
30646         * string/string.h: Update #endif comments.
30647         [__USE_MISC]: Remove redundant conditionals.
30648         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30649         Likewise.
30650         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30651         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30652         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30653         Likewise.
30654         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30655         Likewise.
30656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30657         comments.
30658         [__USE_MISC]: Remove redundant conditionals.
30659         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30660         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30661         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30662         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30663         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30664         Likewise.
30665         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30666         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30667         Likewise.
30668         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30669         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30670         Likewise.
30671         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30672         Likewise.
30673         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30674         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30675         Likewise.
30676         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30677         Likewise.
30678         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30679         * sysdeps/x86/bits/string.h: Update #endif comments.
30680         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30681         conditionals.
30682         * time/sys/time.h: Update #endif comments.
30683         * time/time.h: Likewise.
30684         [__USE_MISC]: Remove redundant conditionals.
30686 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30688         [BZ #16600]
30689         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30691 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30693         * Versions.def (librt): Add GLIBC_2.17.
30695 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30697         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30698         synonym for _SYS_AUXV_H to allow direct inclusion.
30699         * sysdeps/sparc/bits/hwcap.h: Likewise.
30700         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30701         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30702         * sysdeps/sparc/sysdep.h: Likewise.
30704 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30706         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30708 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30710         * benchtests/bench-strrchr.c: Print length instead of position.
30712 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30714         [BZ #16611]
30715         * sysdeps/unix/sysv/linux/kernel-features.h
30716         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30717         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30718         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30719         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30720         Likewise.
30721         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30722         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30723         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30724         (__ASSUME_SENDMMSG): Define instead of using previous
30725         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30727         (__ASSUME_SENDMMSG_SYSCALL): Define.
30728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30729         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30730         Likewise.
30731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30732         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30733         Likewise.
30734         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30735         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30736         Likewise.
30737         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30738         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30739         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30740         [__ASSUME_SENDMMSG]: Change conditionals to
30741         [__ASSUME_SENDMMSG_SOCKETCALL].
30742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30743         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30744         Define.
30745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30746         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30747         Likewise.
30748         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30749         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30750         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30751         [!__ASSUME_SENDMMSG]: Change conditional to
30752         [!__ASSUME_SENDMMSG_SOCKETCALL].
30753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30754         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30755         Define.
30757         [BZ #16610]
30758         * sysdeps/unix/sysv/linux/kernel-features.h
30759         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30760         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30761         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30762         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30763         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30764         [__i386__ || __sparc__]
30765         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30766         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30767         (__ASSUME_RECVMMSG): Define instead of using previous
30768         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30770         (__ASSUME_RECVMMSG_SYSCALL): Define.
30771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30773         Likewise.
30774         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30775         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30776         Likewise.
30777         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30779         Likewise.
30780         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30781         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30782         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30783         [__ASSUME_RECVMMSG]: Change condition to
30784         [__ASSUME_RECVMMSG_SOCKETCALL].
30785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30786         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30787         Define.
30788         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30789         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30791         Likewise.
30792         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30793         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30794         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30795         [!__ASSUME_RECVMMSG]: Change condition to
30796         [!__ASSUME_RECVMMSG_SOCKETCALL].
30797         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30798         (__ASSUME_RECVMMSG_SYSCALL): Define.
30800         [BZ #16609]
30801         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30802         __powerpc__ || __s390__ || __sh__ || __sparc__]
30803         (__ASSUME_SOCKETCALL): Define.
30804         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30805         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30806         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30807         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30808         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30809         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30810         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30811         (__ASSUME_ACCEPT4): Define instead of using previous
30812         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30813         __powerpc__ || __sparc__ || __s390__)] condition.
30814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30815         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30816         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30817         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30818         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30819         [!__ASSUME_ACCEPT4]: Change condition to
30820         [!__ASSUME_ACCEPT4_SOCKETCALL].
30821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30822         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30823         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30825         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30826         __ASSUME_ACCEPT4_SYSCALL.
30827         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30828         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30829         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30830         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30831         __ASSUME_ACCEPT4_SYSCALL.
30832         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30833         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30834         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30835         [__ASSUME_ACCEPT4]: Change condition to
30836         [__ASSUME_ACCEPT4_SOCKETCALL].
30837         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30838         (__ASSUME_SOCKETCALL): Define.
30839         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30840         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30841         (__ASSUME_SOCKETCALL): Define.
30842         (__ASSUME_ACCEPT4): Remove.
30843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30844         Define.
30845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30846         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30847         Likewise.
30848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30849         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30851         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30852         macro.
30853         (HWCAP_ARM_LPAE): Likewise.
30854         (HWCAP_ARM_EVTSTRM): Likewise.
30855         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30856         Add vpfd32, lpae and evtstrm.
30857         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30858         Increase to 22.
30860 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30862         * math/auto-libm-test-in: Add tests of clog10.
30863         * math/auto-libm-test-out: Regenerated.
30864         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30865         * sysdeps/i386/fpu/libm-test-ulps: Update.
30866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30868 2014-02-18  Andreas Schwab  <schwab@suse.de>
30870         [BZ #16574]
30871         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30872         Store non-zero if the second buffer was newly allocated.
30873         (send_dg): Likewise.
30874         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30875         to send_vc and send_dg.
30876         (res_nsend): Pass NULL for ansp2_malloced.
30877         * resolv/res_query.c (__libc_res_nquery): Add parameter
30878         answerp2_malloced and pass it down to __libc_res_nsend.
30879         (res_nquery): Pass additional NULL to __libc_res_nquery.
30880         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30881         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30882         second answer buffer if answerp2_malloced was set.
30883         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30884         (__libc_res_nquerydomain): Add parameter
30885         answerp2_malloced and pass it down to __libc_res_nquery.
30886         (res_nquerydomain): Pass additional NULL to
30887         __libc_res_nquerydomain.
30888         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30889         additional NULL to __libc_res_nsend and __libc_res_nquery.
30890         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30891         additional NULL to __libc_res_nsearch.
30892         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30893         parameter of __libc_res_nsearch to check for separately allocated
30894         second buffer.
30895         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30896         __libc_res_nquery.
30897         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30898         additional NULL to __libc_res_nquery.
30899         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30900         __libc_res_nsearch.
30901         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30902         * include/resolv.h: Update prototypes of __libc_res_nquery,
30903         __libc_res_nsearch, __libc_res_nsend.
30905 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30907         * math/auto-libm-test-in: Add tests of fma.
30908         * math/auto-libm-test-out: Regenerated.
30909         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30910         (fma_towardzero_test_data): Likewise.
30911         (fma_downward_test_data): Likewise.
30912         (fma_upward_test_data): Likewise.
30913         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30914         mpc_mode.
30915         (rounding_modes): Add values for new field.
30916         (func_calc_method): Add value mpfr_fff_f.
30917         (func_calc_desc): Add mpfr_fff_f union field.
30918         (test_function): Add field exact_args.
30919         (FUNC): Add macro argument EXACT_ARGS.
30920         (FUNC_mpfr_f_f): Update call to FUNC.
30921         (FUNC_mpfr_f_f): Likewise.
30922         (FUNC_mpfr_ff_f): Likewise.
30923         (FUNC_mpfr_if_f): Likewise.
30924         (FUNC_mpc_c_f): Likewise.
30925         (FUNC_mpc_c_c): Likewise.
30926         (test_functions): Add fma.  Update calls to FUNC.
30927         (handle_input_arg): Add argument exact_args.
30928         (add_test): Update call to handle_input_arg.
30929         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30930         (output_for_one_input_case): Update call to calc_generic_results.
30931         Recalculate exact zero results in each rounding mode.
30933         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30934         non-negative before setting low bit.
30935         * math/auto-libm-test-in: Mark one asin test possibly having
30936         spurious underflow.
30937         * math/auto-libm-test-out: Regenerated.
30938         * sysdeps/i386/fpu/libm-test-ulps: Update.
30939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30941 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30943         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30944         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30945         ports/sysdeps/unix/sysv/linux/microblaze.
30946         * README: Add missing listing for microblaze*-*-linux-gnu.
30948 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30950         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30951         duplicate code
30953 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30955         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30956         * sysdeps/unix/sysv/linux/ia64: Move directory from
30957         ports/sysdeps/unix/sysv/linux/ia64.
30958         * README: Update listing for ia64-*-linux-gnu.
30960 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30961             Joseph Myers  <joseph@codesourcery.com>
30963         * Makeconfig (test-name): New variable.
30964         (evaluate-test): Likewise.
30965         * Makerules (do-test-clean): Remove .test-result files.
30966         (common-mostlyclean): Likewise.
30967         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30968         * scripts/evaluate-test.sh: New file.
30970 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30972         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30973         separate $(objpfx)tst-fopenloc-cmp.out and
30974         $(objpfx)tst-fopenloc-mem.out targets.
30975         (tests): Update dependencies.
30976         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30977         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30978         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30979         (tst-rxspencer-no-utf8-ARGS): New variable.
30980         (tst-rxspencer-no-utf8-ENV): Likewise.
30981         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30982         instead of $(objpfx)tst-rxspencer-mem.
30983         ($(objpfx)tst-rxspencer-mem): Change target to
30984         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30985         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30986         * posix/tst-rxspencer-no-utf8.c: New file.
30988         * elf/Makefile ($(objpfx)order.out): Remove rule.
30989         [$(run-built-tests) = yes] (tests): Depend on
30990         $(objpfx)order-cmp.out.
30991         ($(objpfx)order-cmp.out): New rule.
30992         [$(run-built-tests) = yes] (tests): Depend on
30993         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30994         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30995         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30996         $(objpfx)tst-array5-static-cmp.out.
30997         ($(objpfx)tst-array1.out): Remove rule.
30998         ($(objpfx)tst-array1-cmp.out): New rule.
30999         ($(objpfx)tst-array1-static.out): Remove rule.
31000         ($(objpfx)tst-array1-static-cmp.out): New rule.
31001         ($(objpfx)tst-array2.out): Remove rule.
31002         ($(objpfx)tst-array2-cmp.out): New rule.
31003         ($(objpfx)tst-array3.out): Remove rule.
31004         ($(objpfx)tst-array3-cmp.out): New rule.
31005         ($(objpfx)tst-array4.out): Remove rule.
31006         ($(objpfx)tst-array4-cmp.out): New rule.
31007         ($(objpfx)tst-array5.out): Remove rule.
31008         ($(objpfx)tst-array5-cmp.out): New rule.
31009         ($(objpfx)tst-array5-static.out): Remove rule.
31010         ($(objpfx)tst-array5-static-cmp.out): New rule.
31011         [$(run-built-tests) = yes] (tests): Depend on
31012         $(objpfx)order2-cmp.out.
31013         ($(objpfx)order2.out): Remove rule.
31014         ($(objpfx)order2-cmp.out): New rule.
31015         ($(objpfx)tst-initorder.out): Remove rule.
31016         [$(run-built-tests) = yes] (tests): Depend on
31017         $(objpfx)tst-initorder-cmp.out.
31018         ($(objpfx)tst-initorder-cmp.out): New rule.
31019         ($(objpfx)tst-initorder2.out): Remove rule.
31020         [$(run-built-tests) = yes] (tests): Depend on
31021         $(objpfx)tst-initorder2-cmp.out.
31022         ($(objpfx)tst-initorder2-cmp.out): New rule.
31023         [$(run-built-tests) = yes] (tests): Depend on
31024         $(objpfx)tst-unused-dep-cmp.out.
31025         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31026         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31027         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31028         on $(objpfx)tst-setvbuf1-cmp.out.
31029         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31030         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31031         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31032         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31033         ($(objpfx)tst-svc.out): Remove rule.
31034         ($(objpfx)tst-svc-cmp.out): New rule.
31036 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31038         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31039         * ctype/ctype.h [__USE_MISC]: Likewise.
31040         * dirent/dirent.h [__USE_MISC]: Likewise.
31041         * grp/grp.h [__USE_MISC]: Likewise.
31042         * io/fcntl.h [__USE_MISC]: Likewise.
31043         * io/sys/stat.h [__USE_MISC]: Likewise.
31044         * libio/stdio.h [__USE_MISC]: Likewise.
31045         * posix/unistd.h [__USE_MISC]: Likewise.
31046         * pwd/pwd.h [__USE_MISC]: Likewise.
31047         * stdlib.h [__USE_MISC]: Likewise.
31048         * string/bits/string2.h [__USE_MISC]: Likewise.
31049         * string/string.h [__USE_MISC]: Likewise.
31050         * time/time.h [__USE_MISC]: Likewise.
31052 2014-02-13  Andreas Schwab  <schwab@suse.de>
31054         [BZ #16574]
31055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31056         second answer buffer if it was separately allocated.
31058 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31060         * sysdeps/mips/math-tests.h: Include <features.h>.
31061         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31062         (ROUNDING_TESTS_long_double): Do not define.
31063         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31064         (EXCEPTION_TESTS_long_double): Likewise.
31065         * sysdeps/mips/mips64/libm-test-ulps: Update.
31067         * include/features.h (__USE_BSD): Remove macro definitions.
31068         (__USE_SVID): Likewise.
31069         (_BSD_SOURCE): Likewise.
31070         (_SVID_SOURCE): Likewise.
31071         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31072         from definition of _DEFAULT_SOURCE.
31073         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31074         [_DEFAULT_SOURCE].
31075         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31076         * bits/mman.h [__USE_BSD]: Likewise.
31077         * bits/termios.h [__USE_BSD]: Likewise.
31078         * bits/waitstatus.h [__USE_BSD]: Likewise.
31079         * ctype/ctype.h [__USE_SVID]: Likewise.
31080         * dirent/dirent.h [__USE_BSD]: Likewise.
31081         * grp/grp.h [__USE_SVID]: Likewise.
31082         [__USE_BSD]: Likewise.
31083         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31084         * io/fcntl.h [__USE_BSD]: Likewise.
31085         * io/ftw.h [__USE_BSD]: Likewise.
31086         * io/sys/stat.h [__USE_BSD]: Likewise.
31087         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31088         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31089         * libio/stdio.h [__USE_SVID]: Likewise.
31090         [__USE_BSD]: Likewise.
31091         * math/math.h [__USE_SVID]: Likewise.
31092         [__USE_BSD]: Likewise.
31093         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31094         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31095         * misc/search.h [__USE_SVID]: Likewise.
31096         * misc/sys/mman.h [__USE_BSD]: Likewise.
31097         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31098         * misc/sys/uio.h [__USE_BSD]: Likewise.
31099         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31100         * posix/glob.h [__USE_BSD]: Likewise.
31101         * posix/regex.h [__USE_BSD]: Likewise.
31102         * posix/sys/types.h [__USE_BSD]: Likewise.
31103         [__USE_SVID]: Likewise.
31104         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31105         * posix/sys/wait.h [__USE_BSD]: Likewise.
31106         [__USE_SVID]: Likewise.
31107         * posix/unistd.h [__USE_BSD]: Likewise.
31108         [__USE_SVID]: Likewise.
31109         * pwd/pwd.h [__USE_SVID]: Likewise.
31110         * resolv/netdb.h [__USE_BSD]: Likewise.
31111         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31112         * signal/signal.h [__USE_BSD]: Likewise.
31113         [__USE_SVID]: Likewise.
31114         * socket/sys/socket.h [__USE_BSD]: Likewise.
31115         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31116         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31117         [__USE_SVID]: Likewise.
31118         * string/bits/string2.h [__USE_BSD]: Likewise.
31119         [__USE_SVID]: Likewise.
31120         * string/bits/string3.h [__USE_BSD]: Likewise.
31121         * string/endian.h [__USE_BSD]: Likewise.
31122         * string/string.h [__USE_SVID]: Likewise.
31123         [__USE_BSD]: Likewise.
31124         * string/strings.h [__USE_BSD]: Likewise.
31125         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31126         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31127         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31128         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31129         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31130         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31131         Likewise.
31132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31133         Likewise.
31134         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31135         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31136         Likewise.
31137         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31138         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31139         Likewise.
31140         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31141         Likewise.
31142         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31143         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31145         Likewise.
31146         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31147         Likewise.
31148         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31149         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31150         * termios/termios.h [__USE_BSD]: Likewise.
31151         * time/sys/time.h [__USE_BSD]: Likewise.
31152         * time/time.h [__USE_BSD]: Likewise.
31153         [__USE_SVID]: Likewise.
31155         * Makefile (subdir_targets): Remove subdir_lint.out.
31157         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31158         (do-tst-printf): Likewise.
31159         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31160         $(objpfx)tst-printf.out.
31162         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31164         * Makerules (check-abi-%): Change target to
31165         $(objpfx)check-abi-%.out.
31166         (check-abi target): Update dependencies.
31167         (check-abi-pattern variable): Redirect output of diff to $@.
31168         (check-abi variable): Likewise.
31169         * elf/Makefile (check-abi): Update dependencies.
31171         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31172         unused.
31173         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31174         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31175         subnormal range.
31176         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31177         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31178         value has largest subnormal exponent.
31179         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31180         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31181         * sysdeps/aarch64/soft-fp/sfp-machine.h
31182         (_FP_TININESS_AFTER_ROUNDING): New macro.
31183         * sysdeps/alpha/soft-fp/sfp-machine.h
31184         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31185         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31186         Likewise.
31187         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31188         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31189         * sysdeps/mips/soft-fp/sfp-machine.h
31190         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31191         * sysdeps/powerpc/soft-fp/sfp-machine.h
31192         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31193         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31194         Likewise.
31195         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31196         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31197         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31198         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31199         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31200         Likewise.
31202 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31204         [BZ #16545]
31205         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31206         model 1.
31208 2014-02-12  Richard Henderson  <rth@redhat.com>
31210         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31211         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31212         * sysdeps/unix/sysv/linux/alpha: Move directory from
31213         ports/sysdeps/unix/sysv/linux/alpha.
31214         * README: Update listing for alpha-*-linux-gnu.
31216 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31218         * include/features.h: Update comment documenting feature test
31219         macros.
31220         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31221         _DEFAULT_SOURCE.
31222         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31223         (_SVID_SOURCE): Likewise.
31224         (_DEFAULT_SOURCE): Update description of default features.
31225         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31226         with _GNU_SOURCE.
31227         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31228         (S_ISVTX): Likewise.
31229         * manual/math.texi (Mathematical Constants): Likewise.
31230         * manual/signal.texi (Interrupted Primitives): Likewise.
31231         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31232         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31233         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31234         Don't refer to _SVID_SOURCE in warning text.
31236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31238         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31239         already defined.
31240         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31241         * sysdeps/mips/dl-lookup.c: Remove.
31242         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31244 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31246         [BZ #16447]
31247         * math/auto-libm-test-in: Add testcase for expl.
31248         * math/auto-libm-test-out: Regenerate.
31249         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31250         calculation of unsafe.
31251         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31253 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31255         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31256         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31257         ports/sysdeps/unix/sysv/linux/aarch64.
31258         * README: Update listing for aarch64*-*-linux-gnu.
31260 2014-02-11  Will Newton  <will.newton@linaro.org>
31262         * manual/probes.texi (Mathematical Function Probes): Use
31263         "triggered" instead of "hit".
31265         * manual/probes.texi (Internal Probes): Add documentation
31266         of setjmp, longjmp and longjmp_target probes.
31268         * include/stap-probe.h: Add comment about probe argument
31269         format.
31271         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31272         definition.  (tr_where, tr_freehook, tr_mallochook,
31273         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31275 2014-02-11  David S. Miller  <davem@davemloft.net>
31277         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31278         processing int_tests.
31280 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31282         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31283         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31284         * sysdeps/unix/sysv/linux/mips: Move directory from
31285         ports/sysdeps/unix/sysv/linux/mips.
31286         * README: Update listing for mips-*-linux-gnu and
31287         mips64-*-linux-gnu.
31289 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31291         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31292         * sysdeps/unix/sysv/linux/m68k: Move directory from
31293         ports/sysdeps/unix/sysv/linux/m68k.
31294         * README: Update listing for m68k-*-linux-gnu.
31296 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31298         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31299         * sysdeps/unix/sysv/linux/generic: Move directory from
31300         ports/sysdeps/unix/sysv/linux/generic.
31301         * sysdeps/unix/sysv/linux/tile: Move directory from
31302         ports/sysdeps/unix/sysv/linux/tile.
31303         * README: Update listing for tile*-*-linux-gnu.
31305 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31307         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31308         __builtin_expect.
31309         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31310         * catgets/open_catalog.c (__open_catalog): Likewise.
31311         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31312         * debug/confstr_chk.c: Likewise.
31313         * debug/fread_chk.c (__fread_chk): Likewise.
31314         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31315         * debug/getgroups_chk.c: Likewise.
31316         * debug/mbsnrtowcs_chk.c: Likewise.
31317         * debug/mbsrtowcs_chk.c: Likewise.
31318         * debug/mbstowcs_chk.c: Likewise.
31319         * debug/memcpy_chk.c: Likewise.
31320         * debug/memmove_chk.c: Likewise.
31321         * debug/mempcpy_chk.c: Likewise.
31322         * debug/memset_chk.c: Likewise.
31323         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31324         * debug/strcat_chk.c (__strcat_chk): Likewise.
31325         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31326         * debug/strncat_chk.c (__strncat_chk): Likewise.
31327         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31328         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31329         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31330         * debug/wcpncpy_chk.c: Likewise.
31331         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31332         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31333         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31334         * debug/wcsncpy_chk.c: Likewise.
31335         * debug/wcsnrtombs_chk.c: Likewise.
31336         * debug/wcsrtombs_chk.c: Likewise.
31337         * debug/wcstombs_chk.c: Likewise.
31338         * debug/wmemcpy_chk.c: Likewise.
31339         * debug/wmemmove_chk.c: Likewise.
31340         * debug/wmempcpy_chk.c: Likewise.
31341         * debug/wmemset_chk.c: Likewise.
31342         * dirent/scandirat.c (SCANDIRAT): Likewise.
31343         * dlfcn/dladdr1.c (dladdr1): Likewise.
31344         * dlfcn/dladdr.c (dladdr): Likewise.
31345         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31346         * dlfcn/dlerror.c (__dlerror): Likewise.
31347         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31348         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31349         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31350         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31351         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31352         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31353         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31354         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31355         Likewise.
31356         * elf/dl-conflict.c: Likewise.
31357         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31358         * elf/dl-dst.h: Likewise.
31359         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31360         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31361         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31362         * elf/dl-init.c (call_init, _dl_init): Likewise.
31363         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31364         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31365         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31366         Likewise.
31367         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31368         Likewise.
31369         * elf/dl-minimal.c (__libc_memalign): Likewise.
31370         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31371         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31372         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31373         * elf/dl-sym.c (do_sym): Likewise.
31374         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31375         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31376         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31377         * elf/dl-writev.h (_dl_writev): Likewise.
31378         * elf/ldconfig.c (search_dir): Likewise.
31379         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31380         (dl_main): Likewise.
31381         * elf/setup-vdso.h (setup_vdso): Likewise.
31382         * grp/compat-initgroups.c (compat_call): Likewise.
31383         * grp/fgetgrent.c (fgetgrent): Likewise.
31384         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31385         * grp/putgrent.c (putgrent): Likewise.
31386         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31387         Likewise.
31388         * hurd/hurdinit.c: Likewise.
31389         * iconvdata/8bit-gap.c (struct): Likewise.
31390         * iconvdata/ansi_x3.110.c : Likewise.
31391         * iconvdata/big5.c : Likewise.
31392         * iconvdata/big5hkscs.c : Likewise.
31393         * iconvdata/cp1255.c: Likewise.
31394         * iconvdata/cp1258.c : Likewise.
31395         * iconvdata/cp932.c : Likewise.
31396         * iconvdata/euc-cn.c: Likewise.
31397         * iconvdata/euc-jisx0213.c : Likewise.
31398         * iconvdata/euc-jp.c: Likewise.
31399         * iconvdata/euc-jp-ms.c : Likewise.
31400         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31401         * iconvdata/gb18030.c : Likewise.
31402         * iconvdata/gbbig5.c (const): Likewise.
31403         * iconvdata/gbgbk.c: Likewise.
31404         * iconvdata/gbk.c : Likewise.
31405         * iconvdata/ibm1364.c : Likewise.
31406         * iconvdata/ibm930.c : Likewise.
31407         * iconvdata/ibm932.c: Likewise.
31408         * iconvdata/ibm933.c : Likewise.
31409         * iconvdata/ibm935.c : Likewise.
31410         * iconvdata/ibm937.c : Likewise.
31411         * iconvdata/ibm939.c : Likewise.
31412         * iconvdata/ibm943.c: Likewise.
31413         * iconvdata/iso_11548-1.c: Likewise.
31414         * iconvdata/iso-2022-cn.c : Likewise.
31415         * iconvdata/iso-2022-cn-ext.c : Likewise.
31416         * iconvdata/iso-2022-jp-3.c: Likewise.
31417         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31418         * iconvdata/iso-2022-kr.c : Likewise.
31419         * iconvdata/iso646.c (gconv_end): Likewise.
31420         * iconvdata/iso_6937-2.c : Likewise.
31421         * iconvdata/iso_6937.c : Likewise.
31422         * iconvdata/iso8859-1.c: Likewise.
31423         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31424         * iconvdata/shift_jisx0213.c : Likewise.
31425         * iconvdata/sjis.c : Likewise.
31426         * iconvdata/t.61.c : Likewise.
31427         * iconvdata/tcvn5712-1.c : Likewise.
31428         * iconvdata/tscii.c: Likewise.
31429         * iconvdata/uhc.c : Likewise.
31430         * iconvdata/unicode.c (gconv_end): Likewise.
31431         * iconvdata/utf-16.c (gconv_end): Likewise.
31432         * iconvdata/utf-32.c (gconv_end): Likewise.
31433         * iconvdata/utf-7.c (base64): Likewise.
31434         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31435         * iconv/gconv_close.c (__gconv_close): Likewise.
31436         * iconv/gconv_open.c (__gconv_open): Likewise.
31437         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31438         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31439         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31440         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31441         (ucs4le_internal_loop_single): Likewise.
31442         * iconv/iconv.c (iconv): Likewise.
31443         * iconv/iconv_close.c: Likewise.
31444         * iconv/loop.c (SINGLE): Likewise.
31445         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31446         * include/atomic.h: Likewise.
31447         * inet/inet6_option.c (option_alloc): Likewise.
31448         * intl/bindtextdom.c (set_binding_values): Likewise.
31449         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31450         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31451         * intl/localealias.c (read_alias_file): Likewise.
31452         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31453         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31454         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31455         * libio/fmemopen.c (fmemopen): Likewise.
31456         * libio/iofgets.c (_IO_fgets): Likewise.
31457         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31458         * libio/iofgetws.c (fgetws): Likewise.
31459         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31460         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31461         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31462         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31463         * locale/findlocale.c (_nl_find_locale): Likewise.
31464         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31465         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31466         Likewise.
31467         * locale/setlocale.c (setlocale): Likewise.
31468         * login/programs/pt_chown.c (main): Likewise.
31469         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31470         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31471         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31472         (mmap, mmap64, mremap, munmap): Likewise.
31473         * math/e_exp2l.c: Likewise.
31474         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31475         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31476         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31477         * math/s_catan.c (__catan): Likewise.
31478         * math/s_catanf.c (__catanf): Likewise.
31479         * math/s_catanh.c (__catanh): Likewise.
31480         * math/s_catanhf.c (__catanhf): Likewise.
31481         * math/s_catanhl.c (__catanhl): Likewise.
31482         * math/s_catanl.c (__catanl): Likewise.
31483         * math/s_ccosh.c (__ccosh): Likewise.
31484         * math/s_ccoshf.c (__ccoshf): Likewise.
31485         * math/s_ccoshl.c (__ccoshl): Likewise.
31486         * math/s_cexp.c (__cexp): Likewise.
31487         * math/s_cexpf.c (__cexpf): Likewise.
31488         * math/s_cexpl.c (__cexpl): Likewise.
31489         * math/s_clog10.c (__clog10): Likewise.
31490         * math/s_clog10f.c (__clog10f): Likewise.
31491         * math/s_clog10l.c (__clog10l): Likewise.
31492         * math/s_clog.c (__clog): Likewise.
31493         * math/s_clogf.c (__clogf): Likewise.
31494         * math/s_clogl.c (__clogl): Likewise.
31495         * math/s_csin.c (__csin): Likewise.
31496         * math/s_csinf.c (__csinf): Likewise.
31497         * math/s_csinh.c (__csinh): Likewise.
31498         * math/s_csinhf.c (__csinhf): Likewise.
31499         * math/s_csinhl.c (__csinhl): Likewise.
31500         * math/s_csinl.c (__csinl): Likewise.
31501         * math/s_csqrt.c (__csqrt): Likewise.
31502         * math/s_csqrtf.c (__csqrtf): Likewise.
31503         * math/s_csqrtl.c (__csqrtl): Likewise.
31504         * math/s_ctan.c (__ctan): Likewise.
31505         * math/s_ctanf.c (__ctanf): Likewise.
31506         * math/s_ctanh.c (__ctanh): Likewise.
31507         * math/s_ctanhf.c (__ctanhf): Likewise.
31508         * math/s_ctanhl.c (__ctanhl): Likewise.
31509         * math/s_ctanl.c (__ctanl): Likewise.
31510         * math/w_pow.c: Likewise.
31511         * math/w_powf.c: Likewise.
31512         * math/w_powl.c: Likewise.
31513         * math/w_scalb.c (sysv_scalb): Likewise.
31514         * math/w_scalbf.c (sysv_scalbf): Likewise.
31515         * math/w_scalbl.c (sysv_scalbl): Likewise.
31516         * misc/error.c (error_tail): Likewise.
31517         * misc/pselect.c (__pselect): Likewise.
31518         * nis/nis_callback.c (__nis_create_callback): Likewise.
31519         * nis/nis_call.c (__nisfind_server): Likewise.
31520         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31521         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31522         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31523         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31524         * nis/nis_lookup.c (nis_lookup): Likewise.
31525         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31526         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31527         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31528         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31529         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31530         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31531         * nis/nss_compat/compat-initgroups.c (add_group)
31532         (internal_getgrent_r): Likewise.
31533         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31534         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31535         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31536         (internal_getspnam_r): Likewise.
31537         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31538         (_nss_nis_getaliasbyname_r): Likewise.
31539         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31540         (_nss_nis_getntohost_r): Likewise.
31541         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31542         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31543         (_nss_nis_getgrgid_r): Likewise.
31544         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31545         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31546         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31547         (_nss_nis_gethostbyname4_r): Likewise.
31548         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31549         (initgroups_netid): Likewise.
31550         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31551         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31552         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31553         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31554         (_nss_nis_getprotobynumber_r): Likewise.
31555         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31556         (_nss_nis_getsecretkey): Likewise.
31557         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31558         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31559         (_nss_nis_getpwuid_r): Likewise.
31560         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31561         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31562         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31563         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31564         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31565         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31566         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31567         Likewise.
31568         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31569         (_nss_nisplus_getntohost_r): Likewise.
31570         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31571         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31572         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31573         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31574         Likewise.
31575         * nis/nss_nisplus/nisplus-initgroups.c
31576         (_nss_nisplus_initgroups_dyn): Likewise.
31577         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31578         (_nss_nisplus_getnetbyaddr_r): Likewise.
31579         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31580         (_nss_nisplus_getprotobynumber_r): Likewise.
31581         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31582         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31583         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31584         Likewise.
31585         * nis/nss_nisplus/nisplus-service.c
31586         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31587         (_nss_nisplus_getservbyport_r): Likewise.
31588         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31589         (_nss_nisplus_getspnam_r): Likewise.
31590         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31591         Likewise.
31592         * nscd/aicache.c (addhstaiX): Likewise.
31593         * nscd/cache.c (cache_search, prune_cache): Likewise.
31594         * nscd/connections.c (register_traced_file, send_ro_fd)
31595         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31596         (main_loop_epoll): Likewise.
31597         * nscd/grpcache.c (addgrbyX): Likewise.
31598         * nscd/hstcache.c (addhstbyX): Likewise.
31599         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31600         * nscd/mem.c (gc, mempool_alloc): Likewise.
31601         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31602         (addinnetgrX): Likewise.
31603         * nscd/nscd-client.h (__nscd_acquire_maplock)
31604         (__nscd_drop_map_ref): Likewise.
31605         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31606         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31607         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31608         Likewise.
31609         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31611         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31612         (__nscd_get_map_ref): Likewise.
31613         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31614         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31615         Likewise.
31616         * nscd/pwdcache.c (addpwbyX): Likewise.
31617         * nscd/selinux.c (preserve_capabilities): Likewise.
31618         * nscd/servicescache.c (addservbyX): Likewise.
31619         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31620         * posix/fnmatch.c (fnmatch): Likewise.
31621         * posix/getopt.c (_getopt_internal_r): Likewise.
31622         * posix/glob.c (glob, glob_in_dir): Likewise.
31623         * posix/wordexp.c (exec_comm_child): Likewise.
31624         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31625         (getanswer_r, gaih_getanswer_slice): Likewise.
31626         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31627         * resolv/res_init.c: Likewise.
31628         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31629         * resolv/res_query.c (__libc_res_nquery): Likewise.
31630         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31631         Likewise.
31632         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31633         * stdio-common/perror.c (perror): Likewise.
31634         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31635         * stdio-common/tmpnam.c (tmpnam): Likewise.
31636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31637         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31638         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31639         Likewise.
31640         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31641         * stdlib/putenv.c (putenv): Likewise.
31642         * stdlib/setenv.c (__add_to_environ): Likewise.
31643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31644         * stdlib/strtol_l.c (INTERNAL): Likewise.
31645         * string/memmem.c (memmem): Likewise.
31646         * string/strerror.c (strerror): Likewise.
31647         * string/strnlen.c (__strnlen): Likewise.
31648         * string/test-memmem.c (simple_memmem): Likewise.
31649         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31650         * sunrpc/pm_getport.c (__get_socket): Likewise.
31651         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31652         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31653         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31654         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31655         Likewise.
31656         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31657         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31658         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31659         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31660         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31661         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31662         Likewise.
31663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31664         Likewise.
31665         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31666         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31667         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31668         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31669         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31671         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31672         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31673         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31674         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31675         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31676         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31677         Likewise.
31678         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31679         Likewise.
31680         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31681         Likewise.
31682         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31683         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31684         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31685         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31686         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31687         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31688         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31689         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31691         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31692         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31694         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31695         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31697         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31698         Likewise.
31699         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31700         Likewise.
31701         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31702         Likewise.
31703         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31704         Likewise.
31705         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31707         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31708         Likewise.
31709         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31710         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31711         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31712         * sysdeps/posix/sleep.c: Likewise.
31713         * sysdeps/posix/tempname.c: Likewise.
31714         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31715         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31716         Likewise.
31717         * sysdeps/powerpc/powerpc32/dl-machine.h
31718         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31719         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31721         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31722         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31723         Likewise.
31724         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31725         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31726         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31728         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31729         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31730         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31731         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31732         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31733         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31734         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31735         (elf_machine_lazy_rel): Likewise.
31736         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31737         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31738         (elf_machine_lazy_rel): Likewise.
31739         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31740         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31741         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31742         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31743         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31744         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31745         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31747         Likewise.
31748         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31749         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31750         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31751         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31752         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31753         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31754         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31755         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31756         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31757         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31758         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31759         Likewise.
31760         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31761         (__posix_fallocate64_l64): Likewise.
31762         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31763         (posix_fallocate): Likewise.
31764         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31765         Likewise.
31766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31767         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31768         (getifaddrs_internal): Likewise.
31769         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31770         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31771         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31772         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31773         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31774         (__posix_fallocate64_l64): Likewise.
31775         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31776         Likewise.
31777         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31778         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31779         (__get_clockfreq): Likewise.
31780         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31781         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31782         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31784         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31785         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31786         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31787         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31788         Likewise.
31789         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31790         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31791         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31792         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31793         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31794         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31795         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31796         Likewise.
31797         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31798         (posix_fallocate): Likewise.
31799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31800         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31801         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31802         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31803         (elf_machine_rela, elf_machine_rela_relative)
31804         (elf_machine_lazy_rel): Likewise.
31805         * time/asctime.c (asctime_internal): Likewise.
31806         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31807         * time/tzset.c (__tzset_parse_tz): Likewise.
31808         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31809         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31810         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31811         * wcsmbs/wcsmbsload.h: Likewise.
31813         [BZ #15894]
31814         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31816         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31817         (arena_get2): Remove THREAD_STATS conditionals.
31818         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31819         (__malloc_stats, int): Likewise.
31821 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31823         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31824         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31826         * manual/setjmp.texi: Fix typos/grammar errors.
31828         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31829         Only return early when n is <= 0.  Delete unused return statement.
31831         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31832         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31833         * debug/tst-longjmp_chk3.c: New file.
31835         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31836         (test_main): Replace code with set_fortify_handler call.
31837         * debug/test-strcpy_chk.c: Likewise.
31838         * debug/tst-chk1.c: Likewise.
31839         * debug/tst-longjmp_chk.c: Likewise.
31840         * test-skeleton.c: Include fcntl.h & paths.h
31841         (set_fortify_handler): Define.
31843         * debug/tst-longjmp_chk.c: Add header comment and include
31844         ../test-skeleton.c.
31845         (do_test): Mark static.
31846         (TEST_FUNCTION): Define.
31848         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31849         (IP_PMTUDISC_INTERFACE): Likewise.
31850         (IP_MULTICAST_IF): Likewise.
31851         (IP_MULTICAST_TTL): Likewise.
31852         (IP_MULTICAST_LOOP): Likewise.
31853         (IP_ADD_MEMBERSHIP): Likewise.
31854         (IP_DROP_MEMBERSHIP): Likewise.
31855         (IP_UNBLOCK_SOURCE): Likewise.
31856         (IP_BLOCK_SOURCE): Likewise.
31857         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31858         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31859         (IP_MSFILTER): Likewise.
31860         (MCAST_JOIN_GROUP): Likewise.
31861         (MCAST_BLOCK_SOURCE): Likewise.
31862         (MCAST_UNBLOCK_SOURCE): Likewise.
31863         (MCAST_LEAVE_GROUP): Likewise.
31864         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31865         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31866         (MCAST_MSFILTER): Likewise.
31867         (IP_MULTICAST_ALL): Likewise.
31868         (IP_UNICAST_IF): Likewise.
31870         * timezone/Makefile: Delete $(have-ksh) check.
31871         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31872         * timezone/tzselect.ksh: Add +x mode bits.
31874         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31875         (ANON_INODE_FS_MAGIC): Likewise.
31876         (BDEVFS_MAGIC): Likewise.
31877         (BINFMTFS_MAGIC): Likewise.
31878         (BTRFS_TEST_MAGIC): Likewise.
31879         (CRAMFS_MAGIC_WEND): Likewise.
31880         (DEBUGFS_MAGIC): Likewise.
31881         (ECRYPTFS_SUPER_MAGIC): Likewise.
31882         (EXT3_SUPER_MAGIC): Likewise.
31883         (EXT4_SUPER_MAGIC): Likewise.
31884         (FUTEXFS_SUPER_MAGIC): Likewise.
31885         (HOSTFS_SUPER_MAGIC): Likewise.
31886         (HUGETLBFS_MAGIC): Likewise.
31887         (MINIX3_SUPER_MAGIC): Likewise.
31888         (MTD_INODE_FS_MAGIC): Likewise.
31889         (NILFS_SUPER_MAGIC): Likewise.
31890         (OPENPROM_SUPER_MAGIC): Likewise.
31891         (PIPEFS_MAGIC): Likewise.
31892         (PSTOREFS_MAGIC): Likewise.
31893         (QNX6_SUPER_MAGIC): Likewise.
31894         (RAMFS_MAGIC): Likewise.
31895         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31896         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31897         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31898         (SECURITYFS_MAGIC): Likewise.
31899         (SELINUX_MAGIC): Likewise.
31900         (SMACK_MAGIC): Likewise.
31901         (SOCKFS_MAGIC): Likewise.
31902         (SQUASHFS_MAGIC): Likewise.
31903         (STACK_END_MAGIC): Likewise.
31904         (TMPFS_MAGIC): Likewise.
31905         (USBDEVICE_SUPER_MAGIC): Likewise.
31906         (V9FS_MAGIC): Likewise.
31907         (XENFS_SUPER_MAGIC): Likewise.
31908         (CRAMFS_MAGIC): Fix typo in comment.
31909         (EXT2_SUPER_MAGIC): Update comment.
31910         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31912 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31914         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31915         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31916         * sysdeps/unix/sysv/linux/arm: Move directory from
31917         ports/sysdeps/unix/sysv/linux/arm.
31918         * README: Update listing for arm-*-linux-gnueabi.
31920         * README: Remove mention of am33.
31922 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31924         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31925         than the comma operator, to avoid "rhs of comma has no effect"
31926         compiler warnings.
31927         (__sigfillset, __sigandset, __sigorset): Likewise.
31928         * include/signal.h (__sigemptyset): Likewise.
31929         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31931 2014-02-07  Allan McRae  <allan@archlinux.org>
31933         * version.h (RELEASE): Set to "development".
31934         (VERSION): Set to "2.19.90"
31935         * NEWS: Add 2.20 section.
31937 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31939         [BZ #16529]
31940         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31942 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31944         * manual/contrib.texi: Update entry for Carlos O'Donell,
31945         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31947 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31949         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31951         * sysdeps/unix/sysv/linux/kernel-features.h
31952         [__LINUX_KERNEL_VERSION >= 0x020621]
31953         (__ASSUME_PROC_PID_TASK_COMM): Define.
31955 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31957         [BZ #16398]
31958         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31959         conversion when destination buffer does not have enough space.
31960         * libio/tst-ftell-partial-wide.c: New test case.
31961         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31963         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31964         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31965         Leonard and Allan McRae.
31967 2014-02-04  David S. Miller  <davem@davemloft.net>
31969         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31970         32-bit.
31972 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31975         New file
31976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31977         New file
31978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31979         New file.
31980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31981         New file.
31982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31983         New file.
31984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31985         New file.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31987         New file.
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31989         New file.
31990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31991         New file.
31992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31993         New file.
31994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31995         New file.
31996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31997         New file.
31998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31999         New file.
32001 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32003         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32004         * shlib-versions: Likewise.
32006 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32007             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32009         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32010         (abilist-pattern): New variable, set to %-le.abilist.
32012         * Makerules (abilist-pattern): New variable.
32013         (vpath): Use $(abilist-pattern) in place of %.abilist.
32014         (check-abi-% pattern rule): Likewise.
32015         (check-abi, update-abi): Likewise.
32017 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32021 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32023         * manual/startup.texi: Add next, previous, and top entries for
32024         the `Program Arguments' and `Environment Variables' nodes.
32026 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32028         * manual/macros.texi: Add comments before MTASC-safety macros.
32030         * manual/users.texi: Document MTASC-safety properties.
32032         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32033         (pthread_getspecific, pthread_setspecific): Format with
32034         @deftypefun, and add @safety note.
32035         * manual/signal.texi: Move comments that analyze the above
32036         functions to their home place.
32038 2014-02-03  Allan McRae  <allan@archlinux.org>
32040         * po/sl.po: Update Slovenian translation from translation project.
32042 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32044         * manual/time.texi (timegm): Add missing blank after @c.
32045         Reported by Joseph Myers <joseph@codesourcery.com>.
32047 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32049         * manual/check-safety.sh: New.
32050         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32052         * manual/terminal.texi: Document MTASC-safety properties.
32054         * manual/filesys.texi: Document MTASC-safety properties.
32056         * manual/errno.texi: Document MTASC-safety properties.
32058         * manual/intro.texi: Document safety identifiers and
32059         conditionals.
32061         * manual/string.texi (wcstok): Fix prototype.
32062         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32064         * manual/time.texi: Document MTASC-safety properties.
32066         * manual/string.texi: Document MTASC-safety properties.
32068         * manual/threads.texi: Document MTASC-safety properties.
32070         * manual/stdio.texi: Document MTASC-safety properties.
32072         * manual/syslog.texi: Document MTASC-safety properties.
32074         * manual/sysinfo.texi: Document MTASC-safety properties.
32076         * manual/startup.texi: Document MTASC-safety properties.
32078         * manual/socket.texi: Document MTASC-safety properties.
32080         * manual/signal.texi: Document MTASC-safety properties.
32082 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32084         * manual/setjmp.texi: Document MTASC-safety properties.
32086         * manual/search.texi: Document MTASC-safety properties.
32088         * manual/resource.texi: Document MTASC-safety properties.
32090         * manual/process.texi: Document MTASC-safety properties.
32092         * manual/platform.texi: Document MTASC-safety properties.
32094         * manual/pipe.texi: Document MTASC-safety properties.
32096         * manual/pattern.texi: Document MTASC-safety properties.
32098         * manual/message.texi: Document MTASC-safety properties.
32100         [BZ #12751]
32101         * manual/memory.texi: Document MTASC-safety properties.
32103         * manual/math.texi: Document MTASC-safety properties.
32105         * manual/locale.texi: Document MTASC-safety properties.
32107         * manual/llio.texi: Document MTASC-safety properties.
32109         * manual/libdl.texi: New.
32111         * manual/lang.texi: Document MTASC-safety properties.
32113         * manual/job.texi: Document MTASC-safety properties.
32115         * manual/getopt.texi: Document MTASC-safety properties.
32117         * manual/ctype.texi: Document MTASC-safety properties.
32119 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32121         [BZ #16046]
32122         * csu/libc-tls.c (static_map): Remove variable.
32123         (__libc_setup_tls): Use main executable's link map for TLS data.
32124         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32125         casing for LM_ID_BASE and GL(dl_nns).
32126         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32127         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32128         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32129         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32130         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32131         member.
32132         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32133         l_phnum members.
32135 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32137         * manual/debug.texi: Document MTASC-safety properties.
32139 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32141         [BZ #16510]
32142         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32143         of __x86_64__ when disabling x87 inline functions.
32145 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32147         * manual/charset.texi: Document MTASC-safety properties.
32149         * manual/crypt.texi: Document MTASC-safety properties.
32151         * manual/conf.texi: Document MTASC-safety properties.
32153         * manual/arith.texi: Document MTASC-safety properties.
32155         * manual/argp.texi: Document MTASC-safety properties.
32157         * manual/macros.texi: Introduce macros to document multi
32158         thread, asynchronous signal and asynchronous cancellation
32159         safety properties.
32160         * manual/intro.texi: Introduce the properties themselves.
32162 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32164         * sysdeps/sh/sh4/Makefile: New file.
32166 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32168         * math/gen-libm-test.pl ($srcdir): New variable.
32169         ($auto_input): Use it.
32171 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32173         [BZ #16506]
32174         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32175         access beyond array bounds when parsing netgroups file.
32177         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32178         the old buffer before realloc.
32180 2014-01-27  Allan McRae  <allan@archlinux.org>
32182         * po/fr.po: Update French translation from translation project.
32184 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32186         * sysdeps/sh/libm-test-ulps: Regenerate.
32188 2014-01-24  David S. Miller  <davem@davemloft.net>
32190         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32192 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32194         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32195         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32197 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199         [BZ #16474]
32200         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32201         string pointers after reallocation.
32203 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32205         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32206         __SH4A__ instead of __SH_FPU_ANY__.
32208 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32210         * sysdeps/sh/fpu_control.h: New file.
32211         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32212         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32213         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32214         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32215         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32216         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32217         * sysdeps/sh/sys/ucontext.h: Remove.
32218         * sysdeps/sh/sys: Remove directory.
32220 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32222         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32223         s390/sys/ucontext.h.
32224         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32227 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32229         [BZ #15605]
32230         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32232 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32234         [BZ#16431]
32235         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32236         Adjust the vDSO correctly for internal calls.
32237         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32239 2014-01-20  Allan McRae  <allan@archlinux.org>
32241         * po/ca.po: Update Catalan translation from translation project.
32243 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32245         * sysdeps/s390/sotruss-lib.c: New file.
32247 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32249         [BZ#16430]
32250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32251         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32252         local calls issues by not having a PLT stub required for IFUNC calls.
32253         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32255 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32257         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32258         * math/test-fpucw-static.c: Likewise.
32260 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32262         [BZ #16453]
32263         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32265 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32267         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32268         implementation for powerpc.
32270 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32272         [BZ #14782]
32273         * sysdeps/posix/system.c (__libc_system): Do not enable
32274         asynchronous cancellation.
32276 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32278         [BZ #16427]
32279         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32280         handling only for numbers special also in the IEEE case.
32282 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32284         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32286 2014-01-11  Allan McRae  <allan@archlinux.org>
32288         * po/bg.po: Update Bulgarian translation from translation project.
32290         * po/de.po: Update German translation from translation project.
32292 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32294         * sysdeps/generic/gcc-compat.h: New file.
32296 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32298         * benchtests/asin-inputs: Correct slow inputs.
32299         * benchtests/acos-inputs: Likewise.
32301 2014-01-10  Allan McRae  <allan@archlinux.org>
32303         * po:sv.po: Update Swedish translation from translation project.
32305         * po/vi.po: Update Vietnamese translation from translation project.
32307         * po/eo.po: Update Esperanto translation from translation project.
32309         * po/cs.po: Update Czech translation from translation project.
32311         * po/nl.po: Update Dutch translation from translation project.
32313         * po/pl.po: Update Polish translation from translation project.
32315         * po/ru.po: Update Russian translation from translation project.
32317         * po/uk.po: Update Ukrainian translation from translation project.
32319 2014-01-08  Brooks Moses  <bmoses@google.com>
32321         * elf/dl-load.c: Fix comment typo.
32323 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32325         * po/header.pot: Rename to...
32326         * po/pot.header: ... this.
32327         * po/Makefile: Use pot.header.
32329 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32330             Maxim Kuvyrkov  <maxim@kugelworks.com>
32332         [BZ #16394]
32333         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32334         SRC and DEST against LEN.
32336 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32338         [BZ #16414]
32339         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32340         implementation.
32341         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32343 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32347 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32349         [BZ #16408]
32350         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32351         for large positive arguments.
32353 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32355         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32357         * math/auto-libm-test-in: Mark various tests with
32358         xfail-rounding:ldbl-128ibm.
32359         * math/auto-libm-test-out: Regenerated.
32361         [BZ #16407]
32362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32363         Increase overflow threshold.
32365 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32367         [BZ #14286]
32368         * stdio-common/vfprintf.c: Check for integer overflow.
32370 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32372         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32373         the first argument and return value of __tls_get_addr_internal.
32375 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32377         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32378         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32380 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32382         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32383         * sysdeps/s390/rtld-global-offsets.sym: New file.
32384         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32385         GLIBC_2.19 symbol.
32386         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32387         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32388         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32389         ... this.
32390         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32391         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32392         ... this.
32393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32394         Regenerate.
32395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32396         Regenerate.
32397         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32398         halfs of GPRs for high_gprs contexts.
32399         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32400         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32401         field.
32402         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32403         uc_flags field.
32404         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32405         64 bit versions:
32406         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32407         for high GPRs (uc_high_gprs) and for future extensions
32408         (__reserved).
32409         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32410         for future extensions (__reserved).
32411         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32412         64 bit versions:
32413         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32414         SC_HIGHGPRS offset definition.
32415         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32416         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32418         * Versions.def: Add GLIBC_2.19 for libpthread.
32419         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32420         siglongjmp for libpthread with GLIBC_2.19 symver.
32421         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32422         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32423         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32424         * sysdeps/s390/__longjmp.c: New file.
32425         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32426         * sysdeps/s390/longjmp.c: New file.
32427         * sysdeps/s390/setjmp.S: New file.
32428         * sysdeps/s390/sigjmp.S: New file.
32429         * sysdeps/s390/v1-longjmp.c: New file.
32430         * sysdeps/s390/v1-setjmp.h: New file.
32431         * sysdeps/s390/v1-sigjmp.c: New file.
32432         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32433         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32434         GLIBC_2.19 version.
32435         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32436         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32437         versioned symbols for ____longjmp_chk.
32438         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32439         Likewise.
32440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32441         Regenerate.
32442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32443         Regenerate.
32444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32445         Regenerate.
32446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32447         Regenerate.
32448         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32449         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32450         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32451         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32452         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32453         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32454         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32455         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32456         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32457         * sysdeps/s390/rtld-__longjmp.c: New file.
32458         * sysdeps/s390/rtld-setjmp.S: New file.
32460 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32462         [BZ #16400]
32463         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32464         Return -__logl (x) for small positive arguments without evaluating
32465         a polynomial.
32467 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32469         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32470         Rename to ...
32471         (__ptrace_peeksiginfo_args): ... this.
32472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32476 2014-01-06  Allan McRae  <allan@archlinux.org>
32478         * inet/netinet/in.h: Fix typo in comment.
32480 2014-01-05  Andreas Jaeger  <aj@suse.de>
32482         * sysdeps/i386/fpu/libm-test-ulps: Update.
32484 2014-01-05  Allan McRae  <allan@archlinux.org>
32486         * po/libc.pot: Regenerated.
32488         * malloc/memusagestat.c: Fix gettext call formatting.
32490 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32492         * nscd/nscd.c: Improve usage() output.
32494 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32496         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32497         * sysdeps/unix/sysv/linux/configure: Regenerated.
32498         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32499         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32501 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32503         [BZ #16390]
32504         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32505         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32507 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32510         extra tokens at end of #undef directive.
32511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32512         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32515 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32517         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32519         * math/auto-libm-test-in: Mark various tests with
32520         xfail-rounding:ldbl-128ibm.
32521         * math/auto-libm-test-out: Regenerated.
32523 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32525         [BZ #16386]
32526         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32527         numbers with subnormal high part when calculating exponent.
32529         [BZ #16385]
32530         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32531         fabs.
32533         [BZ #16384]
32534         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32535         M_LN2l.
32536         (__ieee754_acoshl): Use __log1pl not __log1p.
32538 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32540         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32541         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32542         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32543         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32544         (reused_arena, arena_get2): Convert to GNU style.
32545         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32546         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32547         (memalign_check, __malloc_set_state): Likewise.
32548         * malloc/mallocbug.c (main): Likewise.
32549         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32550         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32551         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32552         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32553         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32554         (__posix_memalign, malloc_info): Likewise.
32555         * malloc/malloc.h: Likewise.
32556         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32557         (mallochook, memalignhook, reallochook, mabort): Likewise.
32558         * malloc/mcheck.h: Likewise.
32559         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32560         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32561         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32562         * malloc/morecore.c (__default_morecore): Likewise.
32563         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32564         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32565         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32566         (print_and_abort): Likewise.
32567         * malloc/obstack.h: Likewise.
32568         * malloc/set-freeres.c (__libc_freeres): Likewise.
32569         * malloc/tst-mallocstate.c (main): Likewise.
32570         * malloc/tst-mtrace.c (main): Likewise.
32571         * malloc/tst-realloc.c (do_test): Likewise.
32573 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32575         [BZ #16366]
32576         * nscd/netgroupcache.c (do_notfound): New function.
32577         (addgetnetgrentX): Use it.
32579         [BZ # 16365]
32580         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32581         NSS_STATUS_NOTFOUND.
32583 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32585         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32588 2014-01-01  Allan McRae  <allan@archlinux.org>
32590         * scripts/update-copyrights: Update configure input file suffix.
32592         * NEWS: Update copyright year.
32593         * catgets/gencat.c: Likewise.
32594         * csu/version.c: Likewise.
32595         * debug/catchsegv.sh: Likewise.
32596         * debug/pcprofiledump.c: Likewise.
32597         * debug/xtrace.sh: Likewise.
32598         * elf/ldconfig.c: Likewise.
32599         * elf/ldd.bash.in: Likewise.
32600         * elf/pldd.c: Likewise.
32601         * elf/sotruss.ksh: Likewise.
32602         * elf/sprof.c: Likewise.
32603         * iconv/iconv_prog.c: Likewise.
32604         * iconv/iconvconfig.c: Likewise.
32605         * locale/programs/locale.c: Likewise.
32606         * locale/programs/localedef.c: Likewise.
32607         * login/programs/pt_chown.c: Likewise.
32608         * malloc/memusage.sh: Likewise.
32609         * malloc/memusagestat.c: Likewise.
32610         * malloc/mtrace.pl: Likewise.
32611         * manual/libc.texinfo: Likewise.
32612         * nscd/nscd.c: Likewise.
32613         * nss/getent.c: Likewise.
32614         * nss/makedb.c: Likewise.
32615         * posix/getconf.c: Likewise.
32616         * scripts/test-installation.pl: Likewise.
32618         * All files with FSF copyright notices: Update copyright dates
32619         using scripts/update-copyrights.
32620         * intl/plural.c: Regenerated.
32621         * locale/programs/charmap-kw.h: Likewise.
32622         * locale/programs/locfile-kw.h: Likewise.
32624 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32626         * sysdeps/unix/sysv/linux/configure: Regenerated.
32627         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32628         the linux/fanotify.h header.
32629         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32630         HAVE_LINUX_FANOTIFY_H is defined.
32632 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32634         * benchtests/cos-inputs: New inputs.
32635         * benchtests/sin-inputs: Likewise.
32637         * benchtests/atan-inputs: New inputs. Fix name of multiple
32638         precision fallback inputs.
32640         * benchtests/atanh-inputs: New inputs.
32641         * benchtests/tanh-inputs: Likewise.
32643         * benchtests/acosh-inputs: New inputs.
32644         * benchtests/asinh-inputs: Likewise.
32646         * benchtests/cosh-inputs: New inputs.
32647         * benchtests/sinh-inputs: Likewise.
32649         * benchtests/acos-inputs: Add more inputs.
32650         * benchtests/asin-inputs: Likewise.
32652 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32654         [BZ #16375]
32655         * manual/arith.texi: Fix spelling.
32656         * manual/charset.texi: Likewise.
32657         * manual/errno.texi: Likewise.
32658         * manual/filesys.texi: Likewise.
32659         * manual/lang.texi: Likewise.
32660         * manual/llio.texi: Likewise.
32661         * manual/locale.texi: Likewise.
32662         * manual/message.texi: Likewise.
32663         * manual/resource.texi: Likewise.
32664         * manual/search.texi: Likewise.
32665         * manual/setjmp.texi: Likewise.
32666         * manual/stdio.texi: Likewise.
32667         * manual/string.texi: Likewise.
32668         * manual/sysinfo.texi: Likewise.
32669         * manual/time.texi: Likewise.
32671 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32673         * po/sl.po: New file.
32675 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32677         * .gitignore: Add core/.gdbinit/.gdb_history.
32679 2013-12-27  Allan McRae  <allan@archlinux.org>
32681         [BZ #16369]
32682         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32683         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32685 2013-12-24  Brooks Moses  <bmoses@google.com>
32687         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32688         all compilers that claim C++98 compliance, not just GCC.
32689         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32690         Likewise.
32692 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32694         * NEWS: Restore accidentally deleted bug-fix entries.
32696 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32697             Ondřej Bílka  <neleai@seznam.cz>
32699         [BZ #15073]
32700         * malloc/malloc.c (_int_free): Perform sanity check only if we
32701         have_lock.
32703 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32705         [BZ #12986]
32706         * manual/stdio.texi (String Input Conversions): Clarify that character
32707         classes are not supported.
32709 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32713 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32715         [BZ #16337]
32716         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32717         Calculate results for small negative arguments directly rather
32718         than using reflection formula with special underflow handling.
32720         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32721         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32722         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32723         (fchflags): Likewise.
32724         (revoke): Likewise.
32725         (setlogin): Likewise.
32726         (sigaltstack): Likewise.
32727         (wait4): Likewise.
32728         (sigblock): Remove.
32729         (sigsetmask): Likewise.
32730         (wait3): Likewise.
32731         (waitpid): Likewise.
32732         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32733         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32734         file.
32735         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32736         * sysdeps/unix/bsd/Makefile: ... here.
32737         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32738         * sysdeps/unix/bsd/Versions: ... here.
32739         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32740         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32741         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32742         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32743         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32744         * sysdeps/unix/bsd/sigblock.c: ... here.
32745         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32746         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32747         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32748         * sysdeps/unix/bsd/sigvec.c: ... here.
32749         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32750         * sysdeps/unix/bsd/tcdrain.c: ... here.
32751         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32752         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32753         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32754         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32755         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32756         * sysdeps/unix/bsd/wait.c: ... here.
32757         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32758         * sysdeps/unix/bsd/wait3.c: ... here.
32759         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32760         * sysdeps/unix/bsd/waitpid.c: ... here.
32762 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32764         [BZ #16356]
32765         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32766         round-to-nearest for [!USE_AS_EXPM1L].
32767         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32768         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32769         more tests of exp and exp10.  Expect some exp10 tests to miss
32770         exceptions or fail in directed rounding modes.
32771         * math/auto-libm-test-out: Regenerated.
32772         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32773         (exp10_test_tonearest): New function.
32774         (exp10_towardzero_test_data): New array.
32775         (exp10_test_towardzero): New function.
32776         (exp10_downward_test_data): New array.
32777         (exp10_test_downward): New function.
32778         (exp10_upward_test_data): New array.
32779         (exp10_test_upward): New function.
32780         (main): Call the new functions.
32781         * sysdeps/i386/fpu/libm-test-ulps: Update.
32782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32784 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32786         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32787         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32788         * math/auto-libm-test-out: Regenerated.
32789         * math/libm-test.inc (acosh_test_data): Add more tests.
32790         (atanh_test_data): Likewise.
32791         (ceil_test_data): Likewise.
32792         (copysign_test_data): Likewise.
32793         * sysdeps/i386/fpu/libm-test-ulps: Update.
32794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32796         * timezone/checktab.awk: Update from tzcode 2013i.
32797         * timezone/private.h: Likewise.
32798         * timezone/scheck.c: Likewise.
32799         * timezone/tzfile.h: Likewise.
32800         * timezone/tzselect.ksh: Likewise.
32801         * timezone/zdump.c: Likewise.
32802         * timezone/zic.c: Likewise.
32804         * math/auto-libm-test-in: Add tests of cpow.
32805         * math/auto-libm-test-out: Regenerated.
32806         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32807         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32808         mpc_cc_c.
32809         (func_calc_desc): Add mpc_cc_c union field.
32810         (test_functions): Add cpow.
32811         (special_fill_2pi): New function.
32812         (special_real_inputs): Add 2pi.
32813         (calc_generic_results): Handle mpc_cc_c.
32814         * sysdeps/i386/fpu/libm-test-ulps: Update.
32815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32817         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32818         csqrt, ctan and ctanh.
32819         * math/auto-libm-test-out: Regenerated.
32820         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32821         (TEST_COND_x86): Likewise.
32822         (ccos_test_data): Use AUTO_TESTS_c_c.
32823         (ccosh_test_data): Likewise.
32824         (cexp_test_data): Likewise.
32825         (clog_test_data): Likewise.
32826         (csqrt_test_data): Likewise.
32827         (ctan_test_data): Likewise.
32828         (ctan_tonearest_test_data): Likewise.
32829         (ctan_towardzero_test_data): Likewise.
32830         (ctan_downward_test_data): Likewise.
32831         (ctan_upward_test_data): Likewise.
32832         (ctanh_test_data): Likewise.
32833         (ctanh_tonearest_test_data): Likewise.
32834         (ctanh_towardzero_test_data): Likewise.
32835         (ctanh_downward_test_data): Likewise.
32836         (ctanh_upward_test_data): Likewise.
32837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32838         mpc_c_c.
32839         (func_calc_desc): Add mpc_c_c union field.
32840         (FUNC_mpc_c_c): New macro.
32841         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32842         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32843         ctanh.
32844         (special_fill_min_subnorm_p120): New function.
32845         (special_real_inputs): Add min_subnorm_p120.
32846         (calc_generic_results): Handle mpc_c_c.
32847         * sysdeps/i386/fpu/libm-test-ulps: Update.
32848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32850 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32852         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32853         (do_sin_slow): New functions.
32854         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32855         (cslow2, csloww1, csloww2): Use the new functions.
32857         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32858         Use M to change sign of result instead of X.  Assume X is
32859         positive.
32860         (csloww1): Likewise.
32861         (__sin): Adjust.
32862         (__cos): Adjust.
32864         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32865         arguments A and DA.
32866         (__sin): Adjust.
32867         (__cos): Likewise.
32869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32870         (__cos): Likewise.
32871         (sloww1): Don't adjust sign of DX.
32872         (csloww1): Likewise.
32873         (sloww2): Use X directly and don't adjust sign of DX.
32874         (csloww2): Likewise.
32876 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32878         * math/auto-libm-test-in: Add tests of cabs and carg.
32879         * math/auto-libm-test-out: Regenerated.
32880         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32881         (carg_test_data): Likewise.
32882         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32883         mpc_c_f.
32884         (func_calc_desc): Add mpc_c_f union field.
32885         (test_functions): Add cabs and carg.
32886         (calc_generic_results): Handle mpc_c_f.
32888         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32889         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32890         as a macro and a compat symbol.
32891         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32892         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32893         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32894         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32895         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32896         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32897         not use .hidden.
32898         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32899         Likewise.
32900         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32901         Likewise.
32902         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32903         Likewise.
32904         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32905         Likewise.
32906         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32907         Likewise.
32908         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32909         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32910         from GLIBC_2.3.2.
32912 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32916 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32918         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32919         trailing whitespace removed.
32920         * scripts/config.guess: Update to version 2013-11-29.
32921         * scripts/config.sub: Update to version 2013-10-01.
32923         * math/auto-libm-test-in: Add tests of sincos.
32924         * math/auto-libm-test-out: Regenerated.
32925         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32926         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32927         mpfr_f_11.
32928         (func_calc_desc): Add mpfr_f_11 union field.
32929         (test_functions): Add sincos.
32930         (calc_generic_results): Handle mpfr_f_11.
32931         * sysdeps/i386/fpu/libm-test-ulps: Update.
32932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32934 2013-12-19  Andreas Schwab  <schwab@suse.de>
32936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32937         CALL_MCOUNT.
32938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32940         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32942 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32944         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32945         * sysdeps/i386/fpu/libm-test-ulps: Update.
32946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32948         [BZ #16293]
32949         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32950         round-to-nearest mode when using frndint.
32951         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32952         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32954         Likewise.
32955         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32956         sinh test to fail.
32957         * math/auto-libm-test-out: Regenerated.
32958         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32959         (TEST_COND_x86): Likewise.
32960         (expm1_tonearest_test_data): New array.
32961         (expm1_test_tonearest): New function.
32962         (expm1_towardzero_test_data): New array.
32963         (expm1_test_towardzero): New function.
32964         (expm1_downward_test_data): New array.
32965         (expm1_test_downward): New function.
32966         (expm1_upward_test_data): New array.
32967         (expm1_test_upward): New function.
32968         (main): Run the new test functions.
32969         * sysdeps/i386/fpu/libm-test-ulps: Update.
32970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32972         * include/features.h: Update comment documenting feature test
32973         macros.  Mention _DEFAULT_SOURCE in comment.
32974         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32975         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32976         _BSD_SOURCE and _SVID_SOURCE.
32977         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32978         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32979         !_SVID_SOURCE]: Likewise.
32980         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32981         (__USE_POSIX_IMPLICITLY): Define.
32982         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32983         (_POSIX_SOURCE): Undefine and redefine.
32984         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32985         (_POSIX_C_SOURCE): Likewise.
32986         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32987         (Feature Test Macros): Update documentation of default features.
32989 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32991         * benchtests/Makefile: Add bench-strtok.
32992         * benchtests/bench-strtok.c: New file: strtok benchtest.
32994 2013-12-19  Allan McRae  <allan@archlinux.org>
32996         * manual/install.texi: Suppress menu for plain text output.
32997         * INSTALL: Regenerated.
32999 2013-12-18  Brooks Moses  <bmoses@google.com>
33001         [BZ #15846]
33002         * misc/getauxval.c: Include errno.h.
33003         (__getauxval): Set errno to ENOENT if the requested type is not
33004         found.
33005         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33006         don't declare with __attribute_const__.
33007         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33008         * manual/startup.texi: Document that getauxval sets errno.
33010 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33012         * math/auto-libm-test-in: Add tests of jn and yn.
33013         * math/auto-libm-test-out: Regenerated.
33014         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33015         (yn_test_data): Likewise.
33016         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33017         mpfr_if_f.
33018         (func_calc_desc): Add mpfr_if_f union field.
33019         (FUNC_mpfr_if_f): New macro.
33020         (test_functions): Add jn and yn.
33021         (calc_generic_results): Assert type of second input for
33022         mpfr_ff_f.  Handle mpfr_if_f.
33023         (output_for_one_input_case): Disable all checking for arguments
33024         fitting floating-point types in case of an integer argument.
33025         * sysdeps/i386/fpu/libm-test-ulps: Update.
33026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33029         Don't expect fegetround reference in libm.so.
33031 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33033         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33034         $(config-cflags-nofma).
33036 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33038         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33039         * math/auto-libm-test-out: Regenerated.
33041         [BZ #16338]
33042         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33043         to determine exponent and adjust argument to have exponent of -1.
33044         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33045         log2.
33046         * math/auto-libm-test-out: Regenerated.
33047         * sysdeps/i386/fpu/libm-test-ulps: Update.
33048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33050 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33052         * manual/probes.texi: Remove cases when per-thread arenas are
33053         disabled.
33055 2013-12-18  Andreas Schwab  <schwab@suse.de>
33057         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33058         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33059         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33060         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33061         * sysdeps/i386/i686/multiarch/Makefile: Update.
33062         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33064 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33066         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33067         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33069 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33071         [BZ #15968]
33072         Support TZ transition times < 00:00:00.
33073         This is needed for version-3 tz-format files; it supports time
33074         stamps past 2037 for America/Godthab (the only entry in the tz
33075         database for which this change is relevant).
33076         * manual/time.texi (TZ Variable): Document transition times
33077         from -167:59:59 through -00:00:01.
33078         * time/tzset.c (tz_rule): Time of day is now signed.
33079         (__tzset_parse_tz): Parse negative time of day.
33081         Document TZ transition times >= 25:00:00.
33082         * manual/time.texi (TZ Variable): Document transition times from
33083         25:00:00 through 167:59:59.  These are already supported, and this
33084         support will help with version-3 tz-format files.
33086         * manual/time.texi (TZ Variable): Modernize North America example
33087         to reflect current (i.e., 2007-and-later) daylight saving rules.
33089         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33091 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33093         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33094         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33097         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33098         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33099         * sysdeps/unix/bsd/clock.c: Likewise.
33100         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33101         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33102         * sysdeps/unix/bsd/init-posix.c: Likewise.
33103         * sysdeps/unix/bsd/poll.c: Likewise.
33104         * sysdeps/unix/bsd/ptsname.c: Likewise.
33105         * sysdeps/unix/bsd/seekdir.c: Likewise.
33106         * sysdeps/unix/bsd/setegid.c: Likewise.
33107         * sysdeps/unix/bsd/seteuid.c: Likewise.
33108         * sysdeps/unix/bsd/setgid.c: Likewise.
33109         * sysdeps/unix/bsd/setrgid.c: Likewise.
33110         * sysdeps/unix/bsd/setruid.c: Likewise.
33111         * sysdeps/unix/bsd/setsid.c: Likewise.
33112         * sysdeps/unix/bsd/setuid.c: Likewise.
33113         * sysdeps/unix/bsd/sigaction.c: Likewise.
33114         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33115         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33116         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33117         * sysdeps/unix/bsd/telldir.c: Likewise.
33118         * sysdeps/unix/bsd/times.c: Likewise.
33119         * sysdeps/unix/bsd/usleep.c: Likewise.
33121         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33122         ($(objpfx)libbsd-compat.a): Remove rule.
33124         * include/features.h (__FAVOR_BSD): Do not define.
33125         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33126         features conflicting with POSIX.
33127         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33128         (_BSD_SOURCE): Remove description of not being a subset of other
33129         feature test macros.
33130         * manual/job.texi (getpgrp): Do not document BSD version.
33131         (getpgid): Do not document by reference to BSD getpgrp.
33132         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33133         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33134         * signal/signal.h [__FAVOR_BSD]: Likewise.
33135         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33136         instead of making contents conditional on [__FAVOR_BSD].
33137         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33139 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33143 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #16314]
33146         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33147         values below 2**-450, not 2**-500.
33148         * math/auto-libm-test-in: Don't allow spurious underflow from
33149         hypot.
33150         * math/auto-libm-test-out: Regenerated.
33152         [BZ #16316]
33153         [BZ #16330]
33154         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33155         values of ha and hb and sort them after adjusting subnormal
33156         arguments.
33157         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33158         Likewise.
33159         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33160         values of ea and eb and sort them after adjusting subnormal
33161         arguments.
33162         * math/auto-libm-test-in: Do not expect some hypot tests of
33163         subnormals to fail.  Add more hypot tests.
33164         * math/auto-libm-test-out: Regenerated.
33166 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33168         [BZ #13304]
33169         * sysdeps/sh/s_fma.c: New file.
33170         * sysdeps/sh/s_fmaf.c: New file.
33171         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33172         version.
33173         * sysdeps/sh/Implies: Add sh/soft-fp.
33175 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33177         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33178         level of indirection to members `objname', `errstring', `malloced'.
33179         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33180         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33181         it as the __longjmp argument (just pass 1 instead).
33182         (_dl_catch_error): Initialize C with argument pointers and address of
33183         volatile local ERRCODE rather than copying values out of C at return.
33185 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33187         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33188         * math/auto-libm-test-out: Regenerated.
33189         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33190         (hypot_test_data): Likewise.
33191         (pow_test_data): Likewise.
33192         (pow_tonearest_test_data): Likewise.
33193         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33194         mpfr_ff_f.
33195         (func_calc_desc): Add mpfr_ff_f union field.
33196         (FUNC_mpfr_ff_f): New macro.
33197         (test_functions): Add atan2, hypot and pow.
33198         (special_fill_min): New function.
33199         (special_fill_minus_min): Likewise.
33200         (special_fill_min_subnorm): Likewise.
33201         (special_fill_minus_min_subnorm): Likewise.
33202         (special_real_inputs): Add min, -min, min_subnorm and
33203         -min_subnorm.
33204         (calc_generic_results): Handle mpfr_ff_f.
33205         * sysdeps/i386/fpu/libm-test-ulps: Update.
33206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33208 2013-12-16  Will Newton  <will.newton@linaro.org>
33210         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33211         (Aligned Memory Blocks): Add documentation for aligned_alloc
33212         and suggest it as an alternative to posix_memalign.
33213         (Hooks for Malloc): Document __memalign_hook is also called
33214         for aligned_alloc.  (Summary of Malloc): Add summary for
33215         aligned alloc.  Document __memalign_hook is also called
33216         for aligned_alloc.
33218 2013-12-16  Will Newton  <will.newton@linaro.org>
33220         * manual/memory.texi (Malloc Examples): Clarify default
33221         alignment documentation.  Suggest posix_memalign rather
33222         than memalign or valloc.
33223         (Aligned Memory Blocks): Remove suggestion to use memalign
33224         or valloc.  Remove obsolete comment about BSD.
33225         Document memalign errno values and mark the function obsolete.
33226         Document posix_memalign returned error codes.  Mark valloc
33227         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33228         called for posix_memalign and valloc.
33229         (Summary of Malloc): Add posix_memalign to function summary.
33230         __memalign_hook is also called for posix_memalign and valloc.
33232 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33234         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33235         TAYLOR_SIN.
33236         (__sin): Adjust.
33237         (__cos): Likewise.
33238         (sloww): Use mynumber union.  Expand ternary operator into
33239         if-else statements.
33240         (cslow): use mynumber union.
33242 2013-12-16  Allan McRae  <allan@archlinux.org>
33244         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33245         * configure: Regenerated.
33247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33249         [BZ #14120]
33250         * configure.ac: Added --enable-maintainer-mode. Check for
33251         autoconf when enabled.
33252         * configure: Regenerated.
33254         * nscd/nscd.service: New file.
33255         * nscd/nscd.tmpfiles: New file.
33257 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33259         [BZ #12100]
33260         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33261         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33262         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33263         (strstr): Add __strstr_sse2_unaligned ifunc.
33264         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33265         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33266         (strcasestr): Remove __strcasestr_sse42 ifunc.
33267         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33271 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33273         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33274         * sysdeps/sh/bits/fenv.h: ... here.
33275         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33277 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33279         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33282         hypotf multiarch implementations.
33283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33286         multiarch hypot for PPC64.
33287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33288         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33289         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33290         multiarch hypotf for PPC64.
33292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33293         modff multiarch implementations.
33294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33297         multiarch modf for PPC64.
33298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33301         multiarch modff for PPC64.
33303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33304         and logl multiarch implementations.
33305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33308         multiarch logb for PPC64.
33309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33312         multiarch logb for PPC64.
33313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33316         multiarch logb for PPC64.
33318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33319         isinff multiarch implementation.
33320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33321         file.
33322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33324         multiarch isinf for PPC64.
33325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33326         file.
33327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33328         multiarch isinff for PPC64.
33330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33331         finitef multiarch implementation.
33332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33333         file.
33334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33336         multiarch finite for PPC64.
33337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33338         file.
33339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33340         multiarch finitef for PPC64.
33342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33343         lrint multiarch implementation.
33344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33345         file.
33346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33348         multiarch llrint for PPC64.
33349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33350         multiarch lrint for PPC64.
33352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33353         copysignf multiarch implementation.
33354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33355         file.
33356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33357         file.
33358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33359         multiarch copysign for PPC64.
33360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33361         multiarch copysignf for PPC64.
33363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33364         multiarch implementation.
33365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33366         file.
33367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33368         file.
33369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33370         file.
33371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33372         file.
33373         multiarch llround for PPC64.
33374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33375         multiarch trunc for PPC64.
33376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33377         multiarch truncf for PPC64.
33379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33380         multiarch implementation.
33381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33382         file.
33383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33384         file.
33385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33386         file.
33387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33388         file.
33389         multiarch llround for PPC64.
33390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33391         multiarch round for PPC64.
33392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33393         multiarch roundf for PPC64.
33395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33396         multiarch implementation.
33397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33398         file.
33399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33400         file.
33401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33402         file.
33403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33404         file.
33405         multiarch llround for PPC64.
33406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33407         multiarch floor for PPC64.
33408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33409         multiarch floorf for PPC64.
33411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33412         multiarch implementation.
33413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33414         file.
33415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33416         file.
33417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33418         file.
33419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33420         file.
33421         multiarch llround for PPC64.
33422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33423         multiarch ceil for PPC64.
33424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33425         multiarch ceilf for PPC64.
33427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33428         multiarch implementation.
33429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33430         file.
33431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33432         file.
33433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33434         file.
33435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33436         multiarch llround for PPC64.
33437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33438         multiarch lround for PPC64.
33440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33441         multiarch implementation.
33442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33445         file.
33446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33449         multiarch isnan for PPC64.
33450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33451         multiarch isnanf for PPC64.
33453         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33454         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33455         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33456         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33457         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33460         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33461         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33462         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33463         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33466         multiarch implementations.
33467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33468         (__libc_ifunc_impl_list): Likewise.
33469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33470         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33472         multiarch stpcpy for PPC64.
33474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33475         multiarch implementations.
33476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33477         (__libc_ifunc_impl_list): Likewise.
33478         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33479         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33480         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33481         multiarch strcpy for PPC64.
33483         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33484         redefine function name.
33485         (_wordcopy_fwd_dest_aligned): Likewise.
33486         (_wordcopy_bwd_aligned): Likewise.
33487         (_wordcopy_bwd_dest_aligned): Likewise.
33488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33489         multiarch implementations.
33490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33491         (__libc_ifunc_impl_list): Likewise.
33492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33493         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33496         multiarch wcscpy for PPC64.
33498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33499         multiarch implementations.
33500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33501         (__libc_ifunc_impl_list): Likewise.
33502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33503         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33504         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33505         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33506         multiarch wcscpy for PPC64.
33508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33509         multiarch implementations.
33510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33511         (__libc_ifunc_impl_list): Likewise.
33512         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33513         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33514         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33515         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33516         multiarch wcsrchr for PPC64.
33518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33519         multiarch implementations.
33520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33521         (__libc_ifunc_impl_list): Likewise.
33522         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33523         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33524         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33525         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33526         multiarch wcschr for PPC64.
33528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33529         multiarch implementations.
33530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33531         (__libc_ifunc_impl_list): Likewise.
33532         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33533         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33534         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33535         multiarch strchrnul for PPC64.
33537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33538         implementations.
33539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33540         (__libc_ifunc_impl_list): Likewise.
33541         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33542         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33543         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33544         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33545         strchr for PPC64.
33547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33548         implementations.
33549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33550         (__libc_ifunc_impl_list): Likewise.
33551         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33552         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33553         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33554         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33555         strncmp for PPC64.
33557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33558         multiarch implementations.
33559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33560         (__libc_ifunc_impl_list): Likewise.
33561         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33562         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33563         strncasecmp for PPC64.
33564         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33565         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33566         multiarch strncasecmp_l for PPC64.
33568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33569         multiarch implementations.
33570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33571         (__libc_ifunc_impl_list): Likewise.
33572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33574         multiarch strcasecmp for PPC64.
33575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33576         file.
33577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33578         multiarch strcasecmp_l for PPC64.
33580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33581         implementations.
33582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33583         (__libc_ifunc_impl_list): Likewise.
33584         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33585         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33586         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33587         strnlen for PPC64.
33589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33590         implementations.
33591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33592         (__libc_ifunc_impl_list): Likewise.
33593         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33594         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33595         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33596         strlen for PPC64.
33598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33599         implementations.
33600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33601         (__libc_ifunc_impl_list): Likewise.
33602         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33603         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33604         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33605         rawmemrchr for PPC64.
33607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33608         implementation.
33609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33610         (__libc_ifunc_impl_list): Likewise.
33611         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33612         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33613         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33614         memrchr for PPC64.
33616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33617         implementation.
33618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33619         (__libc_ifunc_impl_list): Likewise.
33620         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33621         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33622         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33623         memchr for PPC64.
33625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33626         implementation.
33627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33628         (__libc_ifunc_impl_list): Likewise.
33629         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33630         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33632         mempcpy for PPC64.
33634         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33635         avoid cretion of __bzero symbol.
33636         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33637         Likewise.
33638         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33639         Likewise.
33640         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33641         Likewise.
33642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33643         multiarch implementations.
33644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33645         (__libc_ifunc_impl_list): Likewise.
33646         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33647         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33648         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33649         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33650         bzero for PPC32.
33651         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33652         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33653         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33654         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33655         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33656         memset for PPC64.
33657         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33659         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33661         implementations.
33662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33663         (__libc_ifunc_impl_list): Likewise.
33664         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33665         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33666         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33667         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33668         memcmp for PPC64.
33670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33671         multiarch for POWER/PPC64.
33672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33673         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33680         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33681         memcpy for PPC64.
33683         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33684         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33685         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33686         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33687         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33688         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33689         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33690         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33691         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33692         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33693         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33694         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33695         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33696         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33697         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33706 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33710 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33712         * benchtests/Makefile (bench): Add exp2 and log2.
33713         (LDLIBS-bench-exp2): Add -lm.
33714         (LDLIBS-bench-log2): Likewise.
33715         * benchtests/exp2-inputs: New inputs file.
33716         * benchtests/log2-inputs: New inputs file.
33717         * benchtests/log-inputs: Add new inputs.
33718         * benchtests/tan-inputs: Likewise.
33720 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33722         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33723         definition...
33724         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33725         (csloww2): ... from here.
33727         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33728         instead of structures.
33729         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33730         (POLYNOMIAL): Likewise.
33731         (TAYLOR_SLOW): Likewise.
33732         (__sin): Likewise.
33733         (__cos): Likewise.
33734         (slow1): Likewise.
33735         (slow2): Likewise.
33736         (sloww): Likewise.
33737         (sloww1); Likewise.
33738         (sloww2): Likewise.
33739         (bsloww1): Likewise.
33740         (bsloww2): Likewise.
33741         (cslow2): Likewise.
33742         (csloww): Likewise.
33743         (csloww1): Likewise.
33744         (csloww2): Likewise.
33746 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33748         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33749         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33750         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33751         * malloc/hooks.c (realloc_check): Likewise.
33753         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33754         * malloc/arena.c: Remove PER_THREAD conditional.
33755         [!PER_THREAD]: Remove code.
33756         (ptmalloc_unlock_all2): Likewise.
33757         (ptmalloc_init): Likewise.
33758         (_int_new_arena): Likewise.
33759         (arena_get2): Likewise.
33760         * malloc/hooks.c (__malloc_get_state): Likewise.
33761         (__malloc_set_state): Likewise.
33762         * malloc/malloc.c: Likewise.
33763         (struct malloc_state): Likewise.
33764         (struct malloc_par): Likewise.
33765         (__libc_realloc): Likewise.
33766         (__libc_mallopt): Likewise.
33768 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33770         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33772 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33774         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33775         macro to a function.  Check for zero perturb_byte.
33776         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33778         * malloc/malloc.c: (force_reg): Remove.
33779         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33780         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33781         force_reg by atomic_forced_read.
33782         * malloc/arena.c (ptmalloc_init): Likewise.
33783         * malloc/hooks.c (top_check): Likewise.
33785 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33789 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33793 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33795         * math/auto-libm-test-in: Add tests of lgamma.
33796         * math/auto-libm-test-out: Regenerated.
33797         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33798         (M_LOG_2_SQRT_PIl): Likewise.
33799         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33800         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33801         mpfr_f_f1.
33802         (func_calc_desc): Add mpfr_f_f1 union field.
33803         (ARGS1): New macro.
33804         (ARGS2): Likewise.
33805         (ARGS3): Likewise.
33806         (ARGS4): Likewise.
33807         (RET1): Likewise.
33808         (RET2): Likewise.
33809         (CALC): Likewise.
33810         (FUNC): Likewise.
33811         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33812         (test_functions): Add lgamma.
33813         (calc_generic_results): Handle mpfr_f_f1.
33814         * sysdeps/i386/fpu/libm-test-ulps: Update.
33815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33817 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33819         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33820         __mpn_add_n for PowerPC64/POWER7.
33821         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33822         __mpn_sub_n for PowerPC64/POWER7.
33824         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33825         __mpn_addmul_1 for PowerPC64.
33826         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33827         __mpn_submul_1 for PowerPC64.
33828         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33829         for PowerPC64.
33830         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33831         for PowerPC64.
33833 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33835         [BZ #15089]
33836         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33838 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33840         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33842         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33843         add multiarch folders.
33844         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33845         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33846         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33847         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33848         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33849         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33850         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33851         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33852         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33853         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33854         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33863         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33865         New file.
33866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33867         New file.
33868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33869         multiarch __ieee754_hypot for PowerPC32.
33870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33871         New file.
33872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33873         New file.
33874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33875         multiarch __ieee754_hypotf for PowerPC32.
33877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33878         long_double_symbol only if __logbl is defined.
33879         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33880         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33882         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33884         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33885         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33886         path for implementation.
33887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33888         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33890         logb, and logbl multiarch implementations for PowerPC32.
33891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33892         file.
33893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33894         file.
33895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33896         multiarch logb for PowerPC32.
33897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33898         file.
33899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33900         file.
33901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33902         multiarch logbf for PowerPC32.
33903         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33905         file.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33907         multiarch logbl implementation for PowerPC32.
33909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33910         and modff multiarch implementations.
33911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33912         New file.
33913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33914         New file.
33915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33916         multiarch modf for PowerPC32.
33917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33918         New file.
33919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33920         New file.
33921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33922         multiarch modff for PowerPC32.
33924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33925         and lrintf multiarch implementations.
33926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33927         New file.
33928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33929         New file.
33930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33931         multiarch lrint for PowerPC32.
33932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33933         file: multiarch lrintf for PowerPC32.
33935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33936         and lroundf multiarch implementations.
33937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33938         New file.
33939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33940         New file.
33941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33942         New file.
33943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33944         multiarch lround for PowerPC32.
33945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33946         file: multiarch lroundf for PowerPC32.
33948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33949         copysign and copysignf multiarch implementations.
33950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33951         New file.
33952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33953         New file.
33954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33955         file: multiarch copysign for PowerPC32.
33956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33957         file: multiarch copysignf for PowerPC32.
33959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33960         and truncf multiarch implementations.
33961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33962         New file.
33963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33964         file.
33965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33966         multiarch trunc for PowerPC32.
33967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33968         New file.
33969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33970         New file.
33971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33972         multiarch truncf for PowerPC32.
33974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33975         and roundf multiarch implementations.
33976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33977         New file.
33978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33979         file.
33980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33981         multiarch round for PowerPC32.
33982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33983         New file.
33984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33985         New file.
33986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33987         multiarch roundf for PowerPC32.
33989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33990         and floorf multiarch implementations.
33991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33992         New file.
33993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33994         file.
33995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33996         multiarch floor for PowerPC32.
33997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33998         New file.
33999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34000         New file.
34001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34002         multiarch floorf for PowerPC32.
34004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34005         and ceilf multiarch implementations.
34006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34007         New file.
34008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34009         file.
34010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34011         multiarch ceil for PowerPC32.
34012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34013         New file.
34014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34015         file.
34016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34017         multiarch ceilf for PowerPC32.
34019         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34020         is defined.
34021         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34022         FINITEF is defined.
34023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34024         and finitef multiarch implementations.
34025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34026         New file.
34027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34028         file.
34029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34030         multiarch finite for PowerPC32.
34031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34032         New file.
34033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34034         file: multiarch finitef for PowerPC32.
34036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34037         and isinff multiarch implementations.
34038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34039         file.
34040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34041         file.
34042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34043         multiarch isinf for PowerPC32.
34044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34045         New file.
34046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34047         multiarch isinff for PowerPC32.
34049         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34050         alias when __isnan is defined.
34051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34052         and isnanf multiarch implementations.
34053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34054         file.
34055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34056         file.
34057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34058         file.
34059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34060         file.
34061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34062         multiarch isnan for PowerPC32.
34063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34064         New file.
34065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34066         New file.
34067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34068         multiarch isnanf for PowerPC32.
34070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34071         and sqrtf multiarch implementations.
34072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34073         file.
34074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34075         file.
34076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34077         multiarch sqrt for PowerPC32.
34078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34079         file.
34080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34081         file.
34082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34083         multiarch sqrtf for PowerPC32.
34085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34086         and llroundf multiarch implementations.
34087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34088         New file.
34089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34090         New file.
34091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34092         New file.
34093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34094         file: multiarch llround for PowerPC32.
34095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34096         file: multiarch llroundf for PowerPC32.
34098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34099         multiarch PowerPC32 fpu implementations.
34100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34101         New file.
34102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34103         New file.
34104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34105         multiarch llrint for PowerPC32.
34106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34107         New file.
34108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34109         New file.
34110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34111         file.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34115         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34116         file.
34117         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34118         file.
34119         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34120         file.
34121         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34122         multiarch wordcopy for PPC32.
34123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34124         wordcopy objects.
34125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34126         (__libc_ifunc_impl_list): Likewise.
34127         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34128         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34129         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34130         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34131         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34132         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34134         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34136         file.
34137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34138         file.
34139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34140         file.
34141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34142         multiarch wcscpy for PPC32.
34143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34144         multiarch objects.
34145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34146         (__libc_ifunc_impl_list): Likewise.
34147         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34148         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34149         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34150         sysdeps/powerpc/power6/wcscpy.c.
34152         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34154         file.
34155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34156         file.
34157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34158         file.
34159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34160         multiarch wcsrchr for PPC32.
34161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34162         multiarch objects.
34163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34164         (__libc_ifunc_impl_list): Likewise.
34165         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34166         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34167         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34168         sysdeps/powerpc/power6/wcsrchr.c.
34170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34171         file.
34172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34173         file.
34174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34176         multiarch wcschr for PPc32.
34177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34178         multiarch objects.
34179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34180         (__libc_ifunc_impl_list): Likewise.
34181         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34182         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34183         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34184         sysdeps/powerpc/power6/wcschr.c.
34186         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34188         file.
34189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34190         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34191         file: multiarch strchr for PPC32.
34192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34193         multiarch objects.
34194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34195         (__libc_ifunc_impl_list): Likewise.
34197         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34198         name.
34199         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34200         file.
34201         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34202         file.
34203         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34204         multiarch strchrnul for PPC32.
34205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34206         multiarch objects.
34207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34208         (__libc_ifunc_impl_list): Likewise.
34210         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34211         file.
34212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34213         multiarch strncasecmp for PPC32.
34214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34215         file.
34216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34217         multiarch strncasecmp_l for PPC32.
34218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34219         strncasecmp multiarch objects.
34220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34221         (__libc_ifunc_impl_list): Likewise.
34223         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34224         file.
34225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34226         multiarch strncasecmp for PPC32.
34227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34228         New file.
34229         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34230         multiarch strcasecmp_l for PPC32.
34231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34232         multiarch objects.
34233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34234         (__libc_ifunc_impl_list): Likewise.
34236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34237         file.
34238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34239         file.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34241         multiarch strncmp for PPC32.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34243         multiarch objects.
34244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34245         (__libc_ifunc_impl_list): Likewise.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34248         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34249         file.
34250         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34251         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34253         multiarch objects.
34254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34255         (__libc_ifunc_impl_list): Likewise.
34257         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34258         file.
34259         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34260         file.
34261         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34263         multiarch objects.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34265         (__libc_ifunc_impl_list): Likewise.
34267         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34268         file.
34269         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34270         file.
34271         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34272         multiarch rawmemchr for PPC32.
34273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34274         multiarch objects.
34275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34276         (__libc_ifunc_impl_list): Likewise.
34278         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34279         file.
34280         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34281         file.
34282         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34283         file: memrchr multiarch for PPC32.
34284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34285         multiarch objects.
34286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34287         (__libc_ifunc_impl_list): Likewise.
34289         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34291         file.
34292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34293         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34294         multiarch memchr for PPC32.
34295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34296         multiarch objects.
34297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34298         (__libc_ifunc_impl_list): Likewise.
34300         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34302         file.
34303         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34304         file.
34305         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34306         file: multiarch mempcpy for PPC32.
34307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34308         multiarch objects.
34309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34310         (__libc_ifunc_impl_list): Likewise.
34312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34316         multiarch bzero for PPC32.
34317         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34318         file.
34319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34320         file.
34321         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34322         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34323         file: multiarch memset for PPC32.
34324         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34326         memset multiarch objects.
34327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34328         (__libc_ifunc_impl_list): Likewise.
34330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34331         file.
34332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34334         memcmp for PPC32.
34335         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34337         multiarch objects.
34338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34339         (__libc_ifunc_impl_list): Likewise.
34341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34344         file.
34345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34346         file.
34347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34348         file.
34349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34350         multiarch memcpy for PPC32.
34351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34352         multiarch objects.
34353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34354         (__libc_ifunc_impl_list): Likewise.
34356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34357         support multiarch for POWER/PPC32.
34358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34359         Likewise.
34360         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34362         Implies file to make multiarch folder appers before the fpu and
34363         default folder for power4 configuration.
34365 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34367         * scripts/bench.pl: Append volatile keyword to type.
34369 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34371         * sysdeps/sh/sotruss-lib.c: New file.
34372         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34374 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34378 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34380         [BZ #6810]
34381         * math/w_tgamma.c: Include <errno.h>.
34382         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34383         * math/w_tgammaf.c: Include <errno.h>.
34384         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34385         * math/w_tgammal.c: Include <errno.h>.
34386         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34387         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34388         underflow.  Add more tgamma tests.
34389         * math/auto-libm-test-out: Regenerated.
34390         * sysdeps/i386/fpu/libm-test-ulps: Update.
34391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34393         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34394         sin, sinh, tan, tanh, tgamma, y0 and y1.
34395         * math/auto-libm-test-out: Regenerated.
34396         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34397         (TEST_COND_x86): Likewise.
34398         (M_E2l): Remove macro.
34399         (M_E3l): Likewise.
34400         (M_2_SQRT_PIl): Likewise.
34401         (M_SQRT_PIl): Likewise.
34402         (M_1_DIV_El): Likewise.
34403         (log_test_data): Use AUTO_TESTS_f_f.
34404         (log10_test_data): Likewise.
34405         (log1p_test_data): Likewise.
34406         (log2_test_data): Likewise.
34407         (sin_test_data): Likewise.
34408         (sin_tonearest_test_data): Likewise.
34409         (sin_towardzero_test_data): Likewise.
34410         (sin_downward_test_data): Likewise.
34411         (sin_upward_test_data): Likewise.
34412         (sinh_test_data): Likewise.
34413         (sinh_tonearest_test_data): Likewise.
34414         (sinh_towardzero_test_data): Likewise.
34415         (sinh_downward_test_data): Likewise.
34416         (sinh_upward_test_data): Likewise.
34417         (tan_test_data): Likewise.
34418         (tan_tonearest_test_data): Likewise.
34419         (tan_towardzero_test_data): Likewise.
34420         (tan_downward_test_data): Likewise.
34421         (tan_upward_test_data): Likewise.
34422         (tanh_test_data): Likewise.
34423         (tgamma_test_data): Likewise.
34424         (y0_test_data): Likewise.
34425         (y1_test_data): Likewise.
34426         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34427         (special_real_inputs): Add pi/4.
34428         * sysdeps/i386/fpu/libm-test-ulps: Update.
34429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34431 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34433         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34434         "longjmp_target" static probes.
34435         (__longjmp): Rename to __longjmp_symbol.
34436         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34437         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34438         on which longjmp to generate.
34439         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34440         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34441         probe.
34442         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34443         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34444         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34445         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34446         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34447         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34449         __longjmp_symbol based on which __longjmp to generate.
34450         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34451         probe.
34452         (setjmp): Rename to setjmp_symbol.
34453         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34454         (_setjmp): Rename to _setjmp_symbol.
34455         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34456         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34457         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34458         which setjmp to generate.
34459         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34460         "longjmp_target" static probes.
34462 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34464         * benchtests/README: Add note about output arguments.
34465         * benchtests/bench-sincos.c: Remove file.
34466         * benchtests/sincos-inputs: New file.
34467         * scripts/bench.pl: Identify output arguments and define
34468         static variables for them.
34470         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34472         [BZ #15941]
34473         * Makefile (INSTALL): Add install-plain.texi as the primary
34474         dependency.
34475         * manual/install-plain.texi: New file.
34476         * manual/install.texi: Include node directive only for
34477         non-plaintext output.
34479 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34481         * stdlib/longlong.h: Update from GCC.
34483         [BZ #6807]
34484         [BZ #15901]
34485         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34486         * math/w_j0f.c (y0f): Likewise.
34487         * math/w_j0l.c (__y0l): Likewise.
34488         * math/w_j1.c (y1): Likewise.
34489         * math/w_j1f.c (y1f): Likewise.
34490         * math/w_j1l.c (__y1l): Likewise
34491         * math/w_jn.c (yn): Likewise.
34492         * math/w_jnf.c (ynf): Likewise.
34493         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34494         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34495         value for Bessel function domain errors outside _SVID_ mode.
34496         Adjust sign of return value for yn (negative integer, 0).
34497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34498         by zero in return for negative x and set sign appropriately for
34499         negative n.
34500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34501         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34502         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34503         expectations in error cases.
34504         (y1_test_data): Likewise.
34505         (yn_test_data): Likewise.
34506         * sysdeps/i386/fpu/libm-test-ulps: Update.
34507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34509 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34511         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34512         "64" to "64-v1".  Add "64-v2".
34513         (abi-64-options): Rename to ...
34514         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34515         (abi-64-condition): Rename to ...
34516         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34517         (abi-64-ld-soname): Rename to ...
34518         (abi-64-v1-ld-soname): ... this.
34519         (abi-64-v2-options): Define.
34520         (abi-64-v2-condition): Likewise.
34521         (abi-64-v2-ld-soname): Likewise.
34522         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34523         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34528 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34529             Alan Modra  <amodra@gmail.com>
34531         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34532         New versions for use with the ELFv2 ABI.
34533         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34534         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34535         declaration.
34536         (struct La_ppc64v2_retval): Likewise.
34537         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34538         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34539         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34540         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34541         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34542         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34543         Do not save or restore CR.
34544         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34545         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34546         return values for ELFv2 ABI.  Fix location of FPR return registers.
34547         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34548         updated values for _CALL_ELF == 2.
34549         (La_regs, La_retval, int_retval): Likewise.
34551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34553         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34554         (FRAME_MIN_SIZE_PARM): Likewise.
34555         (FRAME_BACKCHAIN): Likewise.
34556         (FRAME_CR_SAVE): Likewise.
34557         (FRAME_LR_SAVE): Likewise.
34558         (FRAME_TOC_SAVE): Likewise.
34559         (FRAME_PARM_SAVE): Likewise.
34560         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34561         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34562         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34563         (call_mcount_parm_offset): New macro.
34564         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34565         (PROF): Use symbolic stack frame offsets.
34566         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34567         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34568         Redefine in terms of FRAME_MIN_SIZE.
34569         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34570         (_dl_profile_resolve): Likewise.  Update comment.
34571         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34572         symbols stack frame offsets.
34573         (__sigsetjmp): Likewise.
34574         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34575         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34576         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34577         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34580         (FRAME_BACKCHAIN): Remove.
34581         (FRAME_CR_SAVE): Likewise.
34582         (FRAME_LR_SAVE): Likewise.
34583         (FRAME_COMPILER_DW): Likewise.
34584         (FRAME_LINKER_DW): Likewise.
34585         (FRAME_TOC_SAVE): Likewise.
34586         (FRAME_PARM_SAVE): Likewise.
34587         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34588         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34589         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34591         (CHECK_SP): Use symbolic stack frame offsets.
34592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34593         zone" instead of caller's parameter save area for temp storage.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34595         Likewise.  Also, use symbolic stack frame offsets.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34597         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34598         our own stack frame instead of the caller's.
34599         (__socket): Use symbolic stack frame offsets.
34601 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34602             Alan Modra  <amodra@gmail.com>
34604         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34605         Define.
34606         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34607         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34608         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34609         New function.
34610         (elf_machine_fixup_plt): Call it.
34611         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34612         reloc arguments.
34613         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34614         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34615         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34616         r2 before calling target.
34618 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34619             Alan Modra  <amodra@gmail.com>
34621         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34622         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34623         versions of macros to support ELFv2 ABI.
34624         (LOCALENTRY): New macro.
34625         (ENTRY, EALIGN): Use it.
34626         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34627         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34628         fall through into ENTRY entry point.
34629         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34630         Only define if _CALL_ELF != 2.
34632         (elf_machine_matches_host): Verify ABI version matches.
34633         (RTLD_START): Use LOCALENTRY.
34634         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34635         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34636         (PLT_ENTRY_WORDS): New macro.
34637         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34638         (elf_machine_runtime_setup): Support ELFv2 ABI.
34639         (elf_machine_fixup_plt): Likewise.
34640         (elf_machine_plt_conflict): Likewise.
34641         (resolve_ifunc): Likewise.
34642         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34643         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34644         Likewise.
34645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34646         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34648         (makecontext): Support ELFv2 ABI.
34649         * elf/elf.h (EF_PPC64_ABI): Define.
34651 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34653         * sysdeps/powerpc/powerpc64/sysdep.h
34654         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34655         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34656         (ENTRY) [ASSEMBLER]: ... but instead here ...
34657         (EALIGN) [ASSEMBLER]: ... and here.
34658         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34659         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34660         (ENTRY_2) [!ASSEMBLER]: Use it.
34661         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34662         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34663         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34664         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34665         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34667         Use PPC64_LOAD_FUNCPTR.
34669         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34671 2013-12-04  Alan Modra  <amodra@gmail.com>
34673         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34674         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34675         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34676         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34679         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34680         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34681         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34682         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34683         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34685 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34688         (__makecontext): Fix incorrect CFI when backtracing out of
34689         context created via makecontext.
34690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34691         (__setcontext): Fix incorrect CFI during switch to new context.
34692         (__novec_setcontext): Likewise.
34694 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34696         [BZ #4772]
34697         * time/strptime_l.c (__strptime_internal): Allow modifiers
34698         in strptime.
34699         * time/tst-strptime.c (day_tests): Add testcase.
34701 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34703         * scripts/bench.pl: Skip over blank lines.
34705 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34707         [BZ #926]
34708         * manual/time.texi (Calendar Time): Clarify what timezone functions
34709         use.
34711 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34715 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34717         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34718         implementation.
34719         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34720         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34721         * debug/memset_chk.c (__memset_chk): Likewise.
34722         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34723         * debug/strncpy_chk.c: Likewise.
34725 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34727         [BZ #15268]
34728         [BZ #15425]
34729         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34730         (__ieee754_exp): For possibly underflowing results, check size of
34731         result and force underflow exception if required.
34732         * math/auto-libm-test-in: Add more tests of exp.
34733         * math/auto-libm-test-out: Regenerated.
34734         * sysdeps/i386/fpu/libm-test-ulps: Update.
34735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34737         [BZ #16283]
34738         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34739         * math/w_exp2f.c (__exp2f): Likewise.
34740         * math/w_exp2l.c (__exp2l): Likewise.
34741         * math/auto-libm-test-in: Do not allow missing errno on exp2
34742         underflow.
34743         * math/auto-libm-test-out: Regenerated.
34745 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34747         [BZ #16274]
34748         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34749         handle filename validation.
34750         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34751         (do_open): Delete.
34753 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34755         [BZ #6786]
34756         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34757         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34758         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34759         <float.h>.
34760         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34761         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34762         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34763         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34764         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34765         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34766         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34767         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34768         Add more erfc tests.
34769         * math/auto-libm-test-out: Regenerated.
34770         * sysdeps/i386/fpu/libm-test-ulps: Update.
34771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34773         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34774         exp2, expm1, j0 and j1.
34775         * math/auto-libm-test-out: Regenerated.
34776         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34777         (erfc_test_data): Likewise.
34778         (exp_test_data): Likewise.
34779         (exp_tonearest_test_data): Likewise.
34780         (exp_towardzero_test_data): Likewise.
34781         (exp_downward_test_data): Likewise.
34782         (exp_upward_test_data): Likewise.
34783         (exp10_test_data): Likewise.
34784         (exp2_test_data): Likewise.
34785         (expm1_test_data): Likewise.
34786         (j0_test_data): Likewise.
34787         (j1_test_data): Likewise.
34788         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34789         (input_flag_type): Add flag_xfail_rounding.
34790         (input_flags): Add xfail-rounding.
34791         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34792         (output_for_one_input_case): Handle flag_xfail_rounding.
34793         * sysdeps/i386/fpu/libm-test-ulps: Update.
34794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34796 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34798         [BZ #16289]
34799         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34800         division by 0.
34802 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34804         [BZ #16195]
34805         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34806         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34807         (STAP_PROBE0): New macro.
34808         (STAP_PROBE1): Likewise.
34809         (STAP_PROBE2): Likewise.
34810         (STAP_PROBE3): Likewise.
34811         (STAP_PROBE4): Likewise.
34813 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34815         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34817 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34819         * benchtests/Makefile (bench): Add sqrt.
34820         (LDLIBS-bench-sqrt): New.
34821         * benchtests/sqrt-input: New.
34823 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34825         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34826         (GAIH_EAI): Likewise.
34827         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34828         (gaih_inet): Likewise.
34829         (getaddrinfo): Don't use GAIH_EAI.
34831         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34832         (struct gaih): Remove definition.
34834 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34836         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34837         Use HERRNOP directly.
34839 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34843 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34845         * math/gen-auto-libm-tests.c (test_functions): Add more
34846         single-argument functions.
34847         (special_fill_pi_2): New function.
34848         (special_fill_minus_pi_2): Likewise.
34849         (special_fill_pi_6): Likewise.
34850         (special_fill_minus_pi_6): Likewise.
34851         (special_fill_pi_3): Likewise.
34852         (special_fill_2pi_3): Likewise.
34853         (special_fill_e): Likewise.
34854         (special_fill_1_e): Likewise.
34855         (special_fill_e_minus_1): Likewise.
34856         (special_real_inputs): Add more special inputs.
34857         (output_for_one_input_case): Do not require ERANGE on underflow to
34858         zero if round-to-nearest result does not underflow to zero, unless
34859         exact results required.
34860         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34861         atan, atanh, cbrt, cos and cosh.
34862         * math/auto-libm-test-out: Regenerated.
34863         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34864         (acos_tonearest_test_data): Likewise.
34865         (acos_towardzero_test_data): Likewise.
34866         (acos_downward_test_data): Likewise.
34867         (acos_upward_test_data): Likewise.
34868         (acosh_test_data): Likewise.
34869         (asin_test_data): Likewise.
34870         (asin_tonearest_test_data): Likewise.
34871         (asin_towardzero_test_data): Likewise.
34872         (asin_upward_test_data): Likewise.
34873         (asinh_test_data): Likewise.
34874         (atan_test_data): Likewise.
34875         (atanh_test_data): Likewise.
34876         (cbrt_test_data): Likewise.
34877         (cos_test_data): Likewise.
34878         (cos_tonearest_test_data): Likewise.
34879         (cos_towardzero_test_data): Likewise.
34880         (cos_downward_test_data): Likewise.
34881         (cos_upward_test_data): Likewise.
34882         (cosh_test_data): Likewise.
34883         (cosh_tonearest_test_data): Likewise.
34884         (cosh_towardzero_test_data): Likewise.
34885         (cosh_downward_test_data): Likewise.
34886         (cosh_upward_test_data): Likewise.
34887         * sysdeps/i386/fpu/libm-test-ulps: Update.
34888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34892         [BZ #6787]
34893         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34894         * math/w_exp10f.c (__exp10f): Likewise.
34895         * math/w_exp10l.c (__exp10l): Likewise.
34896         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34897         errno settings in existing tests.
34899         [BZ #14032]
34900         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34901         precision control set to double precision.
34902         * sysdeps/i386/fpu/w_sqrt.c: New file.
34903         * math/auto-libm-test-in: Add more tests.
34904         * math/auto-libm-test-out: Update.
34906         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34907         (sqrt_test_tonearest): New function.
34908         (sqrt_towardzero_test_data): New variable.
34909         (sqrt_test_towardzero): New function.
34910         (sqrt_downward_test_data): New variable.
34911         (sqrt_test_downward): New function.
34912         (sqrt_upward_test_data): New variable.
34913         (sqrt_test_upward): New function.
34914         (main): Call the new functions.
34916         * math/gen-auto-libm-tests.c: New file.
34917         * math/auto-libm-test-in: Likewise.
34918         * math/auto-libm-test-out: New generated file.
34919         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34920         variables.
34921         (%beautify): Add generated representations of zero.
34922         (top level): Set $auto_input and call parse_auto_input.
34923         (beautify): Remove trailing "f" from hex float constants.
34924         (parse_args): Handle XFAIL_TEST.
34925         (convert_condition): New function.
34926         (or_value): Likewise.
34927         (or_cond_value): Likewise.
34928         (generate_testfile): Handle AUTO_TESTS_* lines.
34929         (parse_auto_input): New function.
34930         * math/libm-test.inc (XFAIL_TEST): New macro.
34931         (ERRNO_UNCHANGED): Update value.
34932         (ERRNO_EDOM): Likewise.
34933         (ERRNO_ERANGE): Likewise.
34934         (IGNORE_RESULT): Likewise.
34935         (TEST_COND_flt_32): New macro.
34936         (TEST_COND_dbl_64): Likewise.
34937         (TEST_COND_ldbl_96_intel): Likewise.
34938         (TEST_COND_ldbl_96_m68k): Likewise.
34939         (TEST_COND_ldbl_128): Likewise.
34940         (TEST_COND_ldbl_128ibm): Likewise.
34941         (TEST_COND_long32): Likewise.
34942         (TEST_COND_long64): Likewise.
34943         (TEST_COND_before_rounding): Likewise.
34944         (TEST_COND_after_rounding): Likewise.
34945         (enable_test): Handle XFAIL_TEST flag.
34946         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34947         with finite results.
34948         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34949         auto-libm-test-out.
34951 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34952             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34954         [BZ #16214]
34955         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34956         __tls_get_addr_internal instead of __tls_get_offset in order to
34957         avoid GOT pointer dependency.  Make rtld export
34958         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34959         __tls_get_addr since we are a __tls_get_offset platform.
34960         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34961         GOT pointer being set up before.
34962         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34964 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34966         * manual/math.texi (Errors in Math Functions): Document accuracy
34967         goals.
34969         [BZ #15004]
34970         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34971         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34972         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34973         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34974         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34976         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34977         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34978         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34981         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34982         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34983         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34984         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34985         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34987         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34988         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34989         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34990         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34991         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34992         Likewise.
34993         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34994         Likewise.
34995         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34996         Likewise.
34997         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34998         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34999         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35000         atomic-feupdateenv and flt-rounds.
35001         * sysdeps/powerpc/nofpu/Versions (libc): Add
35002         __atomic_feholdexcept, __atomic_feclearexcept,
35003         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35004         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35005         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35006         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35007         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35008         here.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35010         Update.
35012         * manual/arith.texi (FP Exceptions): Document that exceptions may
35013         not be raised when matherr is used.
35014         (Math Error Reporting): Document overflow in directed rounding
35015         modes.  Document that errno may not be set when finite values are
35016         returned on overflow.  Document intent to set errno on underflow
35017         only for underflow to zero.
35019         [BZ #16271]
35020         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35021         round-to-nearest then adjust result for other rounding modes.
35022         * include/fenv.h (fegetround): Use libm_hidden_proto.
35023         * math/fegetround.c (fegetround): Use libm_hidden_def.
35024         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35025         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35026         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35027         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35028         Likewise.
35029         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35030         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35031         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35032         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35034 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35036         [BZ #16077]
35037         * nss/Versions (libnss_files): Add
35038         _nss_files_gethostbyname3_r.
35039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35040         New function.
35041         (HOST_DB_LOOKUP): Remove macro.
35042         (_nss_files_gethostbyname_r): Implement function without the
35043         HOST_DB_LOOKUP macro.
35044         (_nss_files_gethostbyname2_r): Likewise.
35046 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35048         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35050 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35052         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35053         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35054         warning.
35056 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35058         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35059         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35060         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35061         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35062         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35063         __fe_nomask_env_priv and attribute_hidden.
35064         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35065         (libc_feupdateenv_test_ppc): Likewise.
35066         (libc_feresetround_ppc): Likewise.
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35068         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35069         compat_symbol macro.
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35071         (__fe_nomask_env): Likewise.
35072         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35074 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35076         * string/Makefile: Remove ifunc tests.
35077         * string/test-string.h: Define TEST_IFUNC.
35078         * string/test-bcopy-ifunc.c: Remove.
35079         * string/test-bzero-ifunc.c: Likewise.
35080         * string/test-memccpy-ifunc.c: Likewise.
35081         * string/test-memchr-ifunc.c: Likewise.
35082         * string/test-memcmp-ifunc.c: Likewise.
35083         * string/test-memcpy-ifunc.c: Likewise.
35084         * string/test-memmem-ifunc.c: Likewise.
35085         * string/test-memmove-ifunc.c: Likewise.
35086         * string/test-mempcpy-ifunc.c: Likewise.
35087         * string/test-memrchr-ifunc.c: Likewise.
35088         * string/test-memset-ifunc.c: Likewise.
35089         * string/test-rawmemchr-ifunc.c: Likewise.
35090         * string/test-stpcpy-ifunc.c: Likewise.
35091         * string/test-stpncpy-ifunc.c: Likewise.
35092         * string/test-strcasecmp-ifunc.c: Likewise.
35093         * string/test-strcasestr-ifunc.c: Likewise.
35094         * string/test-strcat-ifunc.c: Likewise.
35095         * string/test-strchr-ifunc.c: Likewise.
35096         * string/test-strchrnul-ifunc.c: Likewise.
35097         * string/test-strcmp-ifunc.c: Likewise.
35098         * string/test-strcpy-ifunc.c: Likewise.
35099         * string/test-strcspn-ifunc.c: Likewise.
35100         * string/test-strlen-ifunc.c: Likewise.
35101         * string/test-strncasecmp-ifunc.c: Likewise.
35102         * string/test-strncat-ifunc.c: Likewise.
35103         * string/test-strncmp-ifunc.c: Likewise.
35104         * string/test-strncpy-ifunc.c: Likewise.
35105         * string/test-strnlen-ifunc.c: Likewise.
35106         * string/test-strpbrk-ifunc.c: Likewise.
35107         * string/test-strrchr-ifunc.c: Likewise.
35108         * string/test-strspn-ifunc.c: Likewise.
35109         * string/test-strstr-ifunc.c: Likewise.
35111 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35113         * benchtests/Makefile: Remove ifunc tests.
35114         * benchtests/bench-string.h: Define TEST_IFUNC.
35115         * benchtests/bench-bcopy-ifunc.c: Remove.
35116         * benchtests/bench-bzero-ifunc.c: Likewise.
35117         * benchtests/bench-memccpy-ifunc.c: Likewise.
35118         * benchtests/bench-memchr-ifunc.c: Likewise.
35119         * benchtests/bench-memcmp-ifunc.c: Likewise.
35120         * benchtests/bench-memcpy-ifunc.c: Likewise.
35121         * benchtests/bench-memmem-ifunc.c: Likewise.
35122         * benchtests/bench-memmove-ifunc.c: Likewise.
35123         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35124         * benchtests/bench-memrchr-ifunc.c: Likewise.
35125         * benchtests/bench-memset-ifunc.c: Likewise.
35126         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35127         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35128         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35129         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35130         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35131         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35132         * benchtests/bench-strcat-ifunc.c: Likewise.
35133         * benchtests/bench-strchr-ifunc.c: Likewise.
35134         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35135         * benchtests/bench-strcmp-ifunc.c: Likewise.
35136         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35137         * benchtests/bench-strcpy-ifunc.c: Likewise.
35138         * benchtests/bench-strcspn-ifunc.c: Likewise.
35139         * benchtests/bench-strlen-ifunc.c: Likewise.
35140         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35141         * benchtests/bench-strncat-ifunc.c: Likewise.
35142         * benchtests/bench-strncmp-ifunc.c: Likewise.
35143         * benchtests/bench-strncpy-ifunc.c: Likewise.
35144         * benchtests/bench-strnlen-ifunc.c: Likewise.
35145         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35146         * benchtests/bench-strrchr-ifunc.c: Likewise.
35147         * benchtests/bench-strsep-ifunc.c: Likewise.
35148         * benchtests/bench-strspn-ifunc.c: Likewise.
35149         * benchtests/bench-strstr-ifunc.c: Likewise.
35151 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35153         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35155 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35157         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35158         * rt/aio.h: Likewise.
35159         * sysdeps/gnu/bits/utmp.h: Likewise.
35160         * sysdeps/gnu/bits/utmpx.h: Likewise.
35161         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35162         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35163         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35164         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35165         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35166         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35167         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35168         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35169         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35170         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35171         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35172         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35173         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35175         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35176         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35177         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35178         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35179         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35180         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35181         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35182         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35183         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35184         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35185         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35187         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35188         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35189         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35190         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35191         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35192         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35193         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35194         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35195         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35196         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35197         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35198         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35199         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35200         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35201         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35202         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35204 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35206         [BZ #16245]
35207         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35208         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35210 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35212         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35213         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35214         Likewise.
35216 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35219         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35220         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35221         (__fesetround): Remove define.
35222         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35223         rounding and exceptions handling.
35224         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35225         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35226         (__fe_nomask_env): Likewise.
35227         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35228         __fegetround instead of fegetround.
35229         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35230         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35232 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35234         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35235         it's there.
35237         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35239 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35241         [BZ #11157]
35242         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35243         (encrypt_r): Likewise.
35244         * malloc/obstack.h (obstack_free): Likewise.
35245         * posix/unistd.h (encrypt): Likewise.
35247 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35249         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35250         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35251         DL_CALL_DT_FINI() that call the functions directly.
35252         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35253         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35254         * elf/dl-fini.c: Likewise.
35256 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35258         * malloc/hooks.c (memalign_check): Add alignment rounding.
35259         * malloc/malloc.c (_mid_memalign): New function.
35260         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35261         Implement by calling _mid_memalign.
35262         * manual/probes.texi (Memory Allocation Probes): Remove
35263         memory_valloc_retry and memory_pvalloc_retry.
35265 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35267         * locale/programs/locarchive.c (open_archive): Add const
35268         qualifier to ARCHIVEFNAME and copy default fname to
35269         DEFAULT_FNAME.
35271         [BZ #15601]
35272         * libio/tst-widetext.input: Rename Oriya to Odia.
35273         * locale/iso-639.def: Likewise.
35275         * manual/probes.texi (Mathematical Function Probes): Add
35276         documentation for sin, cos, asin and acos probes.
35277         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35278         (__sin32): Add slowasin probe.
35279         (__cos32): Add slowacos probe.
35280         (__mpsin): Add slowsin probe.
35281         (__mpcos): Add slowcos probe.
35283 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35285         [BZ #15483]
35286         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35287         thread-local __sim_exceptions_thread and global
35288         __sim_exceptions_global.
35289         (__sim_disabled_exceptions): Change to thread-local
35290         __sim_disabled_exceptions_thread and global
35291         __sim_disabled_exceptions_global.
35292         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35293         and global __sim_round_mode_global.
35294         (__simulate_exceptions): Use thread-local floating-point state and
35295         set global state from it as needed.
35296         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35297         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35298         __sim_round_mode_thread.
35299         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35300         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35301         and global __sim_exceptions_global.
35302         (__sim_disabled_exceptions): Change to thread-local
35303         __sim_disabled_exceptions_thread and global
35304         __sim_disabled_exceptions_global.
35305         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35306         and global __sim_round_mode_global.
35307         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35308         (SIM_SET_GLOBAL): Likewise.
35309         * sysdeps/powerpc/soft-fp/sfp-machine.h
35310         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35311         __sim_round_mode_thread.
35312         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35313         __sim_disabled_exceptions_thread.
35314         (__sim_exceptions): Change to __sim_exceptions_thread.
35315         (__sim_disabled_exceptions): Change to
35316         __sim_disabled_exceptions_thread.
35317         (__sim_round_mode): Change to __sim_round_mode_thread.
35318         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35319         thread-local floating-point state and set global state from it as
35320         needed.
35321         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35322         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35323         (__sim_disabled_exceptions): Remove extern declaration.
35324         (feenableexcept): Use thread-local floating-point state and set
35325         global state from it as needed.
35326         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35327         extern declaration.
35328         (__sim_disabled_exceptions): Likewise.
35329         (__sim_round_mode): Likewise.
35330         (__fegetenv): Use thread-local floating-point state.
35331         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35332         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35333         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35334         floating-point state and set global state from it as needed.
35335         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35336         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35337         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35338         Likewise.
35339         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35340         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35341         Likewise.
35342         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35343         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35344         Use __sim_round_mode_thread.
35345         * math/test-fenv-tls.c: New file.
35346         * math/Makefile (tests): Add test-fenv-tls.
35347         ($(objpfx)test-fenv-tls): Depend on
35348         $(common-objpfx)nptl/libpthread.so.
35350 2013-11-19  Andreas Schwab  <schwab@suse.de>
35352         * locale/programs/locale.c (show_info): Decode wordarray elements.
35353         * locale/categories.def (LC_MONETARY): Add element for
35354         _NL_MONETARY_CRNCYSTR.
35355         * locale/C-monetary.c (conversion_rate): New variable.
35356         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35357         element.
35359 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35361         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35362         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35364 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35366         * elf/Makefile (tst-auxv): New test.
35367         * elf/tst-auxv.c: New
35368         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35370 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35372         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35373         (hidden_proto): Caller changed.
35374         (hidden_tls_proto): New macro.
35375         (libc_hidden_tls_proto): Likewise.
35376         (rtld_hidden_tls_proto): Likewise.
35377         (libm_hidden_tls_proto): Likewise.
35378         (libresolv_hidden_tls_proto): Likewise.
35379         (librt_hidden_tls_proto): Likewise.
35380         (libdl_hidden_tls_proto): Likewise.
35381         (libnss_files_hidden_tls_proto): Likewise.
35382         (libnsl_hidden_tls_proto): Likewise.
35383         (libnss_nisplus_hidden_tls_proto): Likewise.
35384         (libutil_hidden_tls_proto): Likewise.
35386 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35388         [BZ #10253]
35389         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35390         (decompose_rpath): Defer expansion to fillin_rpath.
35391         (_dl_init_paths): Pass linkmap to fillin_rpath.
35393 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35395         * benchtests/Makefile: Add strsep.
35396         * benchtests/bench-strsep.c: New file: strsep benchtest.
35397         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35399 2013-11-18  Andreas Schwab  <schwab@suse.de>
35401         * locale/programs/locale.c (show_info) [case byte]: Check for
35402         '\377' instead of '\177'.
35403         * locale/C-monetary.c (not_available): Always use "\377".
35404         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35405         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35406         detect unavailable sign_posn locale elements.
35407         * locale/localeconv.c (__localeconv): For grouping and
35408         mon_grouping handle "\177" and "\377" like no grouping.
35409         (INT_ELEM): New macro.  Use it to set all numeric members.
35410         * locale/programs/ld-monetary.c (monetary_read)
35411         <tok_mon_grouping>: Normalize single -1 to the empty string.
35412         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35413         Likewise.
35415 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35417         [BZ #16055]
35418         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35419         when we match (nil).
35420         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35422 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35424         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35425         (NO_TEST_INLINE): Update value.
35426         (ERRNO_UNCHANGED): Likewise.
35427         (ERRNO_EDOM): Likewise.
35428         (ERRNO_ERANGE): Likewise.
35429         (IGNORE_RESULT): Likewise.
35430         (check_float_internal): Check signs of NaN results if
35431         TEST_NAN_SIGN used.
35432         (check_complex): Pass TEST_NAN_SIGN flag through to second
35433         check_float_internal call.
35434         (copysign_test_data): Add tests with quiet NaNs as second
35435         argument.  Use TEST_NAN_SIGN.
35436         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35437         TEST_NAN_SIGN.
35438         (signbit_test_data): Add tests of quiet NaN argument.
35439         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35441         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35442         $ignore_result.
35443         (parse_args): Handle function results specified as IGNORE.
35444         * math/libm-test.inc (IGNORE_RESULT): New macro.
35445         (check_float_internal): Do not check numerical result if flag
35446         IGNORE_RESULT set.
35447         (check_complex): Pass through IGNORE_RESULT to second
35448         check_float_internal call.
35449         (check_int): Do not check numerical result if flag IGNORE_RESULT
35450         set.
35451         (check_long): Likewise.
35452         (check_bool): Likewise.
35453         (check_longlong): Likewise.
35454         (lrint_test_data): Add tests of infinite and NaN arguments.
35455         (lrint_tonearest_test_data): Likewise.
35456         (lrint_towardzero_test_data): Likewise.
35457         (lrint_downward_test_data): Likewise.
35458         (lrint_upward_test_data): Likewise.
35459         (llrint_test_data): Likewise.
35460         (llrint_tonearest_test_data): Likewise.
35461         (llrint_towardzero_test_data): Likewise.
35462         (llrint_downward_test_data): Likewise.
35463         (llrint_upward_test_data): Likewise.
35464         (lround_test_data): Likewise.
35465         (llround_test_data): Likewise.
35467         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35468         (ERRNO_UNCHANGED): Update value.
35469         (ERRNO_EDOM): Likewise.
35470         (ERRNO_ERANGE): Likewise.
35471         (NO_TEST_INLINE_FLOAT): New macro.
35472         (NO_TEST_INLINE_DOUBLE): Likewise.
35473         (enable_test): New function.
35474         (RUN_TEST_f_f): Check enable_test before running test.
35475         (RUN_TEST_2_f): Likewise.
35476         (RUN_TEST_fff_f): Likewise.
35477         (RUN_TEST_c_f): Likewise.
35478         (RUN_TEST_f_f1): Likewise.
35479         (RUN_TEST_fF_f1): Likewise.
35480         (RUN_TEST_fI_f1): Likewise.
35481         (RUN_TEST_ffI_f1): Likewise.
35482         (RUN_TEST_c_c): Likewise.
35483         (RUN_TEST_cc_c): Likewise.
35484         (RUN_TEST_f_i): Likewise.
35485         (RUN_TEST_f_i_tg): Likewise.
35486         (RUN_TEST_ff_i_tg): Likewise.
35487         (RUN_TEST_f_b): Likewise.
35488         (RUN_TEST_f_b_tg): Likewise.
35489         (RUN_TEST_f_l): Likewise.
35490         (RUN_TEST_f_L): Likewise.
35491         (RUN_TEST_fFF_11): Likewise.
35492         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35493         conditionals.
35494         (cosh_test_data): Likewise.
35495         (exp_test_data): Likewise.
35496         (expm1_test_data): Likewise.
35497         (hypot_test_data): Likewise.
35498         (pow_test_data): Likewise.
35499         (sinh_test_data): Likewise.
35500         (tanh_test_data): Likewise.
35501         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35502         flags argument.
35504         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35505         tests with quiet NaN input and output.
35506         (acosh_test_data): Likewise.
35507         (asin_test_data): Likewise.
35508         (asinh_test_data): Likewise.
35509         (atan_test_data): Likewise.
35510         (atanh_test_data): Likewise.
35511         (atan2_test_data): Likewise.
35512         (cbrt_test_data): Likewise.
35513         (cos_test_data): Likewise.
35514         (cosh_test_data): Likewise.
35515         (erf_test_data): Likewise.
35516         (erfc_test_data): Likewise.
35517         (exp_test_data): Likewise.
35518         (exp10_test_data): Likewise.
35519         (exp2_test_data): Likewise.
35520         (expm1_test_data): Likewise.
35521         (hypot_test_data): Likewise.
35522         (j0_test_data): Likewise.
35523         (j1_test_data): Likewise.
35524         (jn_test_data): Likewise.
35525         (lgamma_test_data): Likewise.
35526         (log_test_data): Likewise.
35527         (log10_test_data): Likewise.
35528         (log1p_test_data): Likewise.
35529         (log2_test_data): Likewise.
35530         (pow_test_data): Likewise.
35531         (scalb_test_data): Likewise.
35532         (sin_test_data): Likewise.
35533         (sincos_test_data): Likewise.
35534         (sinh_test_data): Likewise.
35535         (tan_test_data): Likewise.
35536         (tanh_test_data): Likewise.
35537         (tgamma_test_data): Likewise.
35538         (y0_test_data): Likewise.
35539         (y1_test_data): Likewise.
35540         (yn_test_data): Likewise.
35542         [BZ #16167]
35543         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35544         argument being NaN and avoid computations with second argument in
35545         that case.
35546         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35547         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35548         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35550 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35552         * locale/iso-639.def: Add Chitwani Tharu (the).
35554 2013-11-14  Andreas Schwab  <schwab@suse.de>
35556         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35557         word instead of empty string.
35559 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35562         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35564         (__fe_nomask_env): Likewise.
35566 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35568         * benchtests/bench-timing.h: Include time.h.
35570 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35572         [BZ #15997]
35573         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35574         to 3.4.0 for x32.
35575         * sysdeps/unix/sysv/linux/configure: Regenerated.
35577 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35579         [BZ #16151]
35580         * stdlib/strtod_l.c (round_and_return): Do not consider
35581         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35582         exponent one less than half the least subnormal exponent.
35583         * stdlib/test-strtod-round-data: Add more tests.
35584         * stdlib/tst-strtod-round.c (tests): Regenerated.
35586 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35588         [BZ #14143]
35589         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35590         (__fe_mask_env): Likewise.
35591         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35592         libm_hidden_proto and add function prototype.
35593         (__fe_mask_env): Add function prototype.
35594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35595         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35597         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35599         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35601 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35603         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35604         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35606 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35608         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35609         of htab_find_slot().
35611 2013-11-11  David S. Miller  <davem@davemloft.net>
35613         [BZ #16150]
35614         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35615         symbol in the non-vis3 case in static builds.
35616         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35617         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35618         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35619         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35621 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35623         [BZ #387]
35624         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35625         it is empty.
35627 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35629         * benchtests/Makefile: Add bench-strtod.
35630         * benchtests/bench-strtod.c: New file: strtod benchtest
35632 2013-11-11  Andreas Schwab  <schwab@suse.de>
35634         [BZ #16153]
35635         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35636         terminating NUL in key length.
35638 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35640         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35641         Add artificial ODP entry for vDSO symbol for PPC64.
35642         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35643         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35645 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35647         [BZ #15374]
35648         * nss/getent.c (services_keys): Recognize services starting with digit.
35650 2013-11-06  David S. Miller  <davem@davemloft.net>
35652         [BZ #15985]
35653         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35654         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35656 2013-11-06  Will Newton  <will.newton@linaro.org>
35658         * manual/memory.texi (Malloc Examples): Remove register
35659         keyword from examples.
35661 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35663         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35665 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35667         [BZ #6981]
35668         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35669         depending on [__GCC_IEC_559 > 0].
35670         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35671         depending on [__GCC_IEC_559_COMPLEX > 0].
35673 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35675         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35676         to iso-639.def.
35678 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35680         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35682 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35684         [BZ #16112]
35685         * malloc/malloc (malloc_info): Do not handle first bin as
35686         special case.
35688 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35690         * locale/iso-639.def: Add Central Nahuatl (nhn).
35692 2013-11-01  Bruno Haible  <bruno@clisp.org>
35694         [BZ #7003]
35695         * manual/math.texi (BSD Random): Specify range upper bound as
35696         in POSIX.
35698 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35700         * locale/iso-639.def: Add Meadow Mari (mhr).
35702 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35704         [BZ #14752], [BZ #15763]
35705         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35706         Validate name.
35707         * rt/tst_shm.c: Add test for escaping directory.
35709 2013-10-31  Andreas Schwab  <schwab@suse.de>
35711         [BZ #15917]
35712         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35713         followed by 'x' as part of digit sequence.
35714         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35716 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35718         [BZ #16037]
35719         * configure.ac: allow GNU Make 4.0 and greater.
35720         * configure: Regenerated.
35722 2013-10-30  Will Newton  <will.newton@linaro.org>
35724         [BZ #16038]
35725         * malloc/hooks.c (memalign_check): Limit alignment to the
35726         maximum representable power of two.
35727         * malloc/malloc.c (__libc_memalign): Likewise.
35728         * malloc/tst-memalign.c (do_test): Add test for very
35729         large alignment values.
35730         * malloc/tst-posix_memalign.c (do_test): Likewise.
35732 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35734         [BZ #11087]
35735         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35736         (munmap_chunk): Likewise.
35737         (mremap_chunk): Likewise.
35739 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35741         [BZ #15799]
35742         * stdlib/div.c (div): Remove obsolete code.
35743         * stdlib/ldiv.c (ldiv): Likewise.
35744         * stdlib/lldiv.c (lldiv): Likewise.
35746 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35748         [BZ #16071]
35749         * nss/nss_files/files-XXX.c (get_contents_ret): New
35750         enumerator.
35751         (get_contents): New function.
35752         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35754 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35756         * configure.in: Moved to ...
35757         * configure.ac: ... here. Change reference to configure.in
35758         to configure.ac.
35759         * sysdeps/arm/preconfigure.ac: ... here.
35760         configure.in to configure.ac.
35761         * sysdeps/gnu/configure.in: Moved to ...
35762         * sysdeps/gnu/configure.ac: ... here.
35763         * sysdeps/i386/configure.in: Moved to ...
35764         * sysdeps/i386/configure.ac: ... here.
35765         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35766         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35767         * sysdeps/mach/configure.in: Moved to ...
35768         * sysdeps/mach/configure.ac: ... here.
35769         * sysdeps/mach/hurd/configure.in: Moved to ...
35770         * sysdeps/mach/hurd/configure.ac: ... here.
35771         * sysdeps/powerpc/configure.in: Moved to ...
35772         * sysdeps/powerpc/configure.ac: ... here.
35773         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35774         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35775         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35776         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35777         * sysdeps/s390/s390-32/configure.in: Moved to ...
35778         * sysdeps/s390/s390-32/configure.ac: ... here.
35779         * sysdeps/s390/s390-64/configure.in: Moved to ...
35780         * sysdeps/s390/s390-64/configure.ac: ... here.
35781         * sysdeps/sh/configure.in: Moved to ...
35782         * sysdeps/sh/configure.ac: ... here.
35783         * sysdeps/sparc/configure.in: Moved to ...
35784         * sysdeps/sparc/configure.ac: ... here.
35785         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35786         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35787         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35788         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35789         * sysdeps/x86_64/configure.in: Moved to ...
35790         * sysdeps/x86_64/configure.ac: ... here.
35791         * sysdeps/x86_64/preconfigure.in: Moved to ...
35792         * sysdeps/x86_64/preconfigure.ac: ... here.
35793         * aclocal.m4: Change reference to configure.in to configure.ac.
35794         * config.h.in: Likewise.
35795         * manual/install.texi: Likewise.
35796         * manual/maint.texi: Likewise.
35797         * Makefile: Likewise.
35798         * malloc/Makefile: Likewise.
35799         * nscd/Makefile: Likewise.
35800         * Makeconfig: Change reference to configure.in and
35801         preconfigure.in to configure.ac and preconfigure.ac
35802         respectively.
35803         * INSTALL: Regenerated.
35804         * configure: Likewise.
35805         * sysdeps/gnu/configure: Likewise.
35806         * sysdeps/i386/configure: Likewise.
35807         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35808         * sysdeps/mach/configure: Likewise.
35809         * sysdeps/mach/hurd/configure: Likewise.
35810         * sysdeps/powerpc/configure: Likewise.
35811         * sysdeps/powerpc/powerpc32/configure: Likewise.
35812         * sysdeps/powerpc/powerpc64/configure: Likewise.
35813         * sysdeps/s390/s390-32/configure: Likewise.
35814         * sysdeps/s390/s390-64/configure: Likewise.
35815         * sysdeps/sh/configure: Likewise.
35816         * sysdeps/sparc/configure: Likewise.
35817         * sysdeps/unix/sysv/linux/configure: Likewise.
35818         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35819         * sysdeps/x86_64/configure: Likewise.
35820         * sysdeps/x86_64/preconfigure: Likewise.
35822 2013-10-29  Andreas Schwab  <schwab@suse.de>
35824         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35826 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35828         * benchtests/pow-inputs: Add new inputs.
35830         * benchtests/exp-inputs: Add new inputs.
35832         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35833         conditional check for return value.
35834         (__cos32): Likewise.
35836 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35838         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35839         to provide a boost for large inputs with word alignment.
35840         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35841         implementation based on optimized PPC64 strcpy.
35842         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35843         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35844         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35845         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35847 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35849         [BZ #2801]
35850         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35852 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35854         [BZ #14876]
35855         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35856         * time/tst-strptime.c (day_tests): Add testcase.
35858 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35860         [BZ #14029]
35861         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35863 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35865         [BZ #16074]
35866         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35867         MAP_FAILED on error.
35869 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35871         [BZ #16072]
35872         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35873         heap for large requests.
35875 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35877         [BZ #9954]
35878         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35879         result if the result has no associated interface.
35880         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35881         interface for all 127.X.Y.Z addresses.
35883 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35885         * locale/iso-639.def: Add Ligurian (lij)
35887 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35889         [BZ #15825]
35890         * sunrpc/rpc_main.c: Document rpcgen -5.
35892 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35894         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35896 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35898         [BZ #10278]
35899         * posix/glob.c: Match only directories when trailing slash is present.
35900         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35901         (main): Add testcase.
35903 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35905         [BZ #15670]
35906         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35908 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35910         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35911         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35912         AUTH_DES and cindex for FIPS 140-2.
35913         (DES Encryption): Add cindex FIPS 46-3.
35915         * locale/locarchive.h (struct locarhandle): Add fname.
35916         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35917         if an optional argument was specified to --list-archive,
35918         otherwise NULL.
35919         * locale/programs/locarchive.c (show_archive_content): Take new
35920         argument fname and pass it via ah.fname to open_archive.
35921         * locale/programs/localedef.h: Update decl.
35922         (open_archive): If AH->fname is non-null, open that file
35923         rather than the default file name, and don't ignore ENOENT.
35924         (create_archive): Set AH.fname to NULL.
35925         (delete_locales_from_archive): Likewise.
35926         (add_locales_to_archive): Likewise.
35927         * locale/programs/locfile.c (write_all_categories): Likewise.
35929 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35930             Aldy Hernandez  <aldyh@redhat.com>
35932         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35933         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35934         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35935         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35936         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35937         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35939         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35940         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35941         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35942         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35943         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35944         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35945         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35946         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35947         Likewise.
35948         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35949         Likewise.
35950         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35951         Likewise.
35952         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35953         Likewise.
35954         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35955         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35956         Likewise.
35957         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35958         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35959         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35960         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35961         Likewise.
35962         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35963         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35964         * sysdeps/powerpc/preconfigure: Likewise.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35966         Likewise.
35967         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35968         Replace contents of file by #include of <fenv_libc.h>.
35969         * sysdeps/powerpc/soft-fp/sfp-machine.h
35970         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35971         and <sys/prctl.h>.
35972         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35985         Allow copysignl PLT reference to be missing.
35987 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35988             Joseph Myers  <joseph@codesourcery.com
35990         [BZ #15948]
35991         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35992         single character.
35993         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35995 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35997         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35998         * elf/tst-tls1.c: Likewise.
35999         * elf/tst-tls10.h: Likewise.
36000         * elf/tst-tls14.c: Likewise.
36001         * elf/tst-tls2.c: Likewise.
36002         * elf/tst-tls3.c: Likewise.
36003         * elf/tst-tls4.c: Likewise.
36004         * elf/tst-tls5.c: Likewise.
36005         * elf/tst-tls6.c: Likewise.
36006         * elf/tst-tls7.c: Likewise.
36007         * elf/tst-tls8.c: Likewise.
36008         * elf/tst-tls9.c: Likewise.
36009         * elf/tst-tlsmod1.c: Likewise.
36010         * elf/tst-tlsmod13.c: Likewise.
36011         * elf/tst-tlsmod13a.c: Likewise.
36012         * elf/tst-tlsmod14a.c: Likewise.
36013         * elf/tst-tlsmod16a.c: Likewise.
36014         * elf/tst-tlsmod16b.c: Likewise.
36015         * elf/tst-tlsmod2.c: Likewise.
36016         * elf/tst-tlsmod3.c: Likewise.
36017         * elf/tst-tlsmod4.c: Likewise.
36018         * elf/tst-tlsmod5.c: Likewise.
36019         * elf/tst-tlsmod6.c: Likewise.
36021 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36023         [BZ #12486]
36024         * malloc/malloc.c: remove checks for statistics.
36026 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36028         [BZ #15277]
36029         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36030         * inet/tst-network.c: Add testcase.
36032 2013-10-17  Andreas Schwab  <schwab@suse.de>
36034         [BZ #15218]
36035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36036         to determine canonical name.
36038 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36040         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36041         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36042         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36043         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36045         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36046         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36047         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36048         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36049         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36050         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36051         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36052         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36053         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36054         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36055         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36057         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36058         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36059         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36060         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36063         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36064         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36065         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36066         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36067         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36068         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36069         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36070         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36071         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36072         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36073         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36074         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36075         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36076         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36077         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36078         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36079         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36080         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36081         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36082         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36083         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36084         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36085         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36086         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36087         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36088         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36089         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36093         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36094         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36095         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36097         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36099 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36101         [BZ #16041]
36102         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36103         make result into a quiet NaN.
36105 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36107         * soft-fp/adddf3.c: Fix horizontal whitespace.
36108         * soft-fp/addsf3.c: Likewise.
36109         * soft-fp/addtf3.c: Likewise.
36110         * soft-fp/divdf3.c: Likewise.
36111         * soft-fp/divsf3.c: Likewise.
36112         * soft-fp/divtf3.c: Likewise.
36113         * soft-fp/double.h: Likewise.
36114         * soft-fp/eqdf2.c: Likewise.
36115         * soft-fp/eqsf2.c: Likewise.
36116         * soft-fp/eqtf2.c: Likewise.
36117         * soft-fp/extenddftf2.c: Likewise.
36118         * soft-fp/extended.h: Likewise.
36119         * soft-fp/extendsfdf2.c: Likewise.
36120         * soft-fp/extendsftf2.c: Likewise.
36121         * soft-fp/extendxftf2.c: Likewise.
36122         * soft-fp/fixdfdi.c: Likewise.
36123         * soft-fp/fixdfsi.c: Likewise.
36124         * soft-fp/fixdfti.c: Likewise.
36125         * soft-fp/fixsfdi.c: Likewise.
36126         * soft-fp/fixsfsi.c: Likewise.
36127         * soft-fp/fixsfti.c: Likewise.
36128         * soft-fp/fixtfdi.c: Likewise.
36129         * soft-fp/fixtfsi.c: Likewise.
36130         * soft-fp/fixtfti.c: Likewise.
36131         * soft-fp/fixunsdfdi.c: Likewise.
36132         * soft-fp/fixunsdfsi.c: Likewise.
36133         * soft-fp/fixunsdfti.c: Likewise.
36134         * soft-fp/fixunssfdi.c: Likewise.
36135         * soft-fp/fixunssfsi.c: Likewise.
36136         * soft-fp/fixunssfti.c: Likewise.
36137         * soft-fp/fixunstfdi.c: Likewise.
36138         * soft-fp/fixunstfsi.c: Likewise.
36139         * soft-fp/fixunstfti.c: Likewise.
36140         * soft-fp/floatdidf.c: Likewise.
36141         * soft-fp/floatdisf.c: Likewise.
36142         * soft-fp/floatditf.c: Likewise.
36143         * soft-fp/floatsidf.c: Likewise.
36144         * soft-fp/floatsisf.c: Likewise.
36145         * soft-fp/floatsitf.c: Likewise.
36146         * soft-fp/floattidf.c: Likewise.
36147         * soft-fp/floattisf.c: Likewise.
36148         * soft-fp/floattitf.c: Likewise.
36149         * soft-fp/floatundidf.c: Likewise.
36150         * soft-fp/floatundisf.c: Likewise.
36151         * soft-fp/floatunditf.c: Likewise.
36152         * soft-fp/floatunsidf.c: Likewise.
36153         * soft-fp/floatunsisf.c: Likewise.
36154         * soft-fp/floatunsitf.c: Likewise.
36155         * soft-fp/floatuntidf.c: Likewise.
36156         * soft-fp/floatuntisf.c: Likewise.
36157         * soft-fp/floatuntitf.c: Likewise.
36158         * soft-fp/fmadf4.c: Likewise.
36159         * soft-fp/fmasf4.c: Likewise.
36160         * soft-fp/fmatf4.c: Likewise.
36161         * soft-fp/gedf2.c: Likewise.
36162         * soft-fp/gesf2.c: Likewise.
36163         * soft-fp/getf2.c: Likewise.
36164         * soft-fp/ledf2.c: Likewise.
36165         * soft-fp/lesf2.c: Likewise.
36166         * soft-fp/letf2.c: Likewise.
36167         * soft-fp/muldf3.c: Likewise.
36168         * soft-fp/mulsf3.c: Likewise.
36169         * soft-fp/multf3.c: Likewise.
36170         * soft-fp/negdf2.c: Likewise.
36171         * soft-fp/negsf2.c: Likewise.
36172         * soft-fp/negtf2.c: Likewise.
36173         * soft-fp/op-1.h: Likewise.
36174         * soft-fp/op-2.h: Likewise.
36175         * soft-fp/op-4.h: Likewise.
36176         * soft-fp/op-8.h: Likewise.
36177         * soft-fp/op-common.h: Likewise.
36178         * soft-fp/quad.h: Likewise.
36179         * soft-fp/single.h: Likewise.
36180         * soft-fp/soft-fp.h: Likewise.
36181         * soft-fp/sqrtdf2.c: Likewise.
36182         * soft-fp/sqrtsf2.c: Likewise.
36183         * soft-fp/sqrttf2.c: Likewise.
36184         * soft-fp/subdf3.c: Likewise.
36185         * soft-fp/subsf3.c: Likewise.
36186         * soft-fp/subtf3.c: Likewise.
36187         * soft-fp/truncdfsf2.c: Likewise.
36188         * soft-fp/trunctfdf2.c: Likewise.
36189         * soft-fp/trunctfsf2.c: Likewise.
36190         * soft-fp/trunctfxf2.c: Likewise.
36191         * soft-fp/unorddf2.c: Likewise.
36192         * soft-fp/unordsf2.c: Likewise.
36193         * soft-fp/unordtf2.c: Likewise.
36195 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36197         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36198         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36200 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36202         * elf/dl-libc.c: Clear initfini list after freeing.
36204 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36206         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36207         * soft-fp/addsf3.c: Likewise.
36208         * soft-fp/addtf3.c: Likewise.
36209         * soft-fp/divdf3.c: Likewise.
36210         * soft-fp/divsf3.c: Likewise.
36211         * soft-fp/divtf3.c: Likewise.
36212         * soft-fp/double.h: Likewise.
36213         * soft-fp/eqdf2.c: Likewise.
36214         * soft-fp/eqsf2.c: Likewise.
36215         * soft-fp/eqtf2.c: Likewise.
36216         * soft-fp/extenddftf2.c: Likewise.
36217         * soft-fp/extended.h: Likewise.
36218         * soft-fp/extendsfdf2.c: Likewise.
36219         * soft-fp/extendsftf2.c: Likewise.
36220         * soft-fp/extendxftf2.c: Likewise.
36221         * soft-fp/fixdfdi.c: Likewise.
36222         * soft-fp/fixdfsi.c: Likewise.
36223         * soft-fp/fixdfti.c: Likewise.
36224         * soft-fp/fixsfdi.c: Likewise.
36225         * soft-fp/fixsfsi.c: Likewise.
36226         * soft-fp/fixsfti.c: Likewise.
36227         * soft-fp/fixtfdi.c: Likewise.
36228         * soft-fp/fixtfsi.c: Likewise.
36229         * soft-fp/fixtfti.c: Likewise.
36230         * soft-fp/fixunsdfdi.c: Likewise.
36231         * soft-fp/fixunsdfsi.c: Likewise.
36232         * soft-fp/fixunsdfti.c: Likewise.
36233         * soft-fp/fixunssfdi.c: Likewise.
36234         * soft-fp/fixunssfsi.c: Likewise.
36235         * soft-fp/fixunssfti.c: Likewise.
36236         * soft-fp/fixunstfdi.c: Likewise.
36237         * soft-fp/fixunstfsi.c: Likewise.
36238         * soft-fp/fixunstfti.c: Likewise.
36239         * soft-fp/floatdidf.c: Likewise.
36240         * soft-fp/floatdisf.c: Likewise.
36241         * soft-fp/floatditf.c: Likewise.
36242         * soft-fp/floatsidf.c: Likewise.
36243         * soft-fp/floatsisf.c: Likewise.
36244         * soft-fp/floatsitf.c: Likewise.
36245         * soft-fp/floattidf.c: Likewise.
36246         * soft-fp/floattisf.c: Likewise.
36247         * soft-fp/floattitf.c: Likewise.
36248         * soft-fp/floatundidf.c: Likewise.
36249         * soft-fp/floatundisf.c: Likewise.
36250         * soft-fp/floatunsidf.c: Likewise.
36251         * soft-fp/floatunsisf.c: Likewise.
36252         * soft-fp/floatuntidf.c: Likewise.
36253         * soft-fp/floatuntisf.c: Likewise.
36254         * soft-fp/floatuntitf.c: Likewise.
36255         * soft-fp/fmadf4.c: Likewise.
36256         * soft-fp/fmasf4.c: Likewise.
36257         * soft-fp/fmatf4.c: Likewise.
36258         * soft-fp/gedf2.c: Likewise.
36259         * soft-fp/gesf2.c: Likewise.
36260         * soft-fp/getf2.c: Likewise.
36261         * soft-fp/ledf2.c: Likewise.
36262         * soft-fp/lesf2.c: Likewise.
36263         * soft-fp/letf2.c: Likewise.
36264         * soft-fp/muldf3.c: Likewise.
36265         * soft-fp/mulsf3.c: Likewise.
36266         * soft-fp/multf3.c: Likewise.
36267         * soft-fp/negdf2.c: Likewise.
36268         * soft-fp/negsf2.c: Likewise.
36269         * soft-fp/negtf2.c: Likewise.
36270         * soft-fp/op-1.h: Likewise.
36271         * soft-fp/op-2.h: Likewise.
36272         * soft-fp/op-4.h: Likewise.
36273         * soft-fp/op-8.h: Likewise.
36274         * soft-fp/op-common.h: Likewise.
36275         * soft-fp/quad.h: Likewise.
36276         * soft-fp/single.h: Likewise.
36277         * soft-fp/soft-fp.h: Likewise.
36278         * soft-fp/sqrtdf2.c: Likewise.
36279         * soft-fp/sqrtsf2.c: Likewise.
36280         * soft-fp/sqrttf2.c: Likewise.
36281         * soft-fp/subdf3.c: Likewise.
36282         * soft-fp/subsf3.c: Likewise.
36283         * soft-fp/subtf3.c: Likewise.
36284         * soft-fp/truncdfsf2.c: Likewise.
36285         * soft-fp/trunctfdf2.c: Likewise.
36286         * soft-fp/trunctfsf2.c: Likewise.
36287         * soft-fp/trunctfxf2.c: Likewise.
36288         * soft-fp/unorddf2.c: Likewise.
36289         * soft-fp/unordsf2.c: Likewise.
36290         * soft-fp/unordtf2.c: Likewise.
36292 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36294         [BZ #15672]
36295         * misc/error.c (error_tail): Fix possible buffer overflow.
36297 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36299         [BZ #13028]
36300         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36301         address.
36303 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36305         [BZ #832]
36306         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36307         testing pipefail option.
36309 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36311         * soft-fp/double.h: Indent preprocessor directives inside #if.
36312         * soft-fp/extended.h: Likewise.
36313         * soft-fp/op-2.h: Likewise.
36314         * soft-fp/op-4.h: Likewise.
36315         * soft-fp/op-common.h: Likewise.
36316         * soft-fp/quad.h: Likewise.
36317         * soft-fp/single.h: Likewise.
36318         * soft-fp/soft-fp.h: Likewise.
36320 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36322         * iconv/iconv_prog.c: Fix typos.
36323         * stdio-common/psiginfo-data.h: Likewise.
36325 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36327         [BZ #15764]
36328         * locale/setlocale.c: Fix typo.
36330 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36332         [BZ #16036]
36333         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36334         signaling NaN arguments.
36335         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36336         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36338         [BZ #14910]
36339         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36340         unordered operands.
36341         * soft-fp/gesf2.c (__gesf2): Likewise.
36342         * soft-fp/getf2.c (__getf2): Likewise.
36343         * soft-fp/ledf2.c (__ledf2): Likewise.
36344         * soft-fp/lesf2.c (__lesf2): Likewise.
36345         * soft-fp/letf2.c (__letf2): Likewise.
36347         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36348         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36349         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36350         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36351         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36352         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36353         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36354         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36355         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36356         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36357         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36358         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36359         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36360         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36361         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36362         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36363         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36364         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36365         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36366         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36367         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36368         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36369         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36370         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36371         * soft-fp/floattidf.c (__floattidf): Likewise.
36372         * soft-fp/floattisf.c (__floattisf): Likewise.
36373         * soft-fp/floattitf.c (__floattitf): Likewise.
36374         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36375         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36376         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36377         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36378         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36379         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36380         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36381         * soft-fp/gesf2.c (__gesf2): Likewise.
36382         * soft-fp/getf2.c (__getf2): Likewise.
36383         * soft-fp/ledf2.c (__ledf2): Likewise.
36384         * soft-fp/lesf2.c (__lesf2): Likewise.
36385         * soft-fp/letf2.c (__letf2): Likewise.
36387         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36388         Undefine and redefine.
36389         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36390         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36391         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36392         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36393         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36394         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36395         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36396         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36397         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36398         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36399         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36400         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36401         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36402         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36403         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36405         [BZ #16032]
36406         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36407         without decrementing exponent if mantissa >= that for the
36408         denominator, not >.
36409         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36410         denominator, not >.  Decrement exponent in < case instead of
36411         incrementing in >= case.
36412         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36413         without decrementing exponent if mantissa >= that for the
36414         denominator, not >.
36416         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36417         computing saturated result for unsigned overflow.
36419 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36420             Jeff Law  <law@redhat.com>
36422         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36423         (atan2Mp): Add systemtap probe marker.
36424         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36425         (__ieee754_log): Add systemtap probe marker.
36426         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36427         (atanMp): Add systemtap probe marker.
36428         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36429         (tanMp): Add systemtap probe marker.
36430         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36431         (__slowexp): Add systemtap probe marker.
36432         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36433         (__slowpow): Add systemtap probe marker.
36434         * manual/probes.texi: Document probes.
36436 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36438         [BZ #15362]
36439         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36440         written.
36441         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36442         written.
36443         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36444         written to buffer but not flushed.
36445         * libio/iofwrite_u.c:  Likewise.
36446         * libio/iopadn.c:  Return bytes returned even if EOF was
36447         encountered.
36448         * libio/iowpadn.c:  Likewise.
36449         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36450         if _IO_padn does not write the whole buffer.
36451         [!COMPILE_WPRINTF] (PAD): Likewise.
36453 2013-10-10  David S. Miller  <davem@davemloft.net>
36455         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36456         directory block.
36458 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36460         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36461         instead of FSF address.
36462         * soft-fp/fixdfti.c: Likewise.
36463         * soft-fp/fixsfti.c: Likewise.
36464         * soft-fp/fixtfti.c: Likewise.
36465         * soft-fp/fixunsdfti.c: Likewise.
36466         * soft-fp/fixunssfti.c: Likewise.
36467         * soft-fp/fixunstfti.c: Likewise.
36468         * soft-fp/floattidf.c: Likewise.
36469         * soft-fp/floattisf.c: Likewise.
36470         * soft-fp/floattitf.c: Likewise.
36471         * soft-fp/floatuntidf.c: Likewise.
36472         * soft-fp/floatuntisf.c: Likewise.
36473         * soft-fp/floatuntitf.c: Likewise.
36474         * soft-fp/trunctfxf2.c: Likewise.
36476         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36477         * soft-fp/fixdfti.c: Likewise.
36478         * soft-fp/fixsfti.c: Likewise.
36479         * soft-fp/fixtfti.c: Likewise.
36480         * soft-fp/fixunsdfti.c: Likewise.
36481         * soft-fp/fixunssfti.c: Likewise.
36482         * soft-fp/fixunstfti.c: Likewise.
36483         * soft-fp/floattidf.c: Likewise.
36484         * soft-fp/floattisf.c: Likewise.
36485         * soft-fp/floattitf.c: Likewise.
36486         * soft-fp/floatuntidf.c: Likewise.
36487         * soft-fp/floatuntisf.c: Likewise.
36488         * soft-fp/floatuntitf.c: Likewise.
36489         * soft-fp/trunctfxf2.c: Likewise.
36491 2013-10-10  David S. Miller  <davem@davemloft.net>
36493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36495 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36497         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36498         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36499         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36500         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36501         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36502         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36503         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36505         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36506         for NaNs before doing comparisons on argument.
36507         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36508         Likewise.
36510 2013-10-10  Will Newton  <will.newton@linaro.org>
36512         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36513         passed to _int_memalign does not overflow.
36515 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36517         * scripts/bench.pl: Add include-sources directive.
36518         * benchtests/README: Update documentation.
36520 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36522         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36523         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36524         instead of FP_INIT_ROUNDMODE.
36525         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36526         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36528         [BZ #16034]
36529         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36530         copy class of input value.
36531         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36532         not handle exceptions.
36533         * soft-fp/negsf2.c (__negsf2): Likewise.
36534         * soft-fp/negtf2.c (__negtf2): Likewise.
36535         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36537 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36539         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36540         semicolon.  From Linux kernel.
36542 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36544         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36546 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36548         [BZ #156]
36549         * manual/socket.texi: Added statement about buffer
36550         for gethostbyname2_r.
36552 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36554         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36555         Use .p2align directive instead, throughout.
36556         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36557         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36558         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36559         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36560         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36561         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36562         * sysdeps/x86_64/strchr.S: Likewise.
36563         * sysdeps/x86_64/strrchr.S: Likewise.
36565 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36567         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36569         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36571         * sysdeps/generic/math_private.h (__mpsin1): Remove
36572         declaration.
36573         (__mpcos1): Likewise.
36574         (__mpsin): New argument __range_reduce.
36575         (__mpcos): Likewise.
36576         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36577         (slow): Use __mpsin and __mpcos.
36578         (slow1): Likewise.
36579         (slow2): Likewise.
36580         (sloww): Likewise.
36581         (sloww1): Likewise.
36582         (sloww2): Likewise.
36583         (bsloww): Likewise.
36584         (bsloww1): Likewise.
36585         (bsloww2): Likewise.
36586         (cslow2): Likewise.
36587         (csloww): Likewise.
36588         (csloww1): Likewise.
36589         (csloww2): Likewise.
36590         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36591         range_reduce.  Merge in __mpsin1.
36592         (__mpcos): Likewise.
36593         (__mpsin1): Remove.
36594         (__mpcos1): Likewise.
36596 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36598         * locale/loadlocale.c (_nl_intern_locale_data): Use
36599         LOCFILE_ALIGNED_P.
36600         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36601         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36602         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36603         obstack data is appropriately aligned.
36604         (obstack_int32_grow_fast): Likewise.
36605         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36606         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36607         (add_locale_uint32_array): Likewise.
36609 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36611         * benchtests/Makefile: Remove ARGLIST and RET variables.
36612         ($(objpfx)bench-%.c): Pass only function name to the script.
36613         * benchtests/README: Update documentation.
36614         * benchtests/acos-inputs: Add new directives.
36615         * benchtests/acosh-inputs: Likewise.
36616         * benchtests/asin-inputs: Likewise.
36617         * benchtests/asinh-inputs: Likewise.
36618         * benchtests/atan-inputs: Likewise.
36619         * benchtests/atanh-inputs: Likewise.
36620         * benchtests/cos-inputs: Likewise.
36621         * benchtests/cosh-inputs: Likewise.
36622         * benchtests/exp-inputs: Likewise.
36623         * benchtests/log-inputs: Likewise.
36624         * benchtests/pow-inputs: Likewise.
36625         * benchtests/rint-inputs: Likewise.
36626         * benchtests/sin-inputs: Likewise.
36627         * benchtests/sinh-inputs: Likewise.
36628         * benchtests/tan-inputs: Likewise.
36629         * benchtests/tanh-inputs: Likewise.
36630         * scripts/bench.pl: Add support for new directives.
36632 2013-10-07  Alan Modra  <amodra@gmail.com>
36634         * README: Fix careless merge.
36636 2013-10-05  Alan Modra  <amodra@gmail.com>
36638         * NEWS: Mention powerpc64le support and bugs fixed.
36639         * README: Both big-endian and little-endian powerpc64 supported.
36641 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36643         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36644         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36645         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36646         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36648 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36650         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36651         match prototype.
36653 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36655         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36656         Move -mhard-float appending from
36657         ports/sysdeps/powerpc/powerpc32/Makefile.
36658         [$(with-fp) = yes] (ASFLAGS): Likewise.
36659         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36660         * sysdeps/powerpc/nofpu: Move directory from
36661         ports/sysdeps/powerpc/nofpu.
36662         * sysdeps/powerpc/soft-fp: Move directory from
36663         ports/sysdeps/powerpc/soft-fp.
36664         * sysdeps/powerpc/powerpc32/405: Move directory from
36665         ports/sysdeps/powerpc/powerpc32/405.
36666         * sysdeps/powerpc/powerpc32/440: Move directory from
36667         ports/sysdeps/powerpc/powerpc32/440.
36668         * sysdeps/powerpc/powerpc32/464: Move directory from
36669         ports/sysdeps/powerpc/powerpc32/464.
36670         * sysdeps/powerpc/powerpc32/476: Move directory from
36671         ports/sysdeps/powerpc/powerpc32/476.
36672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36673         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36675         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36677         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36679         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36681         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36682         * README: Update for powerpc-*-linux-gnu software floating point
36683         support in libc.
36685         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36686         case to powerpc/powerpc32*.
36687         * sysdeps/unix/sysv/linux/configure: Regenerated.
36689         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36690         (_FPU_MASK_OM): Define as 0x04.
36691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36693         0x00c10080.
36694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36695         0x0000003c.
36696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36699         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36700         getcontext_e500.
36701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36702         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36703         setcontext_e500.
36704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36705         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36706         and setcontext_e500.
36708 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36710         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36712 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36714         * manual/threads.texi (Default Thread Attributes): Fix typo.
36716 2013-10-04  Will Newton  <will.newton@linaro.org>
36718         * malloc/Makefile: Add tst-memalign.
36719         * malloc/tst-memalign.c: New file.
36721         * malloc/tst-posix_memalign.c: Add comments.
36722         (do_test): Add comments and call free on all potentially
36723         allocated pointers. Add space after cast.
36725         * malloc/tst-pvalloc.c: Add comments.
36726         (do_test): Add comments and call free on all potentially
36727         allocated pointers. Remove duplicate check for NULL pointer.
36728         Add space after cast.
36730         * malloc/tst-valloc.c: Add comments.
36731         (do_test): Add comments and call free on all potentially
36732         allocated pointers. Remove duplicate check for NULL pointer.
36733         Add space after cast.
36735 2013-10-04  Alan Modra  <amodra@gmail.com>
36737         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36738         Use stdint types in rather than __attribute__((mode())).
36739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36741 2013-10-04  Alan Modra  <amodra@gmail.com>
36743         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36744         Correct handling of unaligned relocs for little-endian.
36745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36747 2013-10-04  Alan Modra  <amodra@gmail.com>
36749         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36750         * configure: Regenerate.
36751         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36752         * shlib-versions: Likewise.
36754 2013-10-04  Alan Modra  <amodra@gmail.com>
36756         * string/tester.c (test_memrchr): Increment reported test cycle.
36758 2013-10-04  Alan Modra  <amodra@gmail.com>
36760         * string/test-memcpy.c (do_one_test): When reporting errors, print
36761         string address and don't overrun end of string.
36763 2013-10-04  Alan Modra  <amodra@gmail.com>
36765         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36766         insrdi.  Make better use of reg selection to speed exit slightly.
36767         Schedule entry path a little better.  Remove useless "are we done"
36768         checks on entry to main loop.  Handle wrapping around zero address.
36769         Correct main loop count.  Handle single left-over word from main
36770         loop inline rather than by using loop_small.  Remove extra word
36771         case in loop_small caused by wrong loop count.  Add little-endian
36772         support.
36773         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36774         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36775         cache hint.
36776         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36777         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36778         support.  Avoid rlwimi.
36779         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36781 2013-10-04  Alan Modra  <amodra@gmail.com>
36783         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36784         insrdi.  Formatting.
36785         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36786         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36787         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36788         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36789         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36790         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36792 2013-10-04  Alan Modra  <amodra@gmail.com>
36794         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36795         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36796         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36797         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36798         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36799         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36800         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36802         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36803         use of regs.  Use power7 mtocrf.  Tidy function tails.
36805 2013-10-04  Alan Modra  <amodra@gmail.com>
36807         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36808         Formatting.  Consistently use rXXX register defines or rN defines.
36809         Use early exit labels that avoid restoring unused non-volatile regs.
36810         Make cr field use more consistent with rWORDn compares.  Rename
36811         regs used as shift registers for unaligned loop, using rN defines
36812         for short lifetime/multiple use regs.
36813         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36814         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36815         addi 1,1,64 to pop stack frame.  Simplify return value code.
36816         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36818 2013-10-04  Alan Modra  <amodra@gmail.com>
36820         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36821         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36822         rather than rlwimi.
36823         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36824         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36825         little-endian support.  Correct typos.
36826         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36827         rather than rlwimi.
36828         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36829         in loop and entry code to keep "and." results.
36830         (strchr): Add little-endian support.  Comment.  Move cntlzd
36831         earlier in tail.
36832         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36834 2013-10-04  Alan Modra  <amodra@gmail.com>
36836         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36837         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36838         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36839         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36841 2013-10-04  Alan Modra  <amodra@gmail.com>
36843         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36844         (rTMP): Define as r11.
36845         (strcmp): Add little-endian support.  Optimise tail.
36846         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36847         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36848         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36849         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36850         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36852         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36854 2013-10-04  Alan Modra  <amodra@gmail.com>
36856         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36857         little-endian support.  Remove unnecessary "are we done" tests.
36858         Handle "s" wrapping around zero and extremely large "size".
36859         Correct main loop count.  Handle single left-over word from main
36860         loop inline rather than by using small_loop.  Correct comments.
36861         Delete "zero" tail, use "end_max" instead.
36862         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36864 2013-10-04  Alan Modra  <amodra@gmail.com>
36866         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36867         support.  Don't branch over align.
36868         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36869         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36870         support.  Rearrange tmp reg use to suit.  Comment.
36871         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36873 2013-10-04  Alan Modra  <amodra@gmail.com>
36875         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36877 2013-10-04  Alan Modra  <amodra@gmail.com>
36879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36880         conditional form of branch and link when obtaining pc.
36881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36883 2013-10-04  Alan Modra  <amodra@gmail.com>
36885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36886         HIWORD/LOWORD.
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36890 2013-10-04  Alan Modra  <amodra@gmail.com>
36892         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36893         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36894         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36895         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36896         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36897         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36898         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36899         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36900         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36901         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36903 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36904             Alistair Popple <alistair@ozlabs.au.ibm.com>
36905             Alan Modra <amodra@gmail.com>
36907         [BZ #15723]
36908         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36909         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36910         _dl_hwcap access for little-endian.
36911         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36912         destroy vmx regs when saving unaligned.
36913         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36914         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36915         destroy vmx regs when saving unaligned.
36917 2013-10-04  Alan Modra  <amodra@gmail.com>
36919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36920         Don't use a union to pack hi/low value.
36922 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36924         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36925         for little-endian.
36926         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36928         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36929         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36930         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36932 2013-10-04  Alan Modra  <amodra@gmail.com>
36934         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36935         constants to usual value for .cst8 section, and remove redundant
36936         high address load.
36937         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36938         constant for 0x1p52.  Load little-endian words of double from
36939         correct stack offsets.
36941 2013-10-04  Alan Modra  <amodra@gmail.com>
36943         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36944         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36945         words of double from correct stack offsets.
36946         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36947         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36948         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36949         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36951         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36952         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36953         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36954         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36955         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36956         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36957         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36958         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36959         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36960         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36961         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36962         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36964 2013-10-04  Alan Modra  <amodra@gmail.com>
36966         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36967         64-bit int/double union.
36968         (_FPU_SETCW): Likewise.
36969         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36970         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36972 2013-10-04  Alan Modra  <amodra@gmail.com>
36974         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36975         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36977 2013-10-04  Alan Modra  <amodra@gmail.com>
36979         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36980         use vector int constants.
36981         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36983 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36985         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36986         array with long long.
36987         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36988         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36989         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36990         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36991         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36992         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36993         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36994         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36995         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36996         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36997         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36998         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36999         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37001 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37003         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37004         (__signbit): Likewise.  Correct for little-endian.
37005         (__signbitl): Call __signbit.
37006         (lrint): Correct for little-endian.
37007         (lrintf): Call lrint.
37009 2013-10-04  Alan Modra  <amodra@gmail.com>
37011         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37012         union 32-bit int array member with 64-bit int array.
37013         (t515, tm256): Double rather than long double.
37014         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37016 2013-10-04  Alan Modra  <amodra@gmail.com>
37018         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37019         Delete.
37020         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37022         version of math_ldbl.h.
37024 2013-10-04  Alan Modra  <amodra@gmail.com>
37026         [BZ #15734], [BZ #15735]
37027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37028         all uses of ieee875 long double macros and unions.  Simplify test
37029         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37030         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37031         normalize after ldbl_extract_mantissa, and don't add hidden bit
37032         already handled.  Don't treat low word of ieee854 mantissa like
37033         low word of IBM long double and mask off bit when testing for
37034         zero.
37035         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37036         all uses of ieee875 long double macros and unions.  Simplify tests
37037         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37038         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37039         two1022, instead use their values.  Recognise that tests for large
37040         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37042         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37043         test for 0.0L and nan.  Correct negation.
37044         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37045         ieee875 long double macros and unions.  Correct output for large
37046         magnitude x.  Correct absolute value calculation.
37047         (__erfcl): Likewise.
37048         * math/libm-test.inc: Add tests for errors discovered in IBM long
37049         double versions of fmodl, remainderl, erfl and erfcl.
37051 2013-10-04  Alan Modra  <amodra@gmail.com>
37053         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37054         all uses of ieee854 long double macros and unions.  Simplify tests
37055         for long doubles that are fully specified by the high double.
37056         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37057         Likewise.
37058         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37059         Remove dead code too.
37060         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37061         (__ieee754_ynl): Likewise.
37062         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37065         Remove dead code too.
37066         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37067         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37068         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37070         Simplify.
37071         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37072         Simplify.
37073         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37074         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37075         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37076         Comment on variable precision.
37077         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37078         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37079         Likewise.
37080         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37081         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37082         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37083         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37084         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37086 2013-10-04  Alan Modra  <amodra@gmail.com>
37088         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37089         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37090         all uses of ieee854 long double macros and unions.
37091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37093         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37094         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37095         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37096         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37097         Likewise.
37098         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37099         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37100         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37101         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37102         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37104         Simplify sign and nan test too.
37105         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37106         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37107         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37108         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37109         Likewise.
37110         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37111         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37112         Likewise.
37113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37114         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37115         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37116         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37117         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37120 2013-10-04  Alan Modra  <amodra@gmail.com>
37122         * stdio-common/printf_size.c (__printf_size): Don't use
37123         union ieee854_long_double in fpnum union.
37124         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37125         signbit macro to retrieve sign from long double.
37126         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37127         retrieve sign from long double.
37128         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37129         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37130         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37131         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37132         * math/test-misc.c (main): Don't use union ieee854_long_double.
37134 2013-10-04  Alan Modra  <amodra@gmail.com>
37136         [BZ #15680]
37137         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37138         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37139         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37140         calculation.  Remove unnecessary test for denormal exponent.
37141         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37142         Correct handling of denormals.  Avoid undefined shift behaviour.
37143         Correct normalisation of low mantissa when low double is denormal.
37144         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37145         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37146         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37147         Correct normalisation of low mantissa.  Test for overflow of high
37148         mantissa and normalise.
37149         (ldbl_nearbyint): Use more readable constant for two52.
37150         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37151         (__mpn_construct_long_double): Fix test for overflow of high
37152         mantissa and correct normalisation.  Avoid undefined shift.
37154 2013-10-04  Alan Modra  <amodra@gmail.com>
37156         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37157         (union ibm_extended_long_double): Define as an array of ieee754_double.
37158         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37159         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37160         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37161         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37162         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37163         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37165         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37166         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37167         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37168         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37170 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37172         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37173         page size instead of calling getpagesize.
37175         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37176         (LOCFILE_ALIGN_MASK): Likewise.
37177         (LOCFILE_ALIGN_UP): Likewise.
37178         (LOCFILE_ALIGNED_P): Likewise.
37179         * locale/programs/ld-collate.c (collate_output): Use the new
37180         macros instead of __alignof__ (int32_t).
37181         * locale/weight.h (findidx): Likewise.
37183 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37185         [BZ #431]
37186         * manual/string.texi: Fix strncat and wcsncat.
37188 2013-10-03  Brooks Moses  <bmoses@google.com>
37190         [BZ #15915]
37191         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37192         * Makerules: ...here, and adjust associated comments.
37194 2013-10-02  Will Newton  <will.newton@linaro.org>
37196         * malloc/Makefile: Add tst-pvalloc.
37197         * malloc/tst-pvalloc.c: New file.
37199 2013-10-02  Will Newton  <will.newton@linaro.org>
37201         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37202         improve test coverage.
37204 2013-10-02  Will Newton  <will.newton@linaro.org>
37206         * malloc/Makefile: Add tst-posix_memalign.
37207         * malloc/tst-posix_memalign.c: New file.
37209 2013-10-01  Eric Blake  <eblake@redhat.com>
37211         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37212         Use __THROWNL rather than __THROW on static functions.
37214 2013-09-30  Petr Machata  <pmachata@redhat.com>
37216         * elf/elf.h (R_AARCH64_ABS16): New macro.
37217         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37218         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37219         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37220         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37221         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37222         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37223         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37224         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37225         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37226         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37227         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37228         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37229         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37230         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37231         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37232         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37233         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37234         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37235         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37236         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37237         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37238         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37239         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37240         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37241         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37242         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37243         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37244         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37245         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37246         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37247         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37248         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37249         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37250         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37251         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37252         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37253         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37254         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37255         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37256         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37257         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37258         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37259         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37260         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37261         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37262         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37263         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37264         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37265         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37266         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37267         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37268         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37269         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37270         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37271         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37272         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37273         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37274         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37275         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37276         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37277         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37278         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37279         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37280         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37281         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37282         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37283         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37284         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37285         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37286         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37287         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37288         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37289         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37290         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37291         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37292         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37293         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37294         (R_AARCH64_TLSDESC_LDR): Likewise.
37295         (R_AARCH64_TLSDESC_ADD): Likewise.
37296         (R_AARCH64_TLSDESC_CALL): Likewise.
37298 2013-09-30  Andreas Schwab  <schwab@suse.de>
37300         [BZ #15048]
37301         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37302         the nss database lookup.
37303         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37306 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37308         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37310 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37313         ${Bash-specific parameter/pattern/string} parameter expansion.
37314         * sysdeps/unix/make-syscalls.sh: Likewise.
37316 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37318         * sysdeps/sh/stackguard-macros.h: New file.
37320 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37324         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37325         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37326         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37327         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37329 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37331         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37332         Fix thread ID register.
37334 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37336         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37337         [POSIX || UNIX98]: Require rather than permitting all symbols from
37338         <time.h>.
37339         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37340         element of struct sched_param.
37341         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37342         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37343         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37344         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37345         constant.
37347 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37349         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37350         argument calculation.
37352 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37354         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37355         Expect macro.
37356         [POSIX] (pthread_attr_t): Do not require type.
37357         [POSIX] (pthread_cond_t): Likewise.
37358         [POSIX] (pthread_condattr_t): Likewise.
37359         [POSIX] (pthread_key_t): Likewise.
37360         [POSIX] (pthread_mutex_t): Likewise.
37361         [POSIX] (pthread_mutexattr_t): Likewise.
37362         [POSIX] (pthread_once_t): Likewise.
37363         [POSIX] (pthread_t): Likewise.
37364         [POSIX-based standards] (pthread_atfork): Expect function.
37366 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37367             Richard Sandiford  <richard@codesourcery.com>
37369         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37370         (swap_endianness_p): New extern variable.
37371         (set_big_endian): New inline function.
37372         (maybe_swap_uint32): Likewise.
37373         (maybe_swap_uint32_array): Likewise.
37374         (maybe_swap_uint32_obstack): Likewise.
37375         * locale/programs/locfile.c: Include <stdbool.h>.
37376         (swap_endianness_p): New variable.
37377         (add_locale_uint32): Call maybe_swap_uint32.
37378         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37379         (write_locale_data): Call maybe_swap_uint32_array.
37380         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37381         maybe_swap_uint32.
37382         (obstack_int32_grow_fast): Likewise.
37383         (output_weightwc): Call maybe_swap_uint32_obstack.
37384         (collate_output): Likewise.
37385         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37386         (OPT_LITTLE_ENDIAN): Likewise.
37387         (options): Add --little-endian and --big-endian options.
37388         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37389         * locale/programs/locarchive.c: Include "locfile.h".
37390         (GET): New macro.
37391         (SET): Likewise.
37392         (INC): Likewise.
37393         (create_archive): Use the new macros to access fields of
37394         structures directly mapped from or written to locale archives.
37395         (oldlocrecentcmp): Likewise.
37396         (enlarge_archive): Likewise.
37397         (insert_name): Likewise.
37398         (add_alias): Likewise.
37399         (add_locale): Likewise.
37400         (delete_locales_from_archive): Likewise.
37401         (show_archive_content): Likewise.
37402         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37403         locale data.
37405 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37407         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37408         http://www.gnu.org/doc/freemanuals.texi.
37409         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37411 2013-09-24  Will Newton  <will.newton@linaro.org>
37413         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37414         macro.
37416 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37418         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37419         unsigned char.
37421 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37423         * manual/threads.texi (POSIX Threads): Fix a typo.
37425 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37427         [BZ #14547]
37428         * string/tst-strcoll-overflow.c: New test case.
37429         * string/Makefile (xtests): Add tst-strcoll-overflow.
37430         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37431         cache if string sizes may cause integer overflow.
37433         [BZ #14547]
37434         * string/strcoll_l.c (coll_seq): New members rule, idx,
37435         save_idx and back_us.
37436         (get_next_seq_nocache): New function.
37437         (do_compare_nocache): New function.
37438         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37439         when malloc fails.
37441 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37443         [BZ #15754]
37444         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37445         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37446         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37448         [BZ #15754]
37449         * elf/Makefile (tests): Add tst-ptrguard1.
37450         (tests-static): Add tst-ptrguard1-static.
37451         (tst-ptrguard1-ARGS): Define.
37452         (tst-ptrguard1-static-ARGS): Define.
37453         * elf/tst-ptrguard1.c: New file.
37454         * elf/tst-ptrguard1-static.c: New file.
37455         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37456         * sysdeps/i386/stackguard-macros.h: Likewise.
37457         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37458         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37459         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37460         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37461         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37462         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37464 2013-09-23  Hector Marco  <hecmargi@upv.es>
37465             Ismael Ripoll  <iripoll@disca.upv.es>
37466             Carlos O'Donell  <carlos@redhat.com>
37468         [BZ #15754]
37469         * sysdeps/generic/stackguard-macros.h: Define
37470         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37471         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37472         Define __pointer_chk_guard_local.
37473         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37474         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37476 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37478         [BZ #15859]
37479         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37481 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37483         * include/string.h (__ffs): Declare as hidden.
37484         * string/ffs.c (__ffs): Define as hidden.
37485         * sysdeps/i386/ffs.c (__ffs): Likewise.
37486         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37487         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37488         * sysdeps/s390/ffs.c (__ffs): Likewise.
37489         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37491 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37493         * NEWS: Mention malloc probes.
37495         * malloc/arena.c (new_heap): New memory_heap_new probe.
37496         (grow_heap): New memory_heap_more probe.
37497         (shrink_heap): New memory_heap_less probe.
37498         (heap_trim): New memory_heap_free probe.
37499         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37500         (systrim): New memory_sbrk_less probe.
37501         * manual/probes.texi: Document them.
37503         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37504         * manual/probes.texi: Document it.
37506         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37507         (__libc_realloc): Add memory_realloc_retry probe.
37508         (__libc_memalign): Add memory_memalign_retry probe.
37509         (__libc_valloc): Add memory_valloc_retry probe.
37510         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37511         (__libc_calloc): Add memory_calloc_retry probe.
37512         * manual/probes.texi: Document them.
37514         * malloc/arena.c (get_free_list): Add probe
37515         memory_arena_reuse_free_list.
37516         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37517         and memory_arena_reuse.
37518         (arena_get2) [!PER_THREAD]: Likewise.
37519         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37520         memory_arena_reuse_realloc.
37521         * manual/probes.texi: Document them.
37523         * malloc/malloc.c (__libc_free): Add
37524         memory_mallopt_free_dyn_thresholds probe.
37525         (__libc_mallopt): Add multiple memory_mallopt probes.
37526         * manual/probes.texi: Document them.
37528         * malloc/malloc.c: Include stap-probe.h.
37529         (__libc_mallopt): Add memory_mallopt probe.
37530         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37531         * manual/probes.texi: New.
37532         * manual/Makefile (chapters): Add probes.
37533         * manual/threads.texi: Set next node.
37535 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37537         [BZ #15963, #13985]
37538         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37539         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37540         Add `Chinese' to `nan' entry name.
37542 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37544         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37545         (POLYNOMIAL): Likewise.
37546         (TAYLOR_SINCOS): Likewise.
37547         (TAYLOR_SLOW): Likewise.
37548         (__sin): Use TAYLOR_SINCOS.
37549         (__cos): Likewise.
37550         (slow): Use TAYLOR_SLOW.
37551         (sloww): Likewise.
37552         (bsloww): Likewise.
37553         (csloww): Likewise.
37555 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37557         * stdlib/strtod_l.c: Fix buffer overrun.
37559 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37561         * benchtests/Makefile (bench): Add sincos.
37562         * benchtests/bench-sincos.c: New file.
37564         * math/libm-test.inc (cos_test_data): New test inputs.
37565         (sin_test_data): Likewise.
37567         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37568         macro.
37569         (__sin): Use it.
37570         (__cos): Likewise.
37571         (slow1): Likewise.
37572         (slow2): Likewise.
37573         (sloww1): Likewise.
37574         (sloww2): Likewise.
37575         (bsloww1): Likewise.
37576         (bsloww2): Likewise.
37577         (cslow2): Likewise.
37578         (csloww1): Likewise.
37579         (csloww2): Likewise.
37581         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37582         function.
37583         (__sin): Use it.
37584         (__cos): Likewise.
37586         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37587         gotos.
37588         (__cos): Likewise.
37590 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37592         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37593         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37594         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37595         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37596         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37597         * elf/cache.c (print_entry): Handle the new cache flags.
37599 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37600             Aldy Hernandez  <aldyh@redhat.com>
37602         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37603         Change condition to [_SOFT_FLOAT].
37604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37616         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37619         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37620         declaration.
37622 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37624         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37625         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37626         (__longjmp): Use LOAD_GP to load saved GPRs.
37627         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37628         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37629         (__sigsetjmp): Use SAVE_GP to save GPRs.
37631         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37632         Do not append -msoft-float.
37633         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37635 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37637         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37639 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37641         [BZ #15966]
37642         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37643         (_FPU_GETCW): Use initial "__" on variable and field names but not
37644         on macro parameter name.
37645         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37646         parentheses around reference to macro parameter.
37648 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37650         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37651         prototype.
37652         (ctype_startup): Use uint32_t in cast and sizeof for
37653         ctype->charnames.
37655 2013-09-11  Jia Liu  <proljc@gmail.com>
37657         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37658         __daddr_t_defined.
37659         [__FreeBSD__]: Likewise.
37661 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37664         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37665         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37666         (strchr): Remove __strchr_sse42 ifunc selection.
37667         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37668         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37670 2013-09-11  Will Newton  <will.newton@linaro.org>
37672         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37673         parameter to RES. Remove hardcoded 1000 value.
37674         * benchtests/bench-skeleton.c (main): Pass RES parameter
37675         to TIMING_INIT and multiply result by 1000.
37677 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37681 2013-09-11  Andreas Schwab  <schwab@suse.de>
37683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37684         if not defined.
37685         (O_TMPFILE) [__USE_GNU]: Define.
37686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37687         Define.
37689 2013-09-11  Will Newton  <will.newton@linaro.org>
37691         [BZ #15857]
37692         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37693         does not overflow.
37695 2013-09-11  Will Newton  <will.newton@linaro.org>
37697         [BZ #15856]
37698         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37699         does not overflow.
37701 2013-09-11  Will Newton  <will.newton@linaro.org>
37703         [BZ #15855]
37704         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37705         does not overflow.
37707 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37709         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37710         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37711         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37712         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37713         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37715 2013-09-10  Allan McRae  <allan@archlinux.org>
37717         [BZ #15748]
37718         * manual/arith.texi (Parsing of Floats): Clarify
37719         cross-reference.
37721         [BZ #15849]
37722         * manual/install.texi (Running make install): Mention
37723         --enable-pt-chown.
37724         * INSTALL: Regenerated.
37726 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37728         * csu/init-first.c (_init): Remove the !SHARED condition around
37729         FPU control word initialization.
37730         * elf/dl-support.c (_dl_fpu_control): New variable.
37731         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37732         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37733         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37734         * math/test-fpucw-static.c: New file.
37735         * math/test-fpucw-ieee.c: New file.
37736         * math/test-fpucw-ieee-static.c: New file.
37737         * math/Makefile (tests): Add `test-fpucw-ieee' and
37738         `$(tests-static)'.
37739         (tests-static): New variable.
37740         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37741         dependency to...
37742         [($(build-shared),yes)]
37743         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37744         ... this.
37745         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37746         New dependency.
37748 2013-09-09  Allan McRae  <allan@archlinux.org>
37750         [BZ #15939]
37751         * manual/string.texi (Collation Functions): Fix typo in
37752         strcoll example.
37753         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37755         [BZ #15893]
37756         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37758         [BZ #15892]
37759         * libio/memstream.c (open_memstream): Fix memory leak.
37760         * libio/wmemstream.c (open_wmemstream): Likewise.
37762         [BZ #15895]
37763         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37765 2013-09-09  Will Newton  <will.newton@linaro.org>
37767         * malloc/Makefile: Add tst-realloc to tests.
37768         * malloc/tst-realloc.c: New file.
37770 2013-09-09  Allan McRae  <allan@archlinux.org>
37772         [BZ #15844]
37773         * COPYING: Update from GNU website to fix FSF address.
37774         * COPYING.LIB: Likewise.
37776 2013-09-06  David S. Miller  <davem@davemloft.net>
37778         * po/zh_TW.po: Update Chinese (traditional) translation from
37779         translation project.
37781 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37782             Joseph Myers  <joseph@codesourcery.com>
37784         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37785         "localeinfo.h".
37786         (obstack_chunk_alloc): New macro.
37787         (obstack_chunk_free): Likewise.
37788         (record_offset): New function.
37789         (init_locale_data): Likewise.
37790         (align_locale_data): Likewise.
37791         (add_locale_empty): Likewise.
37792         (add_locale_raw_data): Likewise.
37793         (add_locale_raw_obstack): Likewise.
37794         (add_locale_string): Likewise.
37795         (add_locale_wstring): Likewise.
37796         (add_locale_uint32): Likewise.
37797         (add_locale_uint32_array): Likewise.
37798         (add_locale_char): Likewise.
37799         (start_locale_structure): Likewise.
37800         (end_locale_structure): Likewise.
37801         (start_locale_prelude): Likewise.
37802         (end_locale_prelude): Likewise.
37803         (write_locale_data): Take locale_file structure rather than an
37804         iovec.
37805         * locale/programs/locfile.h: Include "obstack.h".
37806         (struct locale_file): Change to store locale file contents instead
37807         of header.
37808         (init_locale_data): New prototype.
37809         (align_locale_data): Likewise.
37810         (add_locale_empty): Likewise.
37811         (add_locale_raw_data): Likewise.
37812         (add_locale_raw_obstack): Likewise.
37813         (add_locale_string): Likewise.
37814         (add_locale_wstring): Likewise.
37815         (add_locale_uint32): Likewise.
37816         (add_locale_uint32_array): Likewise.
37817         (add_locale_char): Likewise.
37818         (start_locale_structure): Likewise.
37819         (end_locale_structure): Likewise.
37820         (start_locale_prelude): Likewise.
37821         (end_locale_prelude): Likewise.
37822         (write_locale_data): Update prototype.
37823         * locale/programs/3level.h (struct TABLE): Remove result field.
37824         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37825         Use new locale_file interface.
37826         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37827         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37828         * locale/programs/ld-address.c (address_output): Use new
37829         locale_file interface.
37830         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37831         NO_ADD_LOCALE.
37832         (collate_finish): Don't call collseq_table_finalize.
37833         (collate_output): Use new locale_file interface.
37834         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37835         in file.
37836         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37837         (TABLE): Move defines earlier in file.
37838         (ELEMENT): Likewise.
37839         (DEFAULT): Likewise.
37840         (wctrans_table_add): Move macro and inline function earlier in
37841         file.
37842         (struct wctype_table): Move type earlier in file.
37843         (add_locale_wctype_table): New static prototype.
37844         (struct locale_ctype_t): Use logical types instead of struct iovec
37845         pointers for members.
37846         (ctype_output): Use new locale_file interface.
37847         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37848         new locale_file interface.
37849         (allocate_arrays): Update for use of new locale_file interface.
37850         * locale/programs/ld-identification.c (identification_output): Use
37851         new locale_file interface.
37852         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37853         * locale/programs/ld-messages.c (messages_output): Likewise.
37854         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37855         * locale/programs/ld-name.c (name_output): Likewise.
37856         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37857         * locale/programs/ld-paper.c (paper_output): Likewise.
37858         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37859         * locale/programs/ld-time.c (time_output): Likewise.
37861 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37863         * benchtests/Makefile: Add memrchr benchmark.
37864         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37865         benchmark as memrchr.
37866         * benchtests/bench-memrchr-ifunc.c: New file.
37867         * benchtests/bench-memrchr.c: New file.
37869 2013-09-06   Will Newton  <will.newton@linaro.org>
37871         * benchtests/Makefile (string-bench): Add memcpy.
37873 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37874             Cong Wang  <amwang@redhat.com>
37876         [BZ #15850]
37877         * sysdeps/unix/sysv/linux/bits/in.h
37878         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37879         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37880         before __USE_KERNEL_IPV6_DEFS uses.
37881         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37882         IPPROTO_BEETPH.
37883         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37884         sockaddr_in6, or ipv6_mreq.
37886 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37888         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37889         memory access for final bytes in some large inputs.
37890         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37892 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37894         * string/test-memrchr.c: New file.
37895         * string/test-memrchr-ifunc.c: New file.
37896         * string/Makefile: Add new memrchr testcase.
37898 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37900         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37901         fanotify_init returns EPERM.
37903 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37905         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37906         errors.
37907         (top level): Treat second token from macro or constant entries for
37908         allowed headers as allowed.
37909         * include/complex.h: Condition internal declarations on
37910         [!_ISOMAC].
37911         * include/fenv.h: Condition include of <stdbool.h> and internal
37912         declarations on [!_ISOMAC].
37914 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37916         [BZ #15923]
37917         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37919 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37921         * configure.in (--enable-versioning): Remove configure option.
37922         (libc_cv_asm_symver_directive): Remove configure test.
37923         (libc_cv_ld_version_script_option): Likewise.
37924         (VERSIONING): Remove variable and AC_SUBST.
37925         (DO_VERSIONING): Remove AC_DEFINE.
37926         * configure: Regenerated.
37927         * config.h.in (DO_VERSIONING): Remove macro.
37928         * Makerules [$(versioning) = yes]: Change conditionals to
37929         [$(build-shared) = yes].
37930         * config.make.in (versioning): Remove variable.
37931         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37932         [$(build-shared) = yes].
37933         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37934         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37935         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37936         [$(build-shared) = yes].
37937         * extra-lib.mk [$(versioning) = yes]: Likewise.
37938         * hurd/Makefile [$(versioning) = yes]: Likewise.
37939         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37940         [SHARED].
37941         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37942         [SHARED].
37943         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37944         [SHARED && !NO_HIDDEN].
37945         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37946         [SHARED].
37947         [SHARED && DO_VERSIONING]: Likewise..
37948         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37949         [$(build-shared) = yes].
37950         * manual/install.texi (--disable-versioning): Remove
37951         documentation.
37952         * INSTALL: Regenerated.
37953         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37954         to [SHARED].
37955         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37956         [$(build-shared) = yes].
37957         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37958         * sysdeps/i386/i686/multiarch/strstr-c.c
37959         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37960         [SHARED && !NO_HIDDEN].
37961         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37962         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37963         * sysdeps/powerpc/powerpc32/dl-machine.c
37964         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37965         * sysdeps/powerpc/powerpc32/sysdep.h
37966         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37967         to [SHARED && PIC && !NO_HIDDEN].
37968         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37969         conditional to [SHARED].
37971 2013-09-04   Will Newton  <will.newton@linaro.org>
37973         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37974         * benchtests/bench-string.h: Include bench-timing.h instead
37975         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37976         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37977         call to HP_TIMING_DIFF_INIT.
37978         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37979         instead of hp-timing.h macros.
37980         * benchtests/bench-memchr.c: Likewise.
37981         * benchtests/bench-memcmp.c: Likewise.
37982         * benchtests/bench-memcpy.c: Likewise.
37983         * benchtests/bench-memmem.c: Likewise.
37984         * benchtests/bench-memmove.c: Likewise.
37985         * benchtests/bench-memset.c: Likewise.
37986         * benchtests/bench-rawmemchr.c: Likewise.
37987         * benchtests/bench-strcasecmp.c: Likewise.
37988         * benchtests/bench-strcasestr.c: Likewise.
37989         * benchtests/bench-strcat.c: Likewise.
37990         * benchtests/bench-strchr.c: Likewise.
37991         * benchtests/bench-strcmp.c: Likewise.
37992         * benchtests/bench-strcpy.c: Likewise.
37993         * benchtests/bench-strcpy_chk.c: Likewise.
37994         * benchtests/bench-strlen.c: Likewise.
37995         * benchtests/bench-strncasecmp.c: Likewise.
37996         * benchtests/bench-strncat.c: Likewise.
37997         * benchtests/bench-strncmp.c: Likewise.
37998         * benchtests/bench-strncpy.c: Likewise.
37999         * benchtests/bench-strnlen.c: Likewise.
38000         * benchtests/bench-strpbrk.c: Likewise.
38001         * benchtests/bench-strrchr.c: Likewise.
38002         * benchtests/bench-strspn.c: Likewise.
38003         * benchtests/bench-strstr.c: Likewise.
38005 2013-09-04  Will Newton  <will.newton@linaro.org>
38007         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38009 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38011         [BZ #15427]
38012         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38013         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38014         * math/libm-test.inc (lgamma_test_data): Add more tests.
38015         * sysdeps/i386/fpu/libm-test-ulps: Update.
38016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38018 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38020         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38022         Add ifunc.
38023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38024         Add strcmp-sse2-unaligned
38025         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38027 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38029         * Versions.def (libc): Add GLIBC_2.19.
38031 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38033         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38034         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38036 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38038         [BZ #14155]
38039         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38040         intermediate calculations in recurrence.
38041         (__ieee754_ynf): Likewise.
38042         * math/libm-test.inc (jn_test_data): Do not allow spurious
38043         underflow exception.  Add more tests.
38044         (yn_test_data): Add more tests.
38045         * sysdeps/i386/fpu/libm-test-ulps: Update.
38046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38048 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38050         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38052 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38054         * csu/init-first.c: Fix then/than typos.
38055         * locale/programs/ld-collate.c: Likewise.
38056         * locale/programs/linereader.h: Likewise.
38057         * manual/charset.texi: Likewise.
38058         * manual/filesys.texi: Likewise.
38059         * manual/stdio.texi: Likewise.
38060         * manual/string.texi: Likewise.
38061         * stdlib/fmtmsg.c: Likewise.
38062         * sysdeps/i386/stpncpy.S: Likewise.
38063         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38064         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38065         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38066         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38068 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38070         * elf/dl-open.c: Fix typos.
38071         * iconvdata/gbbig5.c: Likewise.
38072         * iconvdata/iso-2022-jp.c: Likewise.
38073         * iconv/gconv_int.h: Likewise.
38074         * iconv/loop.c: Likewise.
38075         * nis/rpcsvc/nis.h: Likewise.
38076         * resolv/ns_name.c: Likewise.
38077         * stdio-common/vfscanf.c: Likewise.
38078         * streams/stropts.h: Likewise.
38079         * sunrpc/rpc_thread.c: Likewise.
38080         * sysdeps/i386/strpbrk.S: Likewise.
38081         * sysdeps/ieee754/k_standard.c: Likewise.
38082         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38083         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38084         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38085         * sysdeps/mach/hurd/profil.c: Likewise.
38086         * sysdeps/s390/dl-procinfo.h: Likewise.
38087         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38088         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38089         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38090         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38091         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38093 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38095         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38098 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38100         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38101         aix specific files.
38102         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38103         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38105         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38106         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38107         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38108         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38109         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38111 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38112             Roland McGrath  <roland@hack.frob.com>
38114         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38115         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38117 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38119         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38120         __executable_start symbol instead of _start.
38122 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38124         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38125         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38126         Move macros to...
38127         * sysdeps/gnu/ldsodefs.h: ... this new file.
38129         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38130         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38131         instead of ELFOSABI_LINUX.
38133         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38134         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38135         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38136         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38137         Likewise.
38138         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38139         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38140         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38141         Likewise.
38142         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38143         (ibm_extended_long_double): Add ieee_nan member.
38144         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38145         (do_test): New function.
38147         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38148         TEST_TRUNC.
38149         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38150         functions, renamed from truncdfsf_test, trunctfsf_test,
38151         trunctfdf_test.
38152         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38153         functions.
38154         (do_test): Run all these.
38156 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38158         * argp/argp-help.c: Fix typos.
38159         * argp/argp-parse.c: Likewise.
38160         * debug/backtracesyms.c: Likewise.
38161         * elf/elf.h: Likewise.
38162         * malloc/malloc.c: Likewise.
38163         * nis/nis_print.c: Likewise.
38164         * resolv/res_comp.c: Likewise.
38165         * stdlib/stdlib.h: Likewise.
38166         * sunrpc/clnt_tcp.c: Likewise.
38167         * sunrpc/clnt_udp.c: Likewise.
38168         * sunrpc/clnt_unix.c: Likewise.
38169         * sysdeps/unix/bsd/ptsname.c: Likewise.
38170         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38171         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38173         Likewise.
38174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38175         Likewise.
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38177         Likewise.
38178         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38180 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38182         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38185 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38187         [BZ #15897]
38188         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38189         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38190         ($(objpfx)bug-dl-leaf): New rule.
38191         ($(objpfx)bug-dl-leaf.so): Likewise.
38192         ($(objpfx)bug-dl-leaf.out): Likewise.
38193         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38194         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38195         * dlfcn/bug-dl-leaf.c: New test.
38196         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38197         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38198         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38199         (dlclose): Likewise.
38200         (dlmopen): Likewise.
38202 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38204         * include/netdb.h [!_ISOMAC]:
38205         Don't include <tls.h>.
38206         (h_errno, __libc_h_errno): Move declaration and macros out of
38207         [_LIBC_REENTRANT].
38209         * include/resolv.h [_RESOLV_H_]:
38210         Don't include <tls.h>.
38211         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38212         * resolv/res_libc.c: Don't include <tls.h>.
38213         (_res): Use __attribute__ ((nocommon)) in place of
38214         __attribute__ ((section (".bss"))).
38216         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38217         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38219         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38221         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38222         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38224         * resolv/res_mkquery.c: Include <sys/time.h>.
38226         * inet/ifreq.c: Moved to ...
38227         * sysdeps/unix/ifreq.c: ... here.
38228         * inet/ifreq.c: New file, true stub version.
38230         * socket/sa_len.c: New file.
38231         * socket/Makefile (aux): Add it.
38232         * sysdeps/unix/sysv/linux/Makefile
38233         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38234         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38235         and #include <socket/sa_len.c>.
38236         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38237         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38239         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38240         * bits/socket.h: ... here.
38242         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38243         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38244         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38246 2013-08-27  Andreas Schwab  <schwab@suse.de>
38248         [BZ #15736]
38249         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38250         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38251         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38252         * string/test-strcasecmp.c (test_main): Run tests in several
38253         locales.
38254         * string/test-strncasecmp.c (test_main): Likewise.
38256         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38257         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38258         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38260         (__strncasecmp_ssse3) [PIC]: Likewise.
38262 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38264         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38266         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38267         instead of explicitly declaring xdecrypt.
38268         * nis/nss_nis/nis-publickey.c: Likewise.
38270 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         [BZ #15890]
38273         * nscd/aicache.c: Include res_hconf.h.
38274         (addhstaiX): Initialize res_hconf.
38276 2013-08-26  Andreas Schwab  <schwab@suse.de>
38278         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38279         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38281 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38283         * nscd/aicache.c (addhstaiX): Fix indentation.
38285 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38287         * configure.ac: Quote $build_pt_chown test.
38288         * configure: Regenerated.
38290 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38292         [BZ #15532]
38293         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38294         * math/s_cexpf.c (__cexpf): Likewise.
38295         * math/s_cexpl.c (__cexpl): Likewise.
38296         * math/libm-test.inc (cexp_test_data): Correct expected return
38297         value for NaN + i0.  Add another test.
38299 2013-08-22  David S. Miller  <davem@davemloft.net>
38301         * po/ca.po: Update Catalan translation from translation project.
38302         * po/uk.po: Add Ukrainian translations from translation project.
38304 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38306         [BZ #15797]
38307         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38308         is infinite, not alongside NaN test.
38309         * math/s_fdimf.c (__fdimf): Likewise.
38310         * math/s_fdiml.c (__fdiml): Likewise.
38311         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38312         errno is unchanged.
38314 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38316         * argp/argp-help.c: Fix typos.
38317         * crypt/speeds.c: Likewise.
38318         * csu/check_fds.c: Likewise.
38319         * elf/dl-load.c: Likewise.
38320         * elf/dl-open.c: Likewise.
38321         * elf/reldep3.c: Likewise.
38322         * elf/reldep.c: Likewise.
38323         * elf/sprof.c: Likewise.
38324         * iconv/iconv_charmap.c: Likewise.
38325         * iconv/skeleton.c: Likewise.
38326         * iconv/strtab.c: Likewise.
38327         * io/lockf64.c: Likewise.
38328         * libio/libioP.h: Likewise.
38329         * resolv/gai_notify.c: Likewise.
38330         * resolv/ns_name.c: Likewise.
38331         * resolv/ns_samedomain.c: Likewise.
38332         * resolv/res_send.c: Likewise.
38333         * stdlib/random.c: Likewise.
38334         * sunrpc/rpc/xdr.h: Likewise.
38335         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38336         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38337         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38338         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38339         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38340         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38342         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38343         * sysdeps/mach/hurd/check_fds.c: Likewise.
38344         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38345         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38346         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38347         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38348         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38349         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38350         * sysdeps/pthread/aio_notify.c: Likewise.
38351         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38352         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38353         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38354         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38355         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38357 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38359         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38360         version if bit_Slow_SSE4_2 is set.
38361         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38362         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38364 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38366         [BZ #15867]
38367         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38368         trampoline stack frame information.
38369         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38370         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38371         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38372         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38373         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38374         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38375         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38376         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38377         sa_flags value.
38378         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38379         interrupting a syscall and set with option SA_SIGINFO.
38381 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38383         [BZ #15531]
38384         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38385         argument is infinite.
38386         * math/s_cprojf.c (__cprojf): Likewise.
38387         * math/s_cprojl.c (__cprojl): Likewise.
38388         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38389         * math/libm-test.inc (cproj_test_data): Add more tests.
38391         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38393         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38394         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38395         size.  Use __ffs to determine corresponding shift.
38397 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38398             Roland McGrath  <roland@hack.frob.com>
38400         * Makefile (INSTALL): Remove trailing blank lines from output of
38401         makeinfo.
38403 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38405         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38406         Align 32 bit compat elf_greg to 8 bytes.
38408 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38410         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38412 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38414         * string/strcoll_l.c (coll_seq): New structure.
38415         (get_next_seq_cached): New function.
38416         (get_next_seq): New function.
38417         (do_compare): New function.
38418         (STRCOLL): Use GNU style definition.  Simplify implementation
38419         by using get_next_seq, get_next_seq_cached and do_compare.
38421 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38423         [BZ #14699]
38424         CVE-2013-4237
38425         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38426         member.
38427         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38428         member.
38429         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38430         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38431         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38432         conditional.
38433         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38434         GETDENTS_64BIT_ALIGNED.
38435         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38436         * manual/filesys.texi (Reading/Closing Directory): Document
38437         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38438         strongly.
38439         * manual/conf.texi (Limits for Files): Add portability note to
38440         NAME_MAX, PATH_MAX.
38441         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38443 2013-08-13  Andreas Schwab  <schwab@suse.de>
38445         [BZ #15749]
38446         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38447         of fabs.
38448         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38449         LDBL_MAX_EXP >= 16384]: Add tests for it.
38451 2013-08-12  David S. Miller  <davem@davemloft.net>
38453         * version.h (RELEASE): Set to "development".
38454         (VERSION): Set to "2.18.90".
38455         * NEWS: Add 2.19 section.
38457 2013-08-03  David S. Miller  <davem@davemloft.net>
38459         * po/ko.po: Update Korean translation from translation project.
38461 2013-08-01  David S. Miller  <davem@davemloft.net>
38463         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38464         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38465         Bilka.
38467 2013-07-30  David S. Miller  <davem@davemloft.net>
38469         * po/fr.po: Update French translation from translation project.
38471 2013-07-28  David S. Miller  <davem@davemloft.net>
38473         * po/cs.po: Update Czech translation from translation project.
38475         * po/sv.po: Update Swedish translation from translation project.
38477 2013-07-27  David S. Miller  <davem@davemloft.net>
38479         * po/eo.po: Update Esperanto translation from translation project.
38481         * po/vi.po: Update Vietnamese translation from translation project.
38483         * po/de.po: Update German translation from translation project.
38485 2013-07-26  David S. Miller  <davem@davemloft.net>
38487         * po/bg.po: Update Bulgarian translation from translation project.
38489         * po/nl.po: Update Dutch translation from translation project.
38490         * po/pl.po: Update Polish translation from translation project.
38491         * po/ru.po: Update Russian translation from translation project.
38493 2013-07-24  David S. Miller  <davem@davemloft.net>
38495         * po/libc.pot: Update.
38497 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38499         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38500         variable page size.
38501         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38502         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38503         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38505 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38507         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38509 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38510             Andreas Schwab  <schwab@suse.de>
38511             Roland McGrath  <roland@hack.frob.com>
38512             Joseph Myers  <joseph@codesourcery.com>
38513             Carlos O'Donell  <carlos@redhat.com>
38515         [BZ #15755]
38516         * config.h.in: Define HAVE_PT_CHOWN.
38517         * config.make.in (build-pt-chown): New variable.
38518         * configure.in (--enable-pt_chown): New configure option.
38519         * configure: Regenerate.
38520         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38521         build-pt-chown is enabled.
38522         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38523         pt_chown to fix pty ownership.
38524         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38525         CLOSE_ALL_FDS.
38526         * manual/install.texi (Configuring and compiling): Mention
38527         --enable-pt_chown. Add @findex for grantpt.
38528         * INSTALL: Regenerate.
38530 2013-07-20  David S. Miller  <davem@davemloft.net>
38532         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38533         difference between 32-bit and 64-bit.
38535 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38537         [BZ #15711]
38538         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38539         Avoid system header dependency with -ffreestanding.
38540         ($(objpfx)bits/syscall%d): Likewise.
38542 2013-07-13  David S. Miller  <davem@davemloft.net>
38544         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38545         underflows from atanl/atan2l due to bug 15319.
38546         (casinh_test_data): Likewise.
38548 2013-07-07  David S. Miller  <davem@davemloft.net>
38550         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38552 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38554         * sysdeps/i386/fpu/libm-test-ulps: Update.
38555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38557 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38559         * configure.in (--enable-lock-elision): Fix message text.
38560         * INSTALL: Regenerate.
38561         * configure: Regenerate.
38563 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38567 2013-07-03  Andreas Jaeger  <aj@suse.de>
38569         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38570         define.
38571         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38572         (ptrace_peeksiginfo_args): Add.
38573         (__ptrace_peeksiginfo_flags): Add.
38574         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38575         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38578 2013-07-03  Allan McRae  <allan@archlinux.org>
38580         * sysdeps/i386/fpu/libm-test-ulps: Update.
38582 2013-07-02  David S. Miller  <davem@davemloft.net>
38584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38586 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38590 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38592         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38595 2013-07-02  Andi Kleen <ak@linux.intel.com>
38597         * config.h.in (ENABLE_LOCK_ELISION): Add.
38598         * configure.in (--enable-lock-elision): Add option.
38599         * manual/install.texi: Document --enable lock elision.
38600         * configure: Regenerate
38601         * INSTALL: Regenerate.
38603 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38605         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38606         SSE4.2 strcasecmp for libc.a.
38607         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38609 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38611         [BZ #13304]
38612         * soft-fp/op-common.h (_FP_FMA): New macro.
38613         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38614         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38615         (_FP_MUL_MEAT_1_imm): ... here.
38616         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38617         (_FP_MUL_MEAT_1_wide): ... here.
38618         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38619         (_FP_MUL_MEAT_1_hard): ... here.
38620         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38621         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38622         (_FP_MUL_MEAT_2_wide): ... here.
38623         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38624         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38625         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38626         (_FP_MUL_MEAT_2_gmp): ... here.
38627         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38628         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38629         (_FP_MUL_MEAT_4_wide): ... here.
38630         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38631         (_FP_MUL_MEAT_4_gmp): ... here.
38632         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38633         (_FP_WFRACBITS_DW_S): Likewise.
38634         (_FP_WFRACXBITS_DW_S): Likewise.
38635         (_FP_HIGHBIT_DW_S): Likewise.
38636         (FP_FMA_S): Likewise.
38637         (_FP_FRAC_HIGH_DW_S): Likewise.
38638         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38639         (_FP_WFRACBITS_DW_D): Likewise.
38640         (_FP_WFRACXBITS_DW_D): Likewise.
38641         (_FP_HIGHBIT_DW_D): Likewise.
38642         (FP_FMA_D): Likewise.
38643         (_FP_FRAC_HIGH_DW_D): Likewise.
38644         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38645         (_FP_WFRACBITS_DW_E): Likewise.
38646         (_FP_WFRACXBITS_DW_E): Likewise.
38647         (_FP_HIGHBIT_DW_E): Likewise.
38648         (FP_FMA_E): Likewise.
38649         (_FP_FRAC_HIGH_DW_E): Likewise.
38650         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38651         (_FP_WFRACBITS_DW_Q): Likewise.
38652         (_FP_WFRACXBITS_DW_Q): Likewise.
38653         (_FP_HIGHBIT_DW_Q): Likewise.
38654         (FP_FMA_Q): Likewise.
38655         (_FP_FRAC_HIGH_DW_Q): Likewise.
38656         * soft-fp/fmasf4.c: New file.
38657         * soft-fp/fmadf4.c: Likewise.
38658         * soft-fp/fmatf4.c: Likewise.
38660 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38663         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38664         Silvermont.
38665         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38666         macro.
38667         (index_Slow_SSE4_2): Likewise.
38668         (index_Prefer_PMINUB_for_stringop): Likewise.
38669         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38670         bit_Slow_SSE4_2 is set.
38671         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38672         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38674 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38676         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38677         rtld_global._dl_hwcap2.
38678         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38679         POWER8.
38680         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38681         POWER8 feature descriptions defined in _dl_hwcap2.
38682         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38683         string handling for POWER8 feature bits.
38684         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38685         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38686         _dl_powerpc_cap_flags.
38687         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38688         * sysdeps/powerpc/rtld-global-offsets.sym
38689         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38690         _dl_hwcap2 in the rtld_global_ro structure.
38692 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38694         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38695         hardware capabilities in support of AT_HWCAP2.
38696         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38697         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38698         GLRO(dl_hwcap2).
38699         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38700         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38701         explicitly the unknown a_type display mechanism is used.
38702         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38703         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38704         struct member.
38705         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38706         to macro prototype for AT_HWCAP2 support.
38707         * sysdeps/i386/dl-procinfo.h: Likewise.
38708         * sysdeps/s390/dl-procinfo.h: Likewise.
38709         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38710         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38711         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38712         return -1 for unknown a_type display fallback.
38713         * sysdeps/sparc/dl-procinfo.h: Likewise.
38714         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38715         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38717 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38719         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38720         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38722 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38724         [BZ #12492]
38725         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38726         mprotect making __stack_prot writable.
38728 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38729             Joseph Myers  <joseph@codesourcery.com>
38731         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38732         as being properly aligned.
38734 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38736         * dlfcn/modstatic5.c: New file.
38737         * dlfcn/tststatic5.c: New file.
38738         * dlfcn/Makefile (tests): Add tststatic5.
38739         (tests-static): Likewise.
38740         (modules-names): Add modstatic5.
38741         (tststatic5-ENV): New variable.
38742         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38744         [BZ #15022]
38745         * elf/dl-support.c (_dl_main_map): New variable.
38746         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38747         (_dl_nns, _dl_load_adds): Set to 1.
38748         (_dl_initial_searchlist): Refer to _dl_main_map.
38749         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38750         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38751         call to _dl_get_origin.
38752         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38753         around call_map.
38754         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38755         * dlfcn/modstatic3.c: New file.
38756         * dlfcn/tststatic3.c: New file.
38757         * dlfcn/tststatic4.c: New file.
38758         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38759         (tests-static): Likewise.
38760         (modules-names): Add modstatic3.
38761         (tststatic3-ENV, tststatic4-ENV): New variables.
38762         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38763         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38765 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38767         * configure.in (CC): Require GCC version 4.4 or later.
38768         * configure: Regenerated.
38769         * manual/install.texi (Tools for Compilation): Update GCC version
38770         requirement.
38771         * INSTALL: Regenerated.
38773 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38775         [BZ #15674]
38776         * string/test-memcmp.c (check2): New.
38777         (main): Call check2.
38779         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38781 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38783         [BZ #15022]
38784         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38785         over to...
38786         (dl_open_worker) [!SHARED]: ... here.
38788 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38790         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38792 2013-06-25  Richard Henderson  <rth@redhat.com>
38794         * locale/programs/locarchive.c: Include <libc-internal.h>
38796 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38798         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38799         trailing whitespace removed.
38801 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38803         [BZ #10283]
38804         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38805         * locale/programs/locarchive.c: Include libc-mmap.h.
38806         (prepare_address_space): Take two new outputs (the mmap base and len).
38807         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38808         values.
38809         (create_archive): Declare new mmap base and len values for
38810         prepare_address_space, and store the result in ah.
38811         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38812         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38813         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38814         Declare new mmap base and len values for
38815         prepare_address_space, and store the result in new_ah.
38816         (open_archive): Declare new mmap base and len values for
38817         prepare_address_space, and store the result in ah.
38818         (close_archive): If ah->mmap_base is not NULL, use that and
38819         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38820         * sysdeps/generic/libc-mmap.h: New file.
38822 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38824         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38825         (ALIGN_UP): Likewise.
38826         (PTR_ALIGN_DOWN): Likewise.
38827         (PTR_ALIGN_UP): Likewise.
38829 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38831         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38832         entry mapped to PPC_PLATFORM_POWER8.
38833         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38834         POWER8.
38835         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38836         (_dl_string_platform): Add case for exporting platform position for
38837         POWER8.
38838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38839         search path to sysdeps/powerpc/powerpc32/power8 directory.
38840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38841         search path to sysdeps/powerpc/powerpc64/power8 directory.
38842         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38843         power7 directories.
38844         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38845         power7 directories.
38847 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38849         * INSTALL: Regenerate.
38851         * nscd/connections.c (nscd_init): Fix comment.
38853 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38855         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38857         [BZ #15667]
38858         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38859         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38861 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38863         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38864         DL_DST_REQ_STATIC.
38865         (DL_DST_REQ_STATIC): Remove macro.
38867 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38869         [BZ #7006]
38870         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38871         with a shift of 0 bits.
38873 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38875         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38876         $(tststatic-ENV).
38878 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38880         [BZ #15655]
38881         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38883 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38885         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38886         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38887         accepts -fno-tree-loop-distribute-patterns.
38888         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38889         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38890         recursive call.
38891         * string/memset.c (memset): Likewise.
38892         * string/test-memmove.c (simple_memmove): Disable loop transformation
38893         to library calls.
38894         * string/test-memset.c (simple_memset): Likewise.
38895         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38896         * benchtests/bench-memset.c (simple_memset): Likewise.
38897         * configure: Regenerated.
38899 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38901         * math/test-misc.c (main): Ignore fesetround failure when failures
38902         of subsequent rounding tests would be ignored.
38904         [BZ #15654]
38905         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38906         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38907         * math/fegetenv.c (__fegetenv): Return 0.
38908         * math/fegetexcept.c (fegetexcept): Return 0.
38909         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38910         FE_TONEAREST.
38911         * math/feholdexcpt.c (feholdexcept): Return 0.
38912         * math/fesetenv.c (__fesetenv): Return 0.
38913         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38914         argument FE_TONEAREST.
38915         * math/feupdateenv.c (__feupdateenv): Return 0.
38916         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38918 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38920         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38921         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38922         ($(objpfx)rtld-%.os rules): Use them.
38924 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38926         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38927         fields.
38929 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38931         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38932         length of target pattern, then descending length of dependency pattern.
38933         * configure.in (AWK): Require gawk 3.1.2 or newer.
38934         * manual/install.texi (Tools for Compilation): Say that we do.
38935         * configure: Regenerated.
38937         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38938         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38939         * scripts/sysd-rules.awk: ... this new script.
38940         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38941         than a glob-style pattern.
38943 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38945         * math/test-misc.c (main): Do not treat incorrectly rounded
38946         conversions as failure unless ROUNDING_TESTS passes.
38948 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #15631]
38951         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38952         restore exception state around main square root computation, then
38953         check for inexactness explicitly.
38955         * math/libm-test.inc (fma_test_data): Add another test.
38957 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38959         * manual/threads.texi (Non-POSIX Extensions): New document
38960         node.  Document pthread_getattr_default_np and
38961         pthread_setattr_default_np.
38963         * Versions.def (libpthread): Add GLIBC_2.18.
38964         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38966         Likewise.
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38968         Likewise.
38969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38970         Likewise.
38971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38972         Likewise.
38973         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38974         Likewise.
38975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38976         Likewise.
38977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38978         Likewise.
38979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38980         Likewise.
38981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38982         Likewise.
38984 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38987         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38989 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38990             H.J. Lu  <hjl.tools@gmail.com>
38992         [BZ #15627]
38993         * sysdeps/x86_64/rtld-memset.c: Remove file.
38994         * sysdeps/x86_64/rtld-memset.S: New file.
38996 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38998         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38999         (test_in_one_mode): Take arguments for whether the rounding mode
39000         is supported for each floating-point type.
39001         (do_test): Pass new arguments to test_in_one_mode using
39002         ROUNDING_TESTS.
39004 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39006         * posix/tst-waitid.c (do_test): Distinguish different instances of
39007         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39008         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39009         before entering the kernel for waitpid.
39011 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39013         * NEWS: Fix note on clock function precision.  Text by Roland
39014         McGrath.
39016 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39018         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39019         it into place only when and if the sanity check passes.
39021 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39023         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39024         output for whether conversion result is exact.  Take argument
39025         indicating whether type is IBM long double.
39026         (round_for_all): Change need_exact field to ibm_ld.
39027         * stdlib/tst-strtod-round.c (struct exactness): New type.
39028         (struct test): Change bool ld_ok field to struct exactness exact.
39029         (TEST): Update all definitions for change to field.
39030         (tests): Regenerate array contents.
39031         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39032         field value.  Check for IBM long double here.
39033         (do_test): Update calls to test_in_one_mode.
39035 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39037         [BZ #12515]
39038         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39039         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39041 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39043         [BZ #15605]
39044         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39045         generated by the compiler on loop optimizations.
39046         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39047         general definitions.
39049 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39051         * math/bug-nextafter.c: Include <math-tests.h>.
39052         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39053         the relevant type.
39054         * math/bug-nexttoward.c: Include <math-tests.h>.
39055         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39056         the relevant type.
39057         * math/test-misc.c: Include <math-tests.h>.
39058         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39059         the relevant type.
39061 2013-06-12  Andreas Jaeger  <aj@suse.de>
39063         * po/ia.po: Update Interlingua translation from translation
39064         project.
39066 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39068         * include/fenv.h: Include stdbool.h.
39069         (struct rm_ctx): New structure.
39070         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39071         Define macro.
39072         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39073         (SET_RESTORE_ROUNDF): Likewise.
39074         (SET_RESTORE_ROUNDL): Likewise.
39075         (SET_RESTORE_ROUND_NOEX): Likewise.
39076         (SET_RESTORE_ROUND_NOEXF): Likewise.
39077         (SET_RESTORE_ROUND_NOEXL): Likewise.
39078         (SET_RESTORE_ROUND_53BIT): Likewise.
39079         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39080         (libc_feresetround_noexf_ctx): Likewise.
39081         (libc_feresetround_noexl_ctx): Likewise.
39082         (libc_feholdsetround_53bit_ctx): Likewise.
39083         (libc_feresetround_53bit_ctx): Likewise.
39084         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39085         (libc_feholdexcept_setround_sse_ctx): New function.
39086         (libc_fesetenv_sse_ctx): Likewise.
39087         (libc_feupdateenv_sse_ctx): Likewise.
39088         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39089         (libc_feholdexcept_setround_387_ctx): Likewise.
39090         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39091         (libc_feholdsetround_387_prec_ctx): Likewise.
39092         (libc_feholdsetround_387_ctx): Likewise.
39093         (libc_feholdsetround_387_53bit_ctx): Likewise.
39094         (libc_feholdsetround_sse_ctx): Likewise.
39095         (libc_feresetround_sse_ctx): Likewise.
39096         (libc_feresetround_387_ctx): Likewise.
39097         (libc_feupdateenv_387_ctx): Likewise.
39098         (libc_feholdexcept_setroundf_ctx): Define macro.
39099         (libc_fesetenvf_ctx): Likewise.
39100         (libc_feupdateenvf_ctx): Likewise.
39101         (libc_feholdsetroundf_ctx): Likewise.
39102         (libc_feresetroundf_ctx): Likewise.
39103         (libc_feholdexcept_setround_ctx): Likewise.
39104         (libc_fesetenv_ctx): Likewise.
39105         (libc_feupdateenv_ctx): Likewise.
39106         (libc_feholdsetround_ctx): Likewise.
39107         (libc_feresetround_ctx): Likewise.
39108         (libc_feholdexcept_setroundl_ctx): Likewise.
39109         (libc_feupdateenvl_ctx): Likewise.
39110         (libc_feholdsetroundl_ctx): Likewise.
39111         (libc_feresetroundl_ctx): Likewise.
39112         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39113         (libc_feresetround_53bit_ctx): Likewise.
39115 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39117         * locale/iso-639.def: Convert to UTF-8.
39119 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39121         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39122         (EXCEPTION_TESTS_double): Likewise.
39123         (EXCEPTION_TESTS_long_double): Likewise.
39124         (EXCEPTION_TESTS): Likewise.
39125         * math/libm-test.inc (test_exceptions): Only test exceptions if
39126         EXCEPTION_TESTS (FLOAT).
39128 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39130         * benchtests/Makefile (string-bench): Add strcpy_chk and
39131         stpcpy_chk.
39132         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39133         * benchtests/bench-stpcpy_chk.c: New file.
39134         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39135         * benchtests/bench-strcpy_chk.c: New file.
39136         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39137         code.
39138         (do_test): Likewise.
39140 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39143         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39144         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39145         with tabs where appropriate.
39146         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39147         dl-procinfo.h.
39148         [PPC_PLATFORM_PPC440]: Likewise.
39149         [PPC_PLATFORM_PPC464]: Likewise.
39150         [PPC_PLATFORM_PPC476]: Likewise.
39151         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39152         ppc464, and ppc476 platform strings merging from ports/
39153         dl-procinfo.h.
39155 2013-06-11  Andreas Schwab  <schwab@suse.de>
39157         [BZ #14991]
39158         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39159         (from_ucs4_idx): Regenerate.
39160         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39161         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39162         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39163         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39164         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39165         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39166         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39167         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39168         from FROM_LOOP and TO_LOOP specific macros.
39169         (BODY): Handle combining characters.
39170         * iconvdata/BIG5HKSCS.irreversible: Update.
39171         * iconvdata/BIG5HKSCS.precomposed: New file.
39172         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39173         characters.
39174         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39176 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39178         * include/sys/time.h: Fix indentation and add copyright header.
39180         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39181         (do_test): Likewise.
39182         * string/test-memchr.c (do_one_test): Likewise.
39183         (do_test): Likewise.
39184         * string/test-memcmp.c (do_one_test): Likewise.
39185         (do_test): Likewise.
39186         * string/test-memcpy.c (do_one_test): Likewise.
39187         (do_test): Likewise.
39188         * string/test-memmem.c (do_one_test): Likewise.
39189         (do_test): Likewise.
39190         (do_random_tests): Likewise.
39191         * string/test-memmove.c (do_one_test): Likewise.
39192         (do_test): Likewise.
39193         * string/test-memset.c (do_one_test): Likewise.
39194         (do_test): Likewise.
39195         * string/test-rawmemchr.c (do_one_test): Likewise.
39196         (do_test): Likewise.
39197         * string/test-strcasecmp.c (do_one_test): Likewise.
39198         (do_test): Likewise.
39199         * string/test-strcasestr.c (do_one_test): Likewise.
39200         (do_test): Likewise.
39201         * string/test-strcat.c (do_one_test): Likewise.
39202         (do_test): Likewise.
39203         * string/test-strchr.c (do_one_test): Likewise.
39204         (do_test): Likewise.
39205         * string/test-strcmp.c (do_one_test): Likewise.
39206         (do_test): Likewise.
39207         * string/test-strcpy.c (do_one_test): Likewise.
39208         (do_test): Likewise.
39209         * string/test-string.h: Likewise.
39210         (test_init): Likewise.
39211         * string/test-strlen.c (do_one_test): Likewise.
39212         (do_test): Likewise.
39213         * string/test-strncasecmp.c (do_one_test): Likewise.
39214         (do_test): Likewise.
39215         * string/test-strncat.c (do_one_test): Likewise.
39216         (do_test): Likewise.
39217         * string/test-strncmp.c (do_one_test): Likewise.
39218         (do_test_limit): Likewise.
39219         (do_test): Likewise.
39220         * string/test-strncpy.c (do_one_test): Likewise.
39221         (do_test): Likewise.
39222         * string/test-strnlen.c (do_one_test): Likewise.
39223         (do_test): Likewise.
39224         * string/test-strpbrk.c (do_one_test): Likewise.
39225         (do_test): Likewise.
39226         * string/test-strrchr.c (do_one_test): Likewise.
39227         (do_test): Likewise.
39228         * string/test-strspn.c (do_one_test): Likewise.
39229         (do_test): Likewise.
39230         * string/test-strstr.c (do_one_test): Likewise.
39231         (do_test): Likewise.
39233         * benchtests/Makefile (string-bench): Add string benchmarks.
39234         * benchtests/bench-bcopy-ifunc.c: New file.
39235         * benchtests/bench-bcopy.c: New file.
39236         * benchtests/bench-bzero-ifunc.c: New file.
39237         * benchtests/bench-bzero.c: New file.
39238         * benchtests/bench-memccpy-ifunc.c: New file.
39239         * benchtests/bench-memccpy.c: New file.
39240         * benchtests/bench-memchr-ifunc.c: New file.
39241         * benchtests/bench-memchr.c: New file.
39242         * benchtests/bench-memcmp-ifunc.c: New file.
39243         * benchtests/bench-memcmp.c: New file.
39244         * benchtests/bench-memmem-ifunc.c: New file.
39245         * benchtests/bench-memmem.c: New file.
39246         * benchtests/bench-memmove-ifunc.c: New file.
39247         * benchtests/bench-memmove.c: New file.
39248         * benchtests/bench-mempcpy-ifunc.c: New file.
39249         * benchtests/bench-mempcpy.c: New file.
39250         * benchtests/bench-memset-ifunc.c: New file.
39251         * benchtests/bench-memset.c: New file.
39252         * benchtests/bench-rawmemchr-ifunc.c: New file.
39253         * benchtests/bench-rawmemchr.c: New file.
39254         * benchtests/bench-stpcpy-ifunc.c: New file.
39255         * benchtests/bench-stpcpy.c: New file.
39256         * benchtests/bench-stpncpy-ifunc.c: New file.
39257         * benchtests/bench-stpncpy.c: New file.
39258         * benchtests/bench-strcasecmp-ifunc.c: New file.
39259         * benchtests/bench-strcasecmp.c: New file.
39260         * benchtests/bench-strcasestr-ifunc.c: New file.
39261         * benchtests/bench-strcasestr.c: New file.
39262         * benchtests/bench-strcat-ifunc.c: New file.
39263         * benchtests/bench-strcat.c: New file.
39264         * benchtests/bench-strchr-ifunc.c: New file.
39265         * benchtests/bench-strchr.c: New file.
39266         * benchtests/bench-strchrnul-ifunc.c: New file.
39267         * benchtests/bench-strchrnul.c: New file.
39268         * benchtests/bench-strcmp-ifunc.c: New file.
39269         * benchtests/bench-strcmp.c: New file.
39270         * benchtests/bench-strcpy-ifunc.c: New file.
39271         * benchtests/bench-strcpy.c: New file.
39272         * benchtests/bench-strcspn-ifunc.c: New file.
39273         * benchtests/bench-strcspn.c: New file.
39274         * benchtests/bench-strlen-ifunc.c: New file.
39275         * benchtests/bench-strlen.c: New file.
39276         * benchtests/bench-strncasecmp-ifunc.c: New file.
39277         * benchtests/bench-strncasecmp.c: New file.
39278         * benchtests/bench-strncat-ifunc.c: New file.
39279         * benchtests/bench-strncat.c: New file.
39280         * benchtests/bench-strncmp-ifunc.c: New file.
39281         * benchtests/bench-strncmp.c: New file.
39282         * benchtests/bench-strncpy-ifunc.c: New file.
39283         * benchtests/bench-strncpy.c: New file.
39284         * benchtests/bench-strnlen-ifunc.c: New file.
39285         * benchtests/bench-strnlen.c: New file.
39286         * benchtests/bench-strpbrk-ifunc.c: New file.
39287         * benchtests/bench-strpbrk.c: New file.
39288         * benchtests/bench-strrchr-ifunc.c: New file.
39289         * benchtests/bench-strrchr.c: New file.
39290         * benchtests/bench-strspn-ifunc.c: New file.
39291         * benchtests/bench-strspn.c: New file.
39292         * benchtests/bench-strstr-ifunc.c: New file.
39293         * benchtests/bench-strstr.c: New file.
39295         * benchtests/Makefile: Disable parallel execution of targets.
39296         (string-bench): Add memcpy.
39297         (benchset): New variable to store a list of benchmark sets.
39298         (bench-func): Renamed from bench.
39299         (bench-set): New target.
39300         (bench): Depend on bench-func and bench-set.
39301         * benchtests/README: Add section on benchmark sets.
39302         * benchtests/bench-memcpy-ifunc.c: New file.
39303         * benchtests/bench-memcpy.c: New file.
39304         * benchtests/bench-string.h: New file.
39306 2013-06-11  Andreas Schwab  <schwab@suse.de>
39308         [BZ #15577]
39309         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39310         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39311         values in the triple.
39312         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39313         terminator in the group key.
39315 2013-06-11  Andreas Jaeger  <aj@suse.de>
39317         * po/zh_TW.po: Update Chinese (traditional) translation from
39318         translation project.
39320 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39322         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39323         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39324         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39325         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39326         (clock_getcpuclockid): Likewise.
39327         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39328         Add weak_alias and libc_hidden_def.
39329         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39330         * rt/clock_gettime.c (clock_gettime): Rename to
39331         __clock_gettime.  Add weak_alias and libc_hidden_def.
39332         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39333         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39334         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39335         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39336         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39337         Likewise.
39338         * rt/clock_settime.c (clock_settime): Rename to
39339         __clock_settime.  Add weak_alias and libc_hidden_def.
39340         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39342 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39344         * mach/err_boot.sub: Remove trailing whitespace.
39345         * mach/err_ipc.sub: Likewise.
39346         * mach/err_mach.sub: Likewise.
39348         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39349         (ROUNDING_TESTS_double): Likewise.
39350         (ROUNDING_TESTS_long_double): Likewise.
39351         (ROUNDING_TESTS): Likewise.
39352         * math/libm-test.inc: Include <math-tests.h>.
39353         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39354         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39355         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39356         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39358 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39360         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39361         of assigning.
39363 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39365         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39366         otherwise empty TRANS lines.
39367         * sysdeps/gnu/errlist.c: Regenerated.
39369         * catgets/gencat.c (error_print): Use (void) in function
39370         definition.
39371         * crypt/crypt_util.c (__init_des): Likewise.
39372         * crypt/speeds.c (Stop): Likewise.
39373         (main): Likewise.
39374         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39375         * inet/ruserpass.c (token): Likewise.
39376         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39377         * intl/localealias.c (extend_alias_table): Likewise.
39378         * intl/plural-exp.c (init_germanic_plural): Likewise.
39379         * libio/fcloseall.c (__fcloseall): Likewise.
39380         * libio/genops.c (_IO_flush_all): Likewise.
39381         (_IO_flush_all_linebuffered): Likewise.
39382         (_IO_cleanup): Likewise.
39383         (_IO_iter_begin): Likewise.
39384         (_IO_iter_end): Likewise.
39385         (_IO_list_lock): Likewise.
39386         (_IO_list_unlock): Likewise.
39387         (_IO_list_resetlock): Likewise.
39388         * libio/getchar.c (getchar): Likewise.
39389         * libio/getchar_u.c (getchar_unlocked): Likewise.
39390         * libio/getwchar.c (getwchar): Likewise.
39391         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39392         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39393         * login/getpt.c (__getpt): Likewise.
39394         * login/tst-utmp.c (main): Likewise.
39395         * malloc/hooks.c (__malloc_check_init): Likewise.
39396         * malloc/malloc.c (__malloc_stats): Likewise.
39397         * malloc/mtrace.c (tr_break): Likewise.
39398         (mtrace): Likewise.
39399         (muntrace): Likewise.
39400         * misc/fstab.c (endfsent): Likewise.
39401         * misc/getclktck.c (__getclktck): Likewise.
39402         * misc/getdtsz.c (__getdtablesize): Likewise.
39403         * misc/gethostid.c (gethostid): Likewise.
39404         * misc/getpagesize.c (__getpagesize): Likewise.
39405         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39406         (__get_nprocs): Likewise.
39407         (__get_phys_pages): Likewise.
39408         (__get_avphys_pages): Likewise.
39409         * misc/getttyent.c (getttyent): Likewise.
39410         (setttyent): Likewise.
39411         (endttyent): Likewise.
39412         * misc/getusershell.c (getusershell): Likewise.
39413         (endusershell): Likewise.
39414         (setusershell): Likewise.
39415         (initshells): Likewise.
39416         * misc/hsearch.c (__hdestroy): Likewise.
39417         * misc/sync.c (sync): Likewise.
39418         * misc/syslog.c (closelog_internal): Likewise.
39419         (closelog): Likewise.
39420         * misc/ttyslot.c (ttyslot): Likewise.
39421         * misc/vhangup.c (vhangup): Likewise.
39422         * posix/fork.c (__fork): Likewise.
39423         * posix/getegid.c (__getegid): Likewise.
39424         * posix/geteuid.c (__geteuid): Likewise.
39425         * posix/getgid.c (__getgid): Likewise.
39426         * posix/getpid.c (__getpid): Likewise.
39427         * posix/getppid.c (__getppid): Likewise.
39428         * posix/getuid.c (__getuid): Likewise.
39429         * posix/pause.c (pause): Likewise.
39430         * posix/setpgrp.c (setpgrp): Likewise.
39431         * posix/setsid.c (__setsid): Likewise.
39432         * posix/test-vfork.c (noop): Likewise.
39433         * resolv/gethnamaddr.c (_endhtent): Likewise.
39434         (_gethtent): Likewise.
39435         (ht_endhostent): Likewise.
39436         (gethostent): Likewise.
39437         (dns_service): Likewise.
39438         * stdlib/drand48.c (drand48): Likewise.
39439         * stdlib/lrand48.c (lrand48): Likewise.
39440         * stdlib/mrand48.c (mrand48): Likewise.
39441         * stdlib/rand.c (rand): Likewise.
39442         * stdlib/random.c (__random): Likewise.
39443         * stdlib/setenv.c (clearenv): Likewise.
39444         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39445         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39446         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39447         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39448         (__get_nprocs): Likewise.
39449         (__get_phys_pages): Likewise.
39450         (__get_avphys_pages): Likewise.
39451         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39452         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39453         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39454         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39455         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39456         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39457         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39458         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39459         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39460         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39461         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39462         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39463         * sysdeps/posix/clock.c (clock): Likewise.
39464         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39465         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39466         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39467         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39468         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39469         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39470         (__get_nprocs_conf): Likewise.
39471         (__get_phys_pages): Likewise.
39472         (__get_avphys_pages): Likewise.
39473         * time/clock.c (clock): Likewise.
39474         * time/tzset.c (__tzname_max): Likewise.
39476 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39478         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39479         (__bswap_32): Do not use "register".
39480         * crypt/crypt.c (_ufc_doit_r): Likewise.
39481         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39482         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39483         * gmon/gmon.c (__monstartup): Likewise.
39484         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39485         * hurd/hurdmalloc.c (more_memory): Likewise.
39486         (malloc): Likewise.
39487         (free): Likewise.
39488         (realloc): Likewise.
39489         (malloc_fork_prepare): Likewise.
39490         (malloc_fork_parent): Likewise.
39491         (malloc_fork_child): Likewise.
39492         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39493         (_svcauth_des): Likewise.
39494         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39495         * inet/inet_net.c (inet_network): Likewise.
39496         * inet/inet_netof.c (inet_netof): Likewise.
39497         * inet/rcmd.c (__validuser2_sa): Likewise.
39498         * io/fts.c (fts_open): Likewise.
39499         (fts_load): Likewise.
39500         (fts_close): Likewise.
39501         (fts_read): Likewise.
39502         (fts_children): Likewise.
39503         (fts_build): Likewise.
39504         (fts_stat): Likewise.
39505         (fts_sort): Likewise.
39506         (fts_alloc): Likewise.
39507         (fts_lfree): Likewise.
39508         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39509         (_IO_file_xsgetn): Likewise.
39510         (_IO_file_xsgetn_mmap): Likewise.
39511         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39512         (_IO_cookie_write): Likewise.
39513         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39514         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39515         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39516         * malloc/obstack.c (_obstack_begin): Likewise.
39517         (_obstack_begin_1): Likewise.
39518         (_obstack_newchunk): Likewise.
39519         (_obstack_allocated_p): Likewise.
39520         (obstack_free): Likewise.
39521         (_obstack_memory_used): Likewise.
39522         * misc/getttyent.c (getttynam): Likewise.
39523         (getttyent): Likewise.
39524         (skip): Likewise.
39525         (value): Likewise.
39526         * misc/getusershell.c (initshells): Likewise.
39527         * misc/syslog.c (__vsyslog_chk): Likewise.
39528         * misc/ttyslot.c (ttyslot): Likewise.
39529         * nis/nis_hash.c (__nis_hash): Likewise.
39530         * posix/fnmatch_loop.c (FCT): Likewise.
39531         * posix/getconf.c (print_all): Likewise.
39532         (main): Likewise.
39533         * posix/getopt.c (exchange): Likewise.
39534         * posix/glob.c (globfree): Likewise.
39535         (prefix_array): Likewise.
39536         (__glob_pattern_type): Likewise.
39537         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39538         (NS_GET32): Likewise.
39539         (NS_PUT16): Likewise.
39540         (NS_PUT32): Likewise.
39541         * resolv/gethnamaddr.c (getanswer): Likewise.
39542         (gethostbyname2): Likewise.
39543         (gethostbyaddr): Likewise.
39544         (_gethtent): Likewise.
39545         (_gethtbyname2): Likewise.
39546         (_gethtbyaddr): Likewise.
39547         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39548         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39549         * resolv/res_init.c (__res_vinit): Likewise.
39550         (net_mask): Likewise.
39551         * resolv/res_mkquery.c (outchar): Likewise.
39552         (PRINT): Likewise.
39553         * stdio-common/printf_fp.c (outchar): Likewise.
39554         (PRINT): Likewise.
39555         * stdio-common/printf_fphex.c (outchar): Likewise.
39556         (PRINT): Likewise.
39557         * stdio-common/printf_size.c (outchar): Likewise.
39558         (PRINT): Likewise.
39559         * stdio-common/test_rdwr.c (main): Likewise.
39560         * stdio-common/tfformat.c (matches): Likewise.
39561         * stdio-common/vfprintf.c (outchar): Likewise.
39562         (printf_unknown): Likewise.
39563         (buffered_vfprintf): Likewise.
39564         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39565         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39566         (ReadFile): Likewise.
39567         * stdlib/qsort.c (SWAP): Likewise.
39568         (_quicksort): Likewise.
39569         * stdlib/setenv.c (__add_to_environ): Likewise.
39570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39571         * stdlib/strtol_l.c (__strtol_l): Likewise.
39572         * stdlib/tst-strtod.c (main): Likewise.
39573         * stdlib/tst-strtol.c (main): Likewise.
39574         * stdlib/tst-strtoll.c (main): Likewise.
39575         * string/bits/string2.h (__strcmp_cc): Likewise.
39576         (__strcmp_cg): Likewise.
39577         (__strcspn_c1): Likewise.
39578         (__strcspn_c2): Likewise.
39579         (__strcspn_c3): Likewise.
39580         (__strspn_c1): Likewise.
39581         (__strspn_c2): Likewise.
39582         (__strspn_c3): Likewise.
39583         (__strsep_1c): Likewise.
39584         (__strsep_2c): Likewise.
39585         (__strsep_3c): Likewise.
39586         * string/memccpy.c (__memccpy): Likewise.
39587         * string/stpcpy.c (__stpcpy): Likewise.
39588         * string/strcmp.c (strcmp): Likewise.
39589         * string/strrchr.c (strrchr): Likewise.
39590         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39591         Likewise.
39592         * sysdeps/mach/hurd/getcwd.c
39593         (_hurd_canonicalize_directory_name_internal): Likewise.
39594         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39595         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39596         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39597         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39598         Likewise, in both definitions.
39599         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39600         definitions.
39601         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39602         64] (__bswap_64): Likewise.
39603         * time/test_time.c (main): Likewise.
39604         * time/tzfile.c (__tzfile_read): Likewise.
39605         (__tzfile_compute): Likewise.
39606         * time/tzset.c (__tzset_parse_tz): Likewise.
39607         (tzset_internal): Likewise.
39608         (compute_change): Likewise.
39609         * wcsmbs/wcscat.c (__wcscat): Likewise.
39610         * wcsmbs/wcschr.c (wcschr): Likewise.
39611         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39612         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39613         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39614         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39615         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39616         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39617         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39618         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39619         * wcsmbs/wmemset.c (wmemset): Likewise.
39621 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39623         * scripts/config.guess: Update to version 2013-05-16.
39624         * scripts/config.sub: Update to version 2013-04-24.
39625         * scripts/install-sh: Update to version 2011-11-20.07.
39626         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39627         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39629 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39631         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39632         * elf/sln.c: Likewise.
39633         * hurd/hurd/ioctl.h: Likewise.
39634         * hurd/hurdmalloc.c: Likewise.
39635         * hurd/xattr.c: Likewise.
39636         * include/shlib-compat.h: Likewise.
39637         * inet/ruserpass.c: Likewise.
39638         * libio/iofgets_u.c: Likewise.
39639         * libio/iofgetws_u.c: Likewise.
39640         * locale/programs/ld-identification.c: Likewise.
39641         * locale/programs/ld-time.c: Likewise.
39642         * mach/msg-destroy.c: Likewise.
39643         * nss/nss_files/files-netgrp.c: Likewise.
39644         * resolv/res_data.c: Likewise.
39645         * soft-fp/op-1.h: Likewise.
39646         * soft-fp/op-2.h: Likewise.
39647         * soft-fp/op-4.h: Likewise.
39648         * soft-fp/op-common.h: Likewise.
39649         * stdio-common/printf_fphex.c: Likewise.
39650         * stdlib/strtod_l.c: Likewise.
39651         * sunrpc/rpc/clnt.h: Likewise.
39652         * sysdeps/generic/framestate.c: Likewise.
39653         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39654         * sysdeps/i386/bsd-setjmp.S: Likewise.
39655         * sysdeps/i386/__longjmp.S: Likewise.
39656         * sysdeps/i386/setjmp.S: Likewise.
39657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39658         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39659         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39660         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39661         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39662         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39663         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39674         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39675         * sysdeps/ieee754/support.c: Likewise.
39676         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39677         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39678         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39679         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39680         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39681         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39682         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39683         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39684         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39685         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39686         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39687         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39688         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39689         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39690         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39691         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39692         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39695 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39697         * posix/transbug.c: Remove executable mode.
39699 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39701         * crypt/speeds.c: Remove trailing whitespace.
39702         * dlfcn/default.c: Likewise.
39703         * elf/ifuncdep2.c: Likewise.
39704         * elf/ifuncmain1.c: Likewise.
39705         * elf/ifuncmain1vis.c: Likewise.
39706         * elf/testobj.h: Likewise.
39707         * elf/tst-stackguard1.c: Likewise.
39708         * gmon/sys/gmon.h: Likewise.
39709         * hurd/hurdmsg.c: Likewise.
39710         * hurd/new-fd.c: Likewise.
39711         * hurd/ports-get.c: Likewise.
39712         * iconvdata/ibm1008_420.c: Likewise.
39713         * inet/tst-getni1.c: Likewise.
39714         * inet/tst-getni2.c: Likewise.
39715         * libio/ioungetc.c: Likewise.
39716         * libio/wfiledoalloc.c: Likewise.
39717         * manual/libm-err-tab.pl: Likewise.
39718         * math/w_dremf.c: Likewise.
39719         * misc/ftruncate.c: Likewise.
39720         * posix/bug-glob2.c: Likewise.
39721         * posix/tst-pcre.c: Likewise.
39722         * posix/wait4.c: Likewise.
39723         * resolv/README: Likewise.
39724         * resolv/res_debug.h: Likewise.
39725         * resolv/tst-inet_ntop.c: Likewise.
39726         * setjmp/bug269-setjmp.c: Likewise.
39727         * soft-fp/extended.h: Likewise.
39728         * soft-fp/op-1.h: Likewise.
39729         * soft-fp/op-2.h: Likewise.
39730         * soft-fp/op-4.h: Likewise.
39731         * soft-fp/op-8.h: Likewise.
39732         * soft-fp/testit.c: Likewise.
39733         * stdio-common/bug16.c: Likewise.
39734         * stdlib/random.c: Likewise.
39735         * sunrpc/rpcsvc/rquota.x: Likewise.
39736         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39737         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39739         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39740         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39741         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39742         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39743         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39744         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39745         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39746         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39747         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39748         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39749         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39750         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39752         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39754         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39760         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39764         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39765         * sysdeps/ieee754/s_lib_version.c: Likewise.
39766         * sysdeps/mach/hurd/check_fds.c: Likewise.
39767         * sysdeps/mach/hurd/getsockname.c: Likewise.
39768         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39769         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39770         * sysdeps/powerpc/bits/link.h: Likewise.
39771         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39772         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39773         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39774         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39775         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39776         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39777         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39778         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39779         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39780         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39781         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39782         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39783         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39784         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39785         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39786         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39791         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39792         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39794         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39795         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39796         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39797         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39798         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39799         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39801         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39802         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39803         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39805         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39806         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39807         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39808         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39809         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39810         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39811         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39812         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39813         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39814         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39815         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39816         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39817         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39818         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39819         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39820         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39823         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39824         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39825         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39826         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39827         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39828         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39829         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39830         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39831         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39832         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39833         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39834         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39835         * sysdeps/powerpc/sysdep.h: Likewise.
39836         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39837         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39838         * sysdeps/sh/dl-trampoline.S: Likewise.
39839         * sysdeps/sh/memset.S: Likewise.
39840         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39841         * sysdeps/sh/strlen.S: Likewise.
39842         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39843         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39844         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39845         * sysdeps/sparc/sparc32/rem.S: Likewise.
39846         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39847         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39848         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39849         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39850         * sysdeps/sparc/sparc32/urem.S: Likewise.
39851         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39852         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39853         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39854         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39855         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39856         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39857         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39858         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39859         * sysdeps/unix/bsd/times.c: Likewise.
39860         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39861         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39866         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39867         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39868         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39869         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39871         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39872         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39873         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39874         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39875         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39876         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39877         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39878         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39879         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39880         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39881         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39882         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39883         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39884         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39885         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39886         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39887         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39888         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39889         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39890         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39891         * sysdeps/x86_64/strcspn.S: Likewise.
39893 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39895         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39896         generated file.  Regenerate properly from gen-translit.pl.
39897         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39898         locale/C-translit.h.
39900 2013-06-05  Andreas Schwab  <schwab@suse.de>
39902         [BZ #15100]
39903         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39904         week as 6 instead of -1.
39905         * time/tst-strptime.c (day_tests): Add test case.
39907 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39909         * sysdeps/generic/math_private.h
39910         (libc_feholdexcept_setround_53bit): Replace with
39911         libc_feholdsetround_53bit.
39912         (libc_feupdateenv_53bit): Replace with
39913         libc_feresetround_53bit.
39914         (SET_RESTORE_ROUND_53BIT): Adjust.
39916 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39918         * string/test-strchrnul.c: Add copyright header.
39920         * posix/tst-getaddrinfo4.c: Increase test timeout.
39922 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39924         [BZ #15536]
39925         * math/libm-test.inc (MAX_EXP): Remove
39926         (MIN_EXP): Define.
39927         (ulp): Use MIN_EXP - MANT_DIG.
39928         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39930 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39932         * po/be.po: Revert last change.
39933         * po/zh_CN.po: Likewise.
39934         * po/header.pot: Likewise.
39936 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39938         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39939         link-libc-deps to empty as target-specific variable.
39940         * Makerules (link-libc-args): New variable.
39941         (libc-for-link): Likewise.
39942         (link-libc-deps): Likewise.
39943         (lib%.so): Depend on $(link-libc-deps).  Link with
39944         $(link-libc-args).
39945         (build-module): Link with $(link-libc-args).
39946         (build-module-asneeded): Likewise.
39947         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39948         list of objects.
39949         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39950         target-specific variable.
39951         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39952         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39953         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39954         libc.
39955         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39956         libc and ld.so.
39957         ($(objpfx)libpcprofile.so): Likewise.
39958         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39959         libc_nonshared.a.
39960         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39961         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39962         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39963         $(link-libc-deps).
39964         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39965         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39966         * login/Makefile ($(objpfx)libutil.so): Likewise.
39967         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39968         * math/Makefile ($(objpfx)libm.so): Likewise.
39969         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39970         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39971         variable instead of depending directly on libc.
39972         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39973         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39974         $(link-libc-deps).
39975         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39976         libc.
39977         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39978         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39979         ($(objpfx)libanl.so): Likewise.
39980         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39981         ld.so.
39982         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39983         $(link-libc-deps).
39984         * sysdeps/i386/fpu/Makefile: Remove file.
39985         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39986         ($(objpfx)libm.so): Remove dependency on ld.so.
39988 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39990         [BZ # 15553]
39991         * nis/yp_xdr.c (XDRMAXNAME): Define.
39992         (XDRMAXRECORD): Define.
39993         (xdr_domainname): Use XDRMAXNAME.
39994         (xdr_mapname): Likewise.
39995         (xdr_peername): Likewise.
39996         (xdr_keydat): Use XDRMAXRECORD.
39997         (xdr_valdat): Likewise.
39999 2013-05-30  Jeff Law  <law@redhat.com>
40001         [BZ #14256]
40002         * manual/errno.texi (ESTALE): Update to account for more than
40003         just NFS file systems.
40004         * sysdeps/gnu/errlist.c: Regenerated.
40006 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40008         [BZ #15465]
40009         * elf/Makefile (tests): Add tst-null-argv.
40010         (modules-names):  Add tst-null-argv-lib.
40011         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40012         (tst-null-argv-ENV): Set environment for tst-null-argv.
40013         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40014         (RTLD_PROGNAME): New macro.
40015         * elf/tst-null-argv.c: New test case.
40016         * elf/tst-null-argv-lib.c: Library for test case.
40017         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40018         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40019         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40020         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40021         * elf/dl-init.c (call_init): Likewise.
40022         (_dl_init): Likewise.
40023         * elf/dl-load.c (print_search_path): Likewise.
40024         (_dl_map_object): Likewise.
40025         * elf/dl-lookup.c (do_lookup_x): Likewise.
40026         (add_dependency): Likewise.
40027         (_dl_lookup_symbol_x): Likewise.
40028         (_dl_debug_bindings): Likewise.
40029         * elf/dl-open.c (_dl_show_scope): Likewise.
40030         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40031         * elf/dl-version.c (match_symbol): Likewise.
40032         (_dl_check_map_versions): Likewise.
40033         * elf/rtld.c (dl_main): Likewise.
40034         (print_unresolved): Use RTLD_PROGNAME.
40035         (print_missing_version): Likewise.
40036         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40037         (elf_machine_rela): Likewise.
40038         * sysdeps/powerpc/powerpc32/dl-machine.c
40039         (__process_machine_rela): Likewise.
40040         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40041         Likewise.
40042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40043         Likewise.
40044         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40045         Likewise.
40046         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40048         Likewise.
40049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40050         Likewise.
40051         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40053 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40055         * po/be.po: Add descriptive title.
40056         * po/zh_CN.po: Likewise.
40057         * po/header.pot: Likewise.
40059 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40061         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40062         error message.
40063         (enlarge_archive): Likewise.
40065 2013-05-28  Ben North  <ben@redfrontdoor.org>
40067         * manual/arith.texi (frexp): It is the magnitude of the return
40068         value which lies in [0.5, 1), not the return value itself.
40070 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40074 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40076         * stdio-common/bug26.c (main): Correct fscanf template.
40078         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40079         declare _dl_skip_args.
40081         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40082         Don't declare.
40084         * manual/platform.texi: Add missing @end deftypefun.
40086 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40088         [BZ #15529]
40089         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40090         bit of mantissa of 2^16382.
40091         * math/libm-test.inc (hypot_test_data): Add more tests.
40093         * math/libm-test.inc: Add drem and pow10 to list of tested
40094         functions.
40095         (pow10_test): New function.
40096         (drem_test): Likewise.
40097         (drem_test_tonearest): Likewise.
40098         (drem_test_towardzero): Likewise.
40099         (drem_test_downward): Likewise.
40100         (drem_test_upward): Likewise.
40101         (main): Call the new functions.
40103         * math/libm-test.inc (finite_test_data): Remove.
40104         (finite_test): Run tests from isfinite_test_data.
40105         (gamma_test_data): Remove.
40106         (gamma_test): Run tests from lgamma_test_data.
40107         * sysdeps/i386/fpu/libm-test-ulps: Update.
40108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40110 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         * manual/platform.texi: Add PowerPC PPR function set documentation.
40113         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40114         implementation.
40116 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40118         * math/libm-test.inc (MAX_EXP): Define.
40119         (ULPDIFF): Define.
40120         (ulp): New function.
40121         (check_float_internal): Use ULPDIFF.
40122         (cpow_test): Disable failing test.
40123         (check_ulp): Test ulp() implemetnation.
40124         (main): Call check_ulp before starting tests.
40126 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40128         * math/gen-libm-test.pl (generate_testfile): Do not handle
40129         START_DATA and END_DATA.
40130         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40131         END_DATA.
40132         (acos_tonearest_test_data): Likewise.
40133         (acos_towardzero_test_data): Likewise.
40134         (acos_downward_test_data): Likewise.
40135         (acos_upward_test_data): Likewise.
40136         (acosh_test_data): Likewise.
40137         (asin_test_data): Likewise.
40138         (asin_tonearest_test_data): Likewise.
40139         (asin_towardzero_test_data): Likewise.
40140         (asin_downward_test_data): Likewise.
40141         (asin_upward_test_data): Likewise.
40142         (asinh_test_data): Likewise.
40143         (atan_test_data): Likewise.
40144         (atanh_test_data): Likewise.
40145         (atan2_test_data): Likewise.
40146         (cabs_test_data): Likewise.
40147         (cacos_test_data): Likewise.
40148         (cacosh_test_data): Likewise.
40149         (carg_test_data): Likewise.
40150         (casin_test_data): Likewise.
40151         (casinh_test_data): Likewise.
40152         (catan_test_data): Likewise.
40153         (catanh_test_data): Likewise.
40154         (cbrt_test_data): Likewise.
40155         (ccos_test_data): Likewise.
40156         (ccosh_test_data): Likewise.
40157         (ceil_test_data): Likewise.
40158         (cexp_test_data): Likewise.
40159         (cimag_test_data): Likewise.
40160         (clog_test_data): Likewise.
40161         (clog10_test_data): Likewise.
40162         (conj_test_data): Likewise.
40163         (copysign_test_data): Likewise.
40164         (cos_test_data): Likewise.
40165         (cos_tonearest_test_data): Likewise.
40166         (cos_towardzero_test_data): Likewise.
40167         (cos_downward_test_data): Likewise.
40168         (cos_upward_test_data): Likewise.
40169         (cosh_test_data): Likewise.
40170         (cosh_tonearest_test_data): Likewise.
40171         (cosh_towardzero_test_data): Likewise.
40172         (cosh_downward_test_data): Likewise.
40173         (cosh_upward_test_data): Likewise.
40174         (cpow_test_data): Likewise.
40175         (cproj_test_data): Likewise.
40176         (creal_test_data): Likewise.
40177         (csin_test_data): Likewise.
40178         (csinh_test_data): Likewise.
40179         (csqrt_test_data): Likewise.
40180         (ctan_test_data): Likewise.
40181         (ctan_tonearest_test_data): Likewise.
40182         (ctan_towardzero_test_data): Likewise.
40183         (ctan_downward_test_data): Likewise.
40184         (ctan_upward_test_data): Likewise.
40185         (ctanh_test_data): Likewise.
40186         (ctanh_tonearest_test_data): Likewise.
40187         (ctanh_towardzero_test_data): Likewise.
40188         (ctanh_downward_test_data): Likewise.
40189         (ctanh_upward_test_data): Likewise.
40190         (erf_test_data): Likewise.
40191         (erfc_test_data): Likewise.
40192         (exp_test_data): Likewise.
40193         (exp_tonearest_test_data): Likewise.
40194         (exp_towardzero_test_data): Likewise.
40195         (exp_downward_test_data): Likewise.
40196         (exp_upward_test_data): Likewise.
40197         (exp10_test_data): Likewise.
40198         (exp2_test_data): Likewise.
40199         (expm1_test_data): Likewise.
40200         (fabs_test_data): Likewise.
40201         (fdim_test_data): Likewise.
40202         (finite_test_data): Likewise.
40203         (floor_test_data): Likewise.
40204         (fma_test_data): Likewise.
40205         (fma_towardzero_test_data): Likewise.
40206         (fma_downward_test_data): Likewise.
40207         (fma_upward_test_data): Likewise.
40208         (fmax_test_data): Likewise.
40209         (fmin_test_data): Likewise.
40210         (fmod_test_data): Likewise.
40211         (fpclassify_test_data): Likewise.
40212         (frexp_test_data): Likewise.
40213         (gamma_test_data): Likewise.
40214         (hypot_test_data): Likewise.
40215         (ilogb_test_data): Likewise.
40216         (isfinite_test_data): Likewise.
40217         (isgreater_test_data): Likewise.
40218         (isgreaterequal_test_data): Likewise.
40219         (isinf_test_data): Likewise.
40220         (isless_test_data): Likewise.
40221         (islessequal_test_data): Likewise.
40222         (islessgreater_test_data): Likewise.
40223         (isnan_test_data): Likewise.
40224         (isnormal_test_data): Likewise.
40225         (issignaling_test_data): Likewise.
40226         (isunordered_test_data): Likewise.
40227         (j0_test_data): Likewise.
40228         (j1_test_data): Likewise.
40229         (jn_test_data): Likewise.
40230         (ldexp_test_data): Likewise.
40231         (lgamma_test_data): Likewise.
40232         (lrint_test_data): Likewise.
40233         (lrint_tonearest_test_data): Likewise.
40234         (lrint_towardzero_test_data): Likewise.
40235         (lrint_downward_test_data): Likewise.
40236         (lrint_upward_test_data): Likewise.
40237         (llrint_test_data): Likewise.
40238         (llrint_tonearest_test_data): Likewise.
40239         (llrint_towardzero_test_data): Likewise.
40240         (llrint_downward_test_data): Likewise.
40241         (llrint_upward_test_data): Likewise.
40242         (log_test_data): Likewise.
40243         (log10_test_data): Likewise.
40244         (log1p_test_data): Likewise.
40245         (log2_test_data): Likewise.
40246         (logb_test_data): Likewise.
40247         (logb_downward_test_data): Likewise.
40248         (lround_test_data): Likewise.
40249         (llround_test_data): Likewise.
40250         (modf_test_data): Likewise.
40251         (nearbyint_test_data): Likewise.
40252         (nextafter_test_data): Likewise.
40253         (nexttoward_test_data): Likewise.
40254         (pow_test_data): Likewise.
40255         (pow_tonearest_test_data): Likewise.
40256         (pow_towardzero_test_data): Likewise.
40257         (pow_downward_test_data): Likewise.
40258         (pow_upward_test_data): Likewise.
40259         (remainder_test_data): Likewise.
40260         (remainder_tonearest_test_data): Likewise.
40261         (remainder_towardzero_test_data): Likewise.
40262         (remainder_downward_test_data): Likewise.
40263         (remainder_upward_test_data): Likewise.
40264         (remquo_test_data): Likewise.
40265         (rint_test_data): Likewise.
40266         (rint_tonearest_test_data): Likewise.
40267         (rint_towardzero_test_data): Likewise.
40268         (rint_downward_test_data): Likewise.
40269         (rint_upward_test_data): Likewise.
40270         (round_test_data): Likewise.
40271         (scalb_test_data): Likewise.
40272         (scalbn_test_data): Likewise.
40273         (scalbln_test_data): Likewise.
40274         (signbit_test_data): Likewise.
40275         (sin_test_data): Likewise.
40276         (sin_tonearest_test_data): Likewise.
40277         (sin_towardzero_test_data): Likewise.
40278         (sin_downward_test_data): Likewise.
40279         (sin_upward_test_data): Likewise.
40280         (sincos_test_data): Likewise.
40281         (sinh_test_data): Likewise.
40282         (sinh_tonearest_test_data): Likewise.
40283         (sinh_towardzero_test_data): Likewise.
40284         (sinh_downward_test_data): Likewise.
40285         (sinh_upward_test_data): Likewise.
40286         (sqrt_test_data): Likewise.
40287         (tan_test_data): Likewise.
40288         (tan_tonearest_test_data): Likewise.
40289         (tan_towardzero_test_data): Likewise.
40290         (tan_downward_test_data): Likewise.
40291         (tan_upward_test_data): Likewise.
40292         (tanh_test_data): Likewise.
40293         (tgamma_test_data): Likewise.
40294         (trunc_test_data): Likewise.
40295         (y0_test_data): Likewise.
40296         (y1_test_data): Likewise.
40297         (yn_test_data): Likewise.
40298         (significand_test_data): Likewise.
40300         * math/gen-libm-test.pl (@functions): Remove variable.
40301         (generate_testfile): Don't handle START and END lines.
40302         * math/libm-test.inc (START): New macro.
40303         (END): Likewise.
40304         (END_COMPLEX): Likewise.
40305         (acos_test): Use END macro without arguments.
40306         (acos_test_tonearest): Likewise.
40307         (acos_test_towardzero): Likewise.
40308         (acos_test_downward): Likewise.
40309         (acos_test_upward): Likewise.
40310         (acosh_test): Likewise.
40311         (asin_test): Likewise.
40312         (asin_test_tonearest): Likewise.
40313         (asin_test_towardzero): Likewise.
40314         (asin_test_downward): Likewise.
40315         (asin_test_upward): Likewise.
40316         (asinh_test): Likewise.
40317         (atan_test): Likewise.
40318         (atanh_test): Likewise.
40319         (atan2_test): Likewise.
40320         (cabs_test): Likewise.
40321         (cacos_test): Use END_COMPLEX macro without arguments.
40322         (cacosh_test): Likewise.
40323         (carg_test): Use END macro without arguments.
40324         (casin_test): Use END_COMPLEX macro without arguments.
40325         (casinh_test): Likewise.
40326         (catan_test): Likewise.
40327         (catanh_test): Likewise.
40328         (cbrt_test): Use END macro without arguments.
40329         (ccos_test): Use END_COMPLEX macro without arguments.
40330         (ccosh_test): Likewise.
40331         (ceil_test): Use END macro without arguments.
40332         (cexp_test): Use END_COMPLEX macro without arguments.
40333         (cimag_test): Use END macro without arguments.
40334         (clog_test): Use END_COMPLEX macro without arguments.
40335         (clog10_test): Likewise.
40336         (conj_test): Likewise.
40337         (copysign_test): Use END macro without arguments.
40338         (cos_test): Likewise.
40339         (cos_test_tonearest): Likewise.
40340         (cos_test_towardzero): Likewise.
40341         (cos_test_downward): Likewise.
40342         (cos_test_upward): Likewise.
40343         (cosh_test): Likewise.
40344         (cosh_test_tonearest): Likewise.
40345         (cosh_test_towardzero): Likewise.
40346         (cosh_test_downward): Likewise.
40347         (cosh_test_upward): Likewise.
40348         (cpow_test): Use END_COMPLEX macro without arguments.
40349         (cproj_test): Likewise.
40350         (creal_test): Use END macro without arguments.
40351         (csin_test): Use END_COMPLEX macro without arguments.
40352         (csinh_test): Likewise.
40353         (csqrt_test): Likewise.
40354         (ctan_test): Likewise.
40355         (ctan_test_tonearest): Likewise.
40356         (ctan_test_towardzero): Likewise.
40357         (ctan_test_downward): Likewise.
40358         (ctan_test_upward): Likewise.
40359         (ctanh_test): Likewise.
40360         (ctanh_test_tonearest): Likewise.
40361         (ctanh_test_towardzero): Likewise.
40362         (ctanh_test_downward): Likewise.
40363         (ctanh_test_upward): Likewise.
40364         (erf_test): Use END macro without arguments.
40365         (erfc_test): Likewise.
40366         (exp_test): Likewise.
40367         (exp_test_tonearest): Likewise.
40368         (exp_test_towardzero): Likewise.
40369         (exp_test_downward): Likewise.
40370         (exp_test_upward): Likewise.
40371         (exp10_test): Likewise.
40372         (exp2_test): Likewise.
40373         (expm1_test): Likewise.
40374         (fabs_test): Likewise.
40375         (fdim_test): Likewise.
40376         (finite_test): Likewise.
40377         (floor_test): Likewise.
40378         (fma_test): Likewise.
40379         (fma_test_towardzero): Likewise.
40380         (fma_test_downward): Likewise.
40381         (fma_test_upward): Likewise.
40382         (fmax_test): Likewise.
40383         (fmin_test): Likewise.
40384         (fmod_test): Likewise.
40385         (fpclassify_test): Likewise.
40386         (frexp_test): Likewise.
40387         (gamma_test): Likewise.
40388         (hypot_test): Likewise.
40389         (ilogb_test): Likewise.
40390         (isfinite_test): Likewise.
40391         (isgreater_test): Likewise.
40392         (isgreaterequal_test): Likewise.
40393         (isinf_test): Likewise.
40394         (isless_test): Likewise.
40395         (islessequal_test): Likewise.
40396         (islessgreater_test): Likewise.
40397         (isnan_test): Likewise.
40398         (isnormal_test): Likewise.
40399         (issignaling_test): Likewise.
40400         (isunordered_test): Likewise.
40401         (j0_test): Likewise.
40402         (j1_test): Likewise.
40403         (jn_test): Likewise.
40404         (ldexp_test): Likewise.
40405         (lgamma_test): Likewise.
40406         (lrint_test): Likewise.
40407         (lrint_test_tonearest): Likewise.
40408         (lrint_test_towardzero): Likewise.
40409         (lrint_test_downward): Likewise.
40410         (lrint_test_upward): Likewise.
40411         (llrint_test): Likewise.
40412         (llrint_test_tonearest): Likewise.
40413         (llrint_test_towardzero): Likewise.
40414         (llrint_test_downward): Likewise.
40415         (llrint_test_upward): Likewise.
40416         (log_test): Likewise.
40417         (log10_test): Likewise.
40418         (log1p_test): Likewise.
40419         (log2_test): Likewise.
40420         (logb_test): Likewise.
40421         (logb_test_downward): Likewise.
40422         (lround_test): Likewise.
40423         (llround_test): Likewise.
40424         (modf_test): Likewise.
40425         (nearbyint_test): Likewise.
40426         (nextafter_test): Likewise.
40427         (nexttoward_test): Likewise.
40428         (pow_test): Likewise.
40429         (pow_test_tonearest): Likewise.
40430         (pow_test_towardzero): Likewise.
40431         (pow_test_downward): Likewise.
40432         (pow_test_upward): Likewise.
40433         (remainder_test): Likewise.
40434         (remainder_test_tonearest): Likewise.
40435         (remainder_test_towardzero): Likewise.
40436         (remainder_test_downward): Likewise.
40437         (remainder_test_upward): Likewise.
40438         (remquo_test): Likewise.
40439         (rint_test): Likewise.
40440         (rint_test_tonearest): Likewise.
40441         (rint_test_towardzero): Likewise.
40442         (rint_test_downward): Likewise.
40443         (rint_test_upward): Likewise.
40444         (round_test): Likewise.
40445         (scalb_test): Likewise.
40446         (scalbn_test): Likewise.
40447         (scalbln_test): Likewise.
40448         (signbit_test): Likewise.
40449         (sin_test): Likewise.
40450         (sin_test_tonearest): Likewise.
40451         (sin_test_towardzero): Likewise.
40452         (sin_test_downward): Likewise.
40453         (sin_test_upward): Likewise.
40454         (sincos_test): Likewise.
40455         (sinh_test): Likewise.
40456         (sinh_test_tonearest): Likewise.
40457         (sinh_test_towardzero): Likewise.
40458         (sinh_test_downward): Likewise.
40459         (sinh_test_upward): Likewise.
40460         (sqrt_test): Likewise.
40461         (tan_test): Likewise.
40462         (tan_test_tonearest): Likewise.
40463         (tan_test_towardzero): Likewise.
40464         (tan_test_downward): Likewise.
40465         (tan_test_upward): Likewise.
40466         (tanh_test): Likewise.
40467         (tgamma_test): Likewise.
40468         (trunc_test): Likewise.
40469         (y0_test): Likewise.
40470         (y1_test): Likewise.
40471         (yn_test): Likewise.
40472         (significand_test): Likewise.
40474 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40476         [BZ #15381]
40477         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40479 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40481         [BZ #14894]
40482         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40483         __ppc_mdoio and __ppc_mdoom.
40484         * manual/platform.texi: Document new functions __ppc_yield,
40485         __ppc_mdoio and __ppc_mdoom.
40487 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40489         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40490         (main): Mention "tls" pseudo-hwcap is legacy.
40491         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40493 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40495         * math/gen-libm-test.pl (parse_args): Output only string of
40496         arguments as text for test name, not full call or descriptions of
40497         tests for extra outputs.
40498         (generate_testfile): Do not pass function name to parse_args.
40499         Generate this_func variable from START.
40500         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40501         field to arg_str.
40502         (struct test_ff_f_data): Likewise.
40503         (test_ff_f_data_nexttoward): Likewise.
40504         (struct test_fi_f_data): Likewise.
40505         (struct test_fl_f_data): Likewise.
40506         (struct test_if_f_data): Likewise.
40507         (struct test_fff_f_data): Likewise.
40508         (struct test_c_f_data): Likewise.
40509         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40510         (struct test_fF_f1_data): Likewise.
40511         (struct test_ffI_f1_data): Likewise.
40512         (struct test_c_c_data): Rename test_name field to arg_str.
40513         (struct test_cc_c_data): Likewise.
40514         (struct test_f_i_data): Likewise.
40515         (struct test_ff_i_data): Likewise.
40516         (struct test_f_l_data): Likewise.
40517         (struct test_f_L_data): Likewise.
40518         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40519         and extra2_name.
40520         (COMMON_TEST_SETUP): New macro.
40521         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40522         (COMMON_TEST_CLEANUP): Likewise.
40523         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40524         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40525         macros.
40526         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40527         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40528         macros.
40529         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40530         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40531         cleanup macros.
40532         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40533         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40534         macros.
40535         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40536         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40537         macros.
40538         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40539         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40540         cleanup macros.
40541         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40542         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40543         cleanup macros.
40544         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40545         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40546         cleanup macros.
40547         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40548         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40549         macros.
40550         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40551         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40552         macros.
40553         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40554         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40555         macros.
40556         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40557         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40558         cleanup macros.
40559         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40560         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40561         cleanup macros.
40562         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40563         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40564         macros.
40565         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40566         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40567         cleanup macros.
40568         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40569         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40570         macros.
40571         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40572         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40573         macros.
40574         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40575         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40576         cleanup macros.
40577         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40579 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40581         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40582         to _sifields.sigfault.
40583         (si_addr_lsb): Define new macro.
40584         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40585         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40586         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40588 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40590         [BZ #15441]
40591         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40592         returns -1.
40593         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40594         null return -1.
40595         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40596         loading the domain.
40598 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40600         * math/gen-libm-test.pl (parse_args): Do not include expected
40601         result in test name.
40602         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40603         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40604         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40605         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40606         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40609 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40611         * benchtests/Makefile: Sort function entries.
40613         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40614         tanh, asinh, acosh, atanh.
40615         * benchtests/acos-inputs: New file.
40616         * benchtests/acosh-inputs: New file.
40617         * benchtests/asin-inputs: New file.
40618         * benchtests/asinh-inputs: New file.
40619         * benchtests/atanh-inputs: New file.
40620         * benchtests/cosh-inputs: New file.
40621         * benchtests/log-inputs: New file.
40622         * benchtests/sinh-inputs: New file.
40623         * benchtests/tanh-inputs: New file.
40625 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40627         [BZ #15339]
40628         * posix/tst-getaddrinfo4.c: New test.
40629         * posix/Makefile (tests): Add it.
40631 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40633         [BZ #15339]
40634         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40635         when no services were used.
40636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40637         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40639 2013-05-21  Andreas Schwab  <schwab@suse.de>
40641         [BZ #15014]
40642         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40643         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40644         successful.
40645         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40646         redundant variable declarations and reallocation of buffer when
40647         parsing as IPv6 address.  Always set NSS status when called from
40648         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40649         buffer too small.  Correct computation of needed size.
40650         * nss/Makefile (tests): Add test-digits-dots.
40651         * nss/test-digits-dots.c: New test.
40653 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40655         * benchtests/Makefile: Remove instructions for adding
40656         benchmark tests.
40657         * benchtests/README: New file to explain how to execute and
40658         enhance the benchmark tests.
40660 2013-05-21  Andreas Schwab  <schwab@suse.de>
40662         [BZ #15493]
40663         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40664         * setjmp/tst-sigsetjmp.c: New test.
40666 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40668         * sysdeps/x86_64/memset.S (memset): New implementation.
40669         (__bzero): Likewise.
40670         (__memset_tail): New function.
40672 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40674         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40676         __memcpy_sse2_unaligned ifunc selection.
40677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40678         Add memcpy-sse2-unaligned.S.
40679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40680         Add: __memcpy_sse2_unaligned.
40682 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40684         [BZ #15490]
40685         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40686         math_force_eval before restoring floating-point envrionment.
40687         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40688         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40689         Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40691         <math_private.h>.
40692         (__nearbyintl): Use math_force_eval before restoring
40693         floating-point environment.
40694         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40696         * math/gen-libm-test.pl (special_functions): Remove.
40697         (parse_args): Don't handle TEST_extra.  Handle functions with no
40698         return value.
40699         * math/libm-test.inc (struct test_sincos_data): Replace with
40700         struct test_fFF_11_data.
40701         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40702         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40703         (sincos_test_data): Change element type to struct
40704         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40705         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40706         RUN_TEST_LOOP_sincos.
40707         * math/README.libm-test: Don't mention special handling of
40708         individual functions.
40709         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40710         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40711         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40712         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40713         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40716         * math/gen-libm-test.pl (get_variable): Remove function.
40717         (parse_args): Don't show pointer parameters to call in test
40718         names.  Use "extra output N" in test names for extra outputs
40719         rather than naming variables.
40721 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40723         [BZ #15488]
40724         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40725         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40726         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40727         double tests.
40728         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40729         disable.
40730         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40731         check_long_double.
40733         * math/gen-libm-test.pl (@tests): Remove variable.
40734         ($count): Likewise.
40735         (new_test): Remove function.
40736         (show_exceptions): New function.
40737         (special_functions): Use show_exceptions instead of new_test.
40738         (parse_args): Likewise.
40739         (generate_testfile): Pass only function name in generated call to
40740         print_max_error or print_complex_max_error.
40741         (get_ulps): Do not handle complex tests specially.
40742         (output_test): Rename to ...
40743         (get_all_ulps_for_test): ... this.  Return a string rather than
40744         printing to a file.  Require ulps to be present.
40745         (output_ulps): Generate arrays rather than #defines.
40746         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40747         (struct ulp_data): New type.
40748         (BUILD_COMPLEX_ULP): Remove macro.
40749         (compare_ulp_data): New function.
40750         (find_ulps): Likewise.
40751         (find_test_ulps): Likewise.
40752         (find_function_ulps): Likewise.
40753         (find_complex_function_ulps): Likewise.
40754         (print_max_error): Determine allowed ulps using
40755         find_function_ulps.
40756         (print_complex_max_error): Determine allowed ulps using
40757         find_complex_function_ulps.
40758         (check_float_internal): Determine max ulps using find_test_ulps.
40759         (check_float): Do not take max_ulp parameter.  Update call to
40760         check_float_internal.
40761         (check_complex): Likewise.
40762         (check_int): Do not take max_ulp parameter.
40763         (check_long): Likewise.
40764         (check_bool): Likewise.
40765         (check_longlong): Likewise.
40766         (struct test_f_f_data): Remove max_ulp field.
40767         (struct test_ff_f_data): Likewise.
40768         (struct test_ff_f_data_nexttoward): Likewise.
40769         (struct test_fi_f_data): Likewise.
40770         (struct test_fl_f_data): Likewise.
40771         (struct test_if_f_data): Likewise.
40772         (struct test_fff_f_data): Likewise.
40773         (struct test_c_f_data): Likewise.
40774         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40775         (struct test_fF_f1_data): Likewise.
40776         (struct test_ffI_f1_data): Likewise.
40777         (struct test_c_c_data): Remove max_ulp field.
40778         (struct test_cc_c_data): Likewise.
40779         (struct test_f_i_data): Likewise.
40780         (struct test_ff_i_data): Likewise.
40781         (struct test_f_l_data): Likewise.
40782         (struct test_f_L_data): Likewise.
40783         (struct test_sincos_data): Likewise.
40784         (RUN_TEST_f_f): Do not handle ulps.
40785         (RUN_TEST_LOOP_f_f): Likewise.
40786         (RUN_TEST_2_f): Likewise.
40787         (RUN_TEST_LOOP_2_f): Likewise.
40788         (RUN_TEST_fff_f): Likewise.
40789         (RUN_TEST_LOOP_fff_f): Likewise.
40790         (RUN_TEST_c_f): Likewise.
40791         (RUN_TEST_LOOP_c_f): Likewise.
40792         (RUN_TEST_f_f1): Likewise.
40793         (RUN_TEST_LOOP_f_f1): Likewise.
40794         (RUN_TEST_fF_f1): Likewise.
40795         (RUN_TEST_LOOP_fF_f1): Likewise.
40796         (RUN_TEST_fI_f1): Likewise.
40797         (RUN_TEST_LOOP_fI_f1): Likewise.
40798         (RUN_TEST_ffI_f1): Likewise.
40799         (RUN_TEST_LOOP_ffI_f1): Likewise.
40800         (RUN_TEST_c_c): Likewise.
40801         (RUN_TEST_LOOP_c_c): Likewise.
40802         (RUN_TEST_cc_c): Likewise.
40803         (RUN_TEST_LOOP_cc_c): Likewise.
40804         (RUN_TEST_f_i): Likewise.
40805         (RUN_TEST_LOOP_f_i): Likewise.
40806         (RUN_TEST_f_i_tg): Likewise.
40807         (RUN_TEST_LOOP_f_i_tg): Likewise.
40808         (RUN_TEST_ff_i_tg): Likewise.
40809         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40810         (RUN_TEST_f_b): Likewise.
40811         (RUN_TEST_LOOP_f_b): Likewise.
40812         (RUN_TEST_f_b_tg): Likewise.
40813         (RUN_TEST_LOOP_f_b_tg): Likewise.
40814         (RUN_TEST_f_l): Likewise.
40815         (RUN_TEST_LOOP_f_l): Likewise.
40816         (RUN_TEST_f_L): Likewise.
40817         (RUN_TEST_LOOP_f_L): Likewise.
40818         (RUN_TEST_sincos): Likewise.
40819         (RUN_TEST_LOOP_sincos): Likewise.
40821 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40823         [BZ #15480]
40824         [BZ #15485]
40825         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40826         main case of finite arguments, set rounding mode to FE_TONEAREST
40827         and discard exceptions.
40828         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40829         exceptions.
40830         (remainder_tonearest_test_data): New variable.
40831         (remainder_test_tonearest): New function.
40832         (remainder_towardzero_test_data): New variable.
40833         (remainder_test_towardzero): New function.
40834         (remainder_downward_test_data): New variable.
40835         (remainder_test_downward): New function.
40836         (remainder_upward_test_data): New variable.
40837         (remainder_test_upward): New function.
40838         (main): Call the new test functions.
40840         * math/libm-test.inc (struct test_f_f1_data): Remove field
40841         extra_init.
40842         (struct test_fF_f1_data): Likewise.
40843         (struct test_ffI_f1_data): Likewise.
40844         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40845         based on value of EXTRA_EXPECTED.
40846         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40847         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40848         EXTRA_VAR based on value of EXTRA_EXPECTED.
40849         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40850         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40851         EXTRA_VAR based on value of EXTRA_EXPECTED.
40852         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40853         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40854         EXTRA_VAR based on value of EXTRA_EXPECTED.
40855         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40856         * math/gen-libm-test.pl (parse_args): Don't output initializers
40857         for extra output values.
40859         * math/libm-test.inc (check_int): Expect result to be exactly
40860         equal to expected value and do not handle ulps.
40861         (check_long): Likewise.
40862         (check_longlong): Likewise.
40864         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40865         exceptions.
40866         (cimag_test_data): Likewise.
40867         (conj_test_data): Likewise.
40868         (copysign_test_data): Likewise.
40869         (cproj_test_data): Likewise.
40870         (creal_test_data): Likewise.
40871         (fabs_test_data): Likewise.
40872         (fdim_test_data): Likewise.
40873         (finite_test_data): Likewise.
40874         (floor_test_data): Likewise.
40875         (fmax_test_data): Likewise.
40876         (fmin_test_data): Likewise.
40877         (fmod_test_data): Likewise.
40878         (fpclassify_test_data): Likewise.
40879         (frexp_test_data): Likewise.
40880         (ilogb_test_data): Likewise.
40881         (isfinite_test_data): Likewise.
40882         (isgreater_test_data): Likewise.
40883         (isgreaterequal_test_data): Likewise.
40884         (isinf_test_data): Likewise.
40885         (isless_test_data): Likewise.
40886         (islessequal_test_data): Likewise.
40887         (islessgreater_test_data): Likewise.
40888         (isnan_test_data): Likewise.
40889         (isnormal_test_data): Likewise.
40890         (issignaling_test_data): Likewise.
40891         (isunordered_test_data): Likewise.
40892         (ldexp_test_data): Likewise.
40893         (lrint_test_data): Likewise.
40894         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40895         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40896         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40897         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40898         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40899         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40900         test input.
40901         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40902         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40903         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40904         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40905         that test input.
40906         (lrint_downward_test_data): Test for "inexact" exceptions.
40907         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40908         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40909         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40910         test input.
40911         (lrint_upward_test_data): Test for "inexact" exceptions.
40912         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40913         test input.
40914         (llrint_test_data): Test for "inexact" exceptions.
40915         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40916         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40917         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40918         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40919         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40920         (llrint_downward_test_data): Test for "inexact" exceptions.
40921         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40922         (llrint_upward_test_data): Test for "inexact" exceptions.
40923         (logb_test_data): Likewise.
40924         (logb_downward_test_data): Likewise.
40925         (nextafter_test_data): Likewise.
40926         (nexttoward_test_data): Likewise.
40927         (remainder_test_data): Likewise.
40928         (remquo_test_data): Likewise.
40929         (scalbn_test_data): Likewise.
40930         (scalbln_test_data): Likewise.
40931         (signbit_test_data): Likewise.
40932         (sqrt_test_data): Likewise.
40933         (significand_test_data): Likewise.
40935 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40937         [BZ #15424]
40938         * benchtests/bench-modf.c (struct args): Mark arg0 as
40939         volatile.
40940         * scripts/bench.pl: Mark members of struct args as volatile.
40942 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40944         [BZ # 15497]
40945         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40946         negative infinity on POWER6 or lower.
40947         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40949 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40951         [BZ #15442]
40952         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40953         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40954         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40955         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40956         (_FP_SETQNAN): New macro.
40957         (_FP_SETQNAN_SEMIRAW): Likewise.
40958         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40959         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40960         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40961         (FP_EXTEND): Use _FP_FRAC_SNANP.
40962         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40963         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40964         into account.
40965         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40966         New macro.
40967         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40968         Likewise.
40970 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40972         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40973         with DIVIDE_BY_ZERO_EXCEPTION.
40974         (gamma_test_data): Likewise.
40975         (lgamma_test_data): Likewise.
40976         (log_test_data): Likewise.
40977         (log10_test_data): Likewise.
40978         (log2_test_data): Likewise.
40979         (tgamma_test_data): Likewise.
40981         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40982         (acos_test_tonearest): Likewise.
40983         (acos_test_towardzero): Likewise.
40984         (acos_test_downward): Likewise.
40985         (acos_test_upward): Likewise.
40986         (acosh_test): Likewise.
40987         (asin_test): Likewise.
40988         (asin_test_tonearest): Likewise.
40989         (asin_test_towardzero): Likewise.
40990         (asin_test_downward): Likewise.
40991         (asin_test_upward): Likewise.
40992         (asinh_test): Likewise.
40993         (atan_test): Likewise.
40994         (atanh_test): Likewise.
40995         (atan2_test): Likewise.
40996         (cabs_test): Likewise.
40997         (cacos_test): Likewise.
40998         (cacosh_test): Likewise.
40999         (casin_test): Likewise.
41000         (casinh_test): Likewise.
41001         (catan_test): Likewise.
41002         (catanh_test): Likewise.
41003         (cbrt_test): Likewise.
41004         (ccos_test): Likewise.
41005         (ccosh_test): Likewise.
41006         (cexp_test): Likewise.
41007         (clog_test): Likewise.
41008         (clog10_test): Likewise.
41009         (cos_test): Likewise.
41010         (cos_test_tonearest): Likewise.
41011         (cos_test_towardzero): Likewise.
41012         (cos_test_downward): Likewise.
41013         (cos_test_upward): Likewise.
41014         (cosh_test): Likewise.
41015         (cosh_test_tonearest): Likewise.
41016         (cosh_test_towardzero): Likewise.
41017         (cosh_test_downward): Likewise.
41018         (cosh_test_upward): Likewise.
41019         (cpow_test): Likewise.
41020         (csin_test): Likewise.
41021         (csinh_test): Likewise.
41022         (csqrt_test): Likewise.
41023         (ctan_test): Likewise.
41024         (ctan_test_tonearest): Likewise.
41025         (ctan_test_towardzero): Likewise.
41026         (ctan_test_downward): Likewise.
41027         (ctan_test_upward): Likewise.
41028         (ctanh_test): Likewise.
41029         (ctanh_test_tonearest): Likewise.
41030         (ctanh_test_towardzero): Likewise.
41031         (ctanh_test_downward): Likewise.
41032         (ctanh_test_upward): Likewise.
41033         (erf_test): Likewise.
41034         (erfc_test): Likewise.
41035         (exp_test): Likewise.
41036         (exp_test_tonearest): Likewise.
41037         (exp_test_towardzero): Likewise.
41038         (exp_test_downward): Likewise.
41039         (exp_test_upward): Likewise.
41040         (exp10_test): Likewise.
41041         (exp2_test): Likewise.
41042         (expm1_test): Likewise.
41043         (fmod_test): Likewise.
41044         (gamma_test): Likewise.
41045         (hypot_test): Likewise.
41046         (j0_test): Likewise.
41047         (j1_test): Likewise.
41048         (jn_test): Likewise.
41049         (lgamma_test): Likewise.
41050         (log_test): Likewise.
41051         (log10_test): Likewise.
41052         (log1p_test): Likewise.
41053         (log2_test): Likewise.
41054         (logb_test_downward): Likewise.
41055         (pow_test): Likewise.
41056         (pow_test_tonearest): Likewise.
41057         (pow_test_towardzero): Likewise.
41058         (pow_test_downward): Likewise.
41059         (pow_test_upward): Likewise.
41060         (remainder_test): Likewise.
41061         (remquo_test): Likewise.
41062         (sin_test): Likewise.
41063         (sin_test_tonearest): Likewise.
41064         (sin_test_towardzero): Likewise.
41065         (sin_test_downward): Likewise.
41066         (sin_test_upward): Likewise.
41067         (sincos_test): Likewise.
41068         (sinh_test): Likewise.
41069         (sinh_test_tonearest): Likewise.
41070         (sinh_test_towardzero): Likewise.
41071         (sinh_test_downward): Likewise.
41072         (sinh_test_upward): Likewise.
41073         (sqrt_test): Likewise.
41074         (tan_test): Likewise.
41075         (tan_test_tonearest): Likewise.
41076         (tan_test_towardzero): Likewise.
41077         (tan_test_downward): Likewise.
41078         (tan_test_upward): Likewise.
41079         (tanh_test): Likewise.
41080         (tgamma_test): Likewise.
41081         (y0_test): Likewise.
41082         (y1_test): Likewise.
41083         (yn_test): Likewise.
41085         * math/gen-libm-test.pl (adjust_arg): Remove function.
41086         (special_function): Remove argument $in_func.  Only handle
41087         generating output for tables of tests, not inside functions.
41088         (parse_args): Likewise.
41089         (generate_testfile): Remove variable $in_func.  Update call to
41090         parse_args.
41091         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41092         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41093         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41094         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41095         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41096         (MAX_VALUE_INIT): Rename macro to max_value.
41097         (MIN_VALUE_INIT): Rename macro to min_value.
41098         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41099         (plus_zero): Remove variable.
41100         (minus_zero): Likewise.
41101         (plus_infty): Likewise.
41102         (minus_infty): Likewise.
41103         (qnan_value): Likewise.
41104         (max_value): Likewise.
41105         (min_value): Likewise.
41106         (min_subnorm_value): Likewise.
41108 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41110         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41111         uint64_t or uint32_t usage.
41112         * crypt/sha256-block.c: Likewise.
41113         * crypt/sha256-crypt.c: Likewise.
41114         * crypt/sha256.c: Likewise.
41115         * crypt/sha512-block.c: Likewise.
41116         * crypt/sha512-crypt.c: Likewise.
41117         * crypt/sha512.c: Likewise.
41118         * debug/backtrace-tst.c: Likewise.
41119         * debug/pcprofiledump.c: Likewise.
41120         * elf/cache.c: Likewise.
41121         * elf/dl-cache.c: Likewise.
41122         * elf/dl-misc.c: Likewise.
41123         * elf/dl-profile.c: Likewise.
41124         * elf/dl-support.c: Likewise.
41125         * elf/ldconfig.c: Likewise.
41126         * elf/sprof.c: Likewise.
41127         * iconv/dummy-repertoire.c: Likewise.
41128         * iconv/iconv_charmap.c: Likewise.
41129         * iconv/skeleton.c: Likewise.
41130         * iconvdata/8bit-generic.c: Likewise.
41131         * iconvdata/cp737.h: Likewise.
41132         * iconvdata/cp775.h: Likewise.
41133         * iconvdata/ibm1008.h: Likewise.
41134         * iconvdata/ibm1025.h: Likewise.
41135         * iconvdata/ibm1046.h: Likewise.
41136         * iconvdata/ibm1097.h: Likewise.
41137         * iconvdata/ibm1112.h: Likewise.
41138         * iconvdata/ibm1122.h: Likewise.
41139         * iconvdata/ibm1123.h: Likewise.
41140         * iconvdata/ibm1124.h: Likewise.
41141         * iconvdata/ibm1129.h: Likewise.
41142         * iconvdata/ibm1130.h: Likewise.
41143         * iconvdata/ibm1132.h: Likewise.
41144         * iconvdata/ibm1133.h: Likewise.
41145         * iconvdata/ibm1137.h: Likewise.
41146         * iconvdata/ibm1140.h: Likewise.
41147         * iconvdata/ibm1141.h: Likewise.
41148         * iconvdata/ibm1142.h: Likewise.
41149         * iconvdata/ibm1143.h: Likewise.
41150         * iconvdata/ibm1144.h: Likewise.
41151         * iconvdata/ibm1145.h: Likewise.
41152         * iconvdata/ibm1146.h: Likewise.
41153         * iconvdata/ibm1147.h: Likewise.
41154         * iconvdata/ibm1148.h: Likewise.
41155         * iconvdata/ibm1149.h: Likewise.
41156         * iconvdata/ibm1153.h: Likewise.
41157         * iconvdata/ibm1154.h: Likewise.
41158         * iconvdata/ibm1155.h: Likewise.
41159         * iconvdata/ibm1156.h: Likewise.
41160         * iconvdata/ibm1157.h: Likewise.
41161         * iconvdata/ibm1158.h: Likewise.
41162         * iconvdata/ibm1160.h: Likewise.
41163         * iconvdata/ibm1161.h: Likewise.
41164         * iconvdata/ibm1162.h: Likewise.
41165         * iconvdata/ibm1163.h: Likewise.
41166         * iconvdata/ibm1164.h: Likewise.
41167         * iconvdata/ibm1166.h: Likewise.
41168         * iconvdata/ibm1167.h: Likewise.
41169         * iconvdata/ibm12712.h: Likewise.
41170         * iconvdata/ibm1390.h: Likewise.
41171         * iconvdata/ibm1399.h: Likewise.
41172         * iconvdata/ibm16804.h: Likewise.
41173         * iconvdata/ibm4517.h: Likewise.
41174         * iconvdata/ibm4899.h: Likewise.
41175         * iconvdata/ibm4909.h: Likewise.
41176         * iconvdata/ibm4971.h: Likewise.
41177         * iconvdata/ibm5347.h: Likewise.
41178         * iconvdata/ibm803.h: Likewise.
41179         * iconvdata/ibm856.h: Likewise.
41180         * iconvdata/ibm901.h: Likewise.
41181         * iconvdata/ibm902.h: Likewise.
41182         * iconvdata/ibm9030.h: Likewise.
41183         * iconvdata/ibm9066.h: Likewise.
41184         * iconvdata/ibm921.h: Likewise.
41185         * iconvdata/ibm922.h: Likewise.
41186         * iconvdata/ibm9448.h: Likewise.
41187         * iconvdata/isiri-3342.h: Likewise.
41188         * iconvdata/jis0201.h: Likewise.
41189         * include/link.h: Likewise.
41190         * include/netdb.h: Likewise.
41191         * inet/check_native.c: Likewise.
41192         * inet/check_pf.c: Likewise.
41193         * inet/getipv4sourcefilter.c: Likewise.
41194         * inet/getnameinfo.c: Likewise.
41195         * inet/getsourcefilter.c: Likewise.
41196         * inet/htonl.c: Likewise.
41197         * inet/setipv4sourcefilter.c: Likewise.
41198         * inet/setsourcefilter.c: Likewise.
41199         * inet/test-inet6_opt.c: Likewise.
41200         * inet/tst-network.c: Likewise.
41201         * locale/C-collate.c: Likewise.
41202         * locale/C-ctype.c: Likewise.
41203         * locale/C-time.c: Likewise.
41204         * locale/C-translit.h: Likewise.
41205         * locale/loadarchive.c: Likewise.
41206         * locale/programs/3level.h: Likewise.
41207         * locale/programs/charmap.c: Likewise.
41208         * locale/programs/charmap.h: Likewise.
41209         * locale/programs/ld-address.c: Likewise.
41210         * locale/programs/ld-collate.c: Likewise.
41211         * locale/programs/ld-ctype.c: Likewise.
41212         * locale/programs/ld-identification.c: Likewise.
41213         * locale/programs/ld-measurement.c: Likewise.
41214         * locale/programs/ld-messages.c: Likewise.
41215         * locale/programs/ld-monetary.c: Likewise.
41216         * locale/programs/ld-name.c: Likewise.
41217         * locale/programs/ld-numeric.c: Likewise.
41218         * locale/programs/ld-paper.c: Likewise.
41219         * locale/programs/ld-telephone.c: Likewise.
41220         * locale/programs/ld-time.c: Likewise.
41221         * locale/programs/linereader.c: Likewise.
41222         * locale/programs/locale.c: Likewise.
41223         * locale/programs/locarchive.c: Likewise.
41224         * locale/programs/locfile.h: Likewise.
41225         * locale/programs/repertoire.c: Likewise.
41226         * locale/programs/simple-hash.c: Likewise.
41227         * locale/programs/simple-hash.h: Likewise.
41228         * malloc/memusage.c: Likewise.
41229         * malloc/memusagestat.c: Likewise.
41230         * nis/nis_defaults.c: Likewise.
41231         * nis/nis_hash.c: Likewise.
41232         * nis/nis_print.c: Likewise.
41233         * nis/nis_xdr.c: Likewise.
41234         * nscd/connections.c: Likewise.
41235         * nscd/hstcache.c: Likewise.
41236         * nscd/nscd_gethst_r.c: Likewise.
41237         * nscd/nscd_getserv_r.c: Likewise.
41238         * nscd/nscd_helper.c: Likewise.
41239         * nscd/servicescache.c: Likewise.
41240         * nss/makedb.c: Likewise.
41241         * nss/nss_db/db-XXX.c: Likewise.
41242         * nss/nss_db/db-initgroups.c: Likewise.
41243         * nss/nss_db/db-netgrp.c: Likewise.
41244         * nss/nss_files/files-network.c: Likewise.
41245         * nss/nss_files/files-parse.c: Likewise.
41246         * posix/bug-regex5.c: Likewise.
41247         * posix/fnmatch_loop.c: Likewise.
41248         * posix/regcomp.c: Likewise.
41249         * posix/regexec.c: Likewise.
41250         * posix/tst-rfc3484-2.c: Likewise.
41251         * posix/tst-rfc3484-3.c: Likewise.
41252         * posix/tst-rfc3484.c: Likewise.
41253         * resolv/nss_dns/dns-canon.c: Likewise.
41254         * resolv/nss_dns/dns-network.c: Likewise.
41255         * resolv/res_init.c: Likewise.
41256         * resolv/res_mkquery.c: Likewise.
41257         * resolv/tst-aton.c: Likewise.
41258         * stdlib/cxa_atexit.c: Likewise.
41259         * stdlib/cxa_finalize.c: Likewise.
41260         * stdlib/gen-fpioconst.c: Likewise.
41261         * stdlib/strtol_l.c: Likewise.
41262         * string/tst-endian.c: Likewise.
41263         * sunrpc/auth_des.c: Likewise.
41264         * sunrpc/clnt_udp.c: Likewise.
41265         * sunrpc/rtime.c: Likewise.
41266         * sunrpc/svcauth_des.c: Likewise.
41267         * sunrpc/xdr.c: Likewise.
41268         * sunrpc/xdr_intXX_t.c: Likewise.
41269         * sunrpc/xdr_rec.c: Likewise.
41270         * sysdeps/generic/ldconfig.h: Likewise.
41271         * sysdeps/generic/ldsodefs.h: Likewise.
41272         * sysdeps/generic/memusage.h: Likewise.
41273         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41274         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41275         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41277         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41279         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41280         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41281         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41283         * sysdeps/posix/getaddrinfo.c: Likewise.
41284         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41285         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41286         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41287         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41288         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41289         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41290         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41291         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41292         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41293         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41294         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41295         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41296         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41297         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41298         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41299         * sysdeps/x86_64/dl-tls.h: Likewise.
41300         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41301         * time/alt_digit.c: Likewise.
41302         * time/era.c: Likewise.
41303         * wcsmbs/tst-c16c32-1.c: Likewise.
41305 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41307         * math/libm-test.inc (struct test_sincos_data): New type.
41308         (RUN_TEST_LOOP_sincos): New macro.
41309         (sincos_test_data): New variable.
41310         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41312 2013-05-16  Richard Henderson  <rth@redhat.com>
41314         * math/atest-exp2.c (LIMB64): New macro.
41315         (CONSTSZ): New macro.
41316         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41317         (hexdig): Move ...
41318         (print_mpn_fp): ... to function scope.
41319         (read_mpn_hex): Remove.
41320         (get_log2): Remove.
41321         (exp2_mpn): Use mp_log2.
41322         (main): Use mp_exp1.
41324 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41326         * math/libm-test.inc: Remove comment about not testing "inexact"
41327         exceptions.
41328         (INEXACT_EXCEPTION): New macro.
41329         (NO_INEXACT_EXCEPTION): Likewise.
41330         (INVALID_EXCEPTION_OK): Update value.
41331         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41332         (OVERFLOW_EXCEPTION_OK): Likewise.
41333         (UNDERFLOW_EXCEPTION_OK): Likewise.
41334         (IGNORE_ZERO_INF_SIGN): Likewise.
41335         (ERRNO_UNCHANGED): Likewise.
41336         (ERRNO_EDOM): Likewise.
41337         (ERRNO_ERANGE): Likewise.
41338         (test_exceptions): Handle testing "inexact" exceptions.
41339         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41340         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41341         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41342         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41343         INEXACT_EXCEPTION.
41344         (rint_towardzero_test_data): Likewise.
41345         (rint_downward_test_data): Likewise.
41346         (rint_upward_test_data): Likewise.
41348         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41349         with OVERFLOW_EXCEPTION.
41350         (exp10_test_data): Likewise.
41351         (exp2_test_data): Likewise.
41352         (expm1_test_data): Likewise.
41353         (lgamma_test_data): Likewise.
41354         (pow_test_data): Likewise.
41355         (tgamma_test_data): Likewise.
41356         (yn_test_data): Remove duplicate test of overflow.
41358         * math/libm-test.inc (struct test_cc_c_data): New type.
41359         (RUN_TEST_LOOP_cc_c): New macro.
41360         (cpow_test_data): New variable.
41361         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41363         * math/libm-test.inc (struct test_f_L_data): New type.
41364         (RUN_TEST_LOOP_f_L): New macro.
41365         (llrint_test_data): New variable.
41366         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41367         (llrint_tonearest_test_data): New variable.
41368         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41369         (llrint_towardzero_test_data): New variable.
41370         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41371         (llrint_downward_test_data): New variable.
41372         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41373         (llrint_upward_test_data): New variable.
41374         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41375         (llround_test_data): New variable.
41376         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41378 2013-05-13  Peter Collingbourne  <pcc@google.com>
41380         * math/atest-exp2.c (get_log2): Remove const attribute.
41382 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41384         * math/libm-test.inc (struct test_f_l_data): New type.
41385         (RUN_TEST_LOOP_f_l): New macro.
41386         (lrint_test_data): New variable.
41387         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41388         (lrint_tonearest_test_data): New variable.
41389         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41390         (lrint_towardzero_test_data): New variable.
41391         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41392         (lrint_downward_test_data): New variable.
41393         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41394         (lrint_upward_test_data): New variable.
41395         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41396         (lround_test_data): New variable.
41397         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41399 2013-05-15  Peter Collingbourne  <pcc@google.com>
41401         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41402         (EXTRACT_WORDS64) Use where appropriate.
41403         (INSERT_WORDS64) Likewise.
41405         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41406         constraints with x constraints.
41407         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41409         * malloc/obstack.c (_obstack_compat): Add initializer.
41411 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41413         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41414         si_trapno and add si_addr_lsb to _sifields.sigfault.
41415         (si_trapno): Remove macro.
41416         (si_addr_lsb): Define new macro.
41417         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41419 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41421         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41422         instead of TEST_f_l.
41423         (llrint_test_tonearest): Likewise.
41424         (llrint_test_towardzero): Likewise.
41425         (llrint_test_downward): Likewise.
41426         (llrint_test_upward): Likewise.
41427         (llround_test): Likewise.
41429         * math/libm-test.inc (struct test_f_i_data): Add comment.
41430         (RUN_TEST_LOOP_f_b): New macro.
41431         (RUN_TEST_LOOP_f_b_tg): Likewise.
41432         (finite_test_data): New variable.
41433         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41434         (isfinite_test_data): New variable.
41435         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41436         (isinf_test_data): New variable.
41437         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41438         (isnan_test_data): New variable.
41439         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41440         (isnormal_test_data): New variable.
41441         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41442         (issignaling_test_data): New variable.
41443         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41444         (signbit_test_data): New variable.
41445         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41447         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41448         with INVALID_EXCEPTION.
41449         (acosh_test_data): Likewise.
41450         (asin_test_data): Likewise.
41451         (atanh_test_data): Likewise.
41452         (fmod_test_data): Likewise.
41453         (log_test_data): Likewise.
41454         (log10_test_data): Likewise.
41455         (log2_test_data): Likewise.
41456         (pow_test_data): Likewise.
41457         (sqrt_test_data): Likewise.
41458         (y0_test_data): Likewise.
41459         (y1_test_data): Likewise.
41460         (yn_test_data): Likewise.
41462         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41463         function contents.
41465         * math/libm-test.inc (struct test_ff_i_data): New type.
41466         (RUN_TEST_LOOP_ff_i_tg): New macro.
41467         (isgreater_test_data): New variable.
41468         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41469         (isgreaterequal_test_data): New variable.
41470         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41471         (isless_test_data): New variable.
41472         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41473         (islessequal_test_data): New variable.
41474         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41475         (islessgreater_test_data): New variable.
41476         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41477         (isunordered_test_data): New variable.
41478         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41480 2013-05-14  David S. Miller  <davem@davemloft.net>
41482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41484 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41486         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41488         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41489         extra_test to int.
41490         (struct test_f_i_data): Change type of max_ulp to int.
41492         * math/libm-test.inc (test_ffI_f1_data): New type.
41493         (RUN_TEST_LOOP_ffI_f1): New macro.
41494         (remquo_test_data): New variable.
41495         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41497         * setjmp/tst-setjmp-fp.c: New file.
41498         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41499         (link-libm): New variable.
41500         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41502         * math/libm-test.inc (struct test_f_i_data): New type.
41503         (RUN_TEST_LOOP_f_i): New macro.
41504         (RUN_TEST_LOOP_f_i_tg): Likewise.
41505         (fpclassify_test_data): New variable.
41506         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41507         (ilogb_test_data): New variable.
41508         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41510         * math/libm-test.inc (scalbln_test): Correct function name in END
41511         call.
41513         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41514         (RUN_TEST_LOOP_fI_f1): New macro.
41515         (frexp_test_data): New variable.
41516         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41518         * math/libm-test.inc (struct test_fF_f1_data): New type.
41519         (RUN_TEST_LOOP_fF_f1): New macro.
41520         (modf_test_data): New variable.
41521         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41523         * math/libm-test.inc (struct test_f_f1_data): New type.
41524         (RUN_TEST_LOOP_f_f1): New macro.
41525         (gamma_test_data): New variable.
41526         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41527         (lgamma_test_data): New variable.
41528         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41530 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41532         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41533         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41534         (main): Comment "tls" pseudo-hwcap.
41536 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41538         * math/libm-test.inc (struct test_fl_f_data): New type.
41539         (RUN_TEST_LOOP_fl_f): New variable.
41540         (scalbln_test_data): New variable.
41541         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41543         * math/libm-test.inc (struct test_fi_f_data): New type.
41544         (RUN_TEST_LOOP_fi_f): New macro.
41545         (ldexp_test_data): New variable.
41546         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41547         (scalbn_test_data): New variable.
41548         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41550         * math/libm-test.inc (struct test_c_f_data): New type.
41551         (RUN_TEST_LOOP_c_f): New macro.
41552         (cabs_test_data): New variable.
41553         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41554         (carg_test_data): New variable.
41555         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41556         (cimag_test_data): New variable.
41557         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41558         (creal_test_data): New variable.
41559         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41561         * math/libm-test.inc (struct test_if_f_data): New type.
41562         (RUN_TEST_LOOP_if_f): New macro.
41563         (jn_test_data): New variable.
41564         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41565         (yn_test_data): New variable.
41566         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41568         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41570 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41572         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41573         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41575 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41577         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41578         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41579         (bench-deps): Add bench-timing.h.
41580         * benchtests-bench-skeleton.c: Include bench-timing.h.
41581         (main): Use TIMING_* macros instead of clock_gettime.
41582         * benchtests/bench-timing.h: New file.
41584         [BZ #14582]
41585         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41586         Renamed from _LIB_VERSION.
41587         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41589 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41591         * math/libm-test.inc (struct test_fff_f_data): New type.
41592         (RUN_TEST_LOOP_fff_f): New macro.
41593         (fma_test_data): New variable.
41594         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41595         (fma_towardzero_test_data): New variable.
41596         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41597         (fma_downward_test_data): New variable.
41598         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41599         (fma_upward_test_data): New variable.
41600         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41602         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41603         (struct test_c_c_data): New type.
41604         (RUN_TEST_LOOP_c_c): New macro.
41605         (cacos_test_data): New variable.
41606         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41607         (cacosh_test_data): New variable.
41608         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41609         (casin_test_data): New variable.
41610         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41611         (casinh_test_data): New variable.
41612         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41613         (catan_test_data): New variable.
41614         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41615         (catanh_test_data): New variable.
41616         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41617         (ccos_test_data): New variable.
41618         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41619         (ccosh_test_data): New variable.
41620         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41621         (cexp_test_data): New variable.
41622         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41623         (clog_test_data): New variable.
41624         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41625         (clog10_test_data): New variable.
41626         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41627         (conj_test_data): New variable.
41628         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41629         (cproj_test_data): New variable.
41630         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41631         (csin_test_data): New variable.
41632         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41633         (csinh_test_data): New variable.
41634         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41635         (csqrt_test_data): New variable.
41636         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41637         (ctan_test_data): New variable.
41638         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41639         (ctan_tonearest_test_data): New variable.
41640         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41641         (ctan_towardzero_test_data): New variable.
41642         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41643         (ctan_downward_test_data): New variable.
41644         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41645         (ctan_upward_test_data): New variable.
41646         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41647         (ctanh_test_data): New variable.
41648         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41649         (ctanh_tonearest_test_data): New variable.
41650         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41651         (ctanh_towardzero_test_data): New variable.
41652         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41653         (ctanh_downward_test_data): New variable.
41654         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41655         (ctanh_upward_test_data): New variable.
41656         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41657         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41658         of BUILD_COMPLEX.
41660         * math/libm-test.inc (struct test_ff_f_data): New type.
41661         (struct test_ff_f_data_nexttoward): Likewise.
41662         (RUN_TEST_LOOP_2_f): New macro.
41663         (RUN_TEST_LOOP_ff_f): Likewise.
41664         (atan2_test_data): New variable.
41665         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41666         (copysign_test_data): New variable.
41667         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41668         (fdim_test_data): New variable.
41669         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41670         (fmax_test_data): New variable.
41671         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41672         (fmin_test_data): New variable.
41673         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41674         (fmod_test_data): New variable.
41675         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41676         (hypot_test_data): New variable.
41677         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41678         (nextafter_test_data): New variable.
41679         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41680         (nexttoward_test_data): New variable.
41681         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41682         (pow_test_data): New variable.
41683         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41684         (pow_tonearest_test_data): New variable.
41685         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41686         (pow_towardzero_test_data): New variable.
41687         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41688         (pow_downward_test_data): New variable.
41689         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41690         (pow_upward_test_data): New variable.
41691         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41692         (remainder_test_data): New variable.
41693         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41694         (scalb_test_data): New variable.
41695         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41696         * sysdeps/i386/fpu/libm-test-ulps: Update.
41698 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41700         * math/libm-test.inc (fma_test): Use max_value instead of local
41701         variable fltmax.
41702         (nextafter_test): Likewise.
41704         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41705         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41706         (acos_downward_test_data): New variable.
41707         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41708         (acos_upward_test_data): New variable.
41709         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41710         (acosh_test_data): New variable.
41711         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41712         (asin_test_data): New variable.
41713         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41714         (asin_tonearest_test_data): New variable.
41715         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41716         (asin_towardzero_test_data): New variable.
41717         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41718         (asin_downward_test_data): New variable.
41719         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41720         (asin_upward_test_data): New variable.
41721         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41722         (asinh_test_data): New variable.
41723         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41724         (atan_test_data): New variable.
41725         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41726         (atanh_test_data): New variable.
41727         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41728         (cbrt_test_data): New variable.
41729         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41730         (ceil_test_data): New variable.
41731         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41732         (cos_test_data): New variable.
41733         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41734         (cos_tonearest_test_data): New variable.
41735         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41736         (cos_towardzero_test_data): New variable.
41737         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41738         (cos_downward_test_data): New variable.
41739         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41740         (cos_upward_test_data): New variable.
41741         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41742         (cosh_test_data): New variable.
41743         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41744         (cosh_tonearest_test_data): New variable.
41745         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41746         (cosh_towardzero_test_data): New variable.
41747         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41748         (cosh_downward_test_data): New variable.
41749         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41750         (cosh_upward_test_data): New variable.
41751         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41752         (erf_test_data): New variable.
41753         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41754         (erfc_test_data): New variable.
41755         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41756         (exp_test_data): New variable.
41757         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41758         (exp_tonearest_test_data): New variable.
41759         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41760         (exp_towardzero_test_data): New variable.
41761         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41762         (exp_downward_test_data): New variable.
41763         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41764         (exp_upward_test_data): New variable.
41765         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41766         (exp10_test_data): New variable.
41767         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41768         (exp2_test_data): New variable.
41769         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41770         (expm1_test_data): New variable.
41771         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41772         (fabs_test_data): New variable.
41773         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41774         (floor_test_data): New variable.
41775         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41776         (j0_test_data): New variable.
41777         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41778         (j1_test_data): New variable.
41779         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41780         (log_test_data): New variable.
41781         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41782         (log10_test_data): New variable.
41783         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41784         (log1p_test_data): New variable.
41785         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41786         (log2_test_data): New variable.
41787         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41788         (logb_test_data): New variable.
41789         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41790         (logb_downward_test_data): New variable.
41791         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41792         (nearbyint_test_data): New variable.
41793         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41794         (rint_test_data): New variable.
41795         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41796         (rint_tonearest_test_data): New variable.
41797         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41798         (rint_towardzero_test_data): New variable.
41799         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41800         (rint_downward_test_data): New variable.
41801         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41802         (rint_upward_test_data): New variable.
41803         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41804         (round_test_data): New variable.
41805         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41806         (sin_test_data): New variable.
41807         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41808         (sin_tonearest_test_data): New variable.
41809         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41810         (sin_towardzero_test_data): New variable.
41811         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41812         (sin_downward_test_data): New variable.
41813         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41814         (sin_upward_test_data): New variable.
41815         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41816         (sinh_test_data): New variable.
41817         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41818         (sinh_tonearest_test_data): New variable.
41819         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41820         (sinh_towardzero_test_data): New variable.
41821         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41822         (sinh_downward_test_data): New variable.
41823         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41824         (sinh_upward_test_data): New variable.
41825         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41826         (sqrt_test_data): New variable.
41827         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41828         (tan_test_data): New variable.
41829         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41830         (tan_tonearest_test_data): New variable.
41831         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41832         (tan_towardzero_test_data): New variable.
41833         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41834         (tan_downward_test_data): New variable.
41835         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41836         (tan_upward_test_data): New variable.
41837         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41838         (tanh_test_data): New variable.
41839         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41840         (tgamma_test_data): New variable.
41841         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41842         (trunc_test_data): New variable.
41843         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41844         (y0_test_data): New variable.
41845         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41846         (y1_test_data): New variable.
41847         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41848         (significand_test_data): New variable.
41849         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41851 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41853         [BZ #12387]
41854         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41856 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41858         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41860 2013-05-10  Andreas Jaeger  <aj@suse.de>
41862         [BZ #15448]
41863         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41864         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41866 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41868         * math/gen-libm-test.pl (adjust_arg): New function.
41869         (special_functions): Handle generating output in both functions
41870         and arrays.
41871         (parse_args): Likewise.
41872         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41873         $in_func argument to parse_args.
41874         * math/libm-test.inc (struct test_f_f_data): New type.
41875         (IF_ROUND_INIT_): New macro.
41876         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41877         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41878         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41879         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41880         (ROUND_RESTORE_): Likewise.
41881         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41882         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41883         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41884         (ROUND_RESTORE_FE_UPWARD): Likewise.
41885         (RUN_TEST_LOOP_f_f): New macro.
41886         (acos_test_data): New variable.
41887         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41888         (acos_tonearest_test_data): New variable.
41889         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41891 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41893         * benchtests/bench-skeleton.c (startup): Fix coding style.
41895 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41897         [BZ #6809]
41898         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41899         negative infinity argument.
41900         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41901         negative infinity argument.
41902         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41903         negative infinity argument.
41904         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41905         domain errors.
41907 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41909         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41910         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41911         * iconv/iconv_prog.c (main): Likewise.
41912         * locale/programs/charmap-dir.c (charmap_readdir)
41913         (fopen_uncompressed): Likewise.
41914         * locale/programs/locfile.c (siblings_uncached)
41915         (write_locale_data): Use lstat64 instead of lstat.
41916         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41917         stat.
41919 2013-05-10  Andreas Jaeger  <aj@suse.de>
41921         [BZ #15395]
41922         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41923         localization.
41924         Include <locale.h>.
41926 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41928         * elf/dl-close.c (_dl_close_worker): Add comments.
41930 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41932         [BZ #15359]
41933         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41934         high part of pi/2.
41935         (__ieee754_rem_pio2l): Update comments.
41937         [BZ #15429]
41938         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41939         high part of pi/2.
41940         (__ieee754_rem_pio2l): Update comments.
41942         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41943         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41945         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41946         M_PI_4l.
41948         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41949         (M_PI_34_LOG10El): Likewise.
41950         (M_PI2_LOG10El): Likewise.
41951         (M_PI4_LOG10El): Likewise.
41952         (M_PI_LOG10El): Likewise.
41954 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41958 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41960         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41961         (MINUS_ZERO_INIT): Likewise.
41962         (PLUS_INFTY_INIT): Likewise.
41963         (MINUS_INFTY_INIT): Likewise.
41964         (QNAN_VALUE_INIT): Likewise.
41965         (MAX_VALUE_INIT): Likewise.
41966         (MIN_VALUE_INIT): Likewise.
41967         (MIN_SUBNORM_VALUE_INIT): Likewise.
41968         (plus_zero): Initialize with PLUS_ZERO_INIT.
41969         (minus_zero): Initialize with MINUS_ZERO_INIT.
41970         (plus_infty): Initialize with PLUS_INFTY_INIT.
41971         (minus_infty): Initialize with MINUS_INFTY_INIT.
41972         (qnan_value): Initialize with QNAN_VALUE_INIT.
41973         (max_value): Initialize with MAX_VALUE_INIT.
41974         (min_value): Initialize with MIN_VALUE_INIT.
41975         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41977         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41978         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41979         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41980         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41982         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41983         (RUN_TEST_2_f): Likewise.
41984         (RUN_TEST_ff_f): Likewise.
41985         (RUN_TEST_fi_f): Likewise.
41986         (RUN_TEST_fl_f): Likewise.
41987         (RUN_TEST_fff_f): Likewise.
41988         (RUN_TEST_c_f): Likewise.
41989         (RUN_TEST_f_f1): Likewise.
41990         (RUN_TEST_fF_f1): Likewise.
41991         (RUN_TEST_fI_f1): Likewise.
41992         (RUN_TEST_ffI_f1): Likewise.
41993         (RUN_TEST_c_c): Likewise.
41994         (RUN_TEST_cc_c): Likewise.
41995         (RUN_TEST_f_i): Likewise.
41996         (RUN_TEST_f_i_tg): Likewise.
41997         (RUN_TEST_ff_i_tg): Likewise.
41998         (RUN_TEST_f_b): Likewise.
41999         (RUN_TEST_f_b_tg): Likewise.
42000         (RUN_TEST_f_l): Likewise.
42001         (RUN_TEST_f_L): Likewise.
42002         (RUN_TEST_sincos): Likewise.
42003         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42004         whether to show exceptions.  Do not include ");\n" in return
42005         value.
42006         (special_functions): Output call to RUN_TEST_sincos instead of
42007         check_float calls.  Update calls to new_test.
42008         (parse_args): Output call to single RUN_TEST_* macro instead of
42009         check_* calls and other assignments.  Update calls to new_test.
42011         [BZ #2546]
42012         [BZ #2560]
42013         [BZ #5159]
42014         [BZ #15426]
42015         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42016         input to result for tgamma overflow.
42017         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42018         (gamma_coeff): New variable.
42019         (NCOEFF): New macro.
42020         (gamma_positive): New function.
42021         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42022         underflow here.  Use gamma_positive instead of exp (lgamma) for
42023         other arguments.
42024         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42025         (gamma_coeff): New variable.
42026         (NCOEFF): New macro.
42027         (gammaf_positive): New function.
42028         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42029         underflow here.  Use gamma_positive instead of exp (lgamma) for
42030         other arguments.
42031         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42032         (gamma_coeff): New variable.
42033         (NCOEFF): New macro.
42034         (gammal_positive): New function.
42035         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42036         underflow here.  Use gamma_positive instead of exp (lgamma) for
42037         other arguments.
42038         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42039         (gamma_coeff): New variable.
42040         (NCOEFF): New macro.
42041         (gammal_positive): New function.
42042         (__ieee754_gammal_r): Handle positive infinity, overflow and
42043         underflow here.  Handle NaN the same as positive infinity.  Remove
42044         check x < 0xffffffff for negative integers.  Use gamma_positive
42045         instead of exp (lgamma) for other arguments.
42046         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42047         (gamma_coeff): New variable.
42048         (NCOEFF): New macro.
42049         (gammal_positive): New function.
42050         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42051         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42052         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42053         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42054         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42055         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42056         * sysdeps/generic/math_private.h (__gamma_productf): New
42057         prototype.
42058         (__gamma_product): Likewise.
42059         (__gamma_productl): Likewise.
42060         * math/Makefile (libm-calls): Add gamma_product.
42061         * math/libm-test.inc (tgamma_test): Add more tests.
42062         * sysdeps/i386/fpu/libm-test-ulps: Update.
42063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42065 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42067         * benchtests/bench-skeleton.c (main): Preheat CPU.
42069 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42071         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42073 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42075         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42076         and _dl_skip_args_internal.
42078 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42080         * manual/message.texi (Message Translation): Talk about users.
42081         Message to key mapping impacts design.
42083 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42085         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42087         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42089         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42090         * sysdeps/wordsize-64/glob64.c: ... here.
42092         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42093         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42094         New macros.
42096         * debug/getlogin_r_chk.c: Moved to ...
42097         * login/getlogin_r_chk.c: ... here.
42098         * debug/Makefile (routines): Move getlogin_r_chk to ...
42099         * login/Makefile (routines): ... here.
42100         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42101         * login/Versions (libc: GLIBC_2.4): ... here.
42103         * io/poll.c (__poll): Renamed from poll.
42104         Add libc_hidden_def.
42105         (poll): Define as weak alias.
42107         * debug/ptsname_r_chk.c: Moved to ...
42108         * login/ptsname_r_chk.c: ... here.
42109         * debug/Makefile (routines): Move ptsname_r_chk to ...
42110         * login/Makefile (routines): ... here.
42111         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42112         * login/Versions (libc: GLIBC_2.4): ... here.
42114         * posix/getlogin.c: Moved to ...
42115         * login/getlogin.c: ... here.
42116         * posix/getlogin_r.c: Moved to ...
42117         * login/getlogin_r.c: ... here.
42118         * posix/getlogin_r.c: Moved to ...
42119         * login/getlogin_r.c: ... here.
42120         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42121         * login/Makefile (routines): ... here.
42122         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42123         * login/Versions (libc: GLIBC_2.0): ... here.
42125         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42126         (setrlimit): Define as weak alias.
42128         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42129         Call __ names for open, ftruncate, and close.
42130         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42131         (truncate): Define as weak alias.
42133 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42135         * math/gen-libm-test.pl (parse_args): Initialize x before each
42136         test of frexp, modf and remquo.
42138         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42139         test signgam value.
42141 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42143         [BZ #15418]
42144         [BZ #15419]
42145         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42146         internal tests.
42147         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42149 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42151         * elf/dl-writev.h: New file.
42152         * elf/dl-misc.c: Include it.
42153         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42154         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42156 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42158         * math/libm-test.inc (noXFails): Remove variable.
42159         (noXPasses): Likewise.
42160         (BUILD_COMPLEX_INT): Remove macro.
42161         (print_screen): Remove xfail argument.
42162         (print_screen_max_error): Likewise.
42163         (update_stats): Likewise.
42164         (print_max_error): Likewise.  Update calls to other affected
42165         functions.
42166         (print_complex_max_error): Likewise.
42167         (test_single_exception): Update calls to print_screen.
42168         (test_single_errno): Likewise.
42169         (check_float_internal): Remove xfail argument.  Update calls to
42170         other affected functions.
42171         (check_float): Likewise.
42172         (check_complex): Likewise.
42173         (check_int): Likewise.
42174         (check_long): Likewise.
42175         (check_bool): Likewise.
42176         (check_longlong): Likewise.
42177         (main): Don't print noXFails and noXPasses.
42178         * math/gen-libm-test.pl (top level): Don't mention expected
42179         failure handling in comment.
42180         (new_test): Don't handle expected failures.
42181         (parse_args): Don't mention expected failure handling in comment.
42182         (generate_testfile): Don't handle expected failures.
42183         (parse_ulps): Likewise.
42184         (print_ulps_file): Likewise.
42185         (get_failure): Remove function.
42186         (output_test): Don't handle expected failures.
42187         * make/README.libm-test: Don't mention expected failure handling.
42189         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42190         (minus_zero): Likewise.
42191         (plus_infty): Likewise.
42192         (minus_infty): Likewise.
42193         (qnan_value): Likewise.
42194         (max_value): Likewise.
42195         (min_value): Likewise.
42196         (min_subnorm_value): Likewise.
42197         (initialize): Do not initialize those variables dynamically.
42199 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42201         * io/open.c (__open_2): Moved to ...
42202         * io/open_2.c: ... this new file.
42203         * io/open64.c (__open64_2): Moved to ...
42204         * io/open64_2.c: ... this new file.
42205         * io/openat.c (__openat_2): Moved to ...
42206         * io/openat_2.c: ... this new file.
42207         * io/openat64.c (__openat64_2): Moved to ...
42208         * io/openat64_2.c: ... this new file.
42209         * io/Makefile (routines): Add them.
42210         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42211         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42212         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42213         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42214         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42215         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42216         (__openat64): Add hidden_ver.
42217         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42218         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42220         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42221         Separately conditionalize setting of GLRO(dl_sysinfo) so
42222         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42223         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42225 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42227         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42229         definition.
42230         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42231         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42232         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42233         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42234         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42236 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42238         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42239         test signgam value.
42241         * math/libm-test.inc (hypot_test): Do not use
42242         IGNORE_ZERO_INF_SIGN.
42244 2013-05-03  Andreas Jaeger  <aj@suse.de>
42246         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42247         Linux 3.9.
42248         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42249         (PF_MAX): Adjust for VSOCK change.
42251 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42255 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42257         [BZ #15264]
42258         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42259         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42260         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42262 2013-05-02  David S. Miller  <davem@davemloft.net>
42264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42266 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42268         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42270 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42272         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42274 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42276         [BZ #14952]
42277         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42278         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42279         Use __attribute__ ((__gnu_inline__)).
42280         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42281         Don't use __attribute__ ((__gnu_inline__)).
42283 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42285         [BZ #15423]
42286         * math/s_catan.c (__catan): Handle small real or imaginary part of
42287         input specially to avoid spurious underflow.
42288         * math/s_catanf.c (__catanf): Likewise.
42289         * math/s_catanh.c (__catanh): Likewise.
42290         * math/s_catanhf.c (__catanhf): Likewise.
42291         * math/s_catanhl.c (__catanhl): Likewise.
42292         * math/s_catanl.c (__catanl): Likewise.
42293         * math/libm-test.inc (catan_test): Add more tests.
42294         (catanh_test): Likewise.
42295         * sysdeps/i386/fpu/libm-test-ulps: Update.
42296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42298 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42302 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42304         [BZ #15416]
42305         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42306         accurately for denominator in atan2.
42307         * math/s_catanf.c (__catanf): Likewise.
42308         * math/s_catanh.c (__catanh): Likewise.
42309         * math/s_catanhf.c (__catanhf): Likewise.
42310         * math/s_catanhl.c (__catanhl): Likewise.
42311         * math/s_catanl.c (__catanl): Likewise.
42312         * math/libm-test.inc (catan_test): Add more tests.
42313         (catanh_test): Likewise.
42314         * sysdeps/i386/fpu/libm-test-ulps: Update.
42315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42317 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42319         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42321         * benchtests/Makefile (bench): Remove slow benchmarks.
42322         * benchtests/atan-inputs: Add slow benchmark inputs.
42323         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42324         (BENCH_FUNC): Accept variant offset.
42325         (VARIANT): Define.
42326         * benchtests/bench-skeleton.c (main): Run benchmark for each
42327         variant.
42328         * benchtests/cos-inputs: Add slow benchmark inputs.
42329         * benchtests/exp-inputs: Likewise.
42330         * benchtests/pow-inputs: Likewise.
42331         * benchtests/sin-inputs: Likewise.
42332         * benchtests/slowatan-inputs: Remove.
42333         * benchtests/slowatan.c: Remove.
42334         * benchtests/slowcos-inputs: Remove.
42335         * benchtests/slowcos.c: Remove.
42336         * benchtests/slowexp-inputs: Remove.
42337         * benchtests/slowexp.c: Remove.
42338         * benchtests/slowpow-inputs: Remove.
42339         * benchtests/slowpow.c: Remove.
42340         * benchtests/slowsin-inputs: Remove.
42341         * benchtests/slowsin.c: Remove.
42342         * benchtests/slowtan-inputs: Remove.
42343         * benchtests/slowtan.c: Remove.
42344         * benchtests/tan-inputs: Add slow benchmark inputs.
42345         * scripts/bench.pl: Parse comments and directives.
42347         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42348         in CPPFLAGS.
42349         ($(objpfx)bench-%.c): Remove *-ITER.
42350         * benchtests/bench-modf.c: Remove definition of ITER.
42351         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42352         (main): Loop for DURATION seconds instead of fixed number of
42353         iterations.
42354         * scripts/bench.pl: Don't expect iterations in parameters.
42356 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42358         * io/fchdir.c (__fchdir): Renamed from fchdir.
42359         (fchdir): Define as weak alias.
42361 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42363         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42364         (ERRNO_EDOM): Likewise.
42365         (ERRNO_ERANGE): Likewise.
42366         (noErrnoTests): New variable.
42367         (init_max_error): Set errno to 0.
42368         (test_single_errno): New function.
42369         (test_errno): Likewise.
42370         (check_float_internal): Call test_errno.  Set errno to 0.
42371         (check_complex): Refer to errno tests in comment.
42372         (check_int): Call test_errno.  Set errno to 0.
42373         (check_long): Likewise.
42374         (check_bool): Likewise.
42375         (check_longlong): Likewise.
42376         (cos_test): Use ERRNO_* flags for errno tests instead of
42377         check_int.
42378         (expm1_test): Likewise.
42379         (fmod_test): Likewise.
42380         (ilogb_test): Likewise.
42381         (lgamma_test): Likewise.
42382         (pow_test): Likewise.
42383         (remainder_test): Likewise.
42384         (sin_test): Likewise.
42385         (tan_test): Likewise.
42386         (yn_test): Likewise.
42387         (initialize): Set errno to 0.
42388         (main): Print number of errno tests.
42389         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42391 2013-04-29  Andreas Jaeger  <aj@suse.de>
42393         [BZ #15084]
42394         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42395         and RES_USEVC.
42397         [BZ #15085]
42398         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42399         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42400         unimplemented.
42402         [BZ #15380]
42403         * stdlib/random.c (__initstate): Return NULL if
42404         __initstate fails.
42406         [BZ #15086]
42407         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42408         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42409         RES_SNGLKUPREOP.
42411 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42415 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42417         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42418         of individual tests.
42419         (casin_test): Likewise.
42420         (casinh_test): Likewise.
42422 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42424         [BZ #15409]
42425         * math/s_catan.c (__catan): Handle arguments with large real or
42426         imaginary part separately without squaring.
42427         * math/s_catanf.c (__catanf): Likewise.
42428         * math/s_catanh.c (__catanh): Likewise.
42429         * math/s_catanhf.c (__catanhf): Likewise.
42430         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42431         and redefine.
42432         (__catanhl): Handle arguments with large real or imaginary part
42433         separately without squaring.
42434         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42435         and redefine.
42436         (__catanl): Handle arguments with large real or imaginary part
42437         separately without squaring.
42438         * math/libm-test.inc (catan_test): Add more tests.
42439         (catanh_test): Likewise.
42440         * sysdeps/i386/fpu/libm-test-ulps: Update.
42441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42443 2013-04-27  Andreas Jaeger  <aj@suse.de>
42445         [BZ #15007]
42446         * stdlib/stdlib.h: Update guards for qecvt.
42447         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42448         <stdlib.h>.
42450 2013-04-27  Allan McRae  <allan@archlinux.org>
42452         * sysdeps/i386/fpu/libm-test-ulps: Update.
42454 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42456         [BZ #15406]
42457         * math/s_catan.c: Include <float.h>.
42458         (__catan): Ensure underflow exception occurs for underflowed
42459         result.
42460         * math/s_catanf.c: Include <float.h>.
42461         (__catanf): Ensure underflow exception occurs for underflowed
42462         result.
42463         * math/s_catanh.c: Include <float.h>.
42464         (__catanh): Ensure underflow exception occurs for underflowed
42465         result.
42466         * math/s_catanhf.c: Include <float.h>.
42467         (__catanhf): Ensure underflow exception occurs for underflowed
42468         result.
42469         * math/s_catanhl.c: Include <float.h>.
42470         (__catanhl): Ensure underflow exception occurs for underflowed
42471         result.
42472         * math/s_catanl.c: Include <float.h>.
42473         (__catanl): Ensure underflow exception occurs for underflowed
42474         result.
42475         * math/libm-test.inc (catan_test): Add more tests.
42476         (catanh_test): Likewise.
42478         [BZ #15405]
42479         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42480         underflowed result.
42481         * math/s_ccoshf.c (__ccoshf): Likewise.
42482         * math/s_ccoshl.c (__ccoshl): Likewise.
42483         * math/s_csin.c (__csin): Likewise.
42484         * math/s_csinf.c (__csinf): Likewise.
42485         * math/s_csinh.c (__csinh): Likewise.
42486         * math/s_csinhf.c (__csinhf): Likewise.
42487         * math/s_csinhl.c (__csinhl): Likewise.
42488         * math/s_csinl.c (__csinl): Likewise.
42489         * math/libm-test.inc (ccos_test): Add more tests.
42490         (ccosh_test): Likewise.
42491         (csin_test): Likewise.
42492         (csinh_test): Likewise.
42494 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42496         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42497         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42498         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42499         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42500         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42501         powerpc/power5+/fpu folders.
42502         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42505 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42509 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42511         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42512         additions to variable.
42513         [$(config-machine) = x86_64] (modules-names): Likewise.
42514         ($(objpfx)tst-audit3): Remove dependency.
42515         ($(objpfx)tst-audit3.out): Likewise.
42516         ($(objpfx)tst-audit4): Likewise.
42517         ($(objpfx)tst-audit4.out): Likewise.
42518         ($(objpfx)tst-audit5): Likewise.
42519         ($(objpfx)tst-audit5.out): Likewise.
42520         ($(objpfx)tst-audit6): Likewise.
42521         ($(objpfx)tst-audit6.out): Likewise.
42522         ($(objpfx)tst-audit7): Likewise.
42523         ($(objpfx)tst-audit7.out): Likewise.
42524         (tst-audit3-ENV): Remove variable.
42525         (tst-audit4-ENV): Likewise.
42526         (tst-audit5-ENV): Likewise.
42527         (tst-audit6-ENV): Likewise.
42528         (tst-audit7-ENV): Likewise.
42529         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42530         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42531         addition to variable.
42532         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42533         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42535         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42536         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42537         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42538         tst-audit3, tst-audit4 and tst-audit5.
42539         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42540         tst-audit6 and tst-audit7.
42541         [$(subdir) = elf] (modules-names): Add audit modules for those
42542         tests.
42543         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42544         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42545         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42546         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42547         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42548         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42549         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42550         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42551         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42552         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42553         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42554         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42555         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42556         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42557         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42558         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42559         Likewise.
42560         [$(subdir) = elf && $(config-cflags-avx) = yes]
42561         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42562         [$(subdir) = elf && $(config-cflags-avx) = yes]
42563         (CFLAGS-tst-auditmod4a.c): Likewise.
42564         [$(subdir) = elf && $(config-cflags-avx) = yes]
42565         (CFLAGS-tst-auditmod4b.c): Likewise.
42566         [$(subdir) = elf && $(config-cflags-avx) = yes]
42567         (CFLAGS-tst-auditmod6b.c): Likewise.
42568         [$(subdir) = elf && $(config-cflags-avx) = yes]
42569         (CFLAGS-tst-auditmod6c.c): Likewise.
42570         [$(subdir) = elf && $(config-cflags-avx) = yes]
42571         (CFLAGS-tst-auditmod7b.c): Likewise.
42572         * elf/tst-audit3.c: Move to ...
42573         * sysdeps/x86_64/tst-audit3.c: ... here.
42574         * elf/tst-audit4.c: Move to ...
42575         * sysdeps/x86_64/tst-audit4.c: ... here.
42576         * elf/tst-audit5.c: Move to ...
42577         * sysdeps/x86_64/tst-audit5.c: ... here.
42578         * elf/tst-audit6.c: Move to ...
42579         * sysdeps/x86_64/tst-audit6.c: ... here.
42580         * elf/tst-audit7.c: Move to ...
42581         * sysdeps/x86_64/tst-audit7.c: ... here.
42582         * elf/tst-auditmod3a.c: Move to ...
42583         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42584         * elf/tst-auditmod3b.c: Move to ...
42585         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42586         * elf/tst-auditmod4a.c: Move to ...
42587         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42588         * elf/tst-auditmod4b.c: Move to ...
42589         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42590         * elf/tst-auditmod5a.c: Move to ...
42591         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42592         * elf/tst-auditmod5b.c: Move to ...
42593         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42594         * elf/tst-auditmod6a.c: Move to ...
42595         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42596         * elf/tst-auditmod6b.c: Move to ...
42597         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42598         * elf/tst-auditmod6c.c: Move to ...
42599         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42600         * elf/tst-auditmod7a.c: Move to ...
42601         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42602         * elf/tst-auditmod7b.c: Move to ...
42603         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42605 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42607         [BZ #15366]
42608         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42609         define unconditionally.
42610         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42611         define unconditionally.
42612         (INT8_C, INT16_C, etc.): Likewise.
42614 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42616         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42617         __ehdr_start with hidden visibility.
42619         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42621 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42623         * math/libm-test.inc (cos_test): Use accurate hex constants.
42624         (sincost_test): Likewise.
42626 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42628         * math/libm-test.inc (catan_test): Add more tests.
42629         (catanh_test): Likewise.
42631         * math/s_catanf.c (__catanf): Use suffixed floating-point
42632         constants.
42633         * math/s_catanhf.c (__catanhf): Likewise.
42634         * math/s_catanhl.c (__catanhl): Likewise.
42635         * math/s_catanl.c (__catanl): Likewise.
42637         [BZ #15394]
42638         * math/s_catan.c (__catan): Calculate imaginary part of result
42639         with log1p not log unless computing log of number close to 0.
42640         * math/s_catanf.c (__catanf): Likewise.
42641         * math/s_catanl.c (__catanl): Likewise.
42642         * math/s_catanh.c (__catanh): Calculate real part of result with
42643         log1p not log unless computing log of number close to 0.
42644         * math/s_catanhf.c (__catanhf): Likewise.
42645         * math/s_catanhl.c (__catanhl): Likewise.
42646         * math/libm-test.inc (catan_test): Add more tests.
42647         (catanh_test): Likewise.
42648         * sysdeps/i386/fpu/libm-test-ulps: Update.
42649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42651 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42653         * benchtests/Makefile: Mention files in which fast and slow
42654         paths of math functions are implemented.
42656 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42658         * sysdeps/posix/timespec_get.c: New file.
42660 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42662         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42663         POWER.
42664         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42665         for POWER.
42666         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42667         powerpc/power5/fpu folders.
42668         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42669         * benchtests/Makefile: Add modf testcase.
42670         * benchtests/bench-modf.c: New file: Benchmark test for mo
42672 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42674         [BZ #14888]
42675         * time/Makefile (tests): Add tst-strptime-whitespace.
42676         * time/strptime_l.c (get_number): Use ISSPACE.
42677         (__strptime_internal): Likewise.
42678         * time/tst-strptime-whitespace.c: New test case.
42680 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42682         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42683         member.
42684         (_nss_files_init): Set it here.
42686 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42688         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42689         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42690         unsigned.
42692 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42694         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42696 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42699         size just once.
42701 2013-04-21  David S. Miller  <davem@davemloft.net>
42703         * po/ru.po: Update Russion translation from translation project.
42705 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42707         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42708         and setfsgid.
42710 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42712         * configure.in: Remove i386 configure warning. Remove i386 case.
42713         * configure: Regenerate.
42714         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42715         Add example to error message.
42716         * sysdeps/i386/configure: Regenerate.
42718 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42720         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42721         slowtan.
42722         * benchtests/cos-inputs: New file.
42723         * benchtests/slowcos-inputs: New file.
42724         * benchtests/slowcos.c: New file.
42725         * benchtests/slowtan-inputs: New file.
42726         * benchtests/slowtan.c: New file.
42727         * benchtests/tan-inputs: New file.
42729 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42731         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42732         considered kosher.
42734 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42736         * benchtests/Makefile: Include cppflags-iterator.mk to add
42737         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42739         * Makefile.in (bench-clean): New target.
42740         * benchtests/Makefile (bench-clean): Likewise.
42742 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42744         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42746 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42748         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42750 2013-04-15  Andreas Schwab  <schwab@suse.de>
42752         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42754         * nscd/pwdcache.c (cache_addpw): Likewise.
42755         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42756         more than recsize.
42758 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42760         * benchtests/Makefile (bench): Write all output to
42761         bench-out.tmp together.
42763 2013-04-15  Andreas Schwab  <schwab@suse.de>
42765         * nscd/nscd.c (main): Don't fork again after closing files.
42767 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42769         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42771         * benchtests/Rules (bench-deps): Collect dependencies into a
42772         single variable.  Add Makefile to dependencies.
42773         ($(objpfx)bench-%.c): Depend on bench-deps.
42775 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42776             Xavier Roche  <roche+kml2@exalead.com>
42778         [BZ #15361]
42779         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42780         just that it's a file descriptor.
42781         * manual/llio.texi (Synchronizing AIO Operations): Update description
42782         for EBADF error from aio_fsync.
42784 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42786         * Rules (bench): Move target definition...
42787         * benchtests/Makefile: ... here.
42789 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42791         * math/libm-test.inc (cos_test): Fix PI/2 test.
42792         (sincos_test): Likewise.
42793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42794         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42796 2013-04-11  Andreas Schwab  <schwab@suse.de>
42798         [BZ #13988]
42799         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42800         accept exponent character only when digits were seen.
42801         * stdio-common/Makefile (tests): Add bug26.
42802         * stdio-common/bug26.c: New file.
42804         [BZ #14293]
42805         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42806         non-freeable.
42808 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42810         * Makeconfig (rtld-prefix): Define built linker prefix.
42811         * Rules (run-bench): Use it.
42812         * math/Makefile (run-regen-ulps): Likewise.
42814         * Rules (bench): Remove eval.
42816 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817             Roland McGrath  <roland@hack.frob.com>
42818             Ondrej Bilka  <neleai@seznam.cz>
42820         [BZ #15346]
42821         * time/getdate.c: Include ctype.h and alloca.h.
42822         (__getdate_r): Trim leading and trailing spaces of input.
42823         * time/tst-getdate.c (tests): Add tests with leading and
42824         trailing spaces.
42826 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42828         [BZ #14280]
42829         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42830         when computing value.
42832 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42834         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42835         Use testrun.sh to run libm tests.
42837         [BZ #15309]
42838         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42840 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42842         [BZ #15264]
42843         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42845 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42847         * Makefile.in (regen-ulps): New target.
42848         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42849         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42850         [ifneq (no,$(PERL)] (regen-ulps): New target.
42851         [ifeq (no,$(PERL)] (regen-ulps): New target.
42852         * math/libm-test.inc (ulps_file_name): Define.
42853         (output_dir): New variable.
42854         (options): Add "output-dir" option.
42855         (parse_opt): Handle 'o' case.
42856         (main): If output_dir is non-NULL use it as a prefix
42857         otherwise use "".
42858         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42860 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42862         [BZ #10060, #10062]
42863         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42864         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42865         fail configure if __sync_val_compare_and_swap is not inlined.
42866         * sysdeps/i386/configure: Regenerate.
42867         * configure.in: Build for i686 when configured for i386.
42868         * configure: Regenerate.
42869         * README: Remove i386 reference.
42871 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42873         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42874         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42876 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42878         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42879         (lmsnanval): New variables.
42880         (F): Add conversion tests.
42881         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42882         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42884         * stdio-common/tstdiomisc.c (F): Properly collect individual
42885         tests' results.
42887         [BZ #14686, #15336]
42888         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42889         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42890         Instead, use input NaN values or generate a qNaN by arithmetic
42891         operation.  Also fix bugs to comply with the standard.
42892         * math/libm-test.inc (remainder_test): Add more tests.
42894         [BZ #15335, #15342]
42895         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42897         input NaN values or generate a qNaN by arithmetic operation.
42899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42900         unreachable code.
42902         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42903         definitions.
42905 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42907         [BZ #14478]
42908         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42909         underflowed result.
42910         * math/s_cexpf.c (__cexpf): Likewise.
42911         * math/s_cexpl.c (__cexpl): Likewise.
42912         * math/libm-test.inc (cexp_test): Add more tests.
42914 2013-04-03  Andreas Schwab  <schwab@suse.de>
42916         [BZ #15330]
42917         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42918         order arrays from heap if bigger than alloca cutoff.
42920 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42922         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42923         (SNAN_TESTS_double): Refer to GCC PR56831.
42924         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42925         GCC PR56828.
42927 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42929         * Rules (bench): Move bench.out after the run is complete.
42931         * Rules (bench): Echo currently running benchmark.
42933         * benchtests/Makefile (bench): Add atan and slowatan.
42934         * benchtests/atan-inputs: New file.
42935         * benchtests/slowatan-inputs: New file.
42936         * benchtests/slowatan.c: New file.
42938         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42940         its value.
42942         [BZ #15305]
42943         * sysdeps/unix/sysv/linux/kernel-features.h
42944         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42945         __ASSUME_XFS_RESTRICTED_CHOWN.
42946         * sysdeps/unix/sysv/linux/pathconf.c
42947         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42948         Save and restore errno.
42950 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42952         [BZ #15327]
42953         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42954         arguments using __kernel_casinh.
42955         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42956         arguments using __kernel_casinhf.
42957         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42958         arguments using __kernel_casinhl.
42959         * math/libm-test.inc (cacosh_test): Add more tests.
42960         * sysdeps/i386/fpu/libm-test-ulps: Update.
42961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42963 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42965         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42968         * bench/Makefile (bench): Add sin and slowsin.
42969         * benchtests/sin-inputs: New file.
42970         * benchtests/slowsin-inputs: New file.
42971         * benchtests/slowsin.c: New file.
42973         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42974         (bench): Add slowexp and slowpow.
42975         (exp-ITER): Increase iterations.
42976         (pow-ITER): Likewise.
42977         * benchtests/exp-inputs: Change input.
42978         * benchtests/pow-inputs: Likewise.
42979         * benchtests/slowexp-inputs: New file.
42980         * benchtests/slowexp.c: New file.
42981         * benchtests/slowpow-inputs: New file.
42982         * benchtests/slowpow.c: New file.
42984 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42986         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42987         instructions.
42988         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42989         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42990         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42991         * benchtests/Makefile: Add rint benchtest.
42992         * benchtests/rint-inputs: Input for rint benchtest.
42994 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42996         * Versions.def (libm): Add GLIBC_2.18.
42997         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42998         hidden libm prototypes.
42999         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43000         * math/Makefile (libm-calls): Add s_issignaling.
43001         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43002         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43003         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43004         declaration.
43005         * math/math.h [__USE_GNU] (issignaling): New macro.
43006         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43007         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43008         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43009         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43010         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43011         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43012         * manual/arith.texi (issignaling): New section.
43013         * manual/libm-err-tab.pl (@all_functions): Update comment.
43014         * math/gen-libm-test.pl (parse_args): Apply special handling for
43015         issignaling.
43016         * math/libm-test.inc (print_float, issignaling_test): New
43017         functions.
43018         (check_float_internal): Add issignaling checks.
43019         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43020         default definition.
43021         * sysdeps/powerpc/math-tests.h: New file.
43022         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43023         tests.
43024         * math/test-snan.c (TEST_FUNC): Likewise.
43026 2013-03-30  David S. Miller  <davem@davemloft.net>
43028         * po/de.po: Update from translation team.
43030 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43032         [BZ #10357]
43033         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43034         imaginary part less than 1.0 and real part less than 0.5
43035         specially.
43036         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43037         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43038         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43039         (cacos_test): Add more tests.
43040         (casin_test): Likewise.
43041         (casinh_test): Likewise.
43042         * sysdeps/i386/fpu/libm-test-ulps: Update.
43043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43045 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43047         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43048         ONE with its value.
43050         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43051         (__pow_mp): Replace ONE and MONE with their values.
43052         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43054         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43055         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43056         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43057         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43059         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43061         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43062         (__pow_mp): Replace ZERO and MZERO with their values.
43063         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43067         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43068         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43069         (__sqr): Likewise.
43071         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43073         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43075 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43077         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43078         Declare with __attribute__ ((weak)).
43079         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43080         Call __call_tls_dtors only if it's not NULL.
43082 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43084         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43085         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43086         magic __ehdr_start linker symbol if it's defined.
43087         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43088         them up here if it was already done.
43090         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43091         (_dl_aux_init): Use const in cast when setting it.
43092         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43093         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43094         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43096         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43097         Declare them here.
43098         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43099         * csu/libc-tls.c: Nor here.
43100         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43102         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43103         (__libc_message): Never call vsyslog.
43105 2013-03-28  Alan Modra  <amodra@gmail.com>
43107         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43108         Define as empty.
43109         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43110         Likewise.
43112 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43114         [BZ #15214]
43115         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43116         underflow.
43117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43119 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43121         [BZ #15304]
43122         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43123         Don't add gid passed as argument.
43125         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43127 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43129         [BZ #15307]
43130         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43131         imaginary part between 1.0 and 1.5 and real part less than 0.5
43132         specially.
43133         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43134         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43135         * math/libm-test.inc (cacos_test): Add more tests.
43136         (casin_test): Likewise.
43137         (casinh_test): Likewise.
43138         * sysdeps/i386/fpu/libm-test-ulps: Update.
43139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43141 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43143         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43144         constants.
43145         (norm): Likewise.
43146         (denorm): Likewise.
43147         (__dbl_mp): Likewise.
43148         (add_magnitudes): Likewise.
43149         (sub_magnitudes): Likewise.
43150         (__add): Likewise.
43151         (__sub): Likewise.
43152         (__mul): Likewise.
43153         (__sqr): Likewise.
43154         (__inv): Likewise.
43155         (__dvd): Likewise.
43157         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43158         commented code.
43159         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43160         (__dubcos): Likewise.
43161         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43162         (__ieee754_acos): Likewise.
43163         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43164         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43165         (__exp1): Likewise.
43166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43168         (log1): Likewise.
43169         (my_log2): Likewise.
43170         (checkint): Likewise.
43171         * sysdeps/ieee754/dbl-64/e_remainder.c
43172         (__ieee754_remainder): Likewise.
43173         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43175         (bsloww): Likewise.
43176         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43178         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43179         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43180         MANTISSA_STORE_T to store computations on mantissa.  Use
43181         macros for rounding and division.
43182         (denorm): Likewise.
43183         (__dbl_mp): Likewise.
43184         (add_magnitudes): Likewise.
43185         (sub_magnitudes): Likewise.
43186         (__mul): Likewise.
43187         (__sqr): Likewise.
43188         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43189         powers of two in terms of TWOPOW macro.
43190         (mp_no): Make type of mantissa as MANTISSA_T.
43191         [!RADIXI]: Define RADIXI.
43192         [!TWO52]: Define TWO52.
43193         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43195 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43197         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43198         llroundl symbol when building for PPC32.
43200 2013-03-24  Mark H Weaver  <mhw@netris.org>
43202         * manual/arith.texi (Normalization Functions): Fix prototypes for
43203         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43205 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43207         [BZ #13889]
43208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43209         high value to check if expl overflow.
43210         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43211         to check for underflow and overflow.
43212         * math/libm-test.inc: Add exp test.
43214 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43216         [BZ #11120]
43217         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43218         with NOT_IN_libc.
43220 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43222         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43223         symbol.
43225 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43227         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43228         wrap blocks consisting of several statements.
43230         * sysdeps/generic/math-tests.h: New file.
43231         * sysdeps/i386/fpu/math-tests.h: Likewise.
43232         * math/test-snan.c: Include it.
43233         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43235 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43237         [BZ #15285]
43238         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43239         (__ieee754_j0l): Do not improve calculations using cos of twice
43240         input for inputs above LDBL_MAX / 2.0L.
43241         (__ieee754_y0l): Likewise.
43242         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43243         (__ieee754_j1l): Do not improve calculations using cos of twice
43244         input for inputs above LDBL_MAX / 2.0L.
43245         (__ieee754_y1l): Likewise.
43246         * math/libm-test.inc (j0_test): Add another test.
43247         (j1_test): Likewise.
43248         (y0_test): Likewise.
43249         (y1_test): Likewise.
43250         * sysdeps/i386/fpu/libm-test-ulps: Update.
43252 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43254         * Rules ($(objpfx)bench-%.c): Include code from a C source
43255         file.
43257 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43259         [BZ #15287]
43260         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43261         imaginary part 1.0 and real part less than 0.5 specially.
43262         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43263         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43264         * math/libm-test.inc (cacos_test): Add more tests.
43265         (casin_test): Likewise.
43266         (casinh_test): Likewise.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43272         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43273         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43275 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43277         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43278         * config.make.in (config-cflags-sse4): Remove variable.
43279         (config-cflags-avx): Likewise.
43280         (config-cflags-sse2avx): Likewise.
43281         (config-cflags-novzeroupper): Likewise.
43282         (config-asflags-i686): Likewise.
43283         (have-mfma4): Likewise.
43284         (have-as-vis3): Likewise.
43285         (MIG): Likewise.
43286         * configure.in (MIG): Do not AC_SUBST.
43287         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43288         (libc_cv_cc_sse4): Do not AC_SUBST.
43289         (libc_cv_cc_avx): Likewise.
43290         (libc_cv_cc_sse2avx): Likewise.
43291         (libc_cv_cc_novzeroupper): Likewise.
43292         (libc_cv_cc_fma4): Likewise.
43293         (libc_cv_as_i686): Likewise.
43294         (libc_cv_sparc_as_vis3): Likewise.
43295         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43296         LIBC_CONFIG_VAR.
43297         (config-asflags-i686): Likewise.
43298         (config-cflags-avx): Likewise.
43299         (config-cflags-sse2avx): Likewise.
43300         (have-mfma4): Likewise.
43301         (config-cflags-novzeroupper): Likewise.
43302         * sysdeps/mach/configure.in (MIG): Likewise.
43303         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43304         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43305         LIBC_CONFIG_VAR.
43306         (config-cflags-avx): Likewise.
43307         (config-cflags-sse2avx): Likewise.
43308         (have-mfma4): Likewise.
43309         (config-cflags-novzeroupper): Likewise.
43310         * configure: Regenerated.
43311         * sysdeps/i386/configure: Likewise.
43312         * sysdeps/mach/configure: Likewise.
43313         * sysdeps/sparc/configure: Likewise.
43314         * sysdeps/x86_64/configure: Likewise.
43316 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43318         [BZ #14812]
43319         * locale/programs/localedef.c (options): Put N_ translation marker
43320         on argument names, not just descriptions.
43322 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43324         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43326 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43328         [BZ #14176]
43329         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43331 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43333         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43334         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43335         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43336         [!BEFORE_ABORT] (before_abort): New function.
43337         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43338         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43339         (writev_for_fatal): New function.
43340         (WRITEV_FOR_FATAL): New macro; call that.
43341         (backtrace_and_maps): New function.
43342         (BEFORE_ABORT): New macro; call that.
43343         (struct str_list): Type removed.
43344         (__libc_message, __libc_fatal): Functions removed.
43345         Include <sysdeps/posix/libc_fatal.c> instead.
43347 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43349         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43350         constants.
43351         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43352         double constants.
43354 2013-03-19  Andreas Schwab  <schwab@suse.de>
43356         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43357         * sysdeps/gnu/configure: Regenerate.
43359         * configure.in: Substitute libc_cv_rtlddir.
43360         * configure: Regenerate.
43361         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43362         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43363         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43364         * elf/Makefile (install-others, CFLAGS-interp.c)
43365         (ldso_install, common-ldd-rewrite): Likewise.
43366         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43367         $(inst_slibdir)/$(rtld-installed-name).
43368         * scripts/rellns-sh: Add -p option.
43369         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43370         for source.
43372 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43374         * manual/nptl.texi: Renamed to ...
43375         * manual/threads.texi: ... this.
43376         * manual/Makefile (chapters): Update.
43378 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43380         [BZ #14812]
43381         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43382         on argument names, not just descriptions.
43383         * malloc/memusagestat.c (options): Likewise.
43384         * nss/getent.c (options): Likewise.
43386 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43388         [BZ #14812]
43389         * iconv/iconv_prog.c (options): Put N_ translation marker
43390         on argument names, not just descriptions.
43391         * iconv/iconvconfig.c (options): Likewise.
43393 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43395         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43396         implementation which is faster on all x86_64 architectures.
43397         Tested on AMD, Intel Nehalem, SNB, IVB.
43398         * sysdeps/x86_64/strnlen.S: Likewise.
43400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43401         Remove all multiarch strlen and strnlen versions.
43402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43403         Remove strlen and strnlen related parts.
43405         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43406         Inline strlen part.
43407         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43409         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43410         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43411         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43412         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43413         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43414         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43416 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43418         * manual/memory.texi (Malloc Tunable Parameters):
43419         Sort parameters alphabetically. Add comments for missing entries.
43421 2013-03-17  David S. Miller  <davem@davemloft.net>
43423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43425 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43427         [BZ #15283]
43428         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43429         for arguments at most half maximum finite value.
43430         * math/libm-test.inc (j0_test): Add more tests.
43431         (j1_test): Likewise.
43432         (y0_test): Likewise.
43433         (y1_test): Likewise.
43434         * sysdeps/i386/fpu/libm-test-ulps: Update.
43435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43437         [BZ #14155]
43438         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43439         1 / x and functions P and Q for arguments above 0x1p256L.
43440         (__ieee754_y0l): Likewise.
43441         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43442         (__ieee754_y1l): Likewise.
43443         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43444         (j1_test): Likewise.
43445         (y0_test): Likewise.
43446         (y1_test): Likewise.
43448 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43450         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43451         variable.
43453 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43455         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43456         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43457         zero since it's initialized to EXEC_PAGESIZE.
43459         * sysdeps/unix/sysv/linux/ldsodefs.h
43460         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43461         * sysdeps/generic/ldsodefs.h: ... here.
43463 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43465         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43467         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43468         math/test-snan.c.
43469         * math/test-snan.c: Renamed from
43470         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43471         * math/Makefile (tests): Add test-snan.
43472         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43473         test-powerpc-snan.
43475         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43476         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43477         functions.
43478         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43479         __builtin_nan family of functions.
43480         * math/libm-test.inc (initialize): Initialize qnan_value with
43481         __builtin_nan family of functions.
43482         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43483         Remove variables.
43484         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43485         Remove functions.
43486         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43487         storage class.  Initialize qNaN_var and sNaN_var with
43488         __builtin_nan and __builtin_nans families of functions,
43489         respectively.
43491         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43492         (sqrt_test): Remove duplicate test with qNaN input.
43493         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43494         (round_test, signbit_test, significand_test): Note missing +/-Inf
43495         as well as qNaN tests.
43497         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43498         qNaN_var.  Fix a few strings, too.
43499         * math/libm-test.inc (nan_value): Rename to qnan_value.
43500         * math/gen-libm-test.pl (%beautify): Adjust to that.
43501         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43502         * math/test-misc.c (main): Likewise.
43503         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43504         to __qnan_bytes, and __qnan_union, respectively.
43505         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43506         Likewise.
43507         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43508         and lqnanval, respectively.
43509         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43510         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43511         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43512         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43514         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43515         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43516         doubles.
43518         * math/test-misc.c (main): Fix copy'n'pastos.
43519         * misc/tst-efgcvt.c (special): Likewise.
43521         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43522         Remove declarations.
43524 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43526         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43527         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43528         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43529         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43531 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43533         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43534         macro to return vdso values correctly in IFUNC implementations.
43535         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43536         Optimization by using IFUNC.
43538 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43539             Richard Henderson  <rth@redhat.com>
43540             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43542         * Makefile.in (bench): New target.
43543         * NEWS: Mention the benchmark framework.
43544         * Rules (bench): Likewise.
43545         (binaries-bench): Generate binaries for functions to
43546         benchmark.
43547         * benchtests/Makefile: New makefile for benchmark tests.
43548         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43549         programs.
43550         * benchtests/exp-inputs: New input file for EXP function.
43551         * benchtests/pow-inputs: New input file for POW function.
43552         * scripts/bench.pl: New script to generate source files for
43553         benchmark programs.
43555 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43557         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43558         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43559         computations on mantissa.  Use macros for rounding and
43560         division.
43561         (denorm): Likewise.
43562         (__dbl_mp): Likewise.
43563         (add_magnitudes): Likewise.
43564         (sub_magnitudes): Likewise.
43565         (__mul): Likewise.
43566         (__sqr): Likewise.
43567         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43568         powers of two in terms of TWOPOW macro.
43569         (mp_no): Make type of mantissa as MANTISSA_T.
43570         [!RADIXI]: Define RADIXI.
43571         [!TWO52]: Define TWO52.
43572         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43574         * manual/nptl.texi (cindex): Modify threads to pthreads.
43576 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43578         * sysdeps/x86_64/preconfigure: Regenerated.
43580 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43582         [BZ #14155]
43583         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43584         0x1p28 and above.
43585         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43586         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43587         0x1p28 and above.
43588         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43589         * math/libm-test.inc (j0_test): Do not allow one spurious
43590         underflow exception.
43591         (y1_test): Likewise.
43593 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43595         * manual/Makefile (chapters): Add nptl.
43596         * manual/debug.texi (Debugging Support): Add link to Threads
43597         chapter.
43598         * manual/nptl.texi: New file.
43600         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43602 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43604         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43605         for non-NULL pointer before the memory validity test. Pointed
43606         out by Holger Brunck <holger.brunck@keymile.com>.
43608 2013-03-13  Andreas Schwab  <schwab@suse.de>
43610         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43611         instead of .os.
43613 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43615         * timezone/zic.c: Update from tzcode 2013b.
43617 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43619         * manual/install.texi (Configuring and compiling):
43620         Mention i686 and i586.
43621         * INSTALL: Regenerate.
43623 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43625         * sysdeps/init_array/elf-init.c: New file.
43626         * csu/elf-init.c
43627         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43628         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43630         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43631         __gmon_start__ as global, but as static with a .preinit_array pointer.
43632         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43633         * sysdeps/init_array/crti.S: New file, empty except for comments.
43634         * sysdeps/init_array/crtn.S: Likewise.
43636 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43638         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43639         definining bcopy.
43640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43641         Remove Prefer_SSE_for_memop.
43642         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43643         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43644         HAS_PREFER_SSE_FOR_MEMOP.
43645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43646         memset-x86-64.
43647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43648         Remove bzero, memset ifunc support.
43649         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43650         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43651         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43652         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43654 2013-03-11  Andreas Schwab  <schwab@suse.de>
43656         [BZ #15234]
43657         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43658         by SHLIB_COMPAT.
43659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43660         (GLIBC_2.16): Remove pthread_atfork.
43662 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43664         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43665         (ptestcases.h): Likewise.
43667 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43669         * Makeconfig ($(common-objpfx)config.status): Depend on
43670         sysdeps/*/preconfigure{,.in} too.
43672 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43674         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43675         (__free_hook): Use void * instead of __malloc_ptr_t.
43676         (__malloc_hook): Likewise.
43677         (__realloc_hook): Likewise.
43678         (__memalign_hook): Likewise.
43679         (__after_morecore_hook): Likewise.
43680         * malloc/arena.c (save_malloc_hook): Likewise.
43681         (save_free_hook): Likewise.
43682         * malloc/hooks.c (malloc_hook_ini): Likewise.
43683         (realloc_hook_ini): Likewise.
43684         (memalign_hook_ini): Likewise.
43685         * malloc/malloc.c (malloc_hook_ini): Likewise.
43686         (realloc_hook_ini): Likewise.
43687         (memalign_hook_ini): Likewise.
43688         (__free_hook): Likewise.
43689         (__malloc_hook): Likewise.
43690         (__realloc_hook): Likewise.
43691         (__memalign_hook): Likewise.
43692         (__libc_malloc): Likewise.
43693         (__libc_free): Likewise.
43694         (__libc_realloc): Likewise.
43695         (__libc_memalign): Likewise.
43696         (__libc_valloc): Likewise.
43697         (__libc_pvalloc): Likewise.
43698         (__libc_calloc): Likewise.
43699         (__posix_memalign): Likewise.
43700         * malloc/morecore.c (__sbrk): Likewise.
43701         (__default_morecore): Likewise.
43703         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43705         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43706         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43707         __malloc_ptrdiff_t.
43709         * malloc/malloc.h (__malloc_size_t): Remove macro.
43710         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43711         __malloc_size_t.
43712         (old_memalign_hook): Likewise.
43713         (old_realloc_hook): Likewise.
43714         (struct hdr): Likewise.
43715         (flood): Likewise.
43716         (mallochook): Likewise.
43717         (memalignhook): Likewise.
43718         (reallochook): Likewise.
43719         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43720         (tr_old_realloc_hook): Likewise.
43721         (tr_old_memalign_hook): Likewise.
43722         (tr_mallochook): Likewise.
43723         (tr_reallochook): Likewise.
43724         (tr_memalignhook): Likewise.
43726 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43728         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43729         default_ldbl_pack and using as default implementation.
43730         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43731         implementation.
43732         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43733         redundant definition.
43734         (ldbl_insert_mantissa): Likewise.
43735         (ldbl_canonicalize): Likewise.
43736         (ldbl_nearbyint): Likewise.
43737         (ldbl_pack): Rename to ldbl_pack_ppc.
43738         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43739         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43740         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43742 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43745         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43746         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43747         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43749         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43750         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43751         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43753 2013-03-07  Andreas Jaeger  <aj@suse.de>
43755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43756         bits/mman-linux.h.
43758 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43760         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43761         Include mpa.h and declare __MPEXP.
43762         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43763         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43764         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43765         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43766         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43767         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43768         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43770         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43771         (__slowpow): Use long double EXPL and LOGL functions to
43772         compute POW.
43773         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43774         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43777         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43778         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43781         intermediate variable to calculate exponent.
43782         (__sqr): Likewise.
43783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43784         Likewise.
43785         (__sqr): Likewise.
43787         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43788         [!NO__SQR]: Define __sqr.
43789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43790         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43791         sysdeps/ieee754/dbl-64/mpa.c.
43792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43794         [BZ #12723]
43795         * posix/Makefile (tests): Add tst-pathconf.
43796         * posix/tst-pathconf.c: New test case.
43797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43798         _PC_PIPE_BUF.
43799         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43801 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43803         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43805 2013-03-06  Andreas Jaeger  <aj@suse.de>
43807         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43808         definition via __MAP_ANONYMOUS.
43810         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43811         it's not part of Linux headers.
43813         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43814         (MAP_HUGE_MASK): Define.
43816         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43817         Define.
43818         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43819         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43820         Define.
43821         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43822         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43823         Define.
43824         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43825         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43826         Define.
43827         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43829         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43830         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43831         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43832         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43833         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43834         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43836         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43837         Handle f2fs.
43839         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43840         Handle f2fs and efivarfs.
43842         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43843         f2fs.
43845         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43846         (EFIVARFS_MAGIC): Add.
43847         (F2FS_LINK_MAX): Add.
43849 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43851         * stdio-common/vfprintf.c: Replace __builtin_expect with
43852         __glibc_unlikely.
43854 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43856         [BZ #13550]
43857         * sysdeps/generic/bp-sym.h: Remove file.
43858         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43859         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43860         <bp-sym.h> and <bp-asm.h>.
43861         (__longjmp): Don't use BP_SYM.
43862         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43863         and <bp-asm.h>.
43864         (memcpy): Don't use BP_SYM.
43865         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43866         <bp-sym.h> and <bp-asm.h>.
43867         (memcpy): Don't use BP_SYM.
43868         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43869         <bp-asm.h>.
43870         (memcpy): Don't use BP_SYM.
43871         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43872         <bp-asm.h>.
43873         (memset): Don't use BP_SYM.
43874         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43875         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43876         (__bzero): Don't use BP_SYM.
43877         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43878         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43879         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43880         <bp-sym.h> and <bp-asm.h>.
43881         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43882         pointers.
43883         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43884         <bp-sym.h> and <bp-asm.h>.
43885         (memcpy): Don't use BP_SYM.
43886         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43887         <bp-sym.h> and <bp-asm.h>.
43888         (memset): Don't use BP_SYM.
43889         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43890         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43891         (__bzero): Don't use BP_SYM.
43892         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43893         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43894         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43895         <bp-sym.h> and <bp-asm.h>.
43896         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43897         pointers.
43898         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43899         <bp-sym.h> and <bp-asm.h>.
43900         (memcpy): Don't use BP_SYM.
43901         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43902         <bp-sym.h> and <bp-asm.h>.
43903         (memset): Don't use BP_SYM.
43904         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43905         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43906         (__bzero): Don't use BP_SYM.
43907         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43908         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43910         <bp-sym.h> and <bp-asm.h>.
43911         (__memchr): Don't use BP_SYM.
43912         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43913         <bp-sym.h> and <bp-asm.h>.
43914         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43915         pointers.
43916         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43917         <bp-sym.h> and <bp-asm.h>.
43918         (memcpy): Don't use BP_SYM.
43919         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43920         <bp-sym.h> and <bp-asm.h>.
43921         (__mempcpy): Don't use BP_SYM.
43922         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43923         <bp-sym.h> and <bp-asm.h>.
43924         (__memrchr): Don't use BP_SYM.
43925         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43926         <bp-sym.h> and <bp-asm.h>.
43927         (memset): Don't use BP_SYM.
43928         (__bzero): Likewise.
43929         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43930         <bp-sym.h> and <bp-asm.h>.
43931         (__rawmemchr): Don't use BP_SYM.
43932         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43933         <bp-sym.h> and <bp-asm.h>.
43934         (__STRCMP): Don't use BP_SYM.
43935         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43936         <bp-sym.h> and <bp-asm.h>.
43937         (strchr): Don't use BP_SYM.
43938         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43939         <bp-sym.h> and <bp-asm.h>.
43940         (__strchrnul): Don't use BP_SYM.
43941         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43942         <bp-sym.h> and <bp-asm.h>.
43943         (strlen): Don't use BP_SYM.
43944         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43945         <bp-sym.h> and <bp-asm.h>.
43946         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43947         pointers.
43948         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43949         <bp-sym.h> and <bp-asm.h>.
43950         (__strnlen): Don't use BP_SYM.
43951         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43952         <bp-sym.h> and <bp-asm.h>.
43953         (__GI__setjmp): Don't use BP_SYM.
43954         (_setjmp): Likewise.
43955         (__sigsetjmp): Likewise.
43956         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43957         (L(start_addresses)): Don't use BP_SYM.
43958         (_start): Likewise.
43959         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43960         <bp-asm.h>.
43961         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43962         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43963         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43964         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43965         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43966         <bp-asm.h>.
43967         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43968         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43969         about bounded pointers.
43970         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43971         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43972         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43973         <bp-asm.h>.
43974         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43975         about bounded pointers.  Remove GKM FIXME comments.
43976         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43977         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43978         <bp-asm.h>.
43979         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43980         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43981         Remove GKM FIXME comments.
43982         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43983         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43984         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43985         <bp-asm.h>.
43986         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43987         about bounded pointers.  Remove GKM FIXME comment.
43988         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43989         and <bp-asm.h>.
43990         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43991         pointers.
43992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43993         <bp-sym.h> and <bp-asm.h>.
43994         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43996         <bp-sym.h> and <bp-asm.h>.
43997         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43998         comment.
44000 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44002         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44003         call free(NULL).
44005 2013-03-05  David S. Miller  <davem@davemloft.net>
44007         * po/es.po: Update from translation team.
44009 2013-03-05  Andreas Jaeger  <aj@suse.de>
44011         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44012         <bits/mman-linux.h>.
44013         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44014         is fine.
44015         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44016         <bits/mman-linux.h> to end of file.
44017         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44018         is fine.
44019         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44020         <bits/mman-linux.h> to end of file.
44021         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44022         is fine.
44023         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44024         <bits/mman-linux.h> to end of file.
44026         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44027         (MCL_CURRENT, MCL_FUTURE): Define here.
44029 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44031         [BZ #15232]
44032         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44033         attribute_hidden.
44034         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44036 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44039         fourth parameter needed for rt_sigprocmask syscall.
44040         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44041         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44042         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44043         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44045         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44047 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44049         [BZ #13550]
44050         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44051         comment about bounded pointers.
44052         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44053         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44055 2013-03-04  Andreas Jaeger  <aj@suse.de>
44057         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44058         common definitions.
44060         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44061         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44062         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44063         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44064         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44065         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44067 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44069         [BZ #15055]
44070         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44071         __ieee754_sqrl instead of __sqrl.
44073 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44075         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44076         * sysdeps/powerpc/fpu_control.h: ... here.
44077         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44078         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44079         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44080         * sysdeps/powerpc/bits/mathinline.h: ... here.
44082 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44084         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44085         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44086         to just [NEED_DL_SYSINFO_DSO].
44087         * elf/dl-support.c: Likewise.
44088         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44089         * elf/rtld.c (dl_main): Likewise.
44090         * elf/setup-vdso.h (setup_vdso): Likewise.
44091         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44092         * sysdeps/unix/sysv/linux/dl-sysdep.c
44093         (_dl_discover_osversion): Likewise.
44095 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44097         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44098         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44100 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44102         * NEWS: Mention libm performance improvements and non-x86 PI
44103         futex support.
44105         * csu/libc-start.c (__pthread_initialize_minimal): Change
44106         function arguments.
44107         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44109 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44111         [BZ #13550]
44112         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44113         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44114         <bp-sym.h> and <bp-asm.h>.
44115         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44116         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44117         and <bp-asm.h>.
44118         (memcpy): Don't use BP_SYM.
44119         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44120         <bp-asm.h>.
44121         (__mpn_add_n): Don't use BP_SYM.
44122         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44123         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44124         and <bp-asm.h>.
44125         (__mpn_addmul_1): Don't use BP_SYM.
44126         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44127         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44128         <bp-sym.h>.
44129         (_setjmp): Don't use BP_SYM.
44130         (__novmx_setjmp): Likewise.
44131         (__GI__setjmp): Likewise.
44132         (__vmx_setjmp): Likewise.
44133         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44134         <bp-sym.h>.
44135         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44136         (__bzero): Don't use BP_SYM.
44137         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44138         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44139         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44140         <bp-sym.h> and <bp-asm.h>.
44141         (memcpy): Don't use BP_SYM.
44142         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44143         <bp-sym.h> and <bp-asm.h>.
44144         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44146         <bp-sym.h> and <bp-asm.h>.
44147         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44148         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44149         <bp-asm.h>.
44150         (__mpn_lshift): Don't use BP_SYM.
44151         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44152         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44153         <bp-asm.h>.
44154         (memset): Don't use BP_SYM.
44155         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44156         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44157         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44158         <bp-asm.h>.
44159         (__mpn_mul_1): Don't use BP_SYM.
44160         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44161         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44162         <bp-sym.h> and <bp-asm.h>.
44163         (memcmp): Don't use BP_SYM.
44164         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44165         <bp-sym.h> and <bp-asm.h>.
44166         (memcpy): Don't use BP_SYM.
44167         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44168         <bp-sym.h> and <bp-asm.h>.
44169         (memset): Don't use BP_SYM.
44170         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44171         <bp-sym.h> and <bp-asm.h>.
44172         (strncmp): Don't use BP_SYM.
44173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44174         <bp-sym.h> and <bp-asm.h>.
44175         (memcpy): Don't use BP_SYM.
44176         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44177         <bp-sym.h> and <bp-asm.h>.
44178         (memset): Don't use BP_SYM.
44179         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44180         <bp-sym.h> and <bp-asm.h>.
44181         (__memchr): Don't use BP_SYM.
44182         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44183         <bp-sym.h> and <bp-asm.h>.
44184         (memcmp): Don't use BP_SYM.
44185         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44186         <bp-sym.h> and <bp-asm.h>.
44187         (memcpy): Don't use BP_SYM.
44188         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44189         <bp-sym.h> and <bp-asm.h>.
44190         (__mempcpy): Don't use BP_SYM.
44191         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44192         <bp-sym.h> and <bp-asm.h>.
44193         (__memrchr): Don't use BP_SYM.
44194         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44195         <bp-sym.h> and <bp-asm.h>.
44196         (memset): Don't use BP_SYM.
44197         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44198         <bp-sym.h> and <bp-asm.h>.
44199         (__rawmemchr): Don't use BP_SYM.
44200         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44201         <bp-sym.h> and <bp-asm.h>.
44202         (__STRCMP): Don't use BP_SYM.
44203         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44204         <bp-sym.h> and <bp-asm.h>.
44205         (strchr): Don't use BP_SYM.
44206         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44207         <bp-sym.h> and <bp-asm.h>.
44208         (__strchrnul): Don't use BP_SYM.
44209         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44210         <bp-sym.h> and <bp-asm.h>.
44211         (strlen): Don't use BP_SYM.
44212         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44213         <bp-sym.h> and <bp-asm.h>.
44214         (strncmp): Don't use BP_SYM.
44215         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44216         <bp-sym.h> and <bp-asm.h>.
44217         (__strnlen): Don't use BP_SYM.
44218         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44219         <bp-asm.h>.
44220         (__mpn_rshift): Don't use BP_SYM.
44221         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44222         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44223         <bp-sym.h> and <bp-asm.h>.
44224         (__sigsetjmp): Don't use BP_SYM.
44225         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44226         (L(start_addresses)): Don't use BP_SYM.
44227         (_start): Likewise.
44228         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44229         <bp-asm.h>.
44230         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44231         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44232         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44233         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44234         <bp-asm.h>.
44235         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44236         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44237         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44238         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44239         <bp-asm.h>.
44240         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44241         comments.
44242         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44243         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44244         <bp-asm.h>.
44245         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44246         FIXME comments.
44247         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44248         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44249         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44250         <bp-asm.h>.
44251         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44252         comment.
44253         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44254         and <bp-asm.h>.
44255         (strncmp): Don't use BP_SYM,
44256         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44257         <bp-asm.h>.
44258         (__mpn_sub_n): Don't use BP_SYM.
44259         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44260         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44261         and <bp-asm.h>.
44262         (__mpn_submul_1): Don't use BP_SYM.
44263         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44265         <bp-sym.h> and <bp-asm.h>.
44266         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44268         <bp-sym.h> and <bp-asm.h>.
44269         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44270         comment.
44272 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44275         Use ZK to minimize writes to Z.
44276         (sub_magnitudes): Simplify code a bit.
44277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44278         Use ZK to minimize writes to Z.
44279         (sub_magnitudes): Simplify code a bit.
44281 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44283         * csu/gmon-start.c: Add special exception to license text.
44285 2013-02-27  Richard Henderson  <rth@redhat.com>
44287         * scripts/config.guess: Update from config.git.
44288         * scripts/config.sub: Likewise.
44290 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44292         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44294         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44296         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44298         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44300         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44302 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44304         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44305         [$(build-shared = yes].
44307 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44309         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44310         (__mul): Reduce iterations for calculating mantissa.
44312         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44313         MPTWO.
44314         (__mpranred): Likewise.
44316         [BZ #15160]
44317         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44318         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44320 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44322         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44323         Define __attribute__.
44325 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44327         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44328         unused.
44329         * posix/regex_internal.h (__attribute): Remove.
44330         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44331         (re_string_context_at): Likewise.
44332         (bitset_not): Use __attribute__ and mark function as possibly
44333         unused.
44334         (bitset_merge): Likewise.
44335         (bitset_mask): Likewise.
44336         (re_string_char_size_at): Likewise.
44337         (re_string_wchar_at): Likewise.
44338         (re_string_elem_size_at): Likewise.
44340 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44342         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44343         code.
44344         (cc32): Likewise.
44346         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44347         (__acr): Likewise.
44348         (__cpy): Likewise.
44349         (norm): Likewise.
44350         (denorm): Likewise.
44351         (__dbl_mp): Likewise.
44352         (add_magnitudes): Likewise.
44353         (sub_magnitudes): Likewise.
44354         (__mul): Likewise.
44355         (__inv): Likewise.
44357         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44358         style.
44360         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44361         style.
44363         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44364         code.
44366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44367         up changes with default code.
44368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44369         Likewise.
44371 2013-02-24  Allan McRae  <allan@archlinux.org>
44373         * manual/socket.texi (The Internet Namespace): Order menu items
44374         to match that in the file.
44376         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44377         node listing of the info page menu.
44379 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44381         [BZ #13550]
44382         * sysdeps/i386/bp-asm.h: Remove file.
44383         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44384         (PARMS): Do not use macros from bp-asm.h.
44385         (S1): Likewise.
44386         (S2): Likewise.
44387         (SIZE): Likewise.
44388         (__mpn_add_n): Do not use BP_SYM
44389         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44390         "bp-asm.h".
44391         (PARMS): Do not use macros from bp-asm.h.
44392         (S1): Likewise.
44393         (SIZE): Likewise.
44394         (__mpn_addmul_1): Do not use BP_SYM
44395         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44396         "bp-asm.h".
44397         (PARMS): Do not use macros from bp-asm.h.
44398         (SIGMSK): Likewise.
44399         (_setjmp): Likewise.  Do not use BP_SYM.
44400         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44401         "bp-asm.h".
44402         (PARMS): Do not use macros from bp-asm.h.
44403         (SIGMSK): Likewise.
44404         (setjmp): Likewise.  Do not use BP_SYM.
44405         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44406         "bp-asm.h".
44407         (PARMS): Do not use macros from bp-asm.h.
44408         (__frexp): Do not use BP_SYM.
44409         (frexp): Likewise.
44410         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44411         "bp-asm.h".
44412         (PARMS): Do not use macros from bp-asm.h.
44413         (__frexpf): Do not use BP_SYM.
44414         (frexpf): Likewise.
44415         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44416         "bp-asm.h".
44417         (PARMS): Do not use macros from bp-asm.h.
44418         (__frexpl): Do not use BP_SYM.
44419         (frexpl): Likewise.
44420         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44421         "bp-asm.h".
44422         (PARMS): Do not use macros from bp-asm.h.
44423         (__remquo): Do not use BP_SYM.
44424         (remquo): Likewise.
44425         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44426         "bp-asm.h".
44427         (PARMS): Do not use macros from bp-asm.h.
44428         (__remquof): Do not use BP_SYM.
44429         (remquof): Likewise.
44430         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44431         "bp-asm.h".
44432         (PARMS): Do not use macros from bp-asm.h.
44433         (__remquol): Do not use BP_SYM.
44434         (remquol): Likewise.
44435         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44436         "bp-asm.h".
44437         (PARMS): Do not use macros from bp-asm.h.
44438         (DEST): Likewise.
44439         (SRC): Likewise.
44440         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44441         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44442         "bp-asm.h".
44443         (PARMS): Do not use macros from bp-asm.h.
44444         (strlen): Do not use BP_SYM.
44445         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44446         "bp-asm.h".
44447         (PARMS): Do not use macros from bp-asm.h.
44448         (S1): Likewise.
44449         (S2): Likewise.
44450         (SIZE): Likewise.
44451         (__mpn_add_n): Do not use BP_SYM.
44452         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44453         "bp-asm.h".
44454         (PARMS): Do not use macros from bp-asm.h.
44455         (S1): Likewise.
44456         (SIZE): Likewise.
44457         (__mpn_addmul_1): Do not use BP_SYM.
44458         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44459         weak_alias.
44460         (bzero): Likewise.
44461         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44462         "bp-asm.h".
44463         (PARMS): Do not use macros from bp-asm.h.
44464         (S): Likewise.
44465         (SIZE): Likewise.
44466         (__mpn_lshift): Do not use BP_SYM.
44467         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44468         "bp-asm.h".
44469         (PARMS): Do not use macros from bp-asm.h.
44470         (DEST): Likewise.
44471         (SRC): Likewise.
44472         (LEN): Likewise.
44473         (memcpy): Likewise.  Do not use BP_SYM.
44474         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44475         libc_hidden_def and weak_alias.
44476         (mempcpy): Do not use BP_SYM in weak_alias.
44477         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44478         "bp-asm.h".
44479         (PARMS): Do not use macros from bp-asm.h.
44480         (DEST): Likewise.
44481         (LEN): Likewise.
44482         [!BZERO_P] (CHR): Likewise.
44483         (memset): Likewise.  Do not use BP_SYM.
44484         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44485         "bp-asm.h".
44486         (PARMS): Do not use macros from bp-asm.h.
44487         (S1): Likewise.
44488         (SIZE): Likewise.
44489         (__mpn_mul_1): Do not use BP_SYM.
44490         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44491         "bp-asm.h".
44492         (PARMS): Do not use macros from bp-asm.h.
44493         (S): Likewise.
44494         (SIZE): Likewise.
44495         (__mpn_rshift): Do not use BP_SYM.
44496         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44497         "bp-asm.h".
44498         (PARMS): Do not use macros from bp-asm.h.
44499         (STR): Likewise.
44500         (CHR): Likewise.
44501         (strchr): Likewise.  Do not use BP_SYM.
44502         (index): Do not use BP_SYM in weak_alias.
44503         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44504         "bp-asm.h".
44505         (PARMS): Do not use macros from bp-asm.h.
44506         (DEST): Likewise.
44507         (SRC): Likewise.
44508         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44509         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44510         "bp-asm.h".
44511         (PARMS): Do not use macros from bp-asm.h.
44512         (strlen): Do not use BP_SYM.
44513         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44514         "bp-asm.h".
44515         (PARMS): Do not use macros from bp-asm.h.
44516         (S1): Likewise.
44517         (S2): Likewise.
44518         (SIZE): Likewise.
44519         (__mpn_sub_n): Do not use BP_SYM.
44520         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44521         "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (S1): Likewise.
44524         (SIZE): Likewise.
44525         (__mpn_submul_1): Do not use BP_SYM.
44526         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44527         "bp-asm.h".
44528         (PARMS): Do not use macros from bp-asm.h.
44529         (S1): Likewise.
44530         (S2): Likewise.
44531         (SIZE): Likewise.
44532         (__mpn_add_n): Do not use BP_SYM.
44533         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44534         weak_alias.
44535         (bzero): Likewise.
44536         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44537         "bp-asm.h".
44538         (PARMS): Do not use macros from bp-asm.h.
44539         (BLK2): Likewise.
44540         (LEN): Likewise.
44541         (memcmp): Do not use BP_SYM.
44542         (bcmp): Do not use BP_SYM in weak_alias.
44543         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44544         "bp-asm.h".
44545         (PARMS): Do not use macros from bp-asm.h.
44546         (DEST): Likewise.
44547         (SRC): Likewise.
44548         (LEN): Likewise.
44549         (memcpy): Likewise.  Do not use BP_SYM.
44550         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44551         "bp-asm.h".
44552         (PARMS): Do not use macros from bp-asm.h.
44553         (DEST): Likewise.
44554         (SRC): Likewise.
44555         (LEN): Likewise.
44556         (memmove): Likewise.  Do not use BP_SYM.
44557         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44558         "bp-asm.h".
44559         (PARMS): Do not use macros from bp-asm.h.
44560         (DEST): Likewise.
44561         (SRC): Likewise.
44562         (LEN): Likewise.
44563         (__mempcpy): Likewise.  Do not use BP_SYM.
44564         (mempcpy): Do not use BP_SYM in weak_alias.
44565         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44566         "bp-asm.h".
44567         (PARMS): Do not use macros from bp-asm.h.
44568         (DEST): Likewise.
44569         (LEN): Likewise.
44570         [!BZERO_P] (CHR): Likewise.
44571         (memset): Likewise.  Do not use BP_SYM.
44572         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44573         "bp-asm.h".
44574         (PARMS): Do not use macros from bp-asm.h.
44575         (STR2): Likewise.
44576         (strcmp): Do not use BP_SYM.
44577         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44578         "bp-asm.h".
44579         (PARMS): Do not use macros from bp-asm.h.
44580         (STR): Likewise.
44581         (DELIM): Likewise.
44582         [USE_AS_STRTOK_R] (SAVE): Likewise.
44583         (FUNCTION): Likewise.  Do not use BP_SYM.
44584         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44585         aliases.
44586         (strtok_r): Likewise.
44587         (__GI___strtok_r): Likewise.
44588         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44589         (PARMS): Do not use macros from bp-asm.h.
44590         (S): Likewise.
44591         (SIZE): Likewise.
44592         (__mpn_lshift): Do not use BP_SYM.
44593         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44594         (PARMS): Do not use macros from bp-asm.h.
44595         (STR): Likewise.
44596         (CHR): Likewise.
44597         (__memchr): Do not use BP_SYM.
44598         (memchr): Do not use BP_SYM in weak_alias.
44599         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44600         (PARMS): Do not use macros from bp-asm.h.
44601         (BLK2): Likewise.
44602         (LEN): Likewise.
44603         (memcmp): Do not use BP_SYM.
44604         (bcmp): Do not use BP_SYM in weak_alias.
44605         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44606         (PARMS): Do not use macros from bp-asm.h.
44607         (S1): Likewise.
44608         (SIZE): Likewise.
44609         (__mpn_mul_1): Do not use BP_SYM.
44610         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44611         "bp-asm.h".
44612         (PARMS): Do not use macros from bp-asm.h.
44613         (STR): Likewise.
44614         (CHR): Likewise.
44615         (__rawmemchr): Do not use BP_SYM.
44616         (rawmemchr): Do not use BP_SYM in weak_alias.
44617         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44618         (PARMS): Do not use macros from bp-asm.h.
44619         (S): Likewise.
44620         (SIZE): Likewise.
44621         (__mpn_rshift): Do not use BP_SYM.
44622         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44623         (PARMS): Do not use macros from bp-asm.h.
44624         (SIGMSK): Likewise.
44625         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44626         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44627         (_start): Do not use BP_SYM.
44628         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44629         (PARMS): Do not use macros from bp-asm.h.
44630         (DEST): Likewise.
44631         (SRC): Likewise.
44632         (__stpcpy): Likewise.  Do not use BP_SYM.
44633         (stpcpy): Do not use BP_SYM in weak_alias.
44634         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44635         "bp-asm.h".
44636         (PARMS): Do not use macros from bp-asm.h.
44637         (DEST): Likewise.
44638         (SRC): Likewise.
44639         (LEN): Likewise.
44640         (__stpncpy): Likewise.  Do not use BP_SYM.
44641         (stpncpy): Do not use BP_SYM in weak_alias.
44642         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44643         (PARMS): Do not use macros from bp-asm.h.
44644         (STR): Likewise.
44645         (CHR): Likewise.
44646         (strchr): Likewise.  Do not use BP_SYM.
44647         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44648         "bp-asm.h".
44649         (PARMS): Do not use macros from bp-asm.h.
44650         (STR): Likewise.
44651         (CHR): Likewise.
44652         (__strchrnul): Likewise.  Do not use BP_SYM.
44653         (strchrnul): Do not use BP_SYM in weak_alias.
44654         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44655         "bp-asm.h".
44656         (PARMS): Do not use macros from bp-asm.h.
44657         (STOP): Likewise.
44658         (strcspn): Do not use BP_SYM.
44659         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44660         "bp-asm.h".
44661         (PARMS): Do not use macros from bp-asm.h.
44662         (STR): Likewise.
44663         (STOP): Likewise.
44664         (strpbrk): Likewise.  Do not use BP_SYM.
44665         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44666         "bp-asm.h".
44667         (PARMS): Do not use macros from bp-asm.h.
44668         (STR): Likewise.
44669         (CHR): Likewise.
44670         (strrchr): Likewise.  Do not use BP_SYM.
44671         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44672         (PARMS): Do not use macros from bp-asm.h.
44673         (SKIP): Likewise.
44674         (strspn): Do not use BP_SYM.
44675         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44676         (PARMS): Do not use macros from bp-asm.h.
44677         (STR): Likewise.
44678         (DELIM): Likewise.
44679         (SAVE): Likewise.
44680         (FUNCTION): Likewise.  Do not use BP_SYM.
44681         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44682         aliases.
44683         (strtok_r): Likewise.
44684         (__GI___strtok_r): Likewise.
44685         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44686         (PARMS): Do not use macros from bp-asm.h.
44687         (S1): Likewise.
44688         (S2): Likewise.
44689         (SIZE): Likewise.
44690         (__mpn_sub_n): Do not use BP_SYM.
44691         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44692         "bp-asm.h".
44693         (PARMS): Do not use macros from bp-asm.h.
44694         (S1): Likewise.
44695         (SIZE): Likewise.
44696         (__mpn_submul_1): Do not use BP_SYM.
44697         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44698         <bp-sym.h>.
44699         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44700         and <bp-asm.h>.
44701         (PARMS): Do not use macros from bp-asm.h.
44702         (FLAGS): Likewise.
44703         (PTID): Likewise.
44704         (TLS): Likewise.
44705         (CTID): Likewise.
44706         (__clone): Do not use BP_SYM.
44707         (clone): Do not use BP_SYM in weak_alias.
44708         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44709         and <bp-asm.h>.
44710         (PARMS): Do not use macros from bp-asm.h.
44711         (LEN): Likewise.
44712         (__mmap64): Do not use BP_SYM.
44713         (mmap64): Do not use BP_SYM in weak_alias.
44714         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44715         <bp-sym.h> and <bp-asm.h>.
44716         (PARMS): Do not use macros from bp-asm.h.
44717         (__posix_fadvise64_l64): Do not use BP_SYM.
44718         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44719         (PARMS): Do not use macros from bp-asm.h.
44720         (NSOPS): Likewise.
44721         (semtimedop): Do not use BP_SYM.
44722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44723         and <bp-asm.h>.
44725 2013-02-21  Allan McRae  <allan@archlinux.org>
44727         * manual/message.texi (Charset conversion in gettext):
44728         Move @end statement to beginning of line.
44730 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44733         static.
44734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44735         Likewise.
44737         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44738         (denorm): Likewise.
44739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44742 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44744         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44745         tail-call to the resolved function if pltexit isn't needed.
44747 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44750         or Y being zero as being unlikely.
44751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44752         Likewise.
44754 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44756         * manual/nss.texi (System Databases and Name Service Switch):
44757         Remove frobnicate @pxref.
44759 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44761         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44762         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44764 2013-02-20  Petr Machata  <pmachata@redhat.com>
44766         * elf/elf.h (R_ARM_TARGET1): New macro.
44767         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44768         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44769         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44770         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44771         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44772         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44773         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44774         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44775         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44776         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44777         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44778         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44779         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44780         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44781         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44782         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44783         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44784         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44785         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44786         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44787         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44788         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44789         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44790         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44791         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44792         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44793         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44794         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44795         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44796         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44797         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44798         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44799         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44800         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44801         (R_ARM_THM_GOT_BREL12): Likewise.
44802         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44803         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44804         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44805         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44806         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44807         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44808         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44809         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44810         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44812 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44814         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44815         __attribute_used__ to __attribute__ ((unused)).
44817 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44819         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44820         powerpc mpa.c.
44821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44822         comment formatting.
44823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44825 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #13550]
44828         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44829         Remove macro.
44830         (ENTER): Remove both macro definitions.
44831         (LEAVE): Likewise.
44832         (CHECK_BOUNDS_LOW): Likewise.
44833         (CHECK_BOUNDS_HIGH): Likewise.
44834         (CHECK_BOUNDS_BOTH): Likewise.
44835         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44836         (RETURN_BOUNDED_POINTER): Likewise.
44837         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44838         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44839         (POP_ERRNO_LOCATION_RETURN): Likewise.
44840         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44841         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44842         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44843         macros.
44844         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44845         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44846         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44847         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44848         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44849         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44850         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44851         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44852         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44853         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44854         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44855         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44856         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44857         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44858         removed macros.
44859         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44860         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44861         macros.
44862         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44863         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44864         * sysdeps/i386/i586/memset.S (memset): Likewise.
44865         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44866         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44867         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44868         macros.
44869         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44870         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44871         Change uses of L(2) to L(out).
44872         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44873         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44874         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44875         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44876         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44877         removed macros.
44878         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44879         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44880         macros.
44881         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44882         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44883         (RETURN): Do not use macro LEAVE.
44884         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44885         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44886         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44887         * sysdeps/i386/i686/memset.S (memset): Likewise.
44888         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44889         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44890         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44891         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44892         Likewise.
44893         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44894         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44895         L(1_2) and L(1_3) into L(1).
44896         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44897         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44898         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44899         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44900         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44901         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44902         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44903         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44904         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44905         macros.
44906         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44907         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44908         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44909         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44910         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44911         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44912         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44913         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44914         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44915         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44916         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44917         * sysdeps/i386/strspn.S (strspn): Likewise.
44918         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44919         conditional code.
44920         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44921         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44922         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44923         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44924         L(1_3) into L(1_1).
44925         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44926         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44927         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44928         macros.
44929         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44931 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44933         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44934         macro.
44936 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44938         * math/atest-exp.c (exp_mpn): Remove ROUND.
44939         * math/atest-exp2.c (exp_mpn): Likewise.
44940         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44942         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44943         * stdlib/tst-tls-atexit-lib.c: Likewise.
44944         * stdlib/tst-tls-atexit.c: Likewise.
44946 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44948         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44949         and __attribute_alloc_size__.
44951 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44953         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44954         __attribute_alloc_size__.
44955         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44956         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44958 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44960         * include/programs/xmalloc.h: New file.
44961         * catgets/gencat.c: Include it.
44962         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44963         * elf/pldd.c: Likewise.
44964         * iconv/iconv_charmap.c: Likewise.
44965         * iconv/iconvconfig.c: Likewise.
44966         * iconv/strtab.c: Likewise.
44967         * locale/programs/locale.c: Likewise.
44968         * locale/programs/localedef.h: Likewise.
44969         * locale/programs/simple-hash.c: Likewise.
44970         * nscd/nscd.h: Likewise.
44971         * nss/makedb.c: Likewise.
44972         * sysdeps/generic/ldconfig.h: Likewise.
44974 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44976         * Versions.def: Add GLIBC_2.18.
44977         * include/link.h (struct link_map): New member l_tls_dtor_count.
44978         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44979         (__call_tls_dtors): Likewise.
44980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44981         __cxa_thread_atexit_impl.
44982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44983         Likewise.
44984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44985         Likewise.
44986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44987         Likewise.
44988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44989         Likewise.
44990         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44992         Likewise.
44993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44994         Likewise.
44995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44997         Likewise.
44998         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44999         (tests): Add test case tst-tls-atexit.
45000         (modules-names): Add shared library for tst-tls-atexit.
45001         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45002         (GLIBC_PRIVATE): Add __call_tls_dtors.
45003         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45004         for libstdc++.
45005         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45006         * stdlib/tst-tls-atexit.c: New test case.
45007         * stdlib/tst-tls-atexit-lib.c: New test case.
45009         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45011         * elf/Versions (ld): Add _dl_find_dso_for_object.
45012         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45013         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45014         (dl_open_worker): Use _dl_find_dso_for_object.
45015         * elf/dl-sym.c (do_sym): Likewise.
45016         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45018 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45020         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45021         Syntactic changes only.
45022         (_dl_runtime_profile): Do a tail-call to the resolved function.
45024 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45026         [BZ #13550]
45027         * sysdeps/x86_64/bp-asm.h: Remove file.
45028         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45029         <bp-sym.h> and <bp-asm.h>.
45030         (__clone): Do not use BP_SYM.
45031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45032         <bp-sym.h> and <bp-asm.h>.
45033         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45034         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45035         "bp-asm.h".
45036         (_setjmp): Do not use BP_SYM.
45037         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45038         "bp-asm.h".
45039         (setjmp): Do not use BP_SYM.
45040         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45041         libc_hidden_def.
45042         (mempcpy): Do not use BP_SYM in weak_alias.
45043         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45044         "bp-asm.h".
45045         (strchr): Do not use BP_SYM.
45046         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45047         "bp-asm.h".
45048         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45049         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45050         (_start): Do not use BP_SYM.
45051         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45052         "bp-asm.h".
45053         (strcat): Do not use BP_SYM.
45054         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45055         "bp-asm.h".
45056         (STRCMP): Do not use BP_SYM.
45057         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45058         "bp-asm.h".
45059         (STRCPY): Do not use BP_SYM.
45060         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45061         "bp-asm.h".
45062         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45063         "bp-asm.h".
45064         (FUNCTION): Do not use BP_SYM.
45065         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45066         weak_alias.
45067         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45069 2013-02-17  Andreas Jaeger  <aj@suse.de>
45071         * time/Versions: Sort entries.
45072         * string/Versions: Likewise.
45073         * resolv/Versions: Likewise.
45074         * posix/Versions: Likewise.
45075         * iconv/Versions: Likewise.
45076         * elf/Versions: Likewise.
45077         * wcsmbs/Versions: Likewise.
45079 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45081         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45082         loop termination condition.
45084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45085         variable to calculate EZ.
45086         (__sqr): Likewise.
45088         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45089         the lower precision input.
45091 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45093         [BZ #13550]
45094         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45095         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45096         (run-via-rtld-prefix): Do not handle %-bp tests.
45097         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45098         (all-object-suffixes): Remove .ob.
45099         (bppfx): Remove variable.
45100         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45101         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45102         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45103         [$(build-bounded) = yes] (libtype.ob): Likewise.
45104         * Makerules (elide-routines.ob): Remove variable.
45105         (do-tests-clean): Do not handle *-bp.out.
45106         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45107         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45108         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45109         (tests): Do not include $(tests-bp.out).
45110         (xtests): Do not include $(xtests-bp.out).
45111         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45112         [$(build-bounded) = yes] ($(addprefix
45113         $(objpfx),$(binaries-bounded))): Remove rule.
45114         ($(objpfx)%-bp.out): Remove rule.
45115         * config.make.in (build-bounded): Remove variable.
45116         * crypt/Makefile [$(build-bounded) = yes]
45117         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45118         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45119         append to variable.
45120         [$(build-bounded) = yes] (install-lib): Likewise.
45121         [$(build-bounded) = yes] (generated): Likewise.
45122         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45123         Remove rule.
45124         * intl/Makefile [$(build-bounded) = yes]
45125         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45126         * math/Makefile [$(build-bounded) = yes]
45127         ($(tests:%=$(objpfx)%-bp): Likewise.
45128         * misc/Makefile [$(build-bounded) = yes]
45129         ($(objpfx)tst-tsearch-bp): Likewise.
45130         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45131         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45132         Remove dependency.
45133         * string/Makefile (o-objects.ob): Remove variable.
45134         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45135         (CFLAGS-.ob): Remove variable.
45136         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45137         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45138         both definitions of variable.
45139         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45140         (ASFLAGS-.ob): Remove variable.
45142 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45144         [BZ #13550]
45145         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45146         Remove __BOUNDED_POINTERS__ from condition.
45147         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45148         * string/bits/string2.h [!__NO_STRING_INLINES &&
45149         !__BOUNDED_POINTERS__]: Likewise.
45150         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45151         Likewise.
45152         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45153         Remove conditional code.
45154         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45155         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45156         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45157         condition.
45159         [BZ #13550]
45160         * csu/libc-start.c: Do not include <bp-sym.h>.
45161         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45162         * elf/dl-open.c: Do not include <bp-sym.h>.
45163         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45164         * math/fegetenv.c: Do not include <bp-sym.h>.
45165         (fegetenv): Do not use BP_SYM in versioned symbols.
45166         * nptl/sysdeps/pthread/bits/libc-lockP.h
45167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45168         <bp-sym.h>.
45169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45170         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45172         (__pthread_mutex_destroy): Likewise.
45173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45174         (__pthread_mutex_lock): Likewise.
45175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45176         (__pthread_mutex_trylock): Likewise.
45177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45178         (__pthread_mutex_unlock): Likewise.
45179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45180         (__pthread_mutexattr_init): Likewise.
45181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45182         (__pthread_mutexattr_destroy): Likewise.
45183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45184         (__pthread_mutexattr_settype): Likewise.
45185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45186         (__pthread_rwlock_init): Likewise.
45187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45188         (__pthread_rwlock_destroy): Likewise.
45189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45190         (__pthread_rwlock_rdlock): Likewise.
45191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45192         (__pthread_rwlock_tryrdlock): Likewise.
45193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45194         (__pthread_rwlock_wrlock): Likewise.
45195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45196         (__pthread_rwlock_trywrlock): Likewise.
45197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45198         (__pthread_rwlock_unlock): Likewise.
45199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45200         (__pthread_key_create): Likewise.
45201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45202         (__pthread_setspecific): Likewise.
45203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45204         (__pthread_getspecific): Likewise.
45205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45206         Likewise.
45207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45208         (_pthread_cleanup_push_defer): Likewise.
45209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45210         (_pthread_cleanup_pop_restore): Likewise.
45211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45212         (pthread_setcancelstate): Likewise.
45213         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45214         <bp-sym.h>.
45215         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45216         (memchr): Do not use BP_SYM in weak_alias.
45217         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45218         (fegetenv): Do not use BP_SYM in versioned symbols.
45219         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45220         (fesetenv): Do not use BP_SYM in versioned symbols.
45221         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45222         (feupdateenv): Do not use BP_SYM in versioned symbols.
45223         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45224         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45225         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45226         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45227         (open64): Do not use BP_SYM in weak_alias.
45228         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45229         (fegetenv): Do not use BP_SYM in versioned symbols.
45230         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45231         (fesetenv): Do not use BP_SYM in versioned symbols.
45232         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45233         (feupdateenv): Do not use BP_SYM in versioned symbols.
45234         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45235         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45236         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45237         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45238         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45239         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45240         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45241         <bp-sym.h>.
45242         (__libc_start_main): Do not use BP_SYM.
45244 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45247         redundant return line.
45248         (norm): Likewise.
45249         (denorm): Likewise.
45250         (dbl_mp): Likewise.
45251         (sub_magnitudes): Likewise.
45252         (__add): Likewise.
45253         (__sub): Likewise.
45254         (__mul): Likewise.
45255         (__inv): Likewise.
45256         (__dvd): Likewise.
45257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45258         (norm): Likewise.
45259         (denorm): Likewise.
45260         (dbl_mp): Likewise.
45261         (sub_magnitudes): Likewise.
45262         (__add): Likewise.
45263         (__sub): Likewise.
45264         (__mul): Likewise.
45265         (__inv): Likewise.
45266         (__dvd): Likewise.
45268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45269         instead of __mul.
45270         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45271         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45272         (cc32): Likewise.
45274         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45275         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45277         of __mul for squares.
45278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45279         function
45280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45281         Likewise.
45282         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45283         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45285 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45287         [BZ #13550]
45288         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45289         code.
45290         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45291         prototype or function definition.  Rename ubp_* variables and
45292         parameters.  Remove argv definitions conditional on
45293         [__BOUNDED_POINTERS__].
45294         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45295         * elf/dl-runtime.c (_dl_fixup): Likewise.
45296         * include/set-hooks.h (RUN_HOOK): Likewise.
45297         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45298         definition.
45299         * string/strcpy.c (strcpy): Do not use __unbounded.
45300         * sysdeps/generic/frame.h (struct layout): Likewise.
45301         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45302         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45303         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45304         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45305         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45306         (__backtrace): Likewise.
45307         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45308         use __ptrvalue.
45309         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45310         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45311         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45312         Likewise.
45313         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45314         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45315         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45316         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45317         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45318         Do not use __unbounded.
45319         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45320         Rename __unboundedrlimits parameter to rlimits in prototype.
45321         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45322         Do not use __unbounded.
45323         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45324         not use __ptrvalue.
45325         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45326         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45327         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45328         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45329         __ptrvalue or __unbounded.
45330         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45331         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45332         use __unbounded.
45333         (__new_msgctl): Do not use __ptrvalue.
45334         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45335         __unbounded.
45336         (__libc_msgrcv): Do not use __ptrvalue.
45337         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45338         startup_info): Do not use __unbounded.
45339         (__libc_start_main): Likewise.  Rename ubp_* variables and
45340         parameters.  Remove argv definitions conditional on
45341         [__BOUNDED_POINTERS__].
45342         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45343         __ptrvalue.
45344         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45345         use __unbounded.
45346         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45347         or __ptrvalue.
45348         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45349         use __unbounded.
45350         (__new_shmctl): Do not use __ptrvalue.
45351         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45352         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45353         Likewise.
45354         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45355         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45356         (__libc_sigaction): Likewise.
45357         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45358         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45359         Likewise.
45360         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45362 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45364         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45366         * string/mempcpy.c: Implement by calling memcpy.
45368 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45373         evaluation.
45375         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45376         values in the mantissa.
45378         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45379         minimize writes to Z.
45380         (sub_magnitudes): Simplify code a bit.
45382 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45384         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45385         from the message.  The linker prefixes all warnings with that already.
45387 2013-02-12  Andreas Schwab  <schwab@suse.de>
45389         [BZ #15078]
45390         * posix/regexec.c (extend_buffers): Add parameter min_len.
45391         (check_matching): Pass minimum needed length.
45392         (clean_state_log_if_needed): Likewise.
45393         (get_subexp): Likewise.
45394         * posix/Makefile (tests): Add bug-regex34.
45395         (bug-regex34-ENV): Define.
45396         * posix/bug-regex34.c: New file.
45398         [BZ #11561]
45399         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45400         elements compare against the byte sequence of it, not its name.
45401         * posix/Makefile (tests): Add bug-regex35.
45402         (bug-regex35-ENV): Define.
45403         * posix/bug-regex35.c: New file.
45405 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45407         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45408         comment.
45409         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45410         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45411         (CHECK_EOL): Add undef.
45413 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45415         * bits/stdlib-bsearch.h: New file.
45416         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45417         * stdlib/stdlib.h: Likewise.
45419 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45421         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45422         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45423         declaration.
45424         * manual/search.texi (Array Search Function): Add missing const in
45425         lfind prototype.
45426         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45427         declaration to use rlim_t.
45428         (Basic Scheduling Functions): Remove erroneous const from
45429         sched_getparam prototype.  Remove erroneous * from
45430         sched_get_priority_max and sched_get_priority_min prototypes.
45431         (Resource Usage): Fix summary @comment on vtimes to refer to
45432         sys/vtimes.h rather than vtimes.h.
45433         Add missing *s in vtimes prototype.
45434         (Limits on Resources): Fix ulimit prototype to return long int.
45435         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45436         prototypes to use long int rather than double.
45437         (BSD Random): Fix initstate and setstate to use char *, not void *.
45438         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45439         prototype to make second argument 'struct aiocb64 *const[]'.
45440         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45441         (Status of AIO Operations): Remove erroneous const in aio_return and
45442         aio_return64 prototypes.
45443         (Synchronizing I/O): Fix sync prototype to return void.
45444         * manual/startup.texi (Suboptions): Remove an erroneous const in
45445         getsubopt prototype.
45446         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45447         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45448         use size_t rather than int.
45449         (Scanning All Users): Likewise for getpwent_r.
45450         (Setting Groups): Add missing const to setgroups prototype.
45451         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45452         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45453         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45454         'const void *' rather than 'const char *'.
45455         (Host Address Functions): Likewise for inet_ntop.
45456         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45457         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45458         ssize_t for return value.
45459         (Sending Data): Likewise for send, sendto, sendmsg.
45460         (Socket Option Functions): Add a missing const in setsockopt prototype.
45461         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45462         use wchar_t for the argument.
45463         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45464         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45465         take no arguments.
45466         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45467         double/float/long double for second argument.
45468         Fix return types of significand, significandf, significandl.
45469         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45470         argument in fchmod prototype.
45471         (File Owner): Use uid_t and gid_t in fchown prototype.
45472         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45473         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45474         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45475         use 'const struct dirent **' as argument types to CMP function pointer
45476         argument.
45477         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45478         (File Times): Fix summary magic @comment for struct utimbuf and utime
45479         to refer to utime.h, not time.h.
45480         * manual/string.texi (Argz Functions): Add missing const in
45481         argz_extract and argz_next prototypes.
45482         (Finding Tokens in a String): Likewise for basename.
45483         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45484         (Copying and Concatenation): Fix typo in wmemmove prototype.
45485         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45486         (Signal Stack): Remove erroneous const in sigstack prototype.
45487         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45488         prototype.
45489         (Simple Calendar Time): Likewise for stime.
45490         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45491         prototype.
45492         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45493         say sys/sysctl.h instead.
45494         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45495         and vsyslog prototypes.
45497 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45499         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45500         Remove.
45502 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45504         * misc/sys/mman.h: Fix typo in mremap comment.
45506 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45508         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45509         the '\0' terminator.
45511 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45513         [BZ #13550]
45514         * debug/segfault.c: Don't include <bp-checks.h>.
45515         * sysdeps/generic/bp-checks.h: Remove file.
45516         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45517         (__GETDENTS): Don't use CHECK_N.
45518         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45519         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45520         (__getgroups): Don't use CHECK_N.
45521         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45522         (setgroups): Don't use CHECK_N.
45523         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45524         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45525         (__libc_msgrcv): Don't use CHECK_N.
45526         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45527         (__libc_msgsnd): Don't use CHECK_N.
45528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45529         <bp-checks.h>.
45530         (__libc_pread): Don't use CHECK_N.
45531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45532         include <bp-checks.h>.
45533         (__libc_pread64): Don't use CHECK_N.
45534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45535         include <bp-checks.h>.
45536         (__libc_pwrite): Don't use CHECK_N.
45537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45538         include <bp-checks.h>.
45539         (__libc_pwrite64): Don't use CHECK_N.
45540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45541         <bp-checks.h>.
45542         (__libc_pread): Don't use CHECK_N.
45543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45544         include <bp-checks.h>.
45545         (__libc_pread64): Don't use CHECK_N.
45546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45547         include <bp-checks.h>.
45548         (__libc_pwrite): Don't use CHECK_N.
45549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45550         include <bp-checks.h>.
45551         (__libc_pwrite64): Don't use CHECK_N.
45552         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45553         (do_pread): Don't use CHECK_N.
45554         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45555         (do_pread64): Don't use CHECK_N.
45556         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45557         (do_pwrite): Don't use CHECK_N.
45558         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45559         (do_pwrite64): Don't use CHECK_N.
45560         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45561         (__libc_readv): Don't use CHECK_N.
45562         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45563         (semop): Don't use CHECK_N.
45564         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45565         <bp-checks.h>.
45566         (semtimedop): Don't use CHECK_N.
45567         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45568         (__libc_pread): Don't use CHECK_N.
45569         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45570         <bp-checks.h>.
45571         (__libc_pread64): Don't use CHECK_N.
45572         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45573         <bp-checks.h>.
45574         (__libc_pwrite): Don't use CHECK_N.
45575         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45576         <bp-checks.h>.
45577         (__libc_pwrite64): Don't use CHECK_N.
45578         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45579         <bp-checks.h>.
45580         (__libc_msgrcv): Don't use CHECK_N.
45581         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45582         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45583         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45584         (__libc_writev): Don't use CHECK_N.
45586 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45588         * string/strcpy.c: Removed unused variable.
45590         * Makeconfig (+sysdep-includes): Define with := rather than =.
45591         Use an existing include/ subdir of each sysdeps dir before it.
45593 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45595         * nscd/connection.c (register_traced_file): Comment function.
45596         [HAVE_INOTIFY] (union __inev): Define.
45597         [HAVE_INOTIFY] (inotify_check_files): New function.
45598         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45599         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45600         clear_db_cache.
45601         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45605         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45606         loaded if not already and that a failure is permanent.
45608 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45610         [BZ #15006]
45611         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45612         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45614 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45616         [BZ #13550]
45617         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45618         (CHECK_1_NULL_OK): Likewise.
45619         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45620         (__fxstat): Do not use CHECK_1.
45621         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45622         <bp-checks.h>.
45623         (___fxstat64): Do not use CHECK_1.
45624         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45625         <bp-checks.h>.
45626         (__fxstatat): Do not use CHECK_1.
45627         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45628         <bp-checks.h>.
45629         (__fxstatat64): Do not use CHECK_1.
45630         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45631         <bp-checks.h>.
45632         (__fxstat): Do not use CHECK_1.
45633         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45634         <bp-checks.h>.
45635         (__fxstatat): Do not use CHECK_1.
45636         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45637         <bp-checks.h>.
45638         (__getresgid): Do not use CHECK_1.
45639         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45640         <bp-checks.h>.
45641         (__getresuid): Do not use CHECK_1.
45642         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45643         <bp-checks.h>.
45644         (__lxstat): Do not use CHECK_1.
45645         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45646         <bp-checks.h>.
45647         (__old_msgctl): Do not use CHECK_1.
45648         (__new_msgctl): Likewise.
45649         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45650         <bp-checks.h>.
45651         (__new_setrlimit): Do not use CHECK_1.
45652         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45653         <bp-checks.h>.
45654         (__old_shmctl): Do not use CHECK_1.
45655         (__new_shmctl): Likewise.
45656         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45657         <bp-checks.h>.
45658         (__xstat): Do not use CHECK_1.
45659         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45660         (__lxstat): Do not use CHECK_1.
45661         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45662         <bp-checks.h>.
45663         (___lxstat64): Do not use CHECK_1.
45664         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45665         (__old_msgctl): Do not use CHECK_1.
45666         (__new_msgctl): Likewise.
45667         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45668         <bp-checks.h>.
45669         (__gettimeofday): Do not use CHECK_1.
45670         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45671         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45672         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45673         <bp-checks.h>.
45674         (__gettimeofday): Do not use CHECK_1.
45675         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45676         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45677         (__new_shmctl): Do not use CHECK_1.
45678         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45679         <bp-checks.h>.
45680         (do_sigtimedwait): Do not use CHECK_1.
45681         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45682         <bp-checks.h>.
45683         (do_sigwaitinfo): Do not use CHECK_1.
45684         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45685         <bp-checks.h>.
45686         (msgctl): Do not use CHECK_1.
45687         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45688         <bp-checks.h>.
45689         (shmctl): Do not use CHECK_1.
45690         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45691         (ustat): Do not use CHECK_1.
45692         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45693         <bp-checks.h>.
45694         (__fxstat): Do not use CHECK_1.
45695         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45696         <bp-checks.h>.
45697         (__fxstatat): Do not use CHECK_1.
45698         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45699         <bp-checks.h>.
45700         (__lxstat): Do not use CHECK_1.
45701         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45702         <bp-checks.h>.
45703         (__xstat): Do not use CHECK_1.
45704         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45705         (__xstat): Do not use CHECK_1.
45706         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45707         (___xstat64): Do not use CHECK_1.
45709         [BZ #13550]
45710         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45711         definitions.
45712         (CHECK_BOUNDS_HIGH): Likewise.
45713         * string/strcpy.c: Do not include <bp-checks.h>.
45714         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45716 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45718         * nscd/nscd-client.h (__nscd_drop_map_ref):
45719         Add __attribute__ ((unused)).
45720         * nis/nss-nisplus.h (niserr2nss): Likewise.
45722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45723         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45725         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45726         Remove inline keyword.
45727         * include/rounding-mode.h (round_away): Likewise.
45728         * libio/wfileops.c (adjust_wide_data): Likewise.
45729         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45730         (__m128i_strloadu_tolower): Likewise.
45731         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45732         (__m128i_strloadu_tolower): Likewise.
45733         * time/mktime.c (ydhms_diff): Likewise.
45734         * locale/elem-hash.h (elem_hash): Likewise.
45735         * locale/setlocale.c (setdata): Likewise.
45736         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45737         (re_string_wchar_at): Likewise.
45738         (bitset_not, bitset_merge, bitset_mask): Likewise.
45739         [!(__GNUC__ > 3)] (inline): Remove macro.
45740         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45741         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45742         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45743         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45744         * string/memcmp.c (memcmp_bytes): Likewise.
45745         * locale/programs/locarchive.c (compute_hashval): Likewise.
45746         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45747         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45748         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45749         * nss/getent.c (print_rpc, print_protocols): Likewise.
45750         (print_passwd, print_group, print_aliases): Likewise.
45751         * nis/nss-nisplus.h (niserr2nss): Likewise.
45752         * nscd/connections.c (restart_p): Likewise.
45753         Change return type to bool.
45755 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45757         * Makeconfig (all-Depend-files): Add existing
45758         $(sorted-subdirs:=/Depend) files.
45759         (all-subdirs): Remove nss.
45760         * sysdeps/unix/inet/Subdirs: Add it here instead.
45761         * hesiod/Depend: New file.
45763         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45764         instead of calling alloca.
45766         * io/lseek.c (__lseek): Rename to __libc_lseek.
45767         Define __lseek as an alias.
45769         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45771 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45773         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45774         else clause and remove check for non-standard endianness.
45776 2013-02-04  David S. Miller  <davem@davemloft.net>
45778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45780 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45782         [BZ #13550]
45783         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45784         (__ubp_memchr): Remove prototype.
45785         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45786         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45787         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45788         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45789         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45790         Remove alias.
45791         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45792         (__ubp_memchr): Likewise.
45793         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45794         (__ubp_memchr): Likewise.
45795         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45796         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45797         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45798         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45799         CHECK_STRING.
45800         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45801         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45802         (__getcwd): Do not use CHECK_STRING.
45803         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45804         <bp-checks.h>.
45805         (__real_chown): Do not use CHECK_STRING.
45806         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45807         <bp-checks.h>.
45808         (fchownat): Do not use CHECK_STRING.
45809         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45810         CHECK_STRING.
45811         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45812         <bp-checks.h>.
45813         (__lchown): Do not use CHECK_STRING.
45814         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45815         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45816         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45817         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45819         include <bp-checks.h>.
45820         (truncate64): Do not use CHECK_STRING.
45821         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45822         <bp-checks.h>.
45823         (__real_chown): Do not use CHECK_STRING.
45824         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45825         <bp-checks.h>.
45826         (__lchown): Do not use CHECK_STRING.
45827         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45828         <bp-checks.h>.
45829         (__chown): Do not use CHECK_STRING.
45830         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45831         <bp-checks.h>.
45832         (truncate64): Do not use CHECK_STRING.
45833         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45834         Likewise.
45835         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45836         (__xmknod): Do not use CHECK_STRING.
45837         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45838         <bp-checks.h>.
45839         (__xmknodat): Do not use CHECK_STRING.
45840         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45841         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45843 2013-02-04  Andreas Schwab  <schwab@suse.de>
45845         [BZ #14142]
45846         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45847         * include/netdb.h: Likewise for h_errno.
45848         * elf/tst-stackguard1.c: Include <tls.h>.
45850 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45852         * elf/link.h (struct link_map): Extend the l_addr comment.
45853         * include/link.h (struct link_map): Likewise.
45855 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45857         [BZ #13550]
45858         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45859         (BOUNDED_1): Remove macro.
45860         * debug/backtrace.c: Don't include <bp-checks.h>.
45861         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45862         (__backtrace): Likewise.
45863         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45864         <bp-checks.h>.
45865         (__backtrace): Don't use BOUNDED_1.
45866         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45867         <bp-checks.h>.
45868         (__backtrace): Don't use BOUNDED_1.
45869         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45870         (__backtrace): Don't use BOUNDED_1.
45871         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45872         (shmat): Don't use BOUNDED_N.
45874 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45876         [BZ #13550]
45877         * sysdeps/generic/bp-start.h: Remove file.
45878         * csu/libc-start.c: Don't include <bp-start.h>.
45879         (LIBC_START_MAIN): Set up __environ directly instead of using
45880         INIT_ARGV_and_ENVIRON.
45881         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45882         <bp-start.h>.
45884         [BZ #13550]
45885         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45886         definitions.
45887         (CHECK_FCNTL): Likewise.
45888         (CHECK_N_PAGES): Likewise.
45890         [BZ #13550]
45891         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45892         definitions.
45893         (CHECK_SIGSET_NULL_OK): Likewise.
45894         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45895         <bp-checks.h>.
45896         (sigpending): Don't use CHECK_SIGSET.
45897         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45898         <bp-checks.h>.
45899         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45900         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45901         <bp-checks.h>.
45902         (do_sigsuspend): Don't use CHECK_SIGSET.
45903         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45904         use CHECK_SIGSET.
45905         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45906         (do_sigwait): Don't use CHECK_SIGSET.
45907         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45908         use CHECK_SIGSET.
45909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45910         include <bp-checks.h>.
45911         (sigpending): Don't use CHECK_SIGSET.
45912         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45913         include <bp-checks.h>.
45914         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45915         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45916         <bp-checks.h>.
45917         (sigpending): Don't use CHECK_SIGSET.
45918         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45919         <bp-checks.h>.
45920         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45922         [BZ #13550]
45923         * sysdeps/generic/bp-semctl.h: Remove file.
45924         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45925         <bp-checks.h> and <bp-semctl.h>.
45926         (__old_semctl): Don't use CHECK_SEMCTL.
45927         (__new_semctl): Likewise.
45928         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45929         and <bp-semctl.h>.
45930         (__old_semctl): Don't use CHECK_SEMCTL.
45931         (__new_semctl): Likewise.
45932         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45933         <bp-checks.h> and <bp-semctl.h>.
45934         (__old_semctl): Don't use CHECK_SEMCTL.
45935         (__new_semctl): Likewise.
45936         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45937         <bp-checks.h> and <bp-semctl.h>.
45938         (semctl): Don't use CHECK_SEMCTL.
45940         [BZ #13550]
45941         * Makerules (elide-bp-thunks): Remove variable.
45942         (elide-routines.oS): Don't use $(elide-bp-thunks).
45943         (elide-routines.os): Likewise.
45944         (elide-routines.o): Likewise.
45945         (elide-routines.op): Likewise.
45946         (elide-routines.og): Likewise.
45947         (objects): Don't use $(bp-thunks).
45948         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45949         include.
45950         (common-generated): Do not add s-proto-bp.d.
45951         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45952         (int): Likewise.
45953         (typ): Likewise.
45954         Do not generate makefile rules for bounded-pointer thunks.
45955         * sysdeps/generic/bp-thunks.h: Remove file.
45956         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45957         * sysdeps/unix/s-proto-bp.S: Likewise.
45959         [BZ #15062]
45960         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45961         parts of result separately when argument is not close to line from
45962         -i to i and one part of argument is small.
45963         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45964         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45965         * math/libm-test.inc (cacos_test): Add more tests.
45966         (casin_test): Likewise.
45967         (casinh_test): Likewise.
45968         * sysdeps/i386/fpu/libm-test-ulps: Update.
45969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45971 2013-01-31  David S. Miller  <davem@davemloft.net>
45973         * po/de.po: Update from translation team.
45975 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45977         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45979 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45981         * configure.in (_AC_PROG_CC_C89): New definition.
45982         * configure: Regenerate.
45984         * configure.in (AC_PROG_CPP): New definition.
45985         * configure: Regenerate.
45987 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45989         * debug/tst-backtrace.h: New file.
45990         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45991         (ret): Remove variable.
45992         (x): Likewise.
45993         (FAIL): Remove macro.
45994         (NO_INLINE): Likewise.
45995         (fn1): Use match function instead of strstr.
45996         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45997         (ret): Remove variable.
45998         (x): Likewise.
45999         (FAIL): Remove macro.
46000         (NO_INLINE): Likewise.
46001         (fn): Use match function instead of strstr.
46002         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46003         (ret): Remove variable.
46004         (x): Likewise.
46005         (FAIL): Remove macro.
46006         (NO_INLINE): Likewise.
46007         (handle_signal): Use match function instead of strstr.
46008         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46009         (ret): Remove variable.
46010         (x): Likewise.
46011         (FAIL): Remove macro.
46012         (NO_INLINE): Likewise.
46013         (handle_signal): Use match function instead of strstr.
46015 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46017         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46019 2013-01-23  David S. Miller  <davem@davemloft.net>
46021         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46022         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46023         argument of CAS if possible.
46024         * sysdeps/sparc/sparc64/bits/atomic.h
46025         (__arch_compare_and_exchange_val_32_acq): Likewise.
46026         (__arch_compare_and_exchange_val_64_acq): Likewise.
46028 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46030         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46031         * sysdeps/posix/ulimit.c: ... this.
46032         Include <limits.h>.
46033         * sysdeps/unix/bsd/ulimit.c: Remove file.
46035 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46037         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46038         (LDFLAGS-tst-array5): Likewise.
46040 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46042         [BZ #15036]
46043         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46044         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46045         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46046         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46048 2013-01-21  David S. Miller  <davem@davemloft.net>
46050         * sysdeps/sparc/backtrace.c: New file.
46051         * sysdeps/sparc/sparc32/backtrace.h: New file.
46052         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46053         * sysdeps/sparc/sparc64/backtrace.h: New file.
46054         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46055         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46056         -funwind-tables.
46058 2013-01-21  Andreas Schwab  <schwab@suse.de>
46060         [BZ #15020]
46061         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46062         closed its stdout.
46064 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46067         "mpa2.h".
46068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46070 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46071             Mark Mitchell  <mark@codesourcery.com>
46072             Tom de Vries  <tom@codesourcery.com>
46073             Paul Pluzhnikov  <ppluzhnikov@google.com>
46075         * debug/tst-backtrace2.c: New file.
46076         * debug/tst-backtrace3.c: Likewise.
46077         * debug/tst-backtrace4.c: Likewise.
46078         * debug/tst-backtrace5.c: Likewise.
46079         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46080         (CFLAGS-tst-backtrace3.c): Likewise.
46081         (CFLAGS-tst-backtrace4.c): Likewise.
46082         (CFLAGS-tst-backtrace5.c): Likewise.
46083         (LDFLAGS-tst-backtrace2): Likewise.
46084         (LDFLAGS-tst-backtrace3): Likewise.
46085         (LDFLAGS-tst-backtrace4): Likewise.
46086         (LDFLAGS-tst-backtrace5): Likewise.
46087         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46088         tst-backtrace4 and tst-backtrace5.
46090 2013-01-18  Anton Blanchard  <anton@samba.org>
46091             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46093         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46094         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46095         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46096         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46098         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46099         "+r" and remove output regs list as redundant.  Add explicit inline
46100         asm to specify register of return val to work around compiler codegen
46101         bug.  Remove (int) cast on return value.  Add return type parameter to
46102         use in macro so that this macro does not truncate return value for
46103         64-bit values.
46104         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46105         pass to INTERNAL_VSYSCALL_NCS.
46106         (INLINE_VSYSCALL): Add 'long int' as return type to
46107         INTERNAL_VSYSCALL_NCS macro invocation.
46108         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46109         INTERNAL_VSYSCALL_NCS macro invocation.
46110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46112 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46114         [BZ #14496]
46115         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46116         Fix application of SIMD FP exception mask.
46118         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46119         mp_no from a power of two.
46120         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46121         __mpexp_twomm1.  Use __pow_mp.
46123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46124         multiplication.
46126 2013-01-17  David S. Miller  <davem@davemloft.net>
46128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46130 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46132         [BZ #15023]
46133         * include/complex.h: Condition contents on [!_COMPLEX_H].
46134         (__kernel_casinhf): New prototype.
46135         (__kernel_casinh): Likewise.
46136         (__kernel_casinhl): Likewise.
46137         * math/Makefile (libm_calls): Add k_casinh.
46138         * math/k_casinh.c: New file.
46139         * math/k_casinhf.c: Likewise.
46140         * math/k_casinhl.c: Likewise.
46141         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46142         finite nonzero arguments.
46143         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46144         finite nonzero arguments.
46145         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46146         finite nonzero arguments.
46147         * math/s_casinh.c: Do not include <float.h>.
46148         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46149         * math/s_casinhf.c: Do not include <float.h>.
46150         (__casinhf): Move code for finite nonzero arguments to
46151         k_casinhf.c.
46152         * math/s_casinhl.c: Do not include <float.h>.
46153         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46154         redefine.
46155         (__casinhl): Move code for finite nonzero arguments to
46156         k_casinhl.c.
46157         * math/libm-test.inc (cacos_test): Add more tests.
46158         * sysdeps/i386/fpu/libm-test-ulps: Update.
46159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46161 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46163         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46164         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46165         [!HAVE_MREMAP]: Remove [defined linux] case.
46166         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46168 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46170         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46172 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46174         * elf/elf.h (R_386_SIZE32): New relocation.
46175         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46176         R_386_SIZE32.
46177         (elf_machine_rela): Likewise.
46178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46179         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46181 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46183         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46184         (FP_FAST_FMA): Do not define.
46185         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46186         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46187         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46188         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46189         !_SOFT_FLOAT]: Likewise.
46190         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46191         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46192         value.
46193         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46194         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46195         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46196         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46197         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46198         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46199         file.
46201 2013-01-16  Andreas Schwab  <schwab@suse.de>
46203         [BZ #14327]
46204         * include/stdlib.h (__mktemp): Add declaration.
46205         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46206         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46208 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46210         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46211         definitions.
46212         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46213         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46214         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46215         definitions here.
46216         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46217         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46218         definitions.
46219         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46220         and ONE.
46221         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46222         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46223         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46224         definitions.
46225         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46226         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46227         definitions.
46228         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46230         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46232 2013-01-15  David S. Miller  <davem@davemloft.net>
46234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46235         trunc{,f} to libm-sysdep_routes.
46236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46238         file.
46239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46241         file.
46242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46243         file.
46244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46246         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46247         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46248         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46249         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46250         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46251         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46254         nearbyint{,f} to libm-sysdep_routes.
46255         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46257         New file.
46258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46259         file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46261         New file.
46262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46263         file.
46264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46266         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46267         file.
46268         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46269         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46270         file.
46271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46272         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46273         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46275         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46276         libc_feholdexcept and libc_fesetenv.
46278 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46280         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46282 2013-01-14  David S. Miller  <davem@davemloft.net>
46284         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46285         (SPARC_ASM_VIS2_IFUNC): Likewise.
46286         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46288         use of 'siam' instruction.
46289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46290         Likewise.
46291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46292         Likewise.
46293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46294         Likewise.
46295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46300         file.
46301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46302         file.
46303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46304         file.
46305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46306         file.
46307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46312         new VIS2 routines.
46313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46316         Likewise.
46317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46322         routines to libm-sysdep_routines.
46323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46326         fdim/fdimf to libm-sysdep_routines.
46327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46328         file.
46329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46331         file.
46332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46335         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46336         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46337         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46338         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46340 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46342         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46343         to optimize copies.
46345         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46350         local variable MPTWO.
46351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46352         Likewise.
46354 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46356         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46357         GLOB_NOESCAPE.
46359 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46361         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46363 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46365         * manual/pattern.texi (glob_t): Document gl_flags.
46366         (glob64_t): Likewise.
46368 2013-01-11  David S. Miller  <davem@davemloft.net>
46370         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46371         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46372         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46373         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46374         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46375         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46376         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46377         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46378         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46379         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46380         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46381         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46382         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46385         sparc V9 rather than using V8 code.
46386         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46387         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46389         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46390         Move to...
46391         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46392         Here.
46394 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46396         [BZ #14941]
46397         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46398         not in the main loop.
46399         * configure: Regenerated.
46401 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46403         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46404         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46405         to just #else.
46406         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46407         [!__GLIBC_HAVE_LONG_LONG] case.
46408         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46409         condition to just #else.
46410         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46411         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46412         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46413         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46414         unconditional.
46415         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46416         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46417         #elif condition to just #else.
46418         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46419         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46420         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46421         #elif condition to just #else.
46423 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46425         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46426         (EF_MIPS_ARCH_64): Fix value.
46427         (EF_MIPS_ARCH_32R2): New.
46428         (EF_MIPS_ARCH_64R2): New.
46430 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46432         * Makeconfig (+link-pie-before-libc): New.
46433         (+link-pie-after-libc): Likewise.
46434         (+link-pie-tests): Likewise.
46435         (+link-pie): Rewritten.
46436         (link-before-libc): Remove $(config-LDFLAGS).
46437         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46438         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46439         (config-LDFLAGS): Renamed to ...
46440         (rtld-LDFLAGS): This.
46441         (rtld-tests-LDFLAGS): New macro.
46442         (link-libc-rpath-link): Likewise.
46443         (link-libc-tests-rpath-link): Likewise.
46444         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46445         (link-libc): Prepand $(link-libc-rpath-link).
46446         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46447         (test-program-prefix): New macro.
46448         (test-via-rtld-prefix): Likewise.
46449         (test-program-cmd): Likewise.
46450         (host-test-program-cmd): Likewise.
46451         * Makefile ($(common-objpfx)testrun.sh): Replace
46452         $(run-program-prefix) with $(test-program-prefix).
46453         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46454         $(rtld-LDFLAGS).
46455         ($(common-objpfx)shlib.lds): Likewise.
46456         (build-module-helper): Likewise.
46457         ($(common-objpfx)format.lds): Likewise.
46458         * Rules (binaries-pie-tests): New.
46459         (binaries-pie-notests): Likewise.
46460         (binaries-pie): Rewritten.
46461         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46462         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46463         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46464         (make-test-out): Replace $(host-built-program-cmd) with
46465         $(host-test-program-cmd).
46466         * config.make.in (build-hardcoded-path-in-tests): New variable.
46467         * configure.in (--enable-hardcoded-path-in-tests): New configure
46468         option.
46469         (hardcoded_path_in_tests): New AC_SUBST.
46470         * configure: Regenerated.
46471         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46472         $(built-program-cmd) with $(test-program-cmd).
46473         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46474         (test_program_cmd): This.
46475         * elf/Makefile ($(objpfx)order.out): Run test with
46476         $(test-program-prefix).
46477         ($(objpfx)order2.out): Likewise.
46478         ($(objpfx)tst-initorder.out): Likewise.
46479         ($(objpfx)tst-initorder2.out): Likewise.
46480         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46481         $(test-program-cmd).
46482         ($(objpfx)tst-array1-static.out): Likewise.
46483         ($(objpfx)tst-array2.out): Likewise.
46484         ($(objpfx)tst-array3.out): Likewise.
46485         ($(objpfx)tst-array4.out): Likewise.
46486         ($(objpfx)tst-array5.out): Likewise.
46487         ($(objpfx)tst-array5-static.out): Likewise.
46488         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46489         $(test-program-cmd).
46490         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46491         $(run-program-prefix) with $(test-program-prefix).
46492         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46493         (test_program_prefix): This.
46494         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46495         $(run-program-prefix) with $(test-program-prefix).
46496         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46497         (test_program_prefix): This.
46498         * iconvdata/tst-tables.sh: Likewise.
46499         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46500         $(run-program-prefix) with $(test-program-prefix).
46501         ($(objpfx)tst-translit.out): Likewise.
46502         ($(objpfx)tst-gettext2.out): Likewise.
46503         ($(objpfx)tst-gettext4.out): Likewise.
46504         ($(objpfx)tst-gettext6.out): Likewise.
46505         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46506         (test_program_prefix): This.
46507         * intl/tst-gettext2.sh: Likewise.
46508         * intl/tst-gettext4.sh  Likewise.
46509         * intl/tst-gettext6.sh: Likewise.
46510         * intl/tst-translit.sh: Likewise.
46511         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46512         with $(test-program-cmd).
46513         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46514         $(run-program-prefix) with $(test-program-prefix).
46515         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46516         (test_program_prefix): This.
46517         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46518         $(run-program-prefix) with $(test-program-prefix).
46519         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46520         (test_program_prefix): This.
46521         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46522         * posix/Makefile ($(objpfx)globtest.out): Replace
46523         $(run-via-rtld-prefix) and $(test-wrapper) with
46524         $(test-program-prefix) and $(test-via-rtld-prefix).
46525         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46526         $(test-program-prefix).
46527         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46528         $(host-test-program-cmd).
46529         (tst-spawn-ARGS): Likewise.
46530         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46531         $(test-program-prefix).
46532         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46533         (test_via_rtld_prefix): This.
46534         (test_wrapper): Renamed to ...
46535         (test_program_prefix): This.
46536         (run_program_prefix): Replaced by test_program_prefix.
46537         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46538         (test_program_prefix): This.
46539         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46540         with $(host-test-program-cmd).
46541         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46542         $(run-program-prefix) with $(test-program-prefix).
46543         ($(objpfx)tst-printf.out): Likewise.
46544         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46545         $(test-program-cmd).
46546         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46547         (test_program_prefix): This.
46548         * stdio-common/tst-unbputc.sh: Likewise.
46549         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46550         $(run-program-prefix) with $(test-program-prefix).
46551         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46552         (test_program_prefix): This.
46553         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46554         $(built-program-cmd) with $(test-program-cmd).
46556 2013-01-11  Andreas Jaeger  <aj@suse.de>
46558         [BZ #15003]
46559         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46560         value. Sync with Linux 3.7.
46562 2013-01-10  David S. Miller  <davem@davemloft.net>
46564         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46565         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46566         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46568 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46570         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46571         never set.
46572         * configure: Regenerated.
46574 2013-01-10  David S. Miller  <davem@davemloft.net>
46576         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46577         sparc V9 rather than using V8 code.
46578         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46579         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46581 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46583         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46584         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46585         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46586         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46587         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46588         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46589         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46590         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46591         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46592         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46593         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46594         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46595         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46596         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46597         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46598         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46599         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46600         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46601         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46602         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46603         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46604         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46605         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46606         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46607         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46608         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46609         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46611 2013-01-10  David S. Miller  <davem@davemloft.net>
46613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46615 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46617         * posix/Makefile (tests-static): New variable.
46618         (tests): Add $(tests-static).
46619         (tst-exec-static-ARGS): New variable.
46620         (tst-spawn-static-ARGS): Likewise.
46621         * posix/tst-exec-static.c: New file.
46622         * posix/tst-spawn-static.c: Likewise.
46623         * posix/tst-exec.c: Support run directly.
46624         * posix/tst-spawn.c: Likewise.
46626 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46628         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46629         long.
46630         * math/bits/mathcalls.h (llrint): Likewise.
46631         (llround): Likewise.
46632         * stdlib/stdlib.h (struct drand48_data): Likewise.
46633         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46634         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46635         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46636         Likewise.
46637         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46638         Likewise.
46639         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46640         (elf_greg_t): Likewise.
46641         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46642         (__jmp_buf): Likewise.
46643         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46644         definitions.
46645         (llrint): Likewise, for all definitions.
46646         (llrintl): Likewise.
46648         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46649         Remove [__GNUC__] condition.
46650         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46651         condition to just [__USE_ISOC99].
46652         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46654 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46656         [BZ #14200]
46657         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46658         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46659         defined.
46660         (_POSIX_V6_ILP32_OFF32): Likewise.
46661         (_XBS5_ILP32_OFF32): Likewise.
46662         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46663         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46665 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46667         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46670         doubles __mpexp_twomm1.  Adjust usage.
46671         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46672         Remove.
46674 2013-01-10  Andreas Schwab  <schwab@suse.de>
46676         [BZ #14964]
46677         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46678         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46680 2013-01-09  David S. Miller  <davem@davemloft.net>
46682         [BZ #15003]
46683         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46684         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46685         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46686         (TCP_FASTOPEN): Define.
46687         (tcp_repair_opt): New structure.
46688         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46689         enum values.
46690         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46691         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46692         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46693         (tcp_cookie_transactions): New structure.
46695 2013-01-09  Anton Blanchard  <anton@samba.org>
46697         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46698         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46700         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46702 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46704         * include/features.h (__USE_ANSI): Remove.
46706 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46708         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46710         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46712 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46714         * sysdeps/s390/fpu/libm-test-ulps: Update.
46716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46718         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46719         (__acr): Likewise.
46720         (__cpy): Likewise.
46721         (norm): Likewise.
46722         (denorm): Likewise.
46723         (__mp_dbl): Likewise.
46724         (__dbl_mp): Likewise.
46725         (add_magnitudes): Likewise.
46726         (sub_magnitudes): Likewise.
46727         (__add): Likewise.
46728         (__sub): Likewise.
46729         (__mul): Likewise.
46730         (__inv): Likewise.
46731         (__dvd): Likewise.
46732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46733         (__acr): Likewise.
46734         (__cpy): Likewise.
46735         (norm): Likewise.
46736         (denorm): Likewise.
46737         (__mp_dbl): Likewise.
46738         (__dbl_mp): Likewise.
46739         (add_magnitudes): Likewise.
46740         (sub_magnitudes): Likewise.
46741         (__add): Likewise.
46742         (__sub): Likewise.
46743         (__mul): Likewise.
46744         (__inv): Likewise.
46745         (__dvd): Likewise.
46746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46747         (__acr): Likewise.
46748         (__cpy): Likewise.
46749         (norm): Likewise.
46750         (denorm): Likewise.
46751         (__mp_dbl): Likewise.
46752         (__dbl_mp): Likewise.
46753         (add_magnitudes): Likewise.
46754         (sub_magnitudes): Likewise.
46755         (__add): Likewise.
46756         (__sub): Likewise.
46757         (__mul): Likewise.
46758         (__inv): Likewise.
46759         (__dvd): Likewise.
46761 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46763         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46764         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46765         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46766         2 && __USE_EXTERN_INLINES]: Likewise.
46768 2013-01-08  Andreas Jaeger  <aj@suse.de>
46770         [BZ# 14985]
46771         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46772         Remove.
46773         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46774         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46776 2013-01-07  Anton Blanchard  <anton@samba.org>
46778         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46779         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46780         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46781         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46782         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46783         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46784         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46785         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46788         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46790         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46791         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46792         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46793         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46794         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46795         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46796         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46797         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46798         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46799         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46801         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46802         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46803         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46804         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46805         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46807         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46808         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46810         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46811         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46813         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46814         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46816         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46817         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46818         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46820         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46822 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46824         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46825         (__MALLOC_PMT): Likewise.
46826         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46827         [__GNUC__], only on [_LIBC].
46828         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46829         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46830         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46831         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46832         forward declaration.
46833         (realloc_hook_ini): Likewise.
46834         (memalign_hook_ini): Likewise.
46835         (__libc_memalign): Do not use __MALLOC_PMT in variable
46836         declaration.
46837         (__libc_valloc): Likewise.
46838         (__libc_pvalloc): Likewise.
46839         (__libc_calloc): Likewise.
46840         (__posix_memalign): Likewise.
46842         [BZ #14996]
46843         * math/s_casinh.c: Include <float.h>.
46844         (__casinh): Do not do computation with squaring and square root
46845         for large arguments.
46846         * math/s_casinhf.c: Include <float.h>.
46847         (__casinhf): Do not do computation with squaring and square root
46848         for large arguments.
46849         * math/s_casinhl.c: Include <float.h>.
46850         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46851         (__casinhl): Do not do computation with squaring and square root
46852         for large arguments.
46853         * math/libm-test.inc (casin_test): Add more tests.
46854         (casinh_test): Likewise.
46855         * sysdeps/i386/fpu/libm-test-ulps: Update.
46856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46858 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46860         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46861         (__x86_64_raw_data_cache_size): Likewise.
46862         (__x86_64_data_cache_size_half): Likewise.
46863         (__x86_64_raw_data_cache_size_half): Likewise.
46864         (__x86_64_shared_cache_size): Likewise.
46865         (__x86_64_raw_shared_cache_size): Likewise.
46866         (__x86_64_shared_cache_size_half): Likewise.
46867         (__x86_64_raw_shared_cache_size_half): Likewise.
46868         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46869         to ...
46870         (__x86_data_cache_size): This.
46871         (__x86_64_raw_data_cache_size): Renamed to ...
46872         (__x86_raw_data_cache_size): This.
46873         (__x86_64_data_cache_size_half): Renamed to ...
46874         (__x86_data_cache_size_half): This.
46875         (__x86_64_raw_data_cache_size_half): Renamed to ...
46876         (__x86_raw_data_cache_size_half): This.
46877         (__x86_64_shared_cache_size): Renamed to ...
46878         (__x86_shared_cache_size): This.
46879         (__x86_64_raw_shared_cache_size): Renamed to ...
46880         (__x86_raw_shared_cache_size): This.
46881         (__x86_64_shared_cache_size_half): Renamed to ...
46882         (__x86_shared_cache_size_half): This.
46883         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46884         (__x86_raw_shared_cache_size_half): This.
46885         * sysdeps/x86_64/memcpy.S: Updated.
46886         * sysdeps/x86_64/memset.S: Likewise.
46887         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46888         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46889         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46891 2013-01-04  David S. Miller  <davem@davemloft.net>
46893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46895 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46897         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46898         1 to avoid redefinition warning.
46899         (__USE_GNU): Don't define.
46900         (init_signaling_nan): Protoize.
46902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46904 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46906         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46908         (__cpymn): Likewise.
46909         (norm): Remove commented code.
46910         (denorm): Likewise.
46911         (__mp_dbl): Likewise.
46912         (__inv): Likewise.
46913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46914         (__cpymn): Likewise.
46915         (norm): Remove commented code.
46916         (denorm): Likewise.
46917         (__mp_dbl): Likewise.
46918         (__inv): Likewise.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46921         mp_no value for 1.0 and 2.0.
46922         (norm): Use RADIXI instead of radixi.d.
46923         (denorm): Likewise.
46924         (__mul): Use 0.0 instead of zero.d.
46925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46926         mp_no value for 1.0 and 2.0.
46927         (norm): Use RADIXI instead of radixi.d.
46928         (denorm): Likewise.
46929         (__mul): Use 0.0 instead of zero.d.
46931 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46933         [BZ #14994]
46934         * math/s_casinh.c (__casinh): Reduce finite argument to first
46935         quadrant then set signs of results at the end.
46936         * math/s_casinhf.c (__casinhf): Likewise.
46937         * math/s_casinhl.c (__casinhl): Likewise.
46938         * math/libm-test.inc (casin_test): Add more tests.
46939         (casinh_test): Likewise.
46940         * sysdeps/i386/fpu/libm-test-ulps: Update.
46941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46943 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46945         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46947         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46949         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46950         declarations.
46951         (denorm): Likewise.
46952         (__mp_dbl): Likewise.
46953         (__inv): Likewise.
46955         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46956         and adjust the header comment.
46958         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46959         variable name from declaration.
46961 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46964         Initialize COMMON_CPUID_INDEX_7 element.
46965         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46966         (CPUID_RTM): Likewise.
46967         (HAS_RTM): Likewise.
46968         (COMMON_CPUID_INDEX_7): New enum.
46970 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46972         [BZ #14981]
46973         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46974         size is zero, record memory as freed.
46976 2013-01-03  Andreas Jaeger  <aj@suse.de>
46978         * po/ia.po: Add new Interlingua translation.
46980 2012-01-03  Allan McRae  <allan@archlinux.org>
46982         * locale/programs/localedef.c: Fix description of '--posix' flag.
46984 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46986         * NEWS: Update dates in second copyright notice.
46987         * README: Update copyright dates in example.
46988         * manual/libc.texinfo: Update copyright dates.
46989         * scripts/test-installation.pl: Update copyright date in --version
46990         output.
46992         * hurd/ctty-input.c: Fix copyright notice formatting.
46993         * hurd/ctty-output.c: Likewise.
46994         * hurd/dtable.c: Likewise.
46995         * hurd/hurd-raise.c: Likewise.
46996         * hurd/hurdprio.c: Likewise.
46997         * hurd/msgportdemux.c: Likewise.
46998         * misc/sys/file.h: Likewise.
46999         * misc/sys/ioctl.h: Likewise.
47000         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47001         * sysdeps/mach/hurd/chdir.c: Likewise.
47002         * sysdeps/mach/hurd/fchdir.c: Likewise.
47003         * sysdeps/mach/hurd/rename.c: Likewise.
47004         * sysdeps/mach/hurd/rmdir.c: Likewise.
47005         * sysdeps/mach/hurd/seekdir.c: Likewise.
47006         * sysdeps/mach/hurd/setsid.c: Likewise.
47007         * sysdeps/posix/wait3.c: Likewise.
47009         * All files with FSF copyright notices: Update copyright dates
47010         using scripts/update-copyrights.
47011         * intl/plural.c: Regenerated.
47012         * locale/programs/charmap-kw.h: Likewise.
47013         * locale/programs/locfile-kw.h: Likewise.
47015 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47017         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47018         four values.
47020         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47021         calculation loop and add branch prediction.
47023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47024         check access beyond bounds of m1np.
47026         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47027         MPTWO.
47028         (__inv): Remove local variable MPTWO to use the global
47029         constant.
47030         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47032         variable MPTWO.
47033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47034         MP3HALFS static const.
47036 2013-01-01  David S. Miller  <davem@davemloft.net>
47038         * po/ca.po: Update from translation team.
47040 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47042         * scripts/update-copyrights: New file.
47043         * Makeconfig: Reformat copyright notice.
47044         * ctype/ctype.h: Likewise.
47045         * debug/swprintf_chk.c: Likewise.
47046         * elf/dl-cache.c: Likewise.
47047         * elf/dl-debug.c: Likewise.
47048         * elf/dl-object.c: Likewise.
47049         * grp/initgroups.c: Likewise.
47050         * hurd/Makefile: Likewise.
47051         * hurd/hurd/signal.h: Likewise.
47052         * hurd/hurdfault.c: Likewise.
47053         * hurd/hurdioctl.c: Likewise.
47054         * hurd/hurdlookup.c: Likewise.
47055         * hurd/intr-msg.c: Likewise.
47056         * iconv/gconv_open.c: Likewise.
47057         * libio/swprintf.c: Likewise.
47058         * locale/lc-ctype.c: Likewise.
47059         * locale/nl_langinfo.c: Likewise.
47060         * mach/Machrules: Likewise.
47061         * mach/Makefile: Likewise.
47062         * malloc/obstack.h: Likewise.
47063         * manual/Makefile: Likewise.
47064         * manual/tsort.awk: Likewise.
47065         * misc/bits/stab.def: Likewise.
47066         * nis/nis_print_group_entry.c: Likewise.
47067         * nis/nis_table.c: Likewise.
47068         * nis/nss_compat/compat-pwd.c: Likewise.
47069         * nis/nss_compat/compat-spwd.c: Likewise.
47070         * po/Makefile: Likewise.
47071         * posix/fnmatch.c: Likewise.
47072         * posix/regex.h: Likewise.
47073         * resolv/Makefile: Likewise.
47074         * resolv/nss_dns/dns-network.c: Likewise.
47075         * resolv/res_hconf.c: Likewise.
47076         * scripts/gen-sorted.awk: Likewise.
47077         * soft-fp/soft-fp.h: Likewise.
47078         * stdio-common/printf.h: Likewise.
47079         * stdlib/monetary.h: Likewise.
47080         * stdlib/random.c: Likewise.
47081         * stdlib/random_r.c: Likewise.
47082         * sysdeps/generic/Makefile: Likewise.
47083         * sysdeps/gnu/Makefile: Likewise.
47084         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47085         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47086         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47087         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47088         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47090         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47091         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47092         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47094         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47095         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47096         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47097         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47098         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47099         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47100         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47101         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47102         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47105         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47106         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47107         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47108         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47109         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47110         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47111         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47112         * sysdeps/mach/hurd/errnos.awk: Likewise.
47113         * sysdeps/mach/hurd/fork.c: Likewise.
47114         * sysdeps/mach/hurd/getcwd.c: Likewise.
47115         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47116         * sysdeps/mach/hurd/mmap.c: Likewise.
47117         * sysdeps/mach/hurd/utimes.c: Likewise.
47118         * sysdeps/mach/hurd/xmknod.c: Likewise.
47119         * sysdeps/posix/profil.c: Likewise.
47120         * sysdeps/posix/readdir_r.c: Likewise.
47121         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47122         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47123         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47124         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47126         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47127         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47128         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47130         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47131         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47132         * sysdeps/pthread/lio_listio.c: Likewise.
47133         * sysdeps/sparc/dl-procinfo.h: Likewise.
47134         * sysdeps/unix/i386/sysdep.S: Likewise.
47135         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47136         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47137         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47138         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47140         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47141         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47142         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47143         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47144         * sysdeps/wordsize-32/divdi3.c: Likewise.
47145         * time/sys/time.h: Likewise.
47146         * wcsmbs/Makefile: Likewise.
47148 2013-01-01  David S. Miller  <davem@davemloft.net>
47150         * po/fr.po: Update from translation team.
47152         * catgets/gencat.c: Update copyright year.
47153         * csu/version.c: Likewise.
47154         * debug/catchsegv.sh: Likewise.
47155         * debug/pcprofiledump.c: Likewise.
47156         * debug/xtrace.sh: Likewise.
47157         * elf/ldconfig.c: Likewise.
47158         * elf/ldd.bash.in: Likewise.
47159         * elf/pldd.c: Likewise.
47160         * elf/sotruss.ksh: Likewise.
47161         * elf/sprof.c: Likewise.
47162         * iconv/iconv_prog.c: Likewise.
47163         * iconv/iconvconfig.c: Likewise.
47164         * locale/programs/locale.c: Likewise.
47165         * locale/programs/localedef.c: Likewise.
47166         * login/programs/pt_chown.c: Likewise.
47167         * malloc/memusage.sh: Likewise.
47168         * malloc/memusagestat.c: Likewise.
47169         * malloc/mtrace.pl: Likewise.
47170         * nscd/nscd.c: Likewise.
47171         * nss/getent.c: Likewise.
47172         * nss/makedb.c: Likewise.
47173         * posix/getconf.c: Likewise.
47175 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47177         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47178         numbers.
47180 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47182         * math/bits/mathcalls.h (modf): Use __nonnull.
47184 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47186         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47187         (split): Use macro CN instead of the bare value.
47188         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47189         could be used.
47190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47191         instead of the bare value.
47192         (power1): Likewise.
47194 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47197         __ATAN_TWOM.
47198         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47200         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47201         their values.
47202         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47203         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47204         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47205         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47207 2012-12-28  Andreas Jaeger  <aj@suse.de>
47209         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47210         values are from Linux 3.7.
47212         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47213         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47215 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47217         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47218         TRUE case.
47220         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47221         (norm): Likewise.
47222         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47223         variables with preprocessor constants.
47224         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47225         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47226         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47228 2012-12-27  Bruno Haible  <bruno@clisp.org>
47230         [BZ #14317]
47231         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47232         only if needed.
47234 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47237         and use variable directly.
47238         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47240         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47241         MPONE.
47242         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47244         variable MPONE.
47245         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47247         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47248         include directive.  Remove local variable MPONE.
47249         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47250         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47251         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47253 2012-12-25  David S. Miller  <davem@davemloft.net>
47255         * version.h (RELEASE): Set to "development".
47256         (VERSION): Set to "2.17.90".
47257         * NEWS: Add 2.18 section.
47259 2012-12-21  David S. Miller  <davem@davemloft.net>
47261         * po/hr.po: Update from translation team.
47263 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47265         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47267 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47269         * NEWS:  Mention new memcpy for MIPS.
47271 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47273         * manual/contrib.texi (Contributors): Spelling correction.
47275 2012-12-15  David S. Miller  <davem@davemloft.net>
47277         * po/ru.po: Update from translation team.
47279 2012-12-13  David S. Miller  <davem@davemloft.net>
47281         * NEWS: Mention IFUNC testsuite enhancements.
47283         * po/pl.po: Update from translation team.
47284         * po/bg.po: Likewise.
47286         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47287         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47289 2012-12-11  David S. Miller  <davem@davemloft.net>
47291         * po/sv.po: Update from translation team.
47293         * po/vi.po: Update from translation team.
47295         * po/cs.po: Update from translation team.
47297         * po/de.po: Update from translation team.
47298         * po/eo.po: Likewise.
47299         * po/nl.po: Likewise.
47301 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47303         [BZ #14246]
47304         * manual/argp.texi (Argp Helper Functions): Move node to follow
47305         Argp Parsing State.
47307         [BZ #14872]
47308         * manual/conf.texi (Limits on File System Capacity): Mention if
47309         terminating null is included in the max size.
47311 2012-12-10  Andreas Jaeger  <aj@suse.de>
47313         * po/cs.po: Update from translation team.
47315 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47317         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47318         void pointer and cast to uintptr_t.
47319         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47320         path.
47321         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47322         * sysdeps/s390/s390-64/memset.S: Likewise.
47324 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47326         [BZ #14833]
47327         * menual/message.texi (Message Translation): Fix typos.
47328         (Helper programs for gettext): Likewise.
47330 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47332         [BZ #14898]
47333         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47334         Change to -1.
47336 2012-12-07  David S. Miller  <davem@davemloft.net>
47338         * po/libc.pot: Update.
47340 2012-12-07  Richard Henderson  <rth@redhat.com>
47342         [BZ #10114]
47343         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47344         normal/normal case to before the switch.
47345         (_FP_DIV): Likewise.
47347 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47348             Mike Frysinger  <vapier@gentoo.org>
47350         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47351         check for __NR_fadvise64_64.
47353 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47355         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47356         0, not just to plain "0" as a statement.
47357         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47358         with cw.
47360 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47362         * NEWS: Use sourceware.org in Bugzilla URL.
47364 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47367         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47369         * stdio-common/tst-put-error.c (do_test): Add newline to the
47370         padded test to ensure flush.
47372 2012-12-05  Jeff Law  <law@redhat.com>
47374         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47376 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47378         * README: Don't refer to ports add-on as distributed separately.
47379         Mention AArch64 in list of systems supported in the ports add-on.
47381         * LICENSES: Add more non-FSF copyright and license notices.
47383         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47384         ((unused)).
47386         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47388         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47389         10000 as width of padded output.
47391 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47393         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47395         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47396         variable LX with __attribute__ ((unused)).
47397         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47398         Likewise.
47399         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47400         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47402         with __attribute__ ((unused)).
47404 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47406         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47408 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47410         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47411         (CFLAGS-nldbl-acos.c): New variable.
47412         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47413         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47414         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47415         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47416         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47417         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47418         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47419         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47420         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47421         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47422         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47423         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47424         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47425         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47426         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47427         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47428         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47429         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47430         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47431         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47432         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47433         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47434         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47435         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47436         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47437         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47438         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47439         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47440         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47441         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47442         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47443         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47444         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47445         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47446         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47447         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47448         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47449         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47450         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47451         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47452         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47453         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47454         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47455         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47456         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47457         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47458         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47459         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47460         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47461         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47462         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47463         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47464         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47465         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47466         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47467         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47468         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47469         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47470         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47471         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47472         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47473         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47474         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47475         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47476         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47477         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47478         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47479         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47480         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47481         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47482         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47483         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47484         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47485         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47486         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47487         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47488         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47489         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47490         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47491         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47492         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47493         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47494         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47495         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47496         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47497         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47498         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47499         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47500         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47501         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47502         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47503         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47504         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47505         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47506         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47507         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47508         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47511         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47513         [BZ #14914]
47514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47515         whole low double instead of just low 47 bits when splitting values
47516         into two parts.
47518 2012-12-03  Allan McRae  <allan@archlinux.org>
47520         * manual/stdio.texi (Predefined Printf Handlers): Remove
47521         @hsep and @vsep usage.
47523 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47525         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47526         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47528 2012-12-03  Jeff Law  <law@redhat.com>
47530         * time/sys/time.h (settimeofday): Do not mark TV argument
47531         as __nonnull.
47533 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47535         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47536         when currently writing and seek to current position when not.
47537         * libio/Makefile (tests): Remove bug-fclose1.
47538         * libio/bug-fclose1.c: Delete.
47540 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47542         * manual/arith.texi (feenableexcept): Fix typo.
47543         (fedisableexcept): Likewise.
47545 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47547         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47548         second, differently-typed declaration, rather than a cast.
47550 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47552         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47553         * include/rpc/svc.h: ... here.
47555 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47557         [BZ #13013]
47558         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47559         depending n and resplen2 to catch cases where answer
47560         equals answerp2.
47562 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47564         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47565         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47567 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47569         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47571 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47573         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47575 2012-11-28  Jeff Law  <law@redhat.com>
47577         [BZ #13761]
47578         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47579         dataset_temporary.  Track alloca usage into alloca_used.
47580         If dataset is large allocate and release it via malloc/free.
47582 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47584         [BZ #14197]
47585         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47587 2012-11-28  David S. Miller  <davem@davemloft.net>
47589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47591 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47593         [BZ #14803]
47594         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47595         of pi/2 rounded to nearest to 64 bits.
47596         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47597         nearest to 64 bits.
47598         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47599         bits.
47601 2012-11-28  Jeff Law <law@redhat.com>
47602             Martin Osvald <mosvald@redhat.com>
47604         [BZ #14889]
47605         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47606         * sunrpc/svc.c: Include time.h.
47607         (__svc_accept_failed): New function.
47608         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47609         any reason other than EINTR, call __svc_accept_failed.
47610         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47611         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47613 2012-11-28  Andreas Schwab  <schwab@suse.de>
47615         * scripts/abilist.awk: Also handle indirect functions in .opd
47616         section.
47618 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47620         [BZ #13881]
47621         * sysdeps/x86/fpu/powl_helper.c: New file.
47622         * sysdeps/x86/fpu/Makefile: Likewise.
47623         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47624         (p3): New object.
47625         (__ieee754_powl): Use __powl_helper for finite arguments except
47626         integer exponents below 8.
47627         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47628         (p3): New object.
47629         (__ieee754_powl): Use __powl_helper for finite arguments except
47630         integer exponents below 8.
47631         * math/libm-test.inc (pow_test): Add more tests and enable some
47632         previously disabled tests.
47633         * sysdeps/i386/fpu/libm-test-ulps: Update.
47634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47636 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47637             Carlos O'Donell  <carlos_odonell@mentor.com>
47639         * nss/makedb.c (is_prime): Assert that input is odd and greater
47640         than 4.  Note that fact in a comment too.
47641         (next_prime): Add 4 to input.
47643 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47645         [BZ #11741]
47646         * libio/Makefile (tests): Add test case tst-fwrite-error.
47647         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47648         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47649         * libio/tst-fwrite-error.c: New test case.
47651 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47653         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47654         before casting to void *.
47655         * include/libc-internal.h (__pointer_type): New macro.
47656         (__integer_if_pointer_type_sub): Likewise.
47657         (__integer_if_pointer_type): Likewise.
47658         (cast_to_integer): Likewise.
47659         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47660         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47661         before casting to atomic64_t.
47662         (atomic_exchange_acq): Likewise.
47663         (__arch_exchange_and_add_body): Likewise.
47664         (__arch_add_body): Likewise.
47665         (atomic_add_negative): Likewise.
47666         (atomic_add_zero): Likewise.
47668 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47670         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47671         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47672         (add_fdes): Likewise.
47673         (linear_search_fdes): Likewise.
47674         (binary_search_unencoded_fdes): Likewise.
47676 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47678         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47680 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47682         * configure.in: Autodetect C++ header directories.
47683         * configure: Regenerated.
47685 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47687         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47689 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47693 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47695         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47696         LDBL_MANT_DIG == 106]: Disable some tests.
47697         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47698         Likewise.
47699         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47700         Likewise.
47702         [BZ #14871]
47703         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47704         input for small inputs.  Return +/- pi/2 for large inputs.
47705         * math/libm-test.inc (atan_test): Add more tests.
47707         * sysdeps/generic/unwind-dw2-fde-glibc.c
47708         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47709         __attribute__ ((unused)).
47711         [BZ #14645]
47712         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47713         x * y if x and y are nonzero and z is zero.
47715         [BZ #14811]
47716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47717         nonzero exponents with absolute value below 0x1p-117 to +/-
47718         0x1p-117.
47720         [BZ #14869]
47721         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47722         up arguments below 2**-450, not just those below 2**-500.
47723         * math/libm-test.inc (hypot_test): Add another test.
47725         [BZ #14868]
47726         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47727         Return a+b for ratio over 2**120, not 2**60.
47728         * math/libm-test.inc (hypot_test): Add another test.
47730         * math/libm-test.inc (clog_test): Use
47731         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47732         (clog10_test): Likewise.
47734         [BZ #6778]
47735         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47737 2012-11-22  Andreas Schwab  <schwab@suse.de>
47739         * sysdeps/i386/fpu/libm-test-ulps: Update.
47741 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47743         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47744         printf output with newline.
47746 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47748         [BZ #14865]
47749         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47750         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47751         -z nodlopen, -z initfirst and -z execstack support.
47752         * configure: Regenerated.
47754         * elf/elf.h (DF_1_NODIRECT): New macro.
47755         (DF_1_IGNMULDEF): Likewise.
47756         (DF_1_NOKSYMS): Likewise.
47757         (DF_1_NOHDR): Likewise.
47758         (DF_1_EDITED): Likewise.
47759         (DF_1_NORELOC): Likewise.
47760         (DF_1_SYMINTPOSE): Likewise.
47761         (DF_1_GLOBAUDIT): Likewise.
47762         (DF_1_SINGLETON): Likewise.
47763         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47764         DT_1_SUPPORTED_MASK bits.
47765         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47767 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47769         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47771 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47773         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47774         macro.
47776         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47777         (sendmmsg): Move declarations...
47778         * socket/sys/socket.h: ... here.
47779         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47780         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47781         include it from...
47782         * socket/recvmmsg.c: ... this new file.
47783         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47784         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47785         definition of __sendmmsg hidden.
47786         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47787         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47788         Move ENOSYS stub into and include it from...
47789         * socket/sendmmsg.c: ... this new file.
47790         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47791         (sysdep_routines): Move recvmmsg and sendmmsg...
47792         * socket/Makefile (routines): ... here.
47793         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47794         (GLIBC_PRIVATE): Add __sendmmsg.
47795         * include/sys/socket.h (__sendmmsg): Add declarations.
47796         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47797         sendmmsg.
47799 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47801         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47802         variable I1 with __attribute__ ((unused)).
47803         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47805 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47807         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47808         DUMMY variables with __attribute__ ((unused)).
47810         * bits/byteswap.h: Include <bits/types.h>.
47811         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47813 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47815         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47816         string_t.  Do not manually set errno.
47817         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47818         length with __strnlen.  Make sure to both set errno and return it on
47819         failure.
47821 2012-11-19  David S. Miller  <davem@davemloft.net>
47823         With help from Joseph Myers.
47824         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47825         very large arguments properly.
47826         * math/libm-test.inc (atan_test): New tests.
47827         (atan2_test): New tests.
47828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47831 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47833         [BZ #14856]
47834         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47835         Define to 3.
47837         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47838         [POSIX] (EADDRNOTAVAIL): Likewise.
47839         [POSIX] (EAFNOSUPPORT): Likewise.
47840         [POSIX] (EALREADY): Likewise.
47841         [POSIX] (ECONNABORTED): Likewise.
47842         [POSIX] (ECONNREFUSED): Likewise.
47843         [POSIX] (ECONNRESET): Likewise.
47844         [POSIX] (EDESTADDRREQ): Likewise.
47845         [POSIX] (EDQUOT): Likewise.
47846         [POSIX] (EHOSTUNREACH): Likewise.
47847         [POSIX] (EIDRM): Likewise.
47848         [POSIX] (EISCONN): Likewise.
47849         [POSIX] (ELOOP): Likewise.
47850         [POSIX] (EMULTIHOP): Likewise.
47851         [POSIX] (ENETDOWN): Likewise.
47852         [POSIX] (ENETUNREACH): Likewise.
47853         [POSIX] (ENOBUFS): Likewise.
47854         [POSIX] (ENODATA): Likewise.
47855         [POSIX] (ENOLINK): Likewise.
47856         [POSIX] (ENOMSG): Likewise.
47857         [POSIX] (ENOPROTOOPT): Likewise.
47858         [POSIX] (ENOSR): Likewise.
47859         [POSIX] (ENOSTR): Likewise.
47860         [POSIX] (ENOTCONN): Likewise.
47861         [POSIX] (ENOTSOCK): Likewise.
47862         [POSIX] (EOPNOTSUPP): Likewise.
47863         [POSIX] (EOVERFLOW): Likewise.
47864         [POSIX] (EPROTO): Likewise.
47865         [POSIX] (EPROTONOSUPPORT): Likewise.
47866         [POSIX] (EPROTOTYPE): Likewise.
47867         [POSIX] (ESTALE): Likewise.
47868         [POSIX] (ETIME): Likewise.
47869         [POSIX] (ETXTBSY): Likewise.
47870         [POSIX] (EWOULDBLOCK): Likewise.
47871         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47872         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47873         [POSIX] (SEEK_CUR): Likewise.
47874         [POSIX] (SEEK_END): Likewise.
47875         [POSIX || UNIX98] (mode_t): Do not require.
47876         [POSIX] (off_t): Likewise.
47877         [POSIX] (pid_t): Likewise.
47878         [POSIX] (sys/stat.h): Do not allow header.
47879         [POSIX] (unistd.h): Likewise.
47880         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47881         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47882         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47883         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47884         require.
47885         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47886         sigevent): Specify elements.
47887         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47888         entry.
47889         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47890         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47892         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47893         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47894         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47895         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47896         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47897         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47898         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47899         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47900         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47901         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47902         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47903         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47904         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47905         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47906         Likewise.
47907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47908         Likewise.
47909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47910         Likewise.
47911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47912         Likewise.
47913         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47914         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47915         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47916         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47917         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47918         Specify lower bound on value.
47919         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47920         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47921         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47922         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47923         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47924         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47925         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47926         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47927         value.
47928         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47929         as optional.
47930         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47931         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47932         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47933         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47934         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47935         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47936         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47937         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47938         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47939         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47940         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47941         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47942         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47943         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47944         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47945         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47946         entry.
47947         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47948         optional.
47949         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47950         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47951         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47952         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47953         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47954         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47955         Likewise.
47956         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47957         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47958         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47959         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47960         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47961         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47962         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47963         as optional.
47964         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47965         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47967         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47968         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47969         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47970         specify as optional.
47971         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47972         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47973         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47974         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47975         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47976         [XPG3] (NL_LANGMAX): Likewise.
47977         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47978         [POSIX || XPG3] (NL_NMAX): Likewise.
47979         [POSIX || XPG3] (NL_SETMAX): Likewise.
47980         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47981         [XPG3] (NZERO): Likewise.
47982         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47983         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47984         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47985         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47986         (REG_ERANGE): Expect.
47987         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47988         optional-constant.
47989         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47990         Use (void) in prototype.
47991         [POSIX] (*_t): Allow.
47992         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47993         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47994         (WRDE_BADVAL): Expect.
47996         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47997         expect.
47998         [XPG3 || XPG4] (O_RSYNC): Likewise.
47999         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48000         Likewise.
48001         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48002         [XPG3 || XPG4] (sigqueue): Likewise.
48003         [XPG3 || XPG4] (sigtimedwait): Likewise.
48004         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48005         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48006         [XPG3 || XPG4] (vsnprintf): Likewise.
48007         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48008         Likewise.
48009         [XPG3 || XPG4] (blksize_t): Likewise.
48010         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48011         Likewise.
48012         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48013         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48014         [XPG3 || XPG4] (struct itimerspec): Likewise.
48015         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48016         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48017         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48018         [XPG3 || XPG4] (clockid_t): Likewise.
48019         [XPG3 || XPG4] (timer_t): Likewise.
48020         [XPG3 || XPG4] (clock_getres): Likewise.
48021         [XPG3 || XPG4] (clock_gettime): Likewise.
48022         [XPG3 || XPG4] (clock_settime): Likewise.
48023         [XPG3 || XPG4] (nanosleep): Likewise.
48024         [XPG3 || XPG4] (timer_create): Likewise.
48025         [XPG3 || XPG4] (timer_delete): Likewise.
48026         [XPG3 || XPG4] (timer_gettime): Likewise.
48027         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48028         [XPG3 || XPG4] (timer_settime): Likewise.
48029         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48030         [XPG3 || XPG4] (getlogin_r): Likewise.
48031         [XPG3 || XPG4] (pread): Likewise.
48032         [XPG3 || XPG4] (pthread_atfork): Likewise.
48033         [XPG3 || XPG4] (pwrite): Likewise.
48035         [BZ #14835]
48036         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48037         <bits/siginfo.h>.
48039 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48041         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48042         finalizing MALLSTREAM.
48044         * sysdeps/mach/hurd/syncfs.c: New file.
48046 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48048         [BZ #14719]
48049         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48050         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48051         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48052         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48053         (_nss_dns_gethostbyname4_r): Likewise.
48054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48055         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48057 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48059         [BZ #13763]
48060         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48062 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48064         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48065         * elf/cache.c (print_entry): Print ",AArch64" for
48066         FLAG_AARCH64_LIB64
48068         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48069         * elf/cache.c (print_entry): Print ",hard-float" for
48070         FLAG_ARM_LIBHF.
48072 2012-11-18  David S. Miller  <davem@davemloft.net>
48074         With help from Joseph Myers.
48075         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48076         cutoff to 2**-13.
48077         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48078         cutoff to 2**-25.
48079         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48080         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48081         small.
48082         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48083         * math/libm-test.inc (y0_test): New tests.
48084         (y1_test): New tests.
48085         * sysdeps/i386/fpu/libm-test-ulps: Update.
48086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48089 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48091         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48092         64-bit targets.
48093         * configure: Regenerated.
48095 2012-11-17  David S. Miller  <davem@davemloft.net>
48097         [BZ #14811]
48098         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48099         nonzero exponents with absolute value below 0x1p-128 to +/-
48100         0x1p-128.
48102 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48104         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48106         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48108         * posix/getconf-speclist.c: New file.
48109         * posix/posix-envs.def: Likewise.
48110         * posix/confstr.c (START_ENV_GROUP): New macro.
48111         (END_ENV_GROUP): Likewise.
48112         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48113         (KNOWN_PRESENT_ENV_STRING): Likewise.
48114         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48115         (UNKNOWN_ENVIRONMENT): Likewise.
48116         (confstr): Include posix-envs.def instead of handling
48117         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48118         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48119         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48120         (END_ENV_GROUP): Likewise.
48121         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48122         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48123         (UNKNOWN_ENVIRONMENT): Likewise.
48124         (__sysconf): Include posix-envs.def instead of handling associated
48125         cases directly here.
48126         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48127         preprocessing getconf-speclist.c rather than running getconf or
48128         generating empty file.
48130 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48132         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48134 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48136         [BZ #14672]
48137         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48139 2012-11-16  David S. Miller  <davem@davemloft.net>
48141         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48142         smaller than LDBL_EPSILON/2.0L, just return xm1.
48144 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48146         * elf/tst-array1.c (init): Set constructor priority to 1000.
48147         (fini): Set destructor priority to 1000.
48148         * elf/tst-array2dep.c: Likewise.
48150 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48152         [BZ #11741]
48153         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48154         (_IO_new_file_xsputn): Also return EOF if none of the input
48155         data was written when overflow failed.
48156         * libio/iopadn.c (_IO_padn): Likewise.
48157         * libio/iowpadn.c (_IO_wpadn): Likewise.
48158         * stdio-common/tst-put-error.c: Add copyright notice.
48159         (do_test): Add case for printing padded string.
48160         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48161         _IO_padn returned error.
48162         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48163         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48164         return EOF.
48166 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48168         * libio/libioP.h: Add comment note that the references to C++
48169         bits are now obsolete.
48171 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48173         * math/libm-test.inc (check_complex): Use asprintf.
48175 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48177         * debug/pcprofiledump.c (print_version): Update copyright year.
48178         * malloc/memusagestat.c (print_version): Likewise.
48180 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48182         [BZ #14831]
48183         * elf/Makefile (tests): Add tst-audit8.
48184         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48185         ($(objpfx)tst-audit8.out): New target.
48186         (tst-audit8-ENV): New variable.
48187         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48188         audit if l_reloc_result is NULL.
48189         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48190         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48191         * elf/tst-audit8.c: New file.
48193 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48195         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48196         * misc/Makefile (CFLAGS-select.c): Define.
48197         * posix/Makefile (CFLAGS-pause.c): Define.
48199 2012-11-13  David S. Miller  <davem@davemloft.net>
48201         * crypt/Makefile: Move test targets after toplevel Rules
48202         inclusion.  Grab any necessary sysdep routines when linking.
48203         * crypt/md5.c (md5_process_block): Remove define, we will always
48204         name it __md5_process_block.
48205         (md5_finish_ctx): Update md5_process_block call.
48206         (md5_stream): Likewise.
48207         (md5_process_bytes): Likewise.
48208         (md5_process_block): Rename to __md5_process_block and move to ...
48209         * crypt/md5-block.c: ... here.
48210         * crypt/sha256.c (sha256_process_block): Move to ...
48211         * crypt/sha256-block.c: ... here.
48212         * crypt/sha512.c (sha512_process_block): Move to ...
48213         * crypt/sha512-block.c: ... here.
48214         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48215         path.
48216         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48217         * sysdeps/sparc/sparc64/multiarch/Makefile
48218         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48219         crypt subdir.
48220         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48221         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48222         multiarch changes.
48223         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48224         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48225         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48226         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48227         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48228         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48229         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48230         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48232         file.
48233         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48234         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48235         file.
48236         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48238 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48240         * timezone/tzselect.ksh: Update from tzcode git revision
48241         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48242         * timezone/zdump.c: Likewise.
48243         * timezone/zic.c: Likewise.
48244         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48245         in TZVERSION setting, not $(PKGVERSION).
48246         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48247         REPORT_BUGS_TO settings.
48249         [BZ #14838]
48250         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48251         macro.
48253 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48255         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48256         detection to immediately after _FP_ROUND().
48257         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48258         bits are 0.
48260 2012-11-11  David S. Miller  <davem@davemloft.net>
48262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48263         inttypes.h
48264         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48265         __close rather than their public counterparts.
48267 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48269         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48270         file.
48271         [UNIX98] (sem_timedwait): Do not expect.
48272         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48273         [XPG4 || UNIX98] (sockatmark): Do not expect.
48274         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48275         (clock_getcpuclockid): Do not expect.
48276         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48277         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48278         Do not expect.
48279         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48280         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48281         [UNIX98] (vwscanf): Likewise.
48282         [UNIX98] (vswscanf): Likewise.
48284 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48286         * timezone/version.h: Remove file.
48287         * timezone/README: Do not refer to version.h.
48288         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48289         $(objpfx)version.h.
48290         ($(objpfx)zdump.o): Likewise.
48291         ($(objpfx)version.h): New target.
48293         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48294         2012i.
48295         * timezone/README: Don't mention modification to tzselect.ksh.
48296         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48297         work on unmodified tzselect.ksh.  Substitute version numbers in
48298         tzselect.ksh.
48300         * Makefile (format-me): Remove.
48301         (INSTALL): Adjust indentation.  Use commands directly instead of
48302         using $(format-me).
48304         * aclocal.m4 (ACX_PKGVERSION): New macro.
48305         (ACX_BUGURL): Likewise.
48306         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48307         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48308         (REPORT_BUGS_TO): Likewise.
48309         * configure: Regenerated.
48310         * config.h.in (PKGVERSION): New macro.
48311         (REPORT_BUGS_TO): Likewise.
48312         * config.make.in (PKGVERSION): New variable.
48313         (PKGVERSION_TEXI): Likewise.
48314         (REPORT_BUGS_TO): Likewise.
48315         (REPORT_BUGS_TEXI): Likewise.
48316         * Makefile (format-me): Use -I$(common-objpfx)manual.
48317         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48318         ($(common-objpfx)manual/%): New target.
48319         (manual/%): Remove target.
48320         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48321         (print_version): Use PKGVERSION.
48322         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48323         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48324         and REPORT_BUGS_TO.
48325         ($(objpfx)xtrace): Likewise.
48326         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48327         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48328         (print_version): Use PKGVERSION.
48329         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48330         (do_version): Use PKGVERSION.
48331         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48332         REPORT_BUGS_TO.
48333         (common-ldd-rewrite): Likewise.
48334         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48335         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48336         (print_version): Use PKGVERSION.
48337         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48338         * elf/pldd.c (argp_program_bug_address): Remove variable.
48339         (more_help): New function.
48340         (argp): Use more_help.
48341         (print_version): Use PKGVERSION.
48342         * elf/sln.c (main): Use PKGVERSION.
48343         (usage): Use REPORT_BUGS_TO.
48344         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48345         (top level): Use PKGVERSION.
48346         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48347         (print_version): Use PKGVERSION.
48348         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48349         (print_version): Use PKGVERSION.
48350         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48351         (print_version): Use PKGVERSION.
48352         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48353         (print_version): Use PKGVERSION.
48354         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48355         (print_version): Use PKGVERSION.
48356         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48357         (print_version): Use PKGVERSION.
48358         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48359         and BUGURL.
48360         ($(objpfx)memusage): Likewise.
48361         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48362         (do_version): Use PKGVERSION.
48363         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48364         (print_version): Use PKGVERSION.
48365         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48366         ($PKGVERSION): New variable.
48367         ($REPORT_BUGS_TO): Likewise.
48368         (usage): Use $REPORT_BUGS_TO.
48369         (top level): Use $PKGVERSION.
48370         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48371         ($(objpfx)pkgvers.texi): New rule.
48372         ($(objpfx)stamp-pkgvers): Likewise.
48373         * manual/install.texi: Include pkgvers.texi.
48374         (--with-pkgversion): Document new configure option.
48375         (--with-bugurl): Likewise.
48376         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48377         than necessarily for this particular distribution.  Use
48378         REPORT_BUGS_TO for where to report bugs.
48379         * INSTALL: Regenerated.
48380         * manual/libc.texinfo: Include pkgvers.texi.
48381         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48382         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48383         (print_version): Use PKGVERSION.
48384         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48385         (print_version): Use PKGVERSION.
48386         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48387         (print_version): Use PKGVERSION.
48388         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48389         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48390         macro.
48391         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48392         (print_version): Use PKGVERSION.
48393         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48394         (print_version): Use PKGVERSION.
48395         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48396         and PKGVERSION.
48398         * timezone/checktab.awk: Update from tzcode 2012i.
48399         * timezone/ialloc.c: Likewise.
48400         * timezone/private.h: Likewise.
48401         * timezone/scheck.c: Likewise.
48402         * timezone/tzfile.h: Likewise.
48403         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48404         (TZVERSION): Hardcode tzcode version number.
48405         * timezone/zdump.c: Update from tzcode 2012i.
48406         * timezone/zic.c: Likewise.
48407         * timezone/version.h: New file.
48408         * timezone/README: Describe version.h.  Update upstream location.
48410         [BZ #14824]
48411         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48412         (mktemp): Enable declaration.
48413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48417         Likewise.
48418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48419         Likewise.
48420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48421         Likewise.
48422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48423         Likewise.
48424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48425         Likewise.
48426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48427         Likewise.
48429         [BZ #14821]
48430         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48431         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48432         for copies of such integer values.
48433         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48434         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48436 2012-11-09  Andreas Jaeger  <aj@suse.de>
48438         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48439         definitions and declarations that are provided by
48440         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48442 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48444         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48445         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48446         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48447         definition.
48449 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48451         * elf/elf.h: Update comment before AArch64 relocations.
48453 2012-11-07  David S. Miller  <davem@davemloft.net>
48455         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48456         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48457         (__start_context): Declare.
48458         (__makecontext_ret): Delete.
48459         (__makecontext): Hook up __start_context instead of
48460         __makecontext_ret.
48461         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48462         (sysdep_routines): Add __start_context when in stdlib.
48464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48466         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48467         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48468         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48469         hardcoded "nm".
48470         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48471         (READELF): New variable.  Use it instead of hardcoded "readelf".
48473 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48475         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48476         * sysdeps/x86/Makefile: Here.
48477         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48478         * sysdeps/x86/tst-xmmymm.sh: This.
48480 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48482         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48483         expectations.
48484         [UNIX98] (pthread_barrier_t): Do not expect.
48485         [UNIX98] (pthread_barrierattr_t): Likewise.
48486         [UNIX98] (pthread_spinlock_t): Likewise.
48487         [UNIX98] (pthread_barrier_destroy): Likewise.
48488         [UNIX98] (pthread_barrier_init): Likewise.
48489         [UNIX98] (pthread_barrier_wait): Likewise.
48490         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48491         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48492         [UNIX98] (pthread_barrierattr_init): Likewise.
48493         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48494         [UNIX98] (pthread_getcpuclockid): Likewise.
48495         [UNIX98] (pthread_mutex_timedlock): Likewise.
48496         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48497         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48498         [UNIX98] (pthread_sigmask): Likewise.
48499         [UNIX98] (pthread_spin_destroy): Likewise.
48500         [UNIX98] (pthread_spin_init): Likewise.
48501         [UNIX98] (pthread_spin_lock): Likewise.
48502         [UNIX98] (pthread_spin_trylock): Likewise.
48503         [UNIX98] (pthread_spin_unlock): Likewise.
48504         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48505         Do not expect.
48506         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48508         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48509         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48510         [XPG3 || XPG4] (pthread_key_t): Likewise.
48511         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48512         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48513         [XPG3 || XPG4] (pthread_once_t): Likewise.
48514         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48515         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48516         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48517         [XPG3 || XPG4] (pthread_t): Likewise.
48519         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48520         not expect.
48521         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48523         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48524         Change function return type to int.
48526         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48527         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48528         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48529         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48530         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48531         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48532         [!POSIX] (posix_madvise): Likewise.
48533         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48534         && !UNIX98].
48535         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48536         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48537         (mode_t): Likewise.
48538         (posix_mem_offset): Likewise.
48539         (posix_typed_mem_get_info): Likewise.
48540         (posix_typed_mem_open): Likewise.
48542         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48543         Change condition to [XOPEN2K8].
48545         * conform/conformtest.pl: Preprocess allow-header data with -x c
48546         instead of from stdin.
48547         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48548         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48549         [C99-based standards] (cerfc): Likewise.
48550         [C99-based standards] (cexp2): Likewise.
48551         [C99-based standards] (cexpm1): Likewise.
48552         [C99-based standards] (clog10): Likewise.
48553         [C99-based standards] (clog1p): Likewise.
48554         [C99-based standards] (clog2): Likewise.
48555         [C99-based standards] (clgamma): Likewise.
48556         [C99-based standards] (ctgamma): Likewise.
48557         [C99-based standards] (cerff): Likewise.
48558         [C99-based standards] (cerfcf): Likewise.
48559         [C99-based standards] (cexp2f): Likewise.
48560         [C99-based standards] (cexpm1f): Likewise.
48561         [C99-based standards] (clog10f): Likewise.
48562         [C99-based standards] (clog1pf): Likewise.
48563         [C99-based standards] (clog2f): Likewise.
48564         [C99-based standards] (clgammaf): Likewise.
48565         [C99-based standards] (ctgammaf): Likewise.
48566         [C99-based standards] (cerfl): Likewise.
48567         [C99-based standards] (cerfcl): Likewise.
48568         [C99-based standards] (cexp2l): Likewise.
48569         [C99-based standards] (cexpm1l): Likewise.
48570         [C99-based standards] (clog10l): Likewise.
48571         [C99-based standards] (clog1pl): Likewise.
48572         [C99-based standards] (clog2l): Likewise.
48573         [C99-based standards] (clgammal): Likewise.
48574         [C99-based standards] (ctgammal): Likewise.
48575         * conform/data/inttypes.h-data [C99-based standards]: Include
48576         stdint.h-data.  Remove all expectations for stdint.h contents.
48577         [C99-based standards] (PRI*): Do not allow.
48578         [C99-based standards] (SCN*): Likewise.
48579         [C99-based standards] (*_t): Likewise.
48580         [C99-based-standards] (PRId8): Expect macro.
48581         [C99-based-standards] (PRIi8): Likewise.
48582         [C99-based-standards] (PRIo8): Likewise.
48583         [C99-based-standards] (PRIu8): Likewise.
48584         [C99-based-standards] (PRIx8): Likewise.
48585         [C99-based-standards] (PRIX8): Likewise.
48586         [C99-based-standards] (SCNd8): Likewise.
48587         [C99-based-standards] (SCNi8): Likewise.
48588         [C99-based-standards] (SCNo8): Likewise.
48589         [C99-based-standards] (SCNu8): Likewise.
48590         [C99-based-standards] (SCNx8): Likewise.
48591         [C99-based-standards] (PRIdLEAST8): Likewise.
48592         [C99-based-standards] (PRIiLEAST8): Likewise.
48593         [C99-based-standards] (PRIoLEAST8): Likewise.
48594         [C99-based-standards] (PRIuLEAST8): Likewise.
48595         [C99-based-standards] (PRIxLEAST8): Likewise.
48596         [C99-based-standards] (PRIXLEAST8): Likewise.
48597         [C99-based-standards] (SCNdLEAST8): Likewise.
48598         [C99-based-standards] (SCNiLEAST8): Likewise.
48599         [C99-based-standards] (SCNoLEAST8): Likewise.
48600         [C99-based-standards] (SCNuLEAST8): Likewise.
48601         [C99-based-standards] (SCNxLEAST8): Likewise.
48602         [C99-based-standards] (PRIdFAST8): Likewise.
48603         [C99-based-standards] (PRIiFAST8): Likewise.
48604         [C99-based-standards] (PRIoFAST8): Likewise.
48605         [C99-based-standards] (PRIuFAST8): Likewise.
48606         [C99-based-standards] (PRIxFAST8): Likewise.
48607         [C99-based-standards] (PRIXFAST8): Likewise.
48608         [C99-based-standards] (SCNdFAST8): Likewise.
48609         [C99-based-standards] (SCNiFAST8): Likewise.
48610         [C99-based-standards] (SCNoFAST8): Likewise.
48611         [C99-based-standards] (SCNuFAST8): Likewise.
48612         [C99-based-standards] (SCNxFAST8): Likewise.
48613         [C99-based-standards] (PRId16): Likewise.
48614         [C99-based-standards] (PRIi16): Likewise.
48615         [C99-based-standards] (PRIo16): Likewise.
48616         [C99-based-standards] (PRIu16): Likewise.
48617         [C99-based-standards] (PRIx16): Likewise.
48618         [C99-based-standards] (PRIX16): Likewise.
48619         [C99-based-standards] (SCNd16): Likewise.
48620         [C99-based-standards] (SCNi16): Likewise.
48621         [C99-based-standards] (SCNo16): Likewise.
48622         [C99-based-standards] (SCNu16): Likewise.
48623         [C99-based-standards] (SCNx16): Likewise.
48624         [C99-based-standards] (PRIdLEAST16): Likewise.
48625         [C99-based-standards] (PRIiLEAST16): Likewise.
48626         [C99-based-standards] (PRIoLEAST16): Likewise.
48627         [C99-based-standards] (PRIuLEAST16): Likewise.
48628         [C99-based-standards] (PRIxLEAST16): Likewise.
48629         [C99-based-standards] (PRIXLEAST16): Likewise.
48630         [C99-based-standards] (SCNdLEAST16): Likewise.
48631         [C99-based-standards] (SCNiLEAST16): Likewise.
48632         [C99-based-standards] (SCNoLEAST16): Likewise.
48633         [C99-based-standards] (SCNuLEAST16): Likewise.
48634         [C99-based-standards] (SCNxLEAST16): Likewise.
48635         [C99-based-standards] (PRIdFAST16): Likewise.
48636         [C99-based-standards] (PRIiFAST16): Likewise.
48637         [C99-based-standards] (PRIoFAST16): Likewise.
48638         [C99-based-standards] (PRIuFAST16): Likewise.
48639         [C99-based-standards] (PRIxFAST16): Likewise.
48640         [C99-based-standards] (PRIXFAST16): Likewise.
48641         [C99-based-standards] (SCNdFAST16): Likewise.
48642         [C99-based-standards] (SCNiFAST16): Likewise.
48643         [C99-based-standards] (SCNoFAST16): Likewise.
48644         [C99-based-standards] (SCNuFAST16): Likewise.
48645         [C99-based-standards] (SCNxFAST16): Likewise.
48646         [C99-based-standards] (PRId32): Likewise.
48647         [C99-based-standards] (PRIi32): Likewise.
48648         [C99-based-standards] (PRIo32): Likewise.
48649         [C99-based-standards] (PRIu32): Likewise.
48650         [C99-based-standards] (PRIx32): Likewise.
48651         [C99-based-standards] (PRIX32): Likewise.
48652         [C99-based-standards] (SCNd32): Likewise.
48653         [C99-based-standards] (SCNi32): Likewise.
48654         [C99-based-standards] (SCNo32): Likewise.
48655         [C99-based-standards] (SCNu32): Likewise.
48656         [C99-based-standards] (SCNx32): Likewise.
48657         [C99-based-standards] (PRIdLEAST32): Likewise.
48658         [C99-based-standards] (PRIiLEAST32): Likewise.
48659         [C99-based-standards] (PRIoLEAST32): Likewise.
48660         [C99-based-standards] (PRIuLEAST32): Likewise.
48661         [C99-based-standards] (PRIxLEAST32): Likewise.
48662         [C99-based-standards] (PRIXLEAST32): Likewise.
48663         [C99-based-standards] (SCNdLEAST32): Likewise.
48664         [C99-based-standards] (SCNiLEAST32): Likewise.
48665         [C99-based-standards] (SCNoLEAST32): Likewise.
48666         [C99-based-standards] (SCNuLEAST32): Likewise.
48667         [C99-based-standards] (SCNxLEAST32): Likewise.
48668         [C99-based-standards] (PRIdFAST32): Likewise.
48669         [C99-based-standards] (PRIiFAST32): Likewise.
48670         [C99-based-standards] (PRIoFAST32): Likewise.
48671         [C99-based-standards] (PRIuFAST32): Likewise.
48672         [C99-based-standards] (PRIxFAST32): Likewise.
48673         [C99-based-standards] (PRIXFAST32): Likewise.
48674         [C99-based-standards] (SCNdFAST32): Likewise.
48675         [C99-based-standards] (SCNiFAST32): Likewise.
48676         [C99-based-standards] (SCNoFAST32): Likewise.
48677         [C99-based-standards] (SCNuFAST32): Likewise.
48678         [C99-based-standards] (SCNxFAST32): Likewise.
48679         [C99-based-standards] (PRId64): Likewise.
48680         [C99-based-standards] (PRIi64): Likewise.
48681         [C99-based-standards] (PRIo64): Likewise.
48682         [C99-based-standards] (PRIu64): Likewise.
48683         [C99-based-standards] (PRIx64): Likewise.
48684         [C99-based-standards] (PRIX64): Likewise.
48685         [C99-based-standards] (SCNd64): Likewise.
48686         [C99-based-standards] (SCNi64): Likewise.
48687         [C99-based-standards] (SCNo64): Likewise.
48688         [C99-based-standards] (SCNu64): Likewise.
48689         [C99-based-standards] (SCNx64): Likewise.
48690         [C99-based-standards] (PRIdLEAST64): Likewise.
48691         [C99-based-standards] (PRIiLEAST64): Likewise.
48692         [C99-based-standards] (PRIoLEAST64): Likewise.
48693         [C99-based-standards] (PRIuLEAST64): Likewise.
48694         [C99-based-standards] (PRIxLEAST64): Likewise.
48695         [C99-based-standards] (PRIXLEAST64): Likewise.
48696         [C99-based-standards] (SCNdLEAST64): Likewise.
48697         [C99-based-standards] (SCNiLEAST64): Likewise.
48698         [C99-based-standards] (SCNoLEAST64): Likewise.
48699         [C99-based-standards] (SCNuLEAST64): Likewise.
48700         [C99-based-standards] (SCNxLEAST64): Likewise.
48701         [C99-based-standards] (PRIdFAST64): Likewise.
48702         [C99-based-standards] (PRIiFAST64): Likewise.
48703         [C99-based-standards] (PRIoFAST64): Likewise.
48704         [C99-based-standards] (PRIuFAST64): Likewise.
48705         [C99-based-standards] (PRIxFAST64): Likewise.
48706         [C99-based-standards] (PRIXFAST64): Likewise.
48707         [C99-based-standards] (SCNdFAST64): Likewise.
48708         [C99-based-standards] (SCNiFAST64): Likewise.
48709         [C99-based-standards] (SCNoFAST64): Likewise.
48710         [C99-based-standards] (SCNuFAST64): Likewise.
48711         [C99-based-standards] (SCNxFAST64): Likewise.
48712         [C99-based-standards] (PRIdMAX): Likewise.
48713         [C99-based-standards] (PRIiMAX): Likewise.
48714         [C99-based-standards] (PRIoMAX): Likewise.
48715         [C99-based-standards] (PRIuMAX): Likewise.
48716         [C99-based-standards] (PRIxMAX): Likewise.
48717         [C99-based-standards] (PRIXMAX): Likewise.
48718         [C99-based-standards] (SCNdMAX): Likewise.
48719         [C99-based-standards] (SCNiMAX): Likewise.
48720         [C99-based-standards] (SCNoMAX): Likewise.
48721         [C99-based-standards] (SCNuMAX): Likewise.
48722         [C99-based-standards] (SCNxMAX): Likewise.
48723         [C99-based-standards] (PRIdPTR): Likewise.
48724         [C99-based-standards] (PRIiPTR): Likewise.
48725         [C99-based-standards] (PRIoPTR): Likewise.
48726         [C99-based-standards] (PRIuPTR): Likewise.
48727         [C99-based-standards] (PRIxPTR): Likewise.
48728         [C99-based-standards] (PRIXPTR): Likewise.
48729         [C99-based-standards] (SCNdPTR): Likewise.
48730         [C99-based-standards] (SCNiPTR): Likewise.
48731         [C99-based-standards] (SCNoPTR): Likewise.
48732         [C99-based-standards] (SCNuPTR): Likewise.
48733         [C99-based-standards] (SCNxPTR): Likewise.
48734         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48735         allow.
48736         * conform/data/stdint.h-data: Update comments to clarify
48737         requirements.
48738         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48739         type.
48740         [C99-based standards] (INT8_MAX): Likewise.
48741         [C99-based standards] (INT16_MIN): Likewise.
48742         [C99-based standards] (INT16_MAX): Likewise.
48743         [C99-based standards] (INT32_MIN): Likewise.
48744         [C99-based standards] (INT32_MAX): Likewise.
48745         [C99-based standards] (INT64_MIN): Likewise.
48746         [C99-based standards] (INT64_MAX): Likewise.
48747         [C99-based standards] (UINT8_MAX): Likewise.
48748         [C99-based standards] (UINT16_MAX): Likewise.
48749         [C99-based standards] (UINT32_MAX): Likewise.
48750         [C99-based standards] (UINT64_MAX): Likewise.
48751         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48752         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48753         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48754         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48755         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48756         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48757         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48758         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48759         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48760         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48761         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48762         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48763         [C99-based standards] (INT_FAST8_MIN): Likewise.
48764         [C99-based standards] (INT_FAST8_MAX): Likewise.
48765         [C99-based standards] (INT_FAST16_MIN): Likewise.
48766         [C99-based standards] (INT_FAST16_MAX): Likewise.
48767         [C99-based standards] (INT_FAST32_MIN): Likewise.
48768         [C99-based standards] (INT_FAST32_MAX): Likewise.
48769         [C99-based standards] (INT_FAST64_MIN): Likewise.
48770         [C99-based standards] (INT_FAST64_MAX): Likewise.
48771         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48772         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48773         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48774         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48775         [C99-based standards] (INTPTR_MIN): Likewise.
48776         [C99-based standards] (INTPTR_MAX): Likewise.
48777         [C99-based standards] (UINTPTR_MAX): Likewise.
48778         [C99-based standards] (INTMAX_MIN): Likewise.
48779         [C99-based standards] (INTMAX_MAX): Likewise.
48780         [C99-based standards] (UINTMAX_MAX): Likewise.
48781         [C99-based standards] (PTRDIFF_MIN): Likewise.
48782         [C99-based standards] (PTRDIFF_MAX): Likewise.
48783         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48784         [C99-based standards] (SIZE_MAX): Likewise.
48785         [C99-based standards] (WCHAR_MAX): Likewise.
48786         [C99-based standards] (WINT_MAX): Likewise.
48787         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48788         constraint on value.
48789         [C99-based standards] (WCHAR_MIN): Likewise.
48790         [C99-based standards] (WINT_MIN): Likewise.
48791         [C99-based standards] (*_t): Allow.
48792         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48793         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48794         Include math.h-data and complex.h-data.  Remove all expectations
48795         of math.h and complex.h contents.
48796         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48797         at end of line.
48798         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48799         (struct tm): Expect tag.
48800         [C99-based-standards] (wcstof): Expect function.
48801         [C99-based-standards] (wcstold): Likewise.
48802         [C99-based-standards] (wcstoll): Likewise.
48803         [C99-based-standards] (wcstoull): Likewise.
48804         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48805         macro-int-constant.  Specify type.
48806         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48807         constraint on value.
48808         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48809         Specify type.
48810         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48811         Specify value.
48812         [ISO C standards]: Do not allow headers.
48813         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48814         wcs[abcdefghijklmnopqrstuvwxyz]*.
48815         [ISO C standards] (*_t): Do not allow.
48816         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48817         Expect function.
48818         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48819         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48820         Specify type.
48821         [ISO C standards]: Do not allow headers.
48822         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48823         is[abcdefghijklmnopqrstuvwxyz]*.
48824         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48825         to[abcdefghijklmnopqrstuvwxyz]*.
48826         [ISO C standards] (*_t): Do not allow.
48827         * conform/data/stdalign.h-data: New file.
48828         * conform/data/stdbool.h-data: Likewise.
48829         * conform/data/stdnoreturn.h-data: Likewise.
48831 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48833         [BZ #14815]
48834         * manual/filesys.texi (Directory Entries): Typo fix.
48835         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48837 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48839         * elf/elf.h (EM_AARCH64): New macro.
48840         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48841         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48842         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48843         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48844         (R_AARCH64_TLSDESC): Likewise.
48845         (NT_ARM_TLS): Likewise.
48846         (NT_ARM_HW_BREAK): Likewise.
48847         (NT_ARM_HW_WATCH): Likewise.
48849 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48851         [BZ #14811]
48852         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48853         (__ieee754_powl): Saturate nonzero exponents with absolute value
48854         below 0x1p-79 to +/- 0x1p-79.
48855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48856         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48857         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48858         nonzero exponents with absolute value below 0x1p-32 to +/-
48859         0x1p-32.
48860         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48861         (__ieee754_powl): Saturate nonzero exponents with absolute value
48862         below 0x1p-79 to +/- 0x1p-79.
48863         * math/libm-test.inc (pow_test): Add more tests.
48865 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48867         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48868         _dl_s390_cap_flags with kernel. Increase string length.
48869         (_dl_s390_platforms): Add z196 and zEC12.
48871 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48873         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48874         Change XOPEN21K to XOPEN2K.
48876 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48878         * string/memmove.c: Use memcpy when possible.
48880 2012-11-06  Andreas Jaeger  <aj@suse.de>
48882         * po/eo.po: Update from translation team.
48884 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48886         [BZ #14793]
48887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48888         exponent and small x and y exponents, scale x or y up.  Increase
48889         by 2 the exponent used in scaling up.
48890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48892         * math/libm-test.inc (fma_test): Add more tests.
48893         (fma_test_towardzero): Likewise.
48894         (fma_test_downward): Likewise.
48895         (fma_test_upward): Likewise.
48897 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48899         [BZ #14805]
48900         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48901         fenv_t *.
48903         [BZ #14801]
48904         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48905         namespace for names of struct fields.
48906         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48907         fenv_t fields.
48908         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48909         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48911 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48913         [BZ #3665]
48914         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48916 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48918         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48919         PTR_DEMANGLE.
48921         [BZ #5246]
48922         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48923         PTR_DEMANGLE.
48925 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48927         [BZ #14797]
48928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48929         definitely overflow as x * y not x * y + z.
48930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48932         * math/libm-test.inc (fma_test): Add more tests.
48933         (fma_test_towardzero): Likewise.
48934         (fma_test_downward): Likewise.
48935         (fma_test_upward): Likewise.
48937 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48939         [BZ #157]
48941         * include/stub-tag.h: Remove file.
48942         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48943         '#include' of it.
48944         * manual/maint.texi (Porting): Don't reference it.
48945         * Makerules ($(objpfx)stubs): Likewise.
48946         * dirent/closedir.c: Don't include <stub-tag.h>.
48947         * dirent/dirfd.c: Likewise.
48948         * dirent/fdopendir.c: Likewise.
48949         * dirent/getdents.c: Likewise.
48950         * dirent/getdents64.c: Likewise.
48951         * dirent/opendir.c: Likewise.
48952         * dirent/readdir.c: Likewise.
48953         * dirent/readdir64.c: Likewise.
48954         * dirent/readdir64_r.c: Likewise.
48955         * dirent/readdir_r.c: Likewise.
48956         * dirent/rewinddir.c: Likewise.
48957         * dirent/seekdir.c: Likewise.
48958         * dirent/telldir.c: Likewise.
48959         * gmon/profil.c: Likewise.
48960         * grp/setgroups.c: Likewise.
48961         * inet/if_index.c: Likewise.
48962         * io/access.c: Likewise.
48963         * io/chdir.c: Likewise.
48964         * io/chmod.c: Likewise.
48965         * io/chown.c: Likewise.
48966         * io/close.c: Likewise.
48967         * io/dup.c: Likewise.
48968         * io/dup2.c: Likewise.
48969         * io/dup3.c: Likewise.
48970         * io/euidaccess.c: Likewise.
48971         * io/faccessat.c: Likewise.
48972         * io/fchdir.c: Likewise.
48973         * io/fchmod.c: Likewise.
48974         * io/fchmodat.c: Likewise.
48975         * io/fchown.c: Likewise.
48976         * io/fchownat.c: Likewise.
48977         * io/fcntl.c: Likewise.
48978         * io/flock.c: Likewise.
48979         * io/fstatfs.c: Likewise.
48980         * io/fstatfs64.c: Likewise.
48981         * io/fstatvfs.c: Likewise.
48982         * io/fstatvfs64.c: Likewise.
48983         * io/futimens.c: Likewise.
48984         * io/fxstat.c: Likewise.
48985         * io/fxstat64.c: Likewise.
48986         * io/fxstatat.c: Likewise.
48987         * io/fxstatat64.c: Likewise.
48988         * io/getcwd.c: Likewise.
48989         * io/isatty.c: Likewise.
48990         * io/lchmod.c: Likewise.
48991         * io/lchown.c: Likewise.
48992         * io/link.c: Likewise.
48993         * io/linkat.c: Likewise.
48994         * io/lseek.c: Likewise.
48995         * io/lseek64.c: Likewise.
48996         * io/lxstat64.c: Likewise.
48997         * io/mkdir.c: Likewise.
48998         * io/mkdirat.c: Likewise.
48999         * io/mkfifo.c: Likewise.
49000         * io/mkfifoat.c: Likewise.
49001         * io/open.c: Likewise.
49002         * io/open64.c: Likewise.
49003         * io/openat.c: Likewise.
49004         * io/openat64.c: Likewise.
49005         * io/pipe.c: Likewise.
49006         * io/pipe2.c: Likewise.
49007         * io/poll.c: Likewise.
49008         * io/posix_fadvise.c: Likewise.
49009         * io/posix_fadvise64.c: Likewise.
49010         * io/posix_fallocate.c: Likewise.
49011         * io/posix_fallocate64.c: Likewise.
49012         * io/read.c: Likewise.
49013         * io/readlink.c: Likewise.
49014         * io/readlinkat.c: Likewise.
49015         * io/rmdir.c: Likewise.
49016         * io/sendfile.c: Likewise.
49017         * io/sendfile64.c: Likewise.
49018         * io/statfs.c: Likewise.
49019         * io/statfs64.c: Likewise.
49020         * io/statvfs.c: Likewise.
49021         * io/statvfs64.c: Likewise.
49022         * io/symlink.c: Likewise.
49023         * io/symlinkat.c: Likewise.
49024         * io/ttyname.c: Likewise.
49025         * io/ttyname_r.c: Likewise.
49026         * io/umask.c: Likewise.
49027         * io/unlink.c: Likewise.
49028         * io/unlinkat.c: Likewise.
49029         * io/utime.c: Likewise.
49030         * io/utimensat.c: Likewise.
49031         * io/write.c: Likewise.
49032         * io/xmknod.c: Likewise.
49033         * io/xmknodat.c: Likewise.
49034         * io/xstat.c: Likewise.
49035         * io/xstat64.c: Likewise.
49036         * login/getpt.c: Likewise.
49037         * login/grantpt.c: Likewise.
49038         * login/unlockpt.c: Likewise.
49039         * math/e_acoshl.c: Likewise.
49040         * math/e_acosl.c: Likewise.
49041         * math/e_asinl.c: Likewise.
49042         * math/e_atan2l.c: Likewise.
49043         * math/e_atanhl.c: Likewise.
49044         * math/e_coshl.c: Likewise.
49045         * math/e_expl.c: Likewise.
49046         * math/e_fmodl.c: Likewise.
49047         * math/e_gammal_r.c: Likewise.
49048         * math/e_hypotl.c: Likewise.
49049         * math/e_j0l.c: Likewise.
49050         * math/e_j1l.c: Likewise.
49051         * math/e_jnl.c: Likewise.
49052         * math/e_lgammal_r.c: Likewise.
49053         * math/e_log10l.c: Likewise.
49054         * math/e_log2l.c: Likewise.
49055         * math/e_logl.c: Likewise.
49056         * math/e_powl.c: Likewise.
49057         * math/e_rem_pio2l.c: Likewise.
49058         * math/e_sinhl.c: Likewise.
49059         * math/e_sqrtl.c: Likewise.
49060         * math/fclrexcpt.c: Likewise.
49061         * math/fedisblxcpt.c: Likewise.
49062         * math/feenablxcpt.c: Likewise.
49063         * math/fegetenv.c: Likewise.
49064         * math/fegetexcept.c: Likewise.
49065         * math/fegetround.c: Likewise.
49066         * math/feholdexcpt.c: Likewise.
49067         * math/fesetenv.c: Likewise.
49068         * math/fesetround.c: Likewise.
49069         * math/feupdateenv.c: Likewise.
49070         * math/fgetexcptflg.c: Likewise.
49071         * math/fraiseexcpt.c: Likewise.
49072         * math/fsetexcptflg.c: Likewise.
49073         * math/ftestexcept.c: Likewise.
49074         * math/k_cosl.c: Likewise.
49075         * math/k_rem_pio2l.c: Likewise.
49076         * math/k_sinl.c: Likewise.
49077         * math/k_tanl.c: Likewise.
49078         * math/s_asinhl.c: Likewise.
49079         * math/s_atanl.c: Likewise.
49080         * math/s_cbrtl.c: Likewise.
49081         * math/s_erfl.c: Likewise.
49082         * math/s_expm1l.c: Likewise.
49083         * math/s_log1pl.c: Likewise.
49084         * math/s_tanhl.c: Likewise.
49085         * misc/acct.c: Likewise.
49086         * misc/brk.c: Likewise.
49087         * misc/chflags.c: Likewise.
49088         * misc/chroot.c: Likewise.
49089         * misc/fchflags.c: Likewise.
49090         * misc/fgetxattr.c: Likewise.
49091         * misc/flistxattr.c: Likewise.
49092         * misc/fremovexattr.c: Likewise.
49093         * misc/fsetxattr.c: Likewise.
49094         * misc/fsync.c: Likewise.
49095         * misc/ftruncate.c: Likewise.
49096         * misc/futimes.c: Likewise.
49097         * misc/futimesat.c: Likewise.
49098         * misc/getdomain.c: Likewise.
49099         * misc/getdtsz.c: Likewise.
49100         * misc/gethostid.c: Likewise.
49101         * misc/gethostname.c: Likewise.
49102         * misc/getloadavg.c: Likewise.
49103         * misc/getpagesize.c: Likewise.
49104         * misc/getsysstats.c: Likewise.
49105         * misc/getxattr.c: Likewise.
49106         * misc/gtty.c: Likewise.
49107         * misc/ioctl.c: Likewise.
49108         * misc/lgetxattr.c: Likewise.
49109         * misc/listxattr.c: Likewise.
49110         * misc/llistxattr.c: Likewise.
49111         * misc/lremovexattr.c: Likewise.
49112         * misc/lsetxattr.c: Likewise.
49113         * misc/lutimes.c: Likewise.
49114         * misc/madvise.c: Likewise.
49115         * misc/mincore.c: Likewise.
49116         * misc/mlock.c: Likewise.
49117         * misc/mlockall.c: Likewise.
49118         * misc/mmap.c: Likewise.
49119         * misc/mprotect.c: Likewise.
49120         * misc/msync.c: Likewise.
49121         * misc/munlock.c: Likewise.
49122         * misc/munlockall.c: Likewise.
49123         * misc/munmap.c: Likewise.
49124         * misc/preadv.c: Likewise.
49125         * misc/preadv64.c: Likewise.
49126         * misc/ptrace.c: Likewise.
49127         * misc/pwritev.c: Likewise.
49128         * misc/pwritev64.c: Likewise.
49129         * misc/readv.c: Likewise.
49130         * misc/reboot.c: Likewise.
49131         * misc/remap_file_pages.c: Likewise.
49132         * misc/removexattr.c: Likewise.
49133         * misc/revoke.c: Likewise.
49134         * misc/select.c: Likewise.
49135         * misc/setdomain.c: Likewise.
49136         * misc/setegid.c: Likewise.
49137         * misc/seteuid.c: Likewise.
49138         * misc/sethostid.c: Likewise.
49139         * misc/sethostname.c: Likewise.
49140         * misc/setregid.c: Likewise.
49141         * misc/setreuid.c: Likewise.
49142         * misc/setxattr.c: Likewise.
49143         * misc/sstk.c: Likewise.
49144         * misc/stty.c: Likewise.
49145         * misc/swapoff.c: Likewise.
49146         * misc/swapon.c: Likewise.
49147         * misc/sync.c: Likewise.
49148         * misc/syncfs.c: Likewise.
49149         * misc/syscall.c: Likewise.
49150         * misc/truncate.c: Likewise.
49151         * misc/ualarm.c: Likewise.
49152         * misc/usleep.c: Likewise.
49153         * misc/ustat.c: Likewise.
49154         * misc/utimes.c: Likewise.
49155         * misc/vhangup.c: Likewise.
49156         * misc/writev.c: Likewise.
49157         * posix/_exit.c: Likewise.
49158         * posix/alarm.c: Likewise.
49159         * posix/execve.c: Likewise.
49160         * posix/fexecve.c: Likewise.
49161         * posix/fork.c: Likewise.
49162         * posix/fpathconf.c: Likewise.
49163         * posix/getaddrinfo.c: Likewise.
49164         * posix/getegid.c: Likewise.
49165         * posix/geteuid.c: Likewise.
49166         * posix/getgid.c: Likewise.
49167         * posix/getgroups.c: Likewise.
49168         * posix/getlogin.c: Likewise.
49169         * posix/getlogin_r.c: Likewise.
49170         * posix/getpgid.c: Likewise.
49171         * posix/getpid.c: Likewise.
49172         * posix/getppid.c: Likewise.
49173         * posix/getresgid.c: Likewise.
49174         * posix/getresuid.c: Likewise.
49175         * posix/getsid.c: Likewise.
49176         * posix/getuid.c: Likewise.
49177         * posix/glob64.c: Likewise.
49178         * posix/nanosleep.c: Likewise.
49179         * posix/pathconf.c: Likewise.
49180         * posix/pause.c: Likewise.
49181         * posix/posix_madvise.c: Likewise.
49182         * posix/pread.c: Likewise.
49183         * posix/pread64.c: Likewise.
49184         * posix/pwrite.c: Likewise.
49185         * posix/pwrite64.c: Likewise.
49186         * posix/sched_getaffinity.c: Likewise.
49187         * posix/sched_getp.c: Likewise.
49188         * posix/sched_gets.c: Likewise.
49189         * posix/sched_primax.c: Likewise.
49190         * posix/sched_primin.c: Likewise.
49191         * posix/sched_rr_gi.c: Likewise.
49192         * posix/sched_setaffinity.c: Likewise.
49193         * posix/sched_setp.c: Likewise.
49194         * posix/sched_sets.c: Likewise.
49195         * posix/sched_yield.c: Likewise.
49196         * posix/setgid.c: Likewise.
49197         * posix/setlogin.c: Likewise.
49198         * posix/setpgid.c: Likewise.
49199         * posix/setresgid.c: Likewise.
49200         * posix/setresuid.c: Likewise.
49201         * posix/setsid.c: Likewise.
49202         * posix/setuid.c: Likewise.
49203         * posix/sleep.c: Likewise.
49204         * posix/spawni.c: Likewise.
49205         * posix/sysconf.c: Likewise.
49206         * posix/times.c: Likewise.
49207         * posix/wait.c: Likewise.
49208         * posix/wait3.c: Likewise.
49209         * posix/wait4.c: Likewise.
49210         * posix/waitpid.c: Likewise.
49211         * resolv/gai_sigqueue.c: Likewise.
49212         * resource/getpriority.c: Likewise.
49213         * resource/getrlimit.c: Likewise.
49214         * resource/getrusage.c: Likewise.
49215         * resource/nice.c: Likewise.
49216         * resource/setpriority.c: Likewise.
49217         * resource/setrlimit.c: Likewise.
49218         * resource/ulimit.c: Likewise.
49219         * rt/aio_cancel.c: Likewise.
49220         * rt/aio_fsync.c: Likewise.
49221         * rt/aio_read.c: Likewise.
49222         * rt/aio_sigqueue.c: Likewise.
49223         * rt/aio_suspend.c: Likewise.
49224         * rt/aio_write.c: Likewise.
49225         * rt/clock_getres.c: Likewise.
49226         * rt/clock_gettime.c: Likewise.
49227         * rt/clock_nanosleep.c: Likewise.
49228         * rt/clock_settime.c: Likewise.
49229         * rt/lio_listio.c: Likewise.
49230         * rt/mq_close.c: Likewise.
49231         * rt/mq_getattr.c: Likewise.
49232         * rt/mq_notify.c: Likewise.
49233         * rt/mq_open.c: Likewise.
49234         * rt/mq_receive.c: Likewise.
49235         * rt/mq_send.c: Likewise.
49236         * rt/mq_setattr.c: Likewise.
49237         * rt/mq_timedreceive.c: Likewise.
49238         * rt/mq_timedsend.c: Likewise.
49239         * rt/mq_unlink.c: Likewise.
49240         * rt/shm_open.c: Likewise.
49241         * rt/shm_unlink.c: Likewise.
49242         * rt/timer_create.c: Likewise.
49243         * rt/timer_delete.c: Likewise.
49244         * rt/timer_getoverr.c: Likewise.
49245         * rt/timer_gettime.c: Likewise.
49246         * rt/timer_settime.c: Likewise.
49247         * setjmp/__longjmp.c: Likewise.
49248         * setjmp/setjmp.c: Likewise.
49249         * signal/kill.c: Likewise.
49250         * signal/killpg.c: Likewise.
49251         * signal/raise.c: Likewise.
49252         * signal/sigaction.c: Likewise.
49253         * signal/sigaltstack.c: Likewise.
49254         * signal/sigblock.c: Likewise.
49255         * signal/sigignore.c: Likewise.
49256         * signal/sigintr.c: Likewise.
49257         * signal/signal.c: Likewise.
49258         * signal/sigpause.c: Likewise.
49259         * signal/sigpending.c: Likewise.
49260         * signal/sigqueue.c: Likewise.
49261         * signal/sigreturn.c: Likewise.
49262         * signal/sigset.c: Likewise.
49263         * signal/sigsetmask.c: Likewise.
49264         * signal/sigstack.c: Likewise.
49265         * signal/sigsuspend.c: Likewise.
49266         * signal/sigtimedwait.c: Likewise.
49267         * signal/sigvec.c: Likewise.
49268         * signal/sigwait.c: Likewise.
49269         * signal/sigwaitinfo.c: Likewise.
49270         * signal/sysv_signal.c: Likewise.
49271         * socket/accept.c: Likewise.
49272         * socket/accept4.c: Likewise.
49273         * socket/bind.c: Likewise.
49274         * socket/connect.c: Likewise.
49275         * socket/getpeername.c: Likewise.
49276         * socket/getsockname.c: Likewise.
49277         * socket/getsockopt.c: Likewise.
49278         * socket/isfdtype.c: Likewise.
49279         * socket/listen.c: Likewise.
49280         * socket/recv.c: Likewise.
49281         * socket/recvfrom.c: Likewise.
49282         * socket/recvmsg.c: Likewise.
49283         * socket/send.c: Likewise.
49284         * socket/sendmsg.c: Likewise.
49285         * socket/sendto.c: Likewise.
49286         * socket/setsockopt.c: Likewise.
49287         * socket/shutdown.c: Likewise.
49288         * socket/sockatmark.c: Likewise.
49289         * socket/socket.c: Likewise.
49290         * socket/socketpair.c: Likewise.
49291         * stdio-common/ctermid.c: Likewise.
49292         * stdio-common/cuserid.c: Likewise.
49293         * stdio-common/remove.c: Likewise.
49294         * stdio-common/rename.c: Likewise.
49295         * stdio-common/renameat.c: Likewise.
49296         * stdio-common/tempname.c: Likewise.
49297         * stdlib/getcontext.c: Likewise.
49298         * stdlib/makecontext.c: Likewise.
49299         * stdlib/setcontext.c: Likewise.
49300         * stdlib/swapcontext.c: Likewise.
49301         * stdlib/system.c: Likewise.
49302         * streams/fattach.c: Likewise.
49303         * streams/fdetach.c: Likewise.
49304         * streams/getmsg.c: Likewise.
49305         * streams/getpmsg.c: Likewise.
49306         * streams/putmsg.c: Likewise.
49307         * streams/putpmsg.c: Likewise.
49308         * sysdeps/unix/bsd/getpt.c: Likewise.
49309         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49310         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49311         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49313         Likewise.
49314         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49315         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49316         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49317         * sysvipc/msgctl.c: Likewise.
49318         * sysvipc/msgget.c: Likewise.
49319         * sysvipc/msgrcv.c: Likewise.
49320         * sysvipc/msgsnd.c: Likewise.
49321         * sysvipc/semctl.c: Likewise.
49322         * sysvipc/semget.c: Likewise.
49323         * sysvipc/semop.c: Likewise.
49324         * sysvipc/semtimedop.c: Likewise.
49325         * sysvipc/shmat.c: Likewise.
49326         * sysvipc/shmctl.c: Likewise.
49327         * sysvipc/shmdt.c: Likewise.
49328         * sysvipc/shmget.c: Likewise.
49329         * termios/tcdrain.c: Likewise.
49330         * termios/tcflow.c: Likewise.
49331         * termios/tcflush.c: Likewise.
49332         * termios/tcgetattr.c: Likewise.
49333         * termios/tcgetpgrp.c: Likewise.
49334         * termios/tcsendbrk.c: Likewise.
49335         * termios/tcsetattr.c: Likewise.
49336         * termios/tcsetpgrp.c: Likewise.
49337         * time/adjtime.c: Likewise.
49338         * time/clock.c: Likewise.
49339         * time/getitimer.c: Likewise.
49340         * time/gettimeofday.c: Likewise.
49341         * time/setitimer.c: Likewise.
49342         * time/settimeofday.c: Likewise.
49343         * time/stime.c: Likewise.
49344         * time/time.c: Likewise.
49346 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49348         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49349         /usr/old/bin.
49351         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49352         instead of spaces.
49353         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49355 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49357         [BZ #14796]
49358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49359         FE_TONEAREST before applying Dekker multiplication and Knuth
49360         addition.  Clear inexact exceptions and check for exact zero
49361         results afterwards.
49362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49363         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49365         * math/libm-test.inc (fma_test): Add more tests.
49366         (fma_test_towardzero): Likewise.
49367         (fma_test_downward): Likewise.
49368         (fma_test_upward): Likewise.
49369         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49370         function.
49371         (libc_fesetround): New macro.
49372         (libc_fesetroundf): Likewise.
49373         (libc_fesetroundl): Likewise.
49374         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49375         function.
49376         (libc_fesetround_387): Likewise.
49377         (libc_fesetroundf): New macro.
49378         (libc_fesetround): Likewise.
49379         (libc_fesetroundl): Likewise.
49380         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49381         function.
49382         (libc_fesetroundf): New macro.
49383         (libc_fesetround): Likewise.
49384         (libc_fesetroundl): Likewise.
49385         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49386         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49387         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49388         libm_hidden_ver.
49389         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49390         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49391         libm_hidden_def.
49392         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49393         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49394         libm_hidden_ver.
49395         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49396         libm_hidden_def.
49398         [BZ #3439]
49399         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49400         integer constant usable in #if and use that to give value to enum
49401         constant.
49402         (FE_DIVBYZERO): Likewise.
49403         (FE_UNDERFLOW): Likewise.
49404         (FE_OVERFLOW): Likewise.
49405         (FE_INVALID): Likewise.
49406         (FE_INVALID_SNAN): Likewise.
49407         (FE_INVALID_ISI): Likewise.
49408         (FE_INVALID_IDI): Likewise.
49409         (FE_INVALID_ZDZ): Likewise.
49410         (FE_INVALID_IMZ): Likewise.
49411         (FE_INVALID_COMPARE): Likewise.
49412         (FE_INVALID_SOFTWARE): Likewise.
49413         (FE_INVALID_SQRT): Likewise.
49414         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49415         (FE_TONEAREST): Likewise.
49416         (FE_TOWARDZERO): Likewise.
49417         (FE_UPWARD): Likewise.
49418         (FE_DOWNWARD): Likewise.
49419         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49420         (FE_DIVBYZERO): Likewise.
49421         (FE_OVERFLOW): Likewise.
49422         (FE_UNDERFLOW): Likewise.
49423         (FE_INEXACT): Likewise.
49424         (FE_TONEAREST): Likewise.
49425         (FE_DOWNWARD): Likewise.
49426         (FE_UPWARD): Likewise.
49427         (FE_TOWARDZERO): Likewise.
49428         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49429         (FE_UNDERFLOW): Likewise.
49430         (FE_OVERFLOW): Likewise.
49431         (FE_DIVBYZERO): Likewise.
49432         (FE_INVALID): Likewise.
49433         (FE_TONEAREST): Likewise.
49434         (FE_TOWARDZERO): Likewise.
49435         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49436         (FE_OVERFLOW): Likewise.
49437         (FE_UNDERFLOW): Likewise.
49438         (FE_DIVBYZERO): Likewise.
49439         (FE_INEXACT): Likewise.
49440         (FE_TONEAREST): Likewise.
49441         (FE_TOWARDZERO): Likewise.
49442         (FE_UPWARD): Likewise.
49443         (FE_DOWNWARD): Likewise.
49444         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49445         (FE_DIVBYZERO): Likewise.
49446         (FE_OVERFLOW): Likewise.
49447         (FE_UNDERFLOW): Likewise.
49448         (FE_INEXACT): Likewise.
49449         (FE_TONEAREST): Likewise.
49450         (FE_DOWNWARD): Likewise.
49451         (FE_UPWARD): Likewise.
49452         (FE_TOWARDZERO): Likewise.
49454 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49456         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49458 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49460         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49461         commands.  Quote $PWD.
49462         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49463         -x" by "export".
49464         (remove_newlines): Remove.
49466 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49468         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49469         * stdlib/stdlib.h (atof): Moved to ...
49470         * include/bits/stdlib-float.h: Here.  New file.
49471         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49472         * stdlib/bits/stdlib-float.h: New file.
49473         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49474         -mno-sse -mno-mmx.
49475         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49476         <xmmintrin.h>.
49478 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49480         * conform/conformtest.pl (@headers): Add fenv.h.
49481         * conform/data/fenv.h-data: New file.
49482         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49483         include of <math/fenv.h>.
49485         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49486         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49487         && !UNIX98].  Enables tests for XOPEN2K8.
49488         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49489         POSIX2008]: Likewise.
49491         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49492         (struct rusage): Do not expect type or its members.
49494         [BZ #3439]
49495         * math/math.h (FP_NAN): Define macro to integer constant usable in
49496         #if and use that to give value to enum constant.
49497         (FP_INFINITE): Likewise.
49498         (FP_ZERO): Likewise.
49499         (FP_SUBNORMAL): Likewise.
49500         (FP_NORMAL): Likewise.
49502 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49504         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49505         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49506         arguments.
49508 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49510         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49511         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49512         autoconf-time if not.
49513         * configure.in: Remove AC_PREREQ.
49515 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49517         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49518         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49519         of the internal implementation.
49521 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49523         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49524         except include of <misc/sys/syslog.h>.
49526 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49529         function returns with a NULL context exit with zero.
49531 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49533         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49535 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49537         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49538         (run_program_cmd): This.
49539         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49540         (tst_langinfo): New variable.  Use it.
49542 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49544         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49545         floating point opcodes.
49547 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49549         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49550         variable.
49552         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49554         * sysdeps/mach/hurd/powerpc: Remove directory.
49555         * sysdeps/mach/powerpc: Likewise.
49557 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49559         * scripts/check-local-headers.sh: Ignore c++ headers.
49561 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49563         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49564         __libc_cleanup_region_start argument.
49566 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49568         [BZ #14784]
49569         [BZ #14785]
49570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49571         x * y using scaling, not as x * y + z.
49572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49574         * math/libm-test.inc (fma_test): Add more tests.
49575         (fma_test_towardzero): Likewise.
49576         (fma_test_downward): Likewise.
49577         (fma_test_upward): Likewise.
49579 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49581         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49583 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49585         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49586         New variable.
49588 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49590         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49592 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49595         Fix sort order.
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49597         Likewise.
49599 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49602         Fix the order of the list for glibc 2.17.
49603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49604         Likewise.
49606 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49610 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49612         [BZ #14610]
49613         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49614         for low part of x being zero before using __atanl (y).
49615         * math/libm-test.inc (atan2_test): Add another test.
49617         * manual/install.texi (Configuring and compiling): Document
49618         general use of test-wrapper and test-wrapper-env.
49619         * INSTALL: Regenerated.
49621         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49622         (__fma): Do not extract and scale down low bits on after-rounding
49623         systems when result rounded to normal precision would have normal
49624         exponent.
49625         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49626         (__fmal): Do not extract and scale down low bits on after-rounding
49627         systems when result rounded to normal precision would have normal
49628         exponent.
49629         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49630         (__fmal): Do not extract and scale down low bits on after-rounding
49631         systems when result rounded to normal precision would have normal
49632         exponent.
49633         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49634         macro.
49635         (fma_test): Add more tests.
49636         (fma_test_towardzero): Likewise.
49637         (fma_test_downward): Likewise.
49638         (fma_test_upward): Likewise.
49640 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49642         * sysdeps/i386/tininess.h: Renamed to ...
49643         * sysdeps/x86/tininess.h: This.
49644         * sysdeps/x86_64/tininess.h: Removed.
49646 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49648         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49649         input.  Use $(build-program-cmd).
49650         ($(objpfx)tst-array1-static.out): Likewise.
49651         ($(objpfx)tst-array2.out): Likewise.
49652         ($(objpfx)tst-array3.out): Likewise.
49653         ($(objpfx)tst-array4.out): Likewise.
49654         ($(objpfx)tst-array5.out): Likewise.
49655         ($(objpfx)tst-array5-static.out): Likewise.
49657 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49659         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49660         if defined.
49662         * nss/nsswitch.h (nss_interface_function): Provide new
49663         macro for use with NSS functions.
49664         * grp/initgroups.c: Use new macro.
49665         * nss/getXXbyYY.c: Likewise.
49666         * nss/getXXbyYY_r.c: Likewise.
49667         * nss/getXXent.c: Likewise.
49668         * nss/getXXent_r.c: Likewise.
49669         * sysdeps/posix/getaddrinfo.c: Likewise.
49671 2012-10-30  Andreas Jaeger  <aj@suse.de>
49673         * po/ru.po: Update Russion translation from translation project.
49675 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49677         [BZ #14152]
49678         [BZ #14783]
49679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49680         result and shift together with sticky bit instead of replicating
49681         round-to-nearest rounding.
49682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49684         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49685         missing underflow exceptions.
49686         (fma_test_towardzero): Add more tests.
49687         (fma_test_downward): Likewise.
49688         (fma_test_upward): Likewise.
49690         [BZ #14047]
49691         * sysdeps/generic/tininess.h: New file.
49692         * sysdeps/i386/tininess.h: Likewise.
49693         * sysdeps/sh/tininess.h: Likewise.
49694         * sysdeps/x86_64/tininess.h: Likewise.
49695         * stdlib/tst-strtod-underflow.c: Likewise.
49696         * stdlib/tst-tininess.c: Likewise.
49697         * stdlib/strtod_l.c: Include <tininess.h>.
49698         (round_and_return): Do not set errno for exact underflow cases.
49699         Force an underflow exception when setting errno for underflow.
49700         Determine underflow based on rounding to normal precision if
49701         TININESS_AFTER_ROUNDING.
49702         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49703         ERANGE for exact underflow cases.
49704         * stdlib/Makefile (tests): Add tst-tininess and
49705         tst-strtod-underflow.
49706         ($(objpfx)tst-tininess): Use $(link-libm).
49707         ($(objpfx)tst-strtod-underflow): Likewise.
49709 2012-10-30  Andreas Jaeger  <aj@suse.de>
49711         [BZ#14767]
49712         * elf/Makefile (tests): Remove conditional for have-initfini-array
49713         since this is now always required and the variable does not exist
49714         anymore.
49715         (tests-static): Likewise.
49716         (modules-names): Likewise.
49718         * po/eo.po: Add Esperanto translation from translation project.
49720         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49721         merged with constructor/destructor.
49722         (init_array): Likewise.
49723         * elf/tst-array2dep.c (fini_array): Likewise.
49724         (init_array): Likewise.
49726 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49728         * manual/message.texi: Delete @cartouche tags.
49730 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49732         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49733         EOPNOTSUPP.
49734         * sysdeps/mach/hurd/fsync.c: Likewise.
49736         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49737         [_POSIX_REALTIME_SIGNALS]: Change condition to
49738         [_POSIX_REALTIME_SIGNALS > 0].
49740 2012-10-27  Andreas Jaeger  <aj@suse.de>
49742         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49743         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49745         [__WORDSIZE != 64]: Likewise.
49747 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49749         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49750         *  iconvdata/tst-tables.sh: Likewise.
49752 2012-10-25  David S. Miller  <davem@davemloft.net>
49754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49755         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49756         of strtoull.
49758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49759         ifunc-impl-list.c
49760         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49761         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49762         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49763         file.
49765 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49768         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49769         __getdirentries.
49771 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49772             Jim Blandy  <jimb@codesourcery.com>
49774         * scripts/cross-test-ssh.sh: New file.
49775         * manual/install.texi (Configuring and compiling): Document use of
49776         cross-test-ssh.sh.
49777         * INSTALL: Regenerated.
49779 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49781         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49782         EOPNOTSUPP.
49784 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49786         * Makeconfig (run-program-prefix): Fix comment.
49788 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49789             Jim Blandy  <jimb@codesourcery.com>
49791         * Makeconfig (test-wrapper): New variable,
49792         (test-wrapper-env): Likewise.
49793         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49794         (run-built-tests): Define to yes.
49795         (run-program-prefix): Use $(test-wrapper).
49796         (built-program-cmd): Likewise.
49797         * Rules (make-test-out): Use $(test-wrapper-env) and
49798         $(host-built-program-cmd).
49799         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49800         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49801         tst-pathopt.sh.
49802         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49803         $(test-wrapper-env) to tst-rtld-load-self.sh.
49804         ($(objpfx)order2.out): Use $(test-wrapper).
49805         ($(objpfx)tst-initorder.out): Likewise.
49806         ($(objpfx)tst-initorder2.out): Likewise.
49807         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49808         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49809         (test_wrapper_env): New variable.  Use it to run ld.so.
49810         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49811         Use it to run ld.so.
49812         (test_wrapper_env): Likewise.
49813         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49814         $(test-wrapper) to run-iconv-test.sh.
49815         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49816         (ICONV): Use $test_wrapper.
49817         * posix/Makefile ($(objpfx)globtest.out): Pass
49818         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49819         globtest.sh, not $(run-program-prefix).
49820         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49821         (test_wrapper): Likewise.
49822         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49823         set together with run_via_rtld_prefix.
49824         (run_program_prefix): Define in terms of test_wrapper and
49825         run_via_rtld_prefix.
49827 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49829         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49830         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49831         Targets removed.
49833         [BZ #14743]
49834         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49835         Declare __clock_getres, __clock_gettime, __clock_settime,
49836         __clock_nanosleep, and __clock_getcpuclockid.
49837         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49838         Remove librt_hidden_def (clock_gettime).
49839         * sysdeps/unix/clock_gettime.c: Likewise.
49840         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49842         * rt/clock_getres.c: Define __clock_getres as an alias.
49843         * sysdeps/posix/clock_getres.c: Likewise.
49844         * rt/clock_settime.c: Define __clock_settime as an alias.
49845         * sysdeps/unix/clock_settime.c: Likewise.
49846         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49847         * sysdeps/unix/clock_nanosleep.c: Likewise.
49848         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49849         * rt/clock-compat.c: New file.
49850         * rt/Makefile (librt-routines): Add clock-compat and move
49851         $(clock-routines) to ...
49852         (routines): ... here, new variable.
49853         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49854         Don't add get_clockfreq here.
49855         * rt/Versions (libc: GLIBC_2.17): New version set.
49856         Add clock_* symbols here.
49857         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49859         (GLIBC_2.17): Add clock_* symbols.
49860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49862         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49864         Likewise.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49866         Likewise.
49867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49871         * NEWS: Mention the move.
49873         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49874         Use __open, __read, __close rather than their public counterparts.
49875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49876         (__get_clockfreq_via_cpuinfo): Likewise.
49877         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49878         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49880         * config.h.in (HAVE_IFUNC): New #undef.
49881         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49882         was successful.
49883         * configure: Regenerated.
49885 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49887         * configure.in: Move READELF check to start of file.
49888         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49889         libc_cv_asm_gnu_indirect_function in the process.
49890         * configure: Regenerated.
49892 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49894         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49895         send the output to /dev/null.
49896         (libc_cv_cc_with_libunwind): Likewise.
49897         (libc_cv_as_noexecstack): Likewise.
49898         * configure: Regenerate.
49900 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49902         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49904         * posix/globtest.sh (TMPDIR): Do not set.
49905         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49906         (testout): Likewise.
49908 2012-10-24  Andreas Jaeger  <aj@suse.de>
49910         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49911         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49912         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49913         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49914         posix_fadvise64, posix_fallocate64.
49916         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49917         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49918         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49919         Likewise.
49920         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49921         Likewise.
49922         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49925         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49926         <bits/fcntl-linux.h>.
49927         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49930         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49931         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49932         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49933         [__WORDSIZE != 64]: Likewise.
49935 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49937         * Makeconfig (run-built-tests): New variable.
49938         * Rules [$(cross-compiling) = yes]: Change condition to
49939         [$(run-built-tests) = no].
49940         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49941         to [$(run-built-tests) = yes].
49942         * elf/Makefile [$(cross-compiling) = no]: Likewise
49943         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49944         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49945         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49946         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49947         * io/Makefile [$(cross-compiling) = no]: Likewise.
49948         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49949         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49950         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49951         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49952         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49953         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49954         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49955         * string/Makefile [$(cross-compiling) = no]: Likewise.
49957         * posix/Makefile ($(objpfx)globtest.out): Pass
49958         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49959         $(rtld-installed-name).
49960         * posix/globtest.sh (elf_objpfx): Remove variable.
49961         (rtld_installed_name): Likewise.
49962         (library_path): Likewise.
49963         (run_program_prefix): New variable.  Use for running globtest
49964         binary.
49966 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49967             Joseph Myers  <joseph@codesourcery.com>
49969         * Makeconfig (host-built-program-cmd): New variable.
49970         * elf/Makefile (tst-stackguard1-ARGS): Use
49971         $(host-built-program-cmd).
49972         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49973         (tst-spawn-ARGS): Likewise.
49974         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49976 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49977             Jim Blandy  <jimb@codesourcery.com>
49979         * Makeconfig (run-via-rtld-prefix): New variable.
49980         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49981         (built-program-cmd): Likewise.
49983 2012-10-22  Andreas Jaeger  <aj@suse.de>
49985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49986         __O_RSYNC if it exists, otherwise to O_SYNC.
49988 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49989             Joseph Myers  <joseph@codesourcery.com>
49991         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49992         /dev/null.
49993         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49994         from /dev/null
49995         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49996         /dev/null.
49998 2012-10-22  Andreas Jaeger  <aj@suse.de>
50000         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50001         Define always.
50002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50005         bits/fcntl-linux.h.
50007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50008         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50011         to __O_LARGEFILE.
50012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50013         to __O_LARGEFILE.
50015 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50016             Joseph Myers  <joseph@codesourcery.com>
50018         * config.make.in (NM): New variable.
50020 2012-10-21  Andreas Jaeger  <aj@suse.de>
50022         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50023         definitions and declarations that are provided by
50024         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50026 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50028         [BZ #14683]
50029         * elf/Makefile (tests-static): Add tst-leaks1-static.
50030         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50031         ($(objpfx)tst-leaks1-static): New rule.
50032         ($(objpfx)tst-leaks1-static-mem): Likewise.
50033         (tst-leaks1-static-ENV): New macro.
50034         * elf/dl-open.c (dl_open_worker): Check the main application
50035         only if SHARED is defined.
50036         * elf/tst-leaks1-static.c: New file.
50038 2012-10-20  Andreas Jaeger  <aj@suse.de>
50040         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50041         generic values for Linux.
50042         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50043         and declarations that are provided by <bits/fcntl-linux.h> and
50044         include <bits/fcntl-linux.h>.
50045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50048 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50050         * io/fcntl.h: Move include of <bits/types.h> to the top and
50051         include it unconditionally.
50053 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50055         * wcsmbs/Makefile (tests-ifunc): New variable.
50056         (tests): Add $(tests-ifunc).
50057         * wcsmbs/test-wcschr-ifunc.c: New file.
50058         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50059         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50060         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50061         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50062         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50064         * string/Makefile (tests-ifunc): New variable.
50065         (tests): Add $(tests-ifunc).
50066         * string/test-memccpy.c (TEST_NAME): New macro.
50067         * string/test-memchr.c (TEST_NAME): Likewise.
50068         * string/test-memcmp.c (TEST_NAME): Likewise.
50069         * string/test-memcpy.c (TEST_NAME): Likewise.
50070         * string/test-memmem.c (TEST_NAME): Likewise.
50071         * string/test-memmove.c (TEST_NAME): Likewise.
50072         * string/test-memset.c (TEST_NAME): Likewise.
50073         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50074         * string/test-stpcpy.c (TEST_NAME): Likewise.
50075         * string/test-stpncpy.c (TEST_NAME): Likewise.
50076         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50077         * string/test-strcasestr.c (TEST_NAME): Likewise.
50078         * string/test-strcat.c (TEST_NAME): Likewise.
50079         * string/test-strchr.c (TEST_NAME): Likewise.
50080         * string/test-strcmp.c(TEST_NAME): Likewise.
50081         * string/test-strcpy.c (TEST_NAME): Likewise.
50082         * string/test-strcspn.c (TEST_NAME): Likewise.
50083         * string/test-strlen.c (TEST_NAME): Likewise.
50084         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50085         * string/test-strncmp.c (TEST_NAME): Likewise.
50086         * string/test-strncpy.c (TEST_NAME): Likewise.
50087         * string/test-strnlen.c (TEST_NAME): Likewise.
50088         * string/test-strpbrk.c (TEST_NAME): Likewise.
50089         * string/test-strrchr.c (TEST_NAME): Likewise.
50090         * string/test-strspn.c (TEST_NAME): Likewise.
50091         * string/test-strstr.c (TEST_NAME): Likewise.
50092         * string/test-bcopy-ifunc.c: New file.
50093         * string/test-bzero-ifunc.c: Likewise.
50094         * string/test-memccpy-ifunc.c: Likewise.
50095         * string/test-memchr-ifunc.c: Likewise.
50096         * string/test-memcmp-ifunc.c: Likewise.
50097         * string/test-memcpy-ifunc.c: Likewise.
50098         * string/test-memmem-ifunc.c: Likewise.
50099         * string/test-memmove-ifunc.c: Likewise.
50100         * string/test-mempcpy-ifunc.c: Likewise.
50101         * string/test-memset-ifunc.c: Likewise.
50102         * string/test-rawmemchr-ifunc.c: Likewise.
50103         * string/test-stpcpy-ifunc.c: Likewise.
50104         * string/test-stpncpy-ifunc.c: Likewise.
50105         * string/test-strcasecmp-ifunc.c: Likewise.
50106         * string/test-strcasestr-ifunc.c: Likewise.
50107         * string/test-strcat-ifunc.c: Likewise.
50108         * string/test-strchr-ifunc.c: Likewise.
50109         * string/test-strchrnul-ifunc.c: Likewise.
50110         * string/test-strcmp-ifunc.c: Likewise.
50111         * string/test-strcpy-ifunc.c: Likewise.
50112         * string/test-strcspn-ifunc.c: Likewise.
50113         * string/test-strlen-ifunc.c: Likewise.
50114         * string/test-strncasecmp-ifunc.c: Likewise.
50115         * string/test-strncat-ifunc.c: Likewise.
50116         * string/test-strncmp-ifunc.c: Likewise.
50117         * string/test-strncpy-ifunc.c: Likewise.
50118         * string/test-strnlen-ifunc.c: Likewise.
50119         * string/test-strpbrk-ifunc.c: Likewise.
50120         * string/test-strrchr-ifunc.c: Likewise.
50121         * string/test-strspn-ifunc.c: Likewise.
50122         * string/test-strstr-ifunc.c: Likewise.
50124         * debug/Makefile (tests-ifunc): New variable.
50125         (tests): Add $(tests-ifunc).
50126         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50127         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50128         * debug/test-stpcpy_chk-ifunc.c: New file.
50129         * debug/test-strcpy_chk-ifunc.c: Likewise.
50131 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50133         [BZ #13601]
50134         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50135         header is not read in.
50137 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50139         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50140         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50141         directly.  Pass built executable to script as
50142         $(built-program-cmd).
50143         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50144         $testprogram without using LD_LIBRARY_PATH and $ldso.
50146         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50147         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50148         $(rtld-installed-name).
50149         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50150         (rtld_installed_name): Likewise.
50151         (library_path): Likewise.
50152         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50153         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50154         $(run-program-prefix) to tst-tables.sh.
50155         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50156         it to run tst-table-from and tst-table-to.
50157         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50158         Pass it to tst-table.sh.
50159         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50160         $(run-program-prefix) to tst-gettext.sh.
50161         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50162         tst-translit.sh.
50163         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50164         tst-gettext2.sh.
50165         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50166         to run tst-gettext.
50167         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50168         to run tst-gettext2.
50169         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50170         to run tst-translit.
50171         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50172         $(run-program-prefix) to tst-mtrace.sh.
50173         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50174         to run tst-mtrace.
50175         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50176         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50177         $(rtld-installed-name).
50178         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50179         (rtld_installed_name): Likewise.
50180         (run_program_prefix): New variable.  Use it to run wordexp-test.
50182         * Makeconfig (ARCH): Remove all definitions.
50183         (machine): Likewise.
50184         [ARCH]: Remove conditional code.
50185         [!objdir]: Give error.
50186         [!objdir] (objpfx): Remove.
50187         [!objdir] (common-objpfx): Likewise.
50188         [!objdir] (common-objdir): Likewise.
50189         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50190         AC_CONFIG_FILES call.
50191         * configure: Regenerated.
50193         [BZ #13888]
50194         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50195         or TMPDIR.
50196         (testout): Likewise.
50198         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50199         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50200         $(rtld-installed-name).
50201         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50202         (rtld_installed_name): Likwise.
50203         (runit): Remove function.
50204         (run_getconf): New variable,  Use it for running getconf binary.
50206 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50208         [BZ #14716]
50209         * string/test-memmem.c (check_result): New function.
50210         (do_one_test): Use it.
50211         (check1): New function.
50212         (test_main): Use it.
50214 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50216         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50218 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50220         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50221         (_G_LSEEK64): Likewise.
50222         (_G_MMAP64): Likewise.
50223         (_G_FSTAT64): Likewise.
50224         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50225         (_G_LSEEK64): Likewise.
50226         (_G_MMAP64): Likewise.
50227         (_G_FSTAT64): Likewise.
50228         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50229         unconditional.  Call __mmap64 directly.
50230         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50231         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50232         __lseek64 directly.
50233         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50234         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50235         __mmap64 directly.
50236         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50237         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50238         __lseek64 directly.
50239         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50240         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50241         __lseek64 directly.
50242         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50243         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50244         __lseek64 directly.
50245         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50246         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50247         __fxstat64 directly.
50248         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50249         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50250         unconditional.
50251         (freopen64) [!_G_OPEN64]: Remove conditional code.
50252         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50253         unconditional.
50254         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50255         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50256         unconditional.
50257         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50258         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50259         unconditional.
50260         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50261         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50262         unconditional.
50263         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50264         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50265         unconditional.
50266         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50267         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50268         unconditional.
50269         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50270         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50271         unconditional.
50272         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50274 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50276         [BZ #12140]
50277         * manual/memory.texi (Malloc Tunable Parameters): Add note
50278         about free list pointers overwriting some perturb bytes.
50279         Wording suggested by Roland McGrath.
50281 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50283         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50284         (lgamma_test): Likewise.
50285         (tgamma_test): Likewise.
50287 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50289         [BZ #14700]
50290         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50291         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50293 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50295         * NEWS: Mention BZ #14716.
50296         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50297         when removing AVAILABLE1_USES_J macro.
50299 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50301         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50302         (__bswap_64): __uint64_t for unsigned 64-bit int.
50304 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50306         * include/string.h (memmem): Declare libc hidden alias.
50307         * string/memmem.c (memmem): Define libc hidden alias.
50308         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50309         __read, __close instead of open, read, close.
50311 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50314         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50315         global and hidden.
50316         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50317         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50318         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50319         Likewise.
50320         (__rawmemchr_sse2): Likewise.
50321         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50322         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50323         (__strchr_sse2): Likewise.
50324         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50325         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50326         (__strcasecmp_sse2): Likewise.
50327         (__strncasecmp_sse2): Likewise.
50328         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50329         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50330         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50331         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50332         (__strrchr_sse2): Likewise.
50333         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50334         ifunc-impl-list.c.
50335         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50336         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50337         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50338         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50339         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50340         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50341         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50342         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50343         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50344         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50345         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50346         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50347         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50348         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50349         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50350         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50351         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50352         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50353         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50354         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50355         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50356         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50357         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50358         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50359         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50360         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50361         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50362         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50363         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50364         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50366         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50367         global and hidden.
50368         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50369         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50370         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50371         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50372         Likewise.
50373         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50374         Likewise.
50375         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50376         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50377         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50378         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50379         ifunc-impl-list.c.
50380         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50381         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50382         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50383         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50384         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50385         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50386         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50387         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50389         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50390         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50391         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50392         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50393         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50394         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50395         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50396         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50397         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50398         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50399         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50400         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50401         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50402         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50403         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50404         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50405         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50406         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50407         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50408         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50409         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50410         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50413         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50414         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50416         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50419         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50420         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50422         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50423         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50424         * include/ifunc-impl-list.h: New file.
50425         * misc/ifunc-impl-list.c: Likewise.
50426         * misc/Makefile (routines): Add ifunc-impl-list.
50427         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50428         * string/test-string.h: Include <ifunc-impl-list.h>.
50429         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50430         TEST_NAME]: New variables.
50431         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50432         are defined.
50433         (test_init): Call __libc_ifunc_impl_list to initialize
50434         func_list if TEST_IFUNC and TEST_NAME are defined.
50436         * string/Makefile (strop-tests): Add bcopy and bzero.
50437         * string/test-bcopy.c: New file.
50438         * string/test-bzero.c: Likewise.
50439         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50440         defined.
50441         * string/test-memset.c: Support bzero test if TEST_BZERO is
50442         defined.
50443         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50444         __libc_memmove.
50445         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50446         __libc_memset.
50447         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50448         of memset.
50450 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50452         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50453         * configure: Regenerated.
50455         * Makeconfig (+link-static-before-libc): Don't include
50456         $(link-static-libc).
50458         * libio/libio.h (_IO_pos_t): Remove.
50460 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50462         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50463         McGrath.
50465 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50467         * crypt/crypt-entry.c: Include fips-private.h.
50468         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50469         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50470         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50471         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50473 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50475         * crypt/crypt-private.h: Include stdbool.h.
50476         (_ufc_setup_salt_r): Return bool.
50477         * crypt/crypt-entry.c: Include errno.h.
50478         (__crypt_r): Return NULL with EINVAL for bad salt.
50479         * crypt/crypt_util.c (bad_for_salt): New.
50480         (_ufc_setup_salt_r): Check that salt is long enough and within
50481         the specified alphabet.
50482         * crypt/badsalttest.c: New file.
50483         * crypt/Makefile (tests): Add it.
50484         ($(objpfx)badsalttest): New.
50486 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50488         * NEWS: Add entry for BZ #14602.
50490 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50492         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50493         type-generic.
50494         * math/libm-test.inc: Update comment listing what functions and
50495         macros are tested.
50496         (isgreater_test): New function.
50497         (isgreaterequal_test): Likewise.
50498         (isless_test): Likewise.
50499         (islessequal_test): Likewise.
50500         (islessgreater_test): Likewise.
50501         (isunordered_test): Likewise.
50502         (main): Call the new functions.
50504 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50506         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50507         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50508         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50509         * sysdeps/i386/configure: Regenerated.
50510         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50511         * sysdeps/mach/configure: Regenerated.
50512         * sysdeps/mach/hurd/configure: Regenerated.
50513         * sysdeps/powerpc/configure: Regenerated.
50514         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50515         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50516         * sysdeps/s390/s390-32/configure: Regenerated.
50517         * sysdeps/s390/s390-64/configure: Regenerated.
50518         * sysdeps/sh/configure: Regenerated.
50519         * sysdeps/sparc/configure: Regenerated.
50520         * sysdeps/unix/sysv/linux/configure: Regenerated.
50521         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50522         * sysdeps/x86_64/configure: Regenerated.
50524         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50525         defined.  Don't check if MAP is NULL.
50527 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50529         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50530         (_G_stat64): Likewise.
50531         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50532         (_G_stat64): Likewise.
50533         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50534         instead of struct _G_stat64.
50535         * libio/fileops.c (mmap_remap_check): Likewise.
50536         (decide_maybe_mmap): Likewise.
50537         (_IO_new_file_seekoff): Likewise.
50538         (_IO_file_stat): Likewise.
50539         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50540         _G_off64_t.
50541         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50542         instead of struct _G_stat64.
50543         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50545 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50547         [BZ #14602]
50548         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50549         Replace with ...
50550         (CHECK_EOL): New macro.
50551         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50552         CHECK_EOL.
50553         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50554         Replace with CHECK_EOL.
50555         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50556         Replace with CHECK_EOL.
50558 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50560         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50561         type-generic.
50562         * math/libm-test.inc: Update comment listing what functions and
50563         macros are tested.
50564         (finite_test): New function.
50565         (isinf_test): Likewise.
50566         (isnan_test): Likewise.
50567         (fpclassify_test): Test subnormal input.
50568         (isfinite_test): Likewise.
50569         (isnormal_test): Likewise.
50570         (main): Call the new functions.
50572 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50574         [BZ #14660]
50575         * Makerules (%.dynsym): Force C locale when running
50576         $(OBJDUMP) --dynamic-syms.
50578 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50580         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50581         <stdint.h>.
50583 2012-10-06  David S. Miller  <davem@davemloft.net>
50585         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50586         upper 32-bits of the length value in %o2 since we use branch-on-register
50587         tests which consider the entire 64-bit register.
50589 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50591         * string/test-strstr.c (check2): Add a test for page boundary.
50593 2012-10-05  David S. Miller  <davem@davemloft.net>
50595         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50596         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50597         file.
50598         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50599         sysdep_routines.
50600         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50601         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50602         and bzero when HWCAP_SPARC_CRYPTO is present.
50604 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50606         [BZ #14602]
50607         * string/test-strstr.c (check2): New function.
50608         (test_main): Call check2.
50610         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50611         and bug-strchr1.
50612         * string/bug-strcasestr1.c (do_test): Moved to ...
50613         * string/test-strcasestr.c (check1): Here.  New function.
50614         (do_one_test): Break out result checking code into ...
50615         (check_result): This.  New function.
50616         (do_one_test): Call check_result.
50617         (test_main): Call check1.
50618         * string/bug-strchr1.c (do_test): Moved to ...
50619         * string/test-strchr.c (check1): Here.  New function.
50620         (do_one_test): Break out result checking code into ...
50621         (check_result): This.  New function.
50622         (do_one_test): Call check_result.
50623         (test_main): Call check1.
50624         * string/bug-strstr1.c (main): Moved to ...
50625         * string/test-strstr.c (check1): Here.  New function.
50626         (do_one_test): Break out result checking code into ...
50627         (check_result): This.  New function.
50628         (do_one_test): Call check_result.
50629         (test_main): Call check1.
50630         * string/bug-strcasestr1.c: Removed.
50631         * string/bug-strchr1.c: Likewise.
50632         * string/bug-strstr1.c: Likewise.
50634         * elf/Makefile (dl-routines): Add hwcaps.
50635         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50636         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50637         (_dl_important_hwcaps): Moved to ...
50638         * elf/dl-hwcaps.c: Here.  New file.
50639         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50641         [BZ #14557]
50642         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50643         if IS_IN_rtld isn't defined.
50645         * elf/dl-support.c (_dl_sysinfo_map): New.
50646         Include "get-dynamic-info.h" and "setup-vdso.h".
50647         (_dl_non_dynamic_init): Call setup_vdso.
50648         * elf/dynamic-link.h: Don't include <assert.h>.
50649         (elf_get_dynamic_info): Moved to ...
50650         * elf/get-dynamic-info.h: Here.  New file.
50651         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50652         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50653         * elf/setup-vdso.h: Here.  New file.
50654         * elf/rtld.c: Include "setup-vdso.h".
50655         (dl_main): Call setup_vdso.
50657 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50659         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50660         creal in comment listing functions tested.  List finite, isinf,
50661         isnan, isless, islessequal, isgreater, isgreaterequal,
50662         islessgreater, isunordered, lgamma_r and pow10 as functions and
50663         macros not tested.  Mention which functions not tested are aliases
50664         for other functions.  Fix typo.  Note that signs of NaNs are not
50665         tested.
50667         * scripts/config.guess: Update from config.git.
50668         * scripts/config.sub: Likewise.
50670 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50672         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50673         * misc/madvise.c (madvise): Renamed to __madvise.
50674         Make madvise a weak alias.
50675         * include/sys/mman.h: Declare __madvise.
50676         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50677         * sysdeps/unix/syscalls.list
50678         (madvise): Make __madvise the strong name, and madvise a weak alias.
50679         * sysdeps/unix/sysv/linux/syscalls.list
50680         (madvise, mmap): Remove redundant entries.
50681         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50682         * malloc/malloc.c (mtrim): Likewise.
50683         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50685 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50687         * sysdeps/mach/hurd/dl-cache.c: File removed.
50688         * config.h.in (USE_LDCONFIG): New #undef.
50689         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50690         * configure: Regenerated.
50691         * elf/Makefile (dl-routines): Add dl-cache only under
50692         [$(use-ldconfig) = yes].
50693         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50694         cache on [USE_LDCONFIG].
50695         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50696         [USE_LDCONFIG].
50697         * elf/rtld.c (dl_main): Likewise.
50699 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50701         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50702         _SC_LEVEL4_CACHE_LINESIZE.
50704 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50706         * sysdeps/unix/bsd/confstr.h: File removed.
50708 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50710         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50711         sys/sdt-config.h.
50713 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50715         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50716         Make 'mapoff' field ElfW(Off) rather than off_t.
50718 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50720         * nscd/Makefile: Remove nscd-cflags and all its users.
50721         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50722         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50724         [BZ #10631]
50725         * malloc.c (malloc_printerr): Clarify error message.
50727 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50729         [BZ #14648]
50730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50731         Set bit_FMA_Usable if FMA is supported.
50732         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50733         macro.
50734         (bit_FMA4_Usable): Updated.
50735         (index_FMA_Usable): New macro.
50736         (CPUID_FMA): Likewise
50737         (HAS_FMA): Defined with bit_FMA_Usable.
50739 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50741         * bits/types.h (__swblk_t): Type removed.
50742         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50743         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50745         (__SWBLK_T_TYPE): Likewise.
50746         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50747         (__SWBLK_T_TYPE): Likewise.
50748         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50749         (__SWBLK_T_TYPE): Likewise.
50750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50751         (__SWBLK_T_TYPE): Likewise.
50753 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50754             Honza Horak <hhorak@redhat.com>
50756         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50757         (xdr_mapname): Use YPMAXMAP as maxsize.
50758         (xdr_peername): Use YPMAXPEER as maxsize.
50759         (xdr_keydat): Use YPAXRECORD as maxsize.
50760         (xdr_valdat): Use YPMAXRECORD as maxsize.
50762 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50764         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50766         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50767         * csu/init-first.c: ... here.
50768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50769         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50770         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50771         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50772         * sysdeps/i386/init-first.c: File removed.
50773         * sysdeps/sh/init-first.c: File removed.
50775 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50777         [BZ #14645]
50778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50779         if x * y might underflow to zero and z is zero.
50780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50782         * math/libm-test.inc (min_subnorm_value): New variable.
50783         (fma_test): Add more tests.
50784         (fma_test_towardzero): Likewise.
50785         (fma_test_downward): Likewise
50786         (fma_test_upward): Likewise.
50787         (initialize): Set min_subnorm_value.
50789 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50791         [BZ #14638]
50792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50793         0 + 0.
50794         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50795         mode for addition resulting in exact zero.
50796         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50798         exact 0 + 0.
50799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50801         * math/libm-test.inc (fma_test): Add more tests.
50802         (fma_test_towardzero): New function.
50803         (fma_test_downward): Likewise.
50804         (fma_test_upward): Likewise.
50805         (main): Call the new functions.
50807 2012-09-28  David S. Miller  <davem@davemloft.net>
50809         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50811 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50813         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50814         instead of SIGALRM.
50816         * sysdeps/gnu/_G_config.h: Moved to ...
50817         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50818         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50819         * sysdeps/generic/_G_config.h: ... here.
50821         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50823         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50825         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50826         Conditionalize target on [libnss_test1.so-version].
50828         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50830         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50831         (elfobjdir): Move out of conditionals.
50833         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50834         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50835         (__nss_lookup_function): Conditionalize label remove_from_tree on
50836         [!DO_STATIC_NSS || SHARED], matching its only use.
50838 2012-09-28  David S. Miller  <davem@davemloft.net>
50840         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50841         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50842         file.
50843         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50844         sysdep_routines.
50845         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50847         when HWCAP_SPARC_CRYPTO is present.
50849 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50851         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50853 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50855         [BZ #6530]
50856         * stdio-common/vfprintf.c (process_string_arg): Revert
50857         2000-07-22 change.
50859 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50861         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50862         for testcase.
50863         * stdio-common/tst-sprintf.c: Include <locale.h>
50864         (main): Test sprintf's handling of incomplete multibyte
50865         characters.
50867 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50869         * elf/dl-runtime.c (VERSYMIDX): Removed.
50870         * elf/dl-version.c (VERSYMIDX): Likewise.
50871         * elf/do-rel.h (VERSYMIDX): Likewise.
50872         (VALIDX): Likewise.
50873         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50874         * elf/rtld.c (VALIDX): Likewise.
50875         (ADDRIDX): Likewise.
50876         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50877         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50878         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50879         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50880         (VALIDX): Likewise.
50881         (ADDRIDX): Likewise.
50883 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50885         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50887 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50889         [BZ #11438]
50890         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50891         to global scope.
50892         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50893         addresses are in the same scope as 192.0.2/24.
50894         * posix/gai.conf: Document new scope table defaults.
50896 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50898         [BZ #5298]
50899         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50900         for ftell.  Compute offsets from write pointers instead.
50901         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50903 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50905         [BZ #14543]
50906         * libio/Makefile (tests): New test case tst-fseek.
50907         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50908         combination works in wide mode.
50909         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50910         state when the external buffer state changes.
50912 2012-09-27  David S. Miller  <davem@davemloft.net>
50914         [BZ #14376]
50915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50916         pass reloc->r_addend in as the 'high' argument to
50917         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50921 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50923         * rt/tst-aio2.c: Include <pthread.h>.
50924         * rt/tst-aio3.c: Likewise.
50926 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50928         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50930 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50932         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50933         contents on [SHARED].
50935 2012-09-26  Marek Polacek  <polacek@redhat.com>
50937         [BZ #14530]
50938         [BZ #13741]
50939         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50940         for C++ and GCC <4.3 as well as for non GCC compilers.
50942 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50946 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50948         * Makefile.in (all, install): Declare with .PHONY.
50949         Reported by Michael Hope <michael.hope@linaro.org>.
50951 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50953         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50954         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50955         system header.
50956         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50957         Likewise.
50958         (sydep_routines): Add the new and the internal functions.
50959         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50960         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50962         (GLIBC_2.17): Add the new function.
50963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50964         (GLIBC_2.17): Likewise.
50965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50966         (GLIBC_2.17): Likewise.
50967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50968         (GLIBC_2.17): Likewise.
50969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50971 2012-09-25  Alan Modra  <amodra@gmail.com>
50973         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50974         Add release barrier before setting once_control to say
50975         initialisation is done.  Add hints on lwarx.  Use macro in
50976         place of isync.
50977         (clear_once_control): Add release barrier.
50979 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50981         [BZ #13629]
50982         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50983         specially.
50984         * math/s_clog10.c (__clog10): Likewise.
50985         * math/s_clog10f.c (__clog10f): Likewise.
50986         * math/s_clog10l.c (__clog10l): Likewise.
50987         * math/s_clogf.c (__clogf): Likewise.
50988         * math/s_clogl.c (__clogl): Likewise.
50989         * math/Makefile (libm-calls): Add x2y2m1.
50990         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50991         (__x2y2m1): Likewise.
50992         (__x2y2m1l): Likewise.
50993         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50994         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50995         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50996         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50997         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50998         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50999         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51000         * sysdeps/i386/fpu/libm-test-ulps: Update.
51001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51003         [BZ #14621]
51004         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51005         int as type of variable DEPTH.
51006         (glob): Use size_t instead of int as type of variables NEWCOUNT
51007         and OLD_PATHC.
51009 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51011         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51012         Add s_sincosf-sse2.
51013         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51014         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51015         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51016         macros for using routine as __sincosf_ia32.
51017         Use macro for function declaration and weak_alias.
51018         * sysdeps/i386/fpu/libm-test-ulps: Update.
51020         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51023         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51024         subnormal argument.
51025         * math/s_cexpf.c (__cexpf): Likewise.
51026         * math/s_csinf.c (__csinf): Likewise.
51027         * math/s_csinhf.c (__csinhf): Likewise.
51028         * math/s_ctanf.c (__ctanf): Likewise.
51029         * math/s_ctanhf.c (__ctanhf): Likewise.
51030         * math/s_ccosh.c (__ccoshf): Likewise.
51031         * math/s_cexp.c (__cexpl): Likewise.
51032         * math/s_csin.c (__csin): Likewise.
51033         * math/s_csinh.c (__csinh): Likewise.
51034         * math/s_ctan.c (__ctan): Likewise.
51035         * math/s_ctanh.c (ctanh): Likewise.
51036         * math/s_ccoshl.c (__ccoshl): Likewise.
51037         * math/s_cexpl.c (__cexpl): Likewise.
51038         * math/s_csinl.c (__csinl): Likewise.
51039         * math/s_csinhl.c (__csinhl): Likewise.
51040         * math/s_ctanl.c (__ctanl): Likewise.
51041         * math/s_ctanhl.c (__ctanhl): Likewise.
51043 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51045         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51046         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51047         (_IO_off_t): Define to __off_t, not _G_off_t.
51048         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51049         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51050         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51051         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51052         type of __dummy and __dummy2 fields.
51053         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51054         (_G_ssize_t): Likewise.
51055         (_G_off_t): Likewise.
51056         (_G_pid_t): Likewise.
51057         (_G_uid_t): Likewise.
51058         (_G_wchar_t): Likewise.
51059         (_G_wint_t): Likewise.
51060         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51061         (_G_ssize_t): Likewise.
51062         (_G_off_t): Likewise.
51063         (_G_pid_t): Likewise.
51064         (_G_uid_t): Likewise.
51065         (_G_wchar_t): Likewise.
51066         (_G_wint_t): Likewise.
51067         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51068         (_G_ssize_t): Likewise.
51069         (_G_off_t): Likewise.
51070         (_G_pid_t): Likewise.
51071         (_G_uid_t): Likewise.
51072         (_G_wchar_t): Likewise.
51073         (_G_wint_t): Likewise.
51075 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51077         * malloc/arena.c: Include malloc-sysdep.h.
51078         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51079         is sufficient to shrink the heap or an unmap is needed.
51080         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51081         new function check_may_shrink_heap.
51082         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51083         new function check_may_shrink_heap.
51085 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51087         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51088         comments.
51090 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51092         * catgets/test-gencat.sh: Add "set -e".
51093         * elf/tst-pathopt.sh: Likewise.
51094         * grp/tst_fgetgrent.sh: Likewise.
51095         * iconvdata/run-iconv-test.sh: Likewise.
51096         * intl/tst-gettext.sh: Likewise.
51097         * intl/tst-gettext2.sh: Likewise.
51098         * intl/tst-gettext4.sh: Likewise.
51099         * intl/tst-gettext6.sh: Likewise.
51100         * intl/tst-translit.sh: Likewise.
51101         * io/ftwtest-sh: Likewise.
51102         * libio/test-freopen.sh: Likewise.
51103         * malloc/tst-mtrace.sh: Likewise.
51104         * posix/globtest.sh: Likewise.
51105         * posix/tst-getconf.sh: Likewise.
51106         * posix/wordexp-tst.sh: Likewise.
51107         * stdio-common/tst-printf.sh: Likewise.
51108         * stdio-common/tst-unbputc.sh: Likewise.
51109         * stdlib/tst-fmtmsg.sh: Likewise.
51110         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51111         * catgets/Makefile: Do not specify -e option when running
51112         testsuite shell scripts.
51113         * elf/Makefile: Likewise.
51114         * grp/Makefile: Likewise.
51115         * iconvdata/Makefile: Likewise.
51116         * intl/Makefile: Likewise.
51117         * io/Makefile: Likewise.
51118         * libio/Makefile: Likewise.
51119         * malloc/Makefile: Likewise.
51120         * posix/Makefile: Likewise.
51121         * stdio-common/Makefile: Likewise.
51122         * stdlib/Makefile: Likewise.
51123         * sysdeps/x86_64/Makefile: Likewise.
51125         * io/ftwtest-sh: Add copyright header.
51126         * posix/globtest.sh: Likewise.
51127         * posix/tst-getconf.sh: Likewise.
51128         * posix/wordexp-tst.sh: Likewise.
51129         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51131 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51133         [BZ #13679]
51134         * Makeconfig (+link): Defined as $(+link-static) if
51135         $(build-shared) isn't yes.
51136         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51137         isn't yes.
51138         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51140         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51142         [BZ #14562]
51143         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51144         new chunk size with MALLOC_ALIGN_MASK.
51146 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51148         [BZ #5044]
51149         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51150         <rounding-mode.h>.
51151         (__printf_fphex): Determine rounding using get_rounding_mode and
51152         round_away.
51153         * stdio-common/tst-printf-round.c (struct hex_test): New
51154         structure.
51155         (hex_tests): New variable.
51156         (test_hex_in_one_mode): New function.
51157         (do_test): Also run tests for hex float output.
51159 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51161         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51162         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51163         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51164         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51165         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51166         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51167         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51168         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51170 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51172         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51173         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51174         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51175         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51177 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51179         [BZ #14579]
51180         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51181         mode only.
51182         * elf/tst-rtld-load-self.sh: New test.
51183         * elf/Makefile: Run it.
51185 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51187         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51188         (tst-writev-ENV): Remove.
51189         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51191 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51193         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51195 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51197         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51198         unconditional.
51199         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51200         Likewise.
51201         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51202         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51203         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51204         Likewise.
51206 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51208         [BZ #14587]
51209         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51210         * config.make.in (have-cpp-asm-debuginfo): Removed.
51211         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51212         * configure: Regenerated.
51214 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51216         [BZ #5044]
51217         * stdio-common/printf_fp.c: Include <stdbool.h> and
51218         <rounding-mode.h>.
51219         (___printf_fp): Determine rounding using get_rounding_mode and
51220         round_away.
51221         * stdio-common/tst-printf-round.c: New file.
51222         * stdio-common/Makefile (tests): Add tst-printf-round.
51223         (link-libm): New variable.
51224         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51226 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51228         [BZ #14576]
51229         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51230         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51231         Likewise.
51232         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51233         Likewise.
51235 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51237         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51238         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51239         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51242 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51244         [BZ #14518]
51245         * include/rounding-mode.h: New file.
51246         * sysdeps/generic/get-rounding-mode.h: Likewise.
51247         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51248         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51249         (MAX_VALUE): New macro.
51250         (MIN_VALUE): Likewise.
51251         (overflow_value): New function.
51252         (underflow_value): Likewise.
51253         (round_and_return): Use overflow_value and underflow_value to
51254         determine return values in overflow and underflow cases.  Use
51255         round_away to determine rounding depending on rounding mode.
51256         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51257         determine return values in overflow and underflow cases.
51258         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51259         (struct test_results): New structure.
51260         (struct test): Use struct test_results to store expected results
51261         for all rounding modes.
51262         (TEST): Include expected results for all rounding modes.
51263         (test_in_one_mode): New function.
51264         (do_test): Use test_in_one_mode to compute and check results.
51265         Check results for all rounding modes.
51266         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51267         $(link-libm).
51269 2012-12-09  Allan McRae  <allan@archlinux.org>
51271         * sysdeps/i386/fpu/libm-test-ulps: Update
51273 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51275         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51276         (_G_int32_t): Likewise.
51277         (_G_uint16_t): Likewise.
51278         (_G_uint32_t): Likewise.
51279         (_G_HAVE_BOOL): Likewise.
51280         (_G_HAVE_ATEXIT): Likewise.
51281         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51282         (_G_HAVE_IO_FILE_OPEN): Likewise.
51283         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51284         (_G_int32_t): Likewise.
51285         (_G_uint16_t): Likewise.
51286         (_G_uint32_t): Likewise.
51287         (_G_HAVE_BOOL): Likewise.
51288         (_G_HAVE_ATEXIT): Likewise.
51289         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51290         (_G_HAVE_IO_FILE_OPEN): Likewise.
51291         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51292         (_G_int32_t): Likewise.
51293         (_G_uint16_t): Likewise.
51294         (_G_uint32_t): Likewise.
51295         (_G_HAVE_BOOL): Likewise.
51296         (_G_HAVE_ATEXIT): Likewise.
51297         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51298         (_G_HAVE_IO_FILE_OPEN): Likewise.
51300 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51302         * csu/libc-tls.c: Update copyright years.
51304 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51306         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51307         [!_G_USING_THUNKS]: Remove conditional code.
51308         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51309         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51311         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51312         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51313         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51314         (_G_VTABLE_LABEL_PREFIX): Likewise.
51315         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51316         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51317         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51318         (_G_VTABLE_LABEL_PREFIX): Likewise.
51319         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51320         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51321         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51322         (_G_VTABLE_LABEL_PREFIX): Likewise.
51323         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51325 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51327         * libio/Makefile: Include ../Makeconfig before tests.
51328         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51329         only if $(build-shared) is yes.
51331         * iconv/gconv_db.c: Update copyright years.
51333 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51335         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51336         unwind info if defined PIC. Fix special cases description.
51337         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51339         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51340         DP_HI_MASK entry.
51341         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51343 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51345         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51347         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51348         is NULL.
51350         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51351         (LDLIBS-tst-chk4): This.
51352         (LDFLAGS-tst-chk5): Renamed to ...
51353         (LDLIBS-tst-chk5): This.
51354         (LDFLAGS-tst-chk6): Renamed to ...
51355         (LDLIBS-tst-chk6): This.
51356         (LDFLAGS-tst-lfschk4): Renamed to ...
51357         (LDLIBS-tst-lfschk4): This.
51358         (LDFLAGS-tst-lfschk5): Renamed to ...
51359         (LDLIBS-tst-lfschk5): This.
51360         (LDFLAGS-tst-lfschk6): Renamed to ...
51361         (LDLIBS-tst-lfschk6): This.
51363         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51364         on $(common-objpfx)soversions.mk.
51366 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51368         [BZ #10014]
51369         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51370         example host name.
51372 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51374         * malloc/arena.c (arena_get_retry): New function that gets
51375         another arena for the caller to try its request on.
51376         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51377         current arena cannot fulfill the request.
51378         (__libc_memalign): Likewise.
51379         (__libc_memalign): Likewise.
51380         (__libc_pvalloc): Likewise.
51381         (__libc_calloc): Likewise.
51383 2012-09-05  John Tobey  <john.tobey@gmail.com>
51385         [BZ #13542]
51386         * manual/arith.texi (Operations on Complex): Fix description
51387         of carg branch cut.
51389 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51391         [BZ #10014]
51392         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51393         host name.
51395         [BZ #10038]
51396         * manual/memory.texi (Memory): Make order of menu items match
51397         order of sections.
51399 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51401         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51402         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51403         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51405 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51407         * csu/libc-tls.c (static_dtv): Renamed to ...
51408         (_dl_static_dtv): This.  Make it global.
51409         (_dl_initial_dtv): Removed.
51410         (__libc_setup_tls): Updated.
51411         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51412         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51413         DL_INITIAL_DTV.
51415 2012-09-06  Petr Machata  <pmachata@redhat.com>
51417         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51418         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51419         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51420         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51422 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51424         [BZ #14545]
51425         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51426         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51427         freeing dtv[-1].
51429 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51431         [BZ #14544]
51432         * Makeconfig (link-static-before-libc): Replace $(+prector)
51433         with $(+prectorT).
51434         (link-static-after-libc): Replace $(+postctor) with
51435         $(+postctorT).
51436         (link-bounded): Replace $(+prector)/$(+postctor) with
51437         $(+prectorT)/$(+postctorT).
51438         (+prectorT): New macro.
51439         (+postctorT): Likewise.
51441 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51443         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51444         (round_str): Handle values above the maximum for IBM long double
51445         as inexact.
51446         * stdlib/tst-strtod-round.c (tests): Regenerated.
51448 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51450         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51451         assembler flag.
51452         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51453         zarch_nohighgprs around the zarch optimized routines.
51454         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51455         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51456         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51457         for zarch.
51459 2012-09-05  David S. Miller  <davem@davemloft.net>
51461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51463         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51464         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51465         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51466         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51467         entries.
51469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51471         * malloc/arena.c: Fold copyright years.
51472         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51474 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51476         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51480         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51484         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51485         change internal state upon failure.
51487 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51489         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51490         * malloc/memusage.c (mmap): Likewise.
51491         (mmap64, mremap): Likewise.  Adjust name in comment.
51493 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51495         * libio/fileops.c: Fix typos in comments.
51496         * libio/oldfileops.c: Likewise.
51497         * libio/wfileops.c: Likewise.
51499 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51501         [BZ #1349]
51502         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51503         (tst-malloc-usable-ENV): Set environment for test case.
51504         * malloc/hooks.c (malloc_check_get_size): New function to get
51505         requested size.
51506         * malloc/malloc.c (musable): Use malloc_check_get_size.
51507         * malloc/tst-malloc-usable.c: New test case.
51509 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51511         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51513 2012-09-05  Allan McRae  <allan@archlinux.org>
51515         [BZ #13966]
51516         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51517         determine header location.
51518         * configure: Regenerated.
51520 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51522         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51523         float format.
51524         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51525         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51526         format.
51527         (test): Regenerate.
51529 2012-09-04  David S. Miller  <davem@davemloft.net>
51531         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51532         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51533         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51535 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51537         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51538         failures.
51540         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51542 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51544         [BZ #9914]
51545         * libio/iogetdelim.c: Include <limits.h>.
51546         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51547         + len + 1 would overflow.
51549 2012-09-03  Andreas Jaeger  <aj@suse.de>
51551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51552         * sysdeps/i386/fpu/libm-test-ulps: Update.
51554 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51556         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51557         Add s_sinf-sse2, s_conf-sse2.
51559         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51560         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51561         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51562         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51564         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51565         for using routine as __sinf_ia32.
51566         Use macro for function declaration and weak_alias.
51567         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51568         for using routine as __cosf_ia32.
51569         Use macro for function declaration and weak_alias.
51571         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51572         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51574         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51575         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51578         * math/libm-test.inc (cos_test): Add more test cases.
51579         (sin_test): Likewise.
51580         (sincos_test): Likewise.
51582 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51584         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51585         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51586         hidden.
51587         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51589 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51591         [BZ #14538]
51592         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51593         first element of the GOT.
51594         (elf_machine_load_address): Return the difference between
51595         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51597 2012-09-01  Allan McRae  <allan@archlinux.org>
51599         [BZ #13412]
51600         * configure.in (AWK): Require gawk version 3.0 or later.
51601         * configure: Regenerated.
51603 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51605         * sysdeps/unix/sysv/linux/kernel-features.h
51606         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51607         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51608         [__NR_clock_getres]: Make code unconditional.
51609         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51610         (clock_getcpuclockid): Remove code left unreachable by removal of
51611         conditionals.
51612         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51613         code unconditional.
51614         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51615         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51616         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51617         Make code unconditional.
51618         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51620         * sysdeps/unix/sysv/linux/clock_settime.c
51621         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51622         conditional code.
51623         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51624         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51626 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51628         [BZ #14476]
51629         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51630         scripts/test-installation.pl.
51632         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51633         and $ld_so_version if it is set.
51635 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51637         [BZ #14516]
51638         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51639         failure if reading from procfs failed.
51640         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51642 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51644         * sysdeps/unix/sysv/linux/kernel-features.h
51645         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51646         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51647         Remove conditional code.
51648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51649         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51650         Remove conditional code.
51651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51652         * sysdeps/unix/sysv/linux/i386/fxstat.c
51653         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51655         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51656         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51658         * sysdeps/unix/sysv/linux/i386/lxstat.c
51659         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51660         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51661         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51662         Remove conditional code.
51663         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51664         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51665         Remove conditional code.
51666         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51667         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51668         <kernel-features.h>.
51669         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51670         Remove.
51671         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51672         Remove conditional code.
51673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51674         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51675         Remove conditional.
51677 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51679         [BZ #5400]
51680         * NEWS: Add fixed bug number.
51682 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51684         [BZ #14519]
51685         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51686         underflowing exponent in case of negative sign.
51687         * stdlib/tst-strtod-round-data: Add more tests.
51688         * stdlib/tst-strtod-round.c (tests): Regenerated.
51690         [BZ #3479]
51691         * stdlib/strtod_l.c (NDIG): Remove.
51692         (HEXNDIG): Likewise.
51693         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51694         smallest representable value.
51695         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51696         lie within an exact representation of 1/2 ulp of the result.
51697         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51698         unconditionally.
51699         (TENS_P9_IDX): Define unconditionally.
51700         (TENS_P9_SIZE): Likewise.
51701         (TENS_P10_IDX): Likewise.
51702         (TENS_P10_SIZE): Likewise.
51703         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51704         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51705         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51706         entries for 10^2^13 and 10^2^14.
51707         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51708         (TENS_P13_IDX): Define.
51709         (TENS_P13_SIZE): Likewise.
51710         (TENS_P14_IDX): Likewise.
51711         (TENS_P14_SIZE): Likewise.
51712         (_fpioconst_pow10): Change array size to
51713         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51714         unconditional.
51715         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51716         1024]: Add entries for 10^2^13 and 10^2^14.
51717         [LAST_POW10 > _LAST_POW10]: Remove #error.
51718         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51719         (_fpioconst_pow10): Change array size to
51720         FPIOCONST_POW10_ARRAY_SIZE.
51721         * stdlib/gen-fpioconst.c: New file.
51722         * stdlib/gen-tst-strtod-round.c: Likewise.
51723         * stdlib/tst-strtod-round-data: Likewise.
51724         * stdlib/tst-strtod-round.c: Likewise.
51725         * stdlib/Makefile (tests): Add tst-strtod-round.
51727         [BZ #14459]
51728         * stdlib/strtod_l.c: Include <stdint.h>.
51729         (NDEBUG): Do not define.
51730         (round_and_return): Change EXPONENT parameter to type intmax_t.
51731         Rearrange calculations to avoid internal overflow possibilities.
51732         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51733         Rearrange calculations to avoid internal overflow possibilities.
51734         Assert that number fits inside MPNSIZE limbs.
51735         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51736         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51737         calculations and add assertions to avoid internal overflow
51738         possibilities.  Add casts to avoid signed/unsigned operations.
51739         * stdlib/tst-strtod-overflow.c: New file.
51740         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51742 2012-08-25  Marek Polacek  <polacek@redhat.com>
51744         * time/time.h: Fix some typos in comments.
51746 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51748         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51749         * posix/tst-rfc3484-2.c: Likewise.
51750         * posix/tst-rfc3484-3.c: Likewise.
51752 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51754         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51755         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51757 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51759         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51760         #include of fxstatat64.c.
51762 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51764         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51765         * shadow/getspent_r.c: Likewise.
51766         * shadow/getspnam.c: Likewise.
51767         * shadow/getspnam_r.c: Likewise.
51768         * gshadow/getsgent.c: Likewise.
51769         * gshadow/getsgent_r.c: Likewise.
51770         * gshadow/getsgnam.c: Likewise.
51771         * gshadow/getsgnam_r.c: Likewise.
51772         * inet/getnetbyad.c: Likewise.
51773         * inet/getnetbyad_r.c: Likewise.
51774         * inet/getnetbynm.c: Likewise.
51775         * inet/getnetbynm_r.c: Likewise.
51776         * inet/getnetent.c: Likewise.
51777         * inet/getnetent_r.c: Likewise.
51778         * inet/getproto.c: Likewise.
51779         * inet/getproto_r.c: Likewise.
51780         * inet/getprtent.c: Likewise.
51781         * inet/getprtent_r.c: Likewise.
51782         * inet/getprtname.c: Likewise.
51783         * inet/getprtname_r.c: Likewise.
51784         * inet/getrpcbyname.c: Likewise.
51785         * inet/getrpcbyname_r.c: Likewise.
51786         * inet/getrpcbynumber.c: Likewise.
51787         * inet/getrpcbynumber_r.c: Likewise.
51788         * inet/getrpcent.c: Likewise.
51789         * inet/getrpcent_r.c: Likewise.
51790         * inet/getaliasent.c: Likewise.
51791         * inet/getaliasent_r.c: Likewise.
51792         * inet/getaliasname.c: Likewise.
51793         * inet/getaliasname_r.c: Likewise.
51794         * nscd/getgrgid_r.c: Likewise.
51795         * nscd/getgrnam_r.c: Likewise.
51796         * nscd/gethstbyad_r.c: Likewise.
51797         * nscd/gethstbynm3_r.c: Likewise.
51798         * nscd/getpwnam_r.c: Likewise.
51799         * nscd/getpwuid_r.c: Likewise.
51800         * nscd/getsrvbynm_r.c: Likewise.
51801         * nscd/getsrvbypt_r.c: Likewise.
51802         * nscd/gai.c: Likewise.
51804         * configure.in (build_nscd): New substituted variable, set
51805         by --disable-build-nscd and defaults to $use_nscd.
51806         * configure: Regenerated.
51807         * config.make.in (build-nscd): New substituted variable.
51808         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51809         Change conditional to require [$(build-nscd) = yes] as well.
51810         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51812         [BZ# 13696]
51813         * configure.in (use_nscd): New substituted variable, set by
51814         --disable-nscd.  If enabled, define USE_NSCD.
51815         * configure: Regenerated.
51816         * config.h.in: Add USE_NSCD.
51817         * config.make.in (use-nscd): New substituted variable.
51818         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51819         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51820         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51821         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51822         (CFLAGS-getgrnam_r.c): Likewise.
51823         (CFLAGS-initgroups.c): Likewise.
51824         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51825         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51826         Variables removed.
51827         * inet/getnetgrent_r.c
51828         (nscd_setnetgrent): New function, broken out of ...
51829         (setnetgrent): ... here.  Call it.
51830         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51831         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51832         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51833         * nscd/Makefile (routines, aux): Move definitions after include of
51834         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51835         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51836         Conditionalize on [USE_NSCD].
51837         (is_nscd, nscd_init_cb): Likewise.
51838         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51839         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51840         * nss/nss_db/db-init.c: Likewise.
51841         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51842         [USE_NSCD].
51843         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51844         (make_request): Use it.
51845         (cache_valid_p): New function.
51846         (__check_pf): Use it.
51847         * NEWS: Add item for --disable-nscd.
51849 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51851         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51852         to support sed >= 4.2.1-20-ga9bf076.
51853         * configure: Regenerated.
51855 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51857         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51858         Conditionalize whole body on [IREL].
51860 2012-08-22  Jeff Law <law@redhat.com>
51862         [BZ #14505]
51863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51864         if the family is PF_UNSPEC.
51866 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51868         * Makerules (lib-version): Rename from V.
51869         (install-lib-nosubdir): Change V to lib-version.
51871 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51873         [BZ #14252]
51874         * powerpc32/power6/wcschr.c: New file.
51875         * powerpc32/power6/wcscpy.c: New file.
51876         * powerpc32/power6/wcsrchr.c: New file.
51877         * powerpc64/power6/wcschr.c: New file.
51878         * powerpc64/power6/wcscpy.c: New file.
51879         * powerpc64/power6/wcsrchr.c: New file.
51881 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51883         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51884         (two_way_short_needle): Use it.
51885         * string/strstr.c (AVAILABLE1_USES_J): Define.
51886         * string/strcasestr.c: Likewise.
51888         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51889         array references.
51890         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51892         [BZ #11607]
51893         * NEWS: Add an entry.
51894         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51895         define their defaults.
51896         (two_way_short_needle): Detect end-of-string on-the-fly.
51897         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51898         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51899         * string/bug-strcasestr1.c: New test.
51900         * string/Makefile: Run it.
51902 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51904         [BZ #11607]
51905         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51906         the first character.
51908 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51910         * csu/elf-init.c (__libc_csu_irel): Function removed.
51911         * csu/libc-start.c (apply_irel): New function.
51912         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51914 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51916         * sysdeps/unix/sysv/linux/kernel-features.h
51917         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51918         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51919         <kernel-features.h>.
51920         [__NR_fadvise64_64]: Make code unconditional.
51921         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51922         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51923         !__NR_fadvise64_64)]: Likewise.
51924         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51925         !__NR_fadvise64_64))]: Likewise.
51926         [__NR_fadvise64]: Make code unconditional.
51927         [!__NR_fadvise64]: Remove conditional code.
51928         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51929         <kernel-features.h>.
51930         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51931         unconditional.
51932         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51933         conditional code.
51934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51935         not include <kernel-features.h>.
51936         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51937         unconditional.
51938         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51939         conditional code.
51940         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51941         include <kernel-features.h>.
51942         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51943         unconditional.
51944         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51945         conditional code.
51947 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51949         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51950         slight instruction rearrangements per scrollpipe analysis.
51951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51953 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51955         * manual/syslog.texi (syslog; vsyslog, closelog):
51956         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51957         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51959         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51960         DSOCAPS to match condition on defining it.
51962 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51964         * sysdeps/unix/sysv/linux/kernel-features.h
51965         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51967         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51968         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51970         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51971         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51973         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51974         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51976         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51977         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51979         * sysdeps/unix/sysv/linux/kernel-features.h
51980         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51981         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51982         unconditional.
51983         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51984         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51985         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51986         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51987         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51988         Make code unconditional.
51989         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51990         (__mmap64) [!__NR_mmap2]: Likewise.
51991         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51992         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51993         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51994         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51995         [__NR_mmap2]: Make code unconditional.
51996         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51997         (__mmap64) [!__NR_mmap2]: Likewise.
51999 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52001         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52003 2012-08-18  Andreas Jaeger  <aj@suse.de>
52005         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52007 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52009         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52010         * include/unistd.h (__have_sock_cloexec): Likewise.
52011         (__have_pipe2): Likewise.
52012         (__have_dup3): Likewise.
52014 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52016         [BZ #9685]
52017         * include/unistd.h (__have_pipe2): Change define into an extern int.
52018         (__have_dup3): Likewise.
52019         * socket/have_sock_cloexec.c: Include fcntl.h.
52020         (__have_pipe2): New variable.
52021         (__have_dup3): Likewise.
52023 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52025         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52027 2012-08-17  Marek Polacek  <polacek@redhat.com>
52029         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52030         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52032 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52034         * configure.in: Add AC_SUBST for sysheaders.
52035         * configure: Regenerated.
52036         * config.make.in (sysheaders): New substituted variable.
52038         * sysdeps/unix/mkfifo.c: Moved ...
52039         * sysdeps/posix/mkfifo.c: ... here.
52040         * sysdeps/unix/mkfifoat.c: Moved ...
52041         * sysdeps/posix/mkfifoat.c: ... here.
52043         * sysdeps/unix/utime.c: Moved ...
52044         * sysdeps/posix/utime.c: ... here.
52046         * sysdeps/unix/time.c: Moved ...
52047         * sysdeps/posix/time.c: ... here.
52048         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52049         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52051         * sysdeps/unix/nice.c: Moved ...
52052         * sysdeps/posix/nice.c: ... here.
52054         * sysdeps/unix/alarm.c: Moved ...
52055         * sysdeps/posix/alarm.c: ... here.
52057         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52059 2012-08-17  Jeff Law <law@redhat.com>
52061         * intl/Makefile (codeset_mo): New variable.
52062         ($(codeset_mo)): New target.
52063         (tst-codeset.out): Depend on that.  Remove explicit rule.
52064         (tst-gettext3.out, tst-gettext5.out): Likewise.
52065         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52066         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52067         * intl/tst-codeset.sh: Remove.
52068         * intl/tst-gettext3.sh: Likewise.
52069         * intl/tst-gettext5.sh: Likewise.
52071 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52073         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52074         * sysdeps/unix/syscalls.list: ... here.
52076         * sysdeps/posix/getaddrinfo.c
52077         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52078         (gaiconf_init, gaiconf_reload): Use them.
52079         [!_STATBUF_ST_NSEC]
52080         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52081         Define using time_t rather than struct timespec.
52083         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52084         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52085         Macros removed.
52086         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52087         [!NO_THREADS].
52088         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52089         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52090         Likewise.
52092         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52093         __libc_cleanup_push argument.
52095         * bits/param.h: New file.
52096         * misc/sys/param.h: New file.
52097         * include/sys/param.h: New file.
52098         * misc/Makefile (headers): Add bits/param.h.
52099         * sysdeps/generic/sys/param.h: File removed.
52100         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52101         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52102         * sysdeps/mach/hurd/bits/param.h: New file.
52103         * sysdeps/mach/hurd/sys/param.h: File removed.
52105         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52106         last change.
52108         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52109         [_IO_MTSAFE_IO].
52110         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52111         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52112         New macros.
52114         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52115         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52116         rather than -D_IO_MTSAFE_IO conditionally.
52117         * stdio-common/Makefile (CPPFLAGS): Likewise.
52118         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52119         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52120         Use $(libio-mtsafe).
52121         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52122         of -D_IO_MTSAFE_IO.
52123         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52124         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52125         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52126         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52127         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52128         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52129         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52130         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52131         (CFLAGS-fread_u_chk.c): Likewise.
52132         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52133         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52134         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52135         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52136         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52137         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52138         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52139         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52140         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52142         * libio/Makefile: Test [$(libc-reentrant) = yes]
52143         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52145         * Makeconfig
52146         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52147         * sysdeps/pthread/configure: File removed.
52148         * sysdeps/pthread/Makeconfig: New file.
52149         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52150         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52152 2012-08-16  Gary Benson  <gbenson@redhat.com>
52154         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52155         unmapping the first object in a namespace.
52157 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52159         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52160         (__internal_setnetgrent): ... this.  Add internal_function to
52161         definition.  Add libc_hidden_def.
52162         (setnetgrent): Update caller.
52163         (internal_endnetgrent): Renamed to ...
52164         (__internal_endnetgrent): ... this.  Add internal_function to
52165         definition.  Add libc_hidden_def.
52166         (endnetgrent): Update caller.
52167         (internal_getnetgrent_r): Renamed to ...
52168         (__internal_getnetgrent_r): ... this.  Add internal_function to
52169         definition.  Add libc_hidden_def.
52170         (__getnetgrent_r): Update caller.
52171         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52173 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52175         * stdlib/longlong.h: Update from GCC.
52177 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52179         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52180         on _QL, which is set by umul_ppmm but never used.
52181         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52182         variables, which are set by GMP macros but never used.
52183         * stdio-common/_itowa.c (_itowa): Likewise.
52184         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52185         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52187 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52189         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52190         struct La_sh_regs is not constant.
52191         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52192         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52193         and struct La_sparc64_regs are not constant.
52195 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52197         * sysdeps/unix/sysv/linux/kernel-features.h
52198         (__ASSUME_POSIX_TIMERS): Remove.
52199         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52201         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52202         Make code unconditional.
52203         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52204         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52205         Make code unconditional.
52206         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52207         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52208         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52209         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52210         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52211         Make code unconditional.
52212         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52213         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52214         (__libc_missing_posix_timers): Remove.
52216 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52218         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52219         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52221         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52223         * elf/dl-sym.c: Include <stdlib.h>.
52225         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52226         constants, which avoids warnings in 32-bit builds.
52228         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52229         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52231         * misc/lseek.c: File moved to ...
52232         * io/lseek.c: ... here.
52234         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52236         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52237         shifting LEN more than 31 bits at once.
52239 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52241         [BZ #14195]
52242         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52243         segmentation fault for a case of two empty input strings.
52244         * string/test-strncasecmp.c (check1): Renamed to...
52245         (bz12205): ...this.
52246         (bz14195): Add new testcase for two empty input strings and N > 0.
52247         (test_main): Call new testcase, adapt for renamed function.
52249 2012-08-15  Andreas Jaeger  <aj@suse.de>
52251         [BZ #14090]
52252         * crypt/md5test2.c: New test, based on test supplied by Serge
52253         Belyshev <belyshev@depni.sinp.msu.ru>.
52254         * crypt/Makefile (xtests): Add md5test-giant..
52255         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52257 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52259         [BZ #14090]
52260         * crypt/md5.c (md5_process_block): Don't assume the buffer
52261         length is less than 2**32.
52262         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52263         length is less than 2**64.
52265 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52267         * string/str-two-way.h: Include <sys/param.h>.
52268         (MAX): Macro removed.
52270         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52271         Move #define and #undef of memmove to just before and after
52272         including <string.h>.
52274         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52275         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52276         and after including <string.h>.  Move declarations of
52277         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52278         to before #include "string/memmove.c".
52280         * include/dirent.h: Declare __getdirentries.
52282         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52283         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52285 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52287         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52288         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52289         * sysdeps/i386/configure: Regenerated.
52290         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52291         STABS_CURRENT_FILE, and STABS_FUN.
52292         (END): Remove call to STABS_FUN_END.
52293         (STABS_CURRENT_FILE1): Delete.
52294         (STABS_CURRENT_FILE): Likewise.
52295         (STABS_FUN): Likewise.
52296         (STABS_FUN_END): Likewise.
52297         (STABS_FUN2): Likewise.
52298         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52299         * sysdeps/x86_64/configure: Regenerated.
52301 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52303         * elf/dl-open.c: Include <atomic.h>.
52304         * elf/dl-lookup.c: Likewise.
52306 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52308         * sysdeps/unix/sysv/linux/kernel-features.h
52309         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52310         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52311         unconditionally.
52312         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52313         unconditionally.
52314         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52315         condition on __ASSUME_CLONE_THREAD_FLAGS.
52317 2012-08-14  Andreas Jaeger  <aj@suse.de>
52319         * sysdeps/i386/fpu/libm-test-ulps: Update.
52321 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52323         * include/atomic.h (atomic_exchange_and_add): Split into ...
52324         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52325         New atomic macros.
52327 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52331 2012-08-13  Jeff Law <law@redhat.com>
52333         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52334         null byte in the output string.
52336 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52338         * sysdeps/unix/sysv/linux/kernel-features.h
52339         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52340         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52341         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52342         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52343         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52344         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52345         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52347 2012-08-09  Jeff Law <law@redhat.com>
52349         [BZ #13939]
52350         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52351         When avoid_arena is set, don't retry in the that arena.  Pick the
52352         next one, whatever it might be.
52353         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52354         (arena_lock): Pass in new parameter to arena_get2.
52355         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52356         arena_get2.
52357         (__libc_malloc): Unify retrying after main arena failure with
52358         __libc_memalign version.
52359         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52361 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52363         [BZ #14166]
52364         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52365         to __redirect_strstr.
52366         (__strstr_sse42): Use typeof __redirect_strstr.
52367         (__strstr_ia32): Likewise.
52368         (__libc_strstr): New prototype.
52369         (strstr): Renamed to ...
52370         (__libc_strstr): This.
52371         (strstr): New strong alias of __libc_strstr.
52372         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52373         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52374         __redirect_time.
52375         Include <time.h>.
52376         (__libc_time): New prototype.
52377         (time_ifunc): Replace time with __libc_time.
52378         (time): New strong alias and hidden definition of __libc_time.
52379         (__GI_time): Remove strong alias.
52380         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52381         Include <stddef.h>.
52382         (memmove): Redefined to __redirect_memmove.
52383         (__memmove_sse2): Use typeof __redirect_memmove.
52384         (__memmove_ssse3): Likewise.
52385         (__memmove_ssse3_back): Likewise.
52386         (__libc_memmove): New prototype.
52387         (memmove): Renamed to ...
52388         (__libc_memmove): This.
52389         (memmove): New strong alias of __libc_memmove.
52391 2012-08-08  Mark Salter  <msalter@redhat.com>
52393         * elf/elf.h
52394         (R_MN10300_TLS_GD): Define.
52395         (R_MN10300_TLS_LD): Likewise.
52396         (R_MN10300_TLS_LDO): Likewise.
52397         (R_MN10300_TLS_GOTIE): Likewise.
52398         (R_MN10300_TLS_IE): Likewise.
52399         (R_MN10300_TLS_LE): Likewise.
52400         (R_MN10300_TLS_DTPMOD): Likewise.
52401         (R_MN10300_TLS_DTPOFF): Likewise.
52402         (R_MN10300_TLS_TPOFF): Likewise.
52403         (R_MN10300_SYM_DIFF): Likewise.
52404         (R_MN10300_ALIGN): Likewise.
52405         (R_MN10300_NUM): Update.
52407 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52409         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52410         Remove.
52412 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52414         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52416         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52417         sysdeps/unix -> sysdeps/posix move.
52418         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52420 2012-08-07      Allan McRae     <allan@archlinux.org>
52422         [BZ #14303]
52423         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52424         (SUNOS_CPP): Likewise.
52425         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52426         not found.
52427         (open_input): Call CPP using execvp.
52429 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52431         * sysdeps/unix/sysv/linux/kernel-features.h
52432         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52433         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52434         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52435         (__ASSUME_WAITID_SYSCALL): Likewise.
52436         * sysdeps/unix/sysv/linux/dl-execstack.c
52437         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52438         code unconditional.
52439         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52440         conditional code.
52441         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52442         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52443         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52444         code.
52445         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52446         unconditional.
52447         [__ASSUME_WAITID_SYSCALL]: Likewise.
52448         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52450 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52452         * sysdeps/unix/closedir.c: Renamed to ...
52453         * sysdeps/posix/closedir.c: ... here.
52454         * sysdeps/unix/dirfd.c: Renamed to ...
52455         * sysdeps/posix/dirfd.c: ... here.
52456         * sysdeps/unix/dirstream.h: Renamed to ...
52457         * sysdeps/posix/dirstream.h: ... here.
52458         * sysdeps/unix/fdopendir.c: Renamed to ...
52459         * sysdeps/posix/fdopendir.c: ... here.
52460         * sysdeps/unix/opendir.c: Renamed to ...
52461         * sysdeps/posix/opendir.c: ... here.
52462         * sysdeps/unix/readdir.c: Renamed to ...
52463         * sysdeps/posix/readdir.c: ... here.
52464         * sysdeps/unix/readdir_r.c: Renamed to ...
52465         * sysdeps/posix/readdir_r.c: ... here.
52466         * sysdeps/unix/rewinddir.c: Renamed to ...
52467         * sysdeps/posix/rewinddir.c: ... here.
52468         * sysdeps/unix/seekdir.c: Renamed to ...
52469         * sysdeps/posix/seekdir.c: ... here.
52470         * sysdeps/unix/telldir.c: Renamed to ...
52471         * sysdeps/posix/telldir.c: ... here.
52472         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52473         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52474         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52475         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52477         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52478         * bits/fcntl.h: ... here.
52480         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52481         not 0.
52482         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52483         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52484         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52485         (struct flock): Move l_start, l_len to the beginning.
52486         Use __pid_t for l_pid.
52487         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52488         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52489         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52490         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52491         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52492         [__USE_LARGEFILE64] (struct flock64): New type.
52493         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52495         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52496         * bits/dirent.h: ... here.
52498         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52499         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52501 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52503         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52504         Change from 2.6.0 to 2.6.16.
52505         * sysdeps/unix/sysv/linux/configure: Regenerated.
52506         * sysdeps/unix/sysv/linux/kernel-features.h
52507         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52508         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52509         version.
52510         (__ASSUME_UTIMES): Likewise.
52511         (__ASSUME_CLONE_STOPPED): Remove.
52512         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52513         architectures, not kernel version.
52514         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52515         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52516         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52517         (__ASSUME_WAITID_SYSCALL): Likewise.
52518         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52519         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52520         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52521         refer to older versions.
52523 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52525         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52526         Define alphasort64 as an alias.
52527         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52528         Define versionsort64 as an alias.
52529         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52530         Define scandir64 as an alias.
52531         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52532         Define scandirat64 as an alias.
52533         * dirent/alphasort64.c (alphasort64):
52534         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52535         * dirent/versionsort64.c: Likewise.
52536         * dirent/scandir64.c: Likewise.
52537         * dirent/scandirat64.c: Likewise.
52538         * sysdeps/wordsize-64/alphasort.c: File removed.
52539         * sysdeps/wordsize-64/alphasort64.c: File removed.
52540         * sysdeps/wordsize-64/scandir.c: File removed.
52541         * sysdeps/wordsize-64/scandir64.c: File removed.
52542         * sysdeps/wordsize-64/scandirat.c: File removed.
52543         * sysdeps/wordsize-64/scandirat64.c: File removed.
52544         * sysdeps/wordsize-64/versionsort.c: File removed.
52545         * sysdeps/wordsize-64/versionsort64.c: File removed.
52546         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52547         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52548         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52549         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52550         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52551         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52552         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52553         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52555         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52556         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52557         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52558         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52559         [defined __arch64__ || defined __sparcv9]
52560         (__INO_T_MATCHES_INO64_T): New macro.
52561         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52562         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52563         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52564         * sysdeps/unix/sysv/linux/bits/dirent.h
52565         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52566         (_DIRENT_MATCHES_DIRENT64): New macro.
52568         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52569         Define lockf64 as an alias.
52570         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52571         Define fseeko64 as an alias.
52572         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52573         Define ftello64 as an alias.
52574         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52575         Define _IO_fgetpos64 and fgetpos64 as aliases.
52576         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52577         Define _IO_fsetpos64 and fsetpos64 as aliases.
52578         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52579         Conditionalize body on this.
52580         * libio/fseeko64.c: Likewise.
52581         * libio/ftello64.c: Likewise.
52582         * libio/iofgetpos64.c: Likewise.
52583         * libio/iofsetpos64.c: Likewise.
52584         * sysdeps/wordsize-64/lockf.c: File removed.
52585         * sysdeps/wordsize-64/lockf64.c: File removed.
52586         * sysdeps/wordsize-64/fseeko.c: File removed.
52587         * sysdeps/wordsize-64/fseeko64.c: File removed.
52588         * sysdeps/wordsize-64/ftello.c: File removed.
52589         * sysdeps/wordsize-64/ftello64.c: File removed.
52590         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52591         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52592         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52593         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52594         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52595         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52596         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52597         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52598         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52599         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52600         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52601         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52602         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52603         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52605         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52607         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52609         [defined __arch64__ || defined __sparcv9]
52610         (__OFF_T_MATCHES_OFF64_T): New macro.
52611         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52612         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52614         (__OFF_T_MATCHES_OFF64_T): New macro.
52616 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52618         * stdlib/secure-getenv.c (__secure_getenv): Replace
52619         GLIBC_2_16 with GLIBC_2_17.
52621 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52623         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52624         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52626 2012-08-03  David S. Miller  <davem@davemloft.net>
52628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52630 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52633         Remove.
52634         (__ASSUME_CORRECT_SI_PID): Likewise.
52635         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52636         (__ASSUME_TMPFS_NAME): Likewise.
52637         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52638         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52639         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52640         (HAVE_AUX_SECURE): Make definition unconditional.
52641         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52642         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52644 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52646         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52647         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52648         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52649         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52650         __eloop_threshold instead of SYMLOOP_MAX.
52652         * sysdeps/generic/eloop-threshold.h: New file.
52653         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52654         of MAXSYMLINKS.
52655         * elf/chroot_canon.c (chroot_canon): Likewise.
52657 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52659         [BZ #13717]
52660         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52661         Change to 2.6.0 everywhere.
52662         * sysdeps/unix/sysv/linux/configure: Regenerated.
52663         * sysdeps/unix/sysv/linux/kernel-features.h
52664         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52665         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52666         kernel versions.
52667         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52668         (__ASSUME_FUTEX_REQUEUE): Remove.
52669         (__ASSUME_STATFS64): Define unconditionally.
52670         (__ASSUME_AT_SECURE): Likewise.
52671         (__ASSUME_CORRECT_SI_PID): Likewise.
52672         (__ASSUME_TGKILL): Define without depending on kernel version for
52673         i386.
52674         (__ASSUME_UTIMES): Likewise.
52675         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52676         kernel version.
52677         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52678         (__ASSUME_TMPFS_NAME): Likewise.
52679         * README: Update reference to Linux kernel versions.
52681 2012-08-02  Marek Polacek  <polacek@redhat.com>
52683         [BZ# 14150]
52684         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52685         libc_cv_asm_type_prefix with %.
52686         * configure: Regenerated.
52687         * include/libc-symbols.h: Remove comment about
52688         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52689         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52690         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52691         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52692         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52693         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52694         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52695         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52696         * elf/tst-unique2mod1.c: Likewise.
52697         * elf/tst-unique1mod2.c: Likewise.
52698         * elf/tst-unique1mod1.c: Likewise.
52699         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52700         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52701         Replace ASM_TYPE_DIRECTIVE with .type.
52702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52703         * sysdeps/i386/sysdep.h: Likewise.
52704         * sysdeps/x86_64/sysdep.h: Likewise.
52705         * sysdeps/sh/sysdep.h: Likewise.
52706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52707         Do not define ASM_TYPE_DIRECTIVE.
52708         * sysdeps/powerpc/sysdep.h: Likewise.
52709         * sysdeps/powerpc/powerpc32/sysdep.h:
52710         Replace ASM_TYPE_DIRECTIVE with .type.
52711         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52712         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52713         * sysdeps/i386/fpu/e_powf.S: Likewise.
52714         * sysdeps/i386/fpu/e_expl.S: Likewise.
52715         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52716         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52717         * sysdeps/i386/fpu/e_pow.S: Likewise.
52718         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52719         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52720         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52721         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52722         * sysdeps/i386/fpu/e_log2.S: Likewise.
52723         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52724         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52725         * sysdeps/i386/fpu/e_powl.S: Likewise.
52726         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52727         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52728         * sysdeps/i386/fpu/e_logl.S: Likewise.
52729         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52730         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52731         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52732         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52733         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52734         * sysdeps/i386/fpu/e_log.S: Likewise.
52735         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52736         * sysdeps/i386/fpu/e_logf.S: Likewise.
52737         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52738         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52739         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52740         * sysdeps/i386/fpu/e_log10.S: Likewise.
52741         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52742         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52743         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52744         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52745         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52746         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52747         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52748         * sysdeps/i386/i686/strtok.S: Likewise.
52749         * sysdeps/i386/i386-mcount.S: Likewise.
52750         * sysdeps/i386/strtok.S: Likewise.
52751         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52752         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52753         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52754         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52755         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52756         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52757         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52758         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52759         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52760         * sysdeps/x86_64/_mcount.S: Likewise.
52761         * sysdeps/x86_64/strtok.S: Likewise.
52762         * sysdeps/sh/_mcount.S: Likewise.
52764 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52766         * libio/iofopen.c: Include <fcntl.h>.
52767         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52768         (_IO_fopen64, fopen64): Define as aliases.
52769         * libio/iofopen64.c: Include <fcntl.h>.
52770         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52771         Conditionalize body on this.
52772         * sysdeps/wordsize-64/iofopen.c: File removed.
52773         * sysdeps/wordsize-64/iofopen64.c: File removed.
52775 2012-08-01  Marek Polacek  <polacek@redhat.com>
52777         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52778         Use dlfcn directly instead of a variable.
52779         (binfmt-subdir): Do not define.
52780         (dlfcn): Likewise.
52782 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52784         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52785         Remove all definitions.
52786         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52787         <kernel-features.h>.
52788         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52789         (miss_F_GETOWN_EX): Remove all definitions.
52790         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52791         macro definition.
52792         [!__ASSUME_FCNTL64]: Remove conditional code.
52793         [__ASSUME_FCNTL64]: Make code unconditional.
52794         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52795         <kernel-features.h>.
52796         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52797         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52798         (lockf64) [__NR_fcntl64]: Make code unconditional.
52799         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52801         * sysdeps/unix/sysv/linux/kernel-features.h
52802         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52803         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52804         Make code unconditional.
52805         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52806         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52808         [__NR_vfork]: Make code unconditional.
52809         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52810         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52812         [__NR_vfork]: Make code unconditional.
52813         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52814         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52816 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52818         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52819         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52821         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52822         Define mkstemp64 as an alias.
52823         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52824         Define mkstemps64 as an alias.
52825         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52826         Define mkostemp64 as an alias.
52827         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52828         Define mkostemps64 as an alias.
52829         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52830         Conditionalize body on this.
52831         * misc/mkostemp64.c: Likewise.
52832         * misc/mkostemps64.c: Likewise.
52833         * misc/mkstemps64.c: Likewise.
52834         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52835         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52836         * sysdeps/wordsize-64/mkostemp.c: File removed.
52837         * sysdeps/wordsize-64/mkstemp.c: File removed.
52838         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52839         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52840         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52841         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52843         [BZ #14138]
52844         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52845         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52846         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52847         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52849         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52850         compat_symbol macros from <shlib-compat.h> rather than the underlying
52851         default_symbol_version and symbol_version macros, so that DEFAULT
52852         lines in shlib-versions are respected.
52853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52855 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52857         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52858         Declare with warn_unused_result.
52859         (setgid, setregid, setegid, setresgid): Likewise.
52860         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52861         Likewise.
52862         * WUR-REPORT: Remove set*id functions.
52864 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52866         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52868 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52870         [BZ #10191]
52871         * include/sys/socket.h (__libc_accept, __libc_accept4):
52872         Add attribute_hidden.
52873         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52875         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52876         use of PTR_MANGLE.
52877         * inet/getnetgrent_r.c (setup): Likewise.
52879         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52881 2012-07-31  David S. Miller  <davem@davemloft.net>
52883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52885 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52887         [BZ #13629]
52888         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52889         value between 1.0 and 2.0 and smaller part has absolute value less
52890         than 1.0.
52891         * math/s_clog10.c (__clog10): Likewise.
52892         * math/s_clog10f.c (__clog10f): Likewise.
52893         * math/s_clog10l.c (__clog10l): Likewise.
52894         * math/s_clogf.c (__clogf): Likewise.
52895         * math/s_clogl.c (__clogl): Likewise.
52896         * math/libm-test.inc (clog_test): Add more tests.
52897         (clog10_test): Likewise.
52898         * sysdeps/i386/fpu/libm-test-ulps: Update.
52899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52901 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52903         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52904         Exit with zero in case no suitable GID is found, and write a
52905         message to standard error.
52907 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52909         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52910         rather than to 1.
52911         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52912         (MAXPATHLEN): Removed.
52913         (NOGROUP, NODEV): New macros.
52914         (setbit, clrbit, isset, isclr): New macros.
52915         (howmany, roundup, powerof2): New macros.
52916         (DEV_BSIZE): New macro.
52918         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52919         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52921         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52922         definition on [!__NO_LONG_DOUBLE_MATH].
52924         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52925         PTR_MANGLE and PTR_DEMANGLE.
52927         * socket/accept4.c (accept4): Rename to __libc_accept4.
52928         Define accept4 as a weak alias.
52930         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52931         on [_DIRENT_HAVE_D_TYPE].
52932         * io/ftw.c (ftw_dir): Likewise.
52934         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52936         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52938         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52939         Use the BSD numbers rather than the arbitrary ones we had.
52940         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52941         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52942         (SIGXCPU, SIGXFSZ): New macros.
52943         (_NSIG): Now 32.
52945         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52946         initializer on [_LIBC_REENTRANT].
52948         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52949         definitions inside [_POSIX_MAPPED_FILES].
52951         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52953         * dirent/opendir.c: Include <fcntl.h>.
52955         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52956         (__libc_getspecific): Likewise.
52957         (__libc_key_create): Likewise.
52959         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52960         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52961         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52962         (tmpfile64): Define as alias.
52963         * sysdeps/wordsize-64/tmpfile.c: File removed.
52964         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52965         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52966         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52968         * stdio-common/vfscanf.c: Include <stdbool.h>.
52969         * nss/makedb.c: Likewise.
52970         * stdio-common/_i18n_number.h: Likewise.
52971         * argp/argp-help.c: Likewise.
52972         * posix/wordexp.c: Likewise.
52973         * sysdeps/posix/spawni.c: Likewise.
52974         * nss/nss_files/files-initgroups.c: Likewise.
52975         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52976         * nss/nss_files/files-initgroups.c: Likewise.
52977         * nss/nss_db/db-netgrp.c: Likewise.
52978         * nss/nss_db/db-initgroups.c: Likewise.
52979         * io/fchmodat.c: Include <sys/stat.h>.
52981         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52982         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52984         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52985         [HAVE_MMAP].
52987         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52988         Add multiple inclusion protection.
52990 2012-07-27  David S. Miller  <davem@davemloft.net>
52992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52994 2012-07-27  Gary Benson  <gbenson@redhat.com>
52996         [BZ #14298]
52997         * elf/rtld.c: Include <stap-probe.h>.
52998         (dl_main): Added static probes "init_start" and "init_complete".
52999         * elf/dl-load.c: Include <stap-probe.h>.
53000         (lose): Take new parameter "nsid".
53001         Added static probe "map_failed".
53002         (_dl_map_object_from_fd): Pass namespace id to lose.
53003         Added static probe "map_start".
53004         (open_verify): Pass namespace id to lose.
53005         * elf/dl-open.c: Include <stap-probe.h>.
53006         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53007         and "reloc_complete".
53008         * elf/dl-close.c: Include <stap-probe.h>.
53009         (_dl_close_worker): Added static probes "unmap_start" and
53010         "unmap_complete".
53011         * elf/rtld-debugger-interface.txt: New file documenting the above.
53013 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53015         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53016         rather than a string variable.
53017         * sunrpc/rpc_main.c (h_output): Likewise.
53018         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53020 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53022         * inet/check_native.c: New file.
53024 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53026         [BZ #13629]
53027         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53028         if larger part has absolute value 1.0.
53029         * math/s_clog10.c (__clog10): Likewise.
53030         * math/s_clog10f.c (__clog10f): Likewise.
53031         * math/s_clog10l.c (__clog10l): Likewise.
53032         * math/s_clogf.c (__clogf): Likewise.
53033         * math/s_clogl.c (__clogl): Likewise.
53034         * math/libm-test.inc (clog_test): Add more tests.
53035         (clog10_test): Likewise.
53036         * sysdeps/i386/fpu/libm-test-ulps: Update.
53037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53039         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53040         (pltexit): Likewise.
53041         (La_regs): Likewise.
53042         (La_retval): Likewise.
53043         (int_retval): Likewise.
53044         Update #error for removed macros to refer only to definitions in
53045         tst-audit.h.
53046         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53047         macro.
53048         (pltexit): Likewise.
53049         (La_regs): Likewise.
53050         (La_retval): Likewise.
53051         (int_retval): Likewise.
53052         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53053         macro.
53054         (pltexit): Likewise.
53055         (La_regs): Likewise.
53056         (La_retval): Likewise.
53057         (int_retval): Likewise.
53058         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53059         macro.
53060         (pltexit): Likewise.
53061         (La_regs): Likewise.
53062         (La_retval): Likewise.
53063         (int_retval): Likewise.
53064         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53065         macro.
53066         (pltexit): Likewise.
53067         (La_regs): Likewise.
53068         (La_retval): Likewise.
53069         (int_retval): Likewise.
53070         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53071         macro.
53072         (pltexit): Likewise.
53073         (La_regs): Likewise.
53074         (La_retval): Likewise.
53075         (int_retval): Likewise.
53076         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53077         macro.
53078         (pltexit): Likewise.
53079         (La_regs): Likewise.
53080         (La_retval): Likewise.
53081         (int_retval): Likewise.
53082         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53083         macro definitions in tst-audit.h.
53084         * sysdeps/i386/tst-audit.h: New file.
53085         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53086         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53087         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53088         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53089         * sysdeps/sh/tst-audit.h: Likewise.
53090         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53091         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53092         * sysdeps/x86_64/tst-audit.h: Likewise.
53094 2012-07-26  Andreas Jaeger  <aj@suse.de>
53096         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53097         ptrace.
53099         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53100         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53101         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53102         PTRACE_O_MASK.
53103         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53104         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53105         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53107         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53108         value.
53110         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53111         _sigsys.
53112         (si_call_addr, si_syscall, si_arch): Define new macro.
53113         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53114         _sigsys.
53115         (si_call_addr, si_syscall, si_arch): Define new marcro.
53116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53117         _sigsys.
53118         (si_call_addr, si_syscall, si_arch): Define new macro.
53119         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53120         _sigsys.
53121         (si_call_addr, si_syscall, si_arch): Define new macro.
53123 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53125         [BZ #13717]
53126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53127         Change to 2.4.21 where previously 2.4.1.
53128         * sysdeps/unix/sysv/linux/configure: Regenerated.
53129         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53130         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53131         Linux kernel version.
53132         (__ASSUME_STD_AUXV): Remove.
53133         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53134         kernel version.
53135         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53136         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53137         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53138         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53139         (__ASSUME_NETLINK_SUPPORT): Likewise.
53140         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53141         (__no_netlink_support): Remove conditional definition.
53142         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53143         Remove.
53144         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53145         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53146         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53147         (if_nameindex_ioctl): Remove.
53148         (if_nameindex_netlink): Do not handle __no_netlink_support.
53149         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53150         code.
53151         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53152         Remove conditional code.
53153         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53154         code.
53155         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53156         unconditional.
53157         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53158         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53159         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53160         Remove.
53161         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53162         [!__ASSUME_STD_AUXV]: Remove conditional code.
53163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53164         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53165         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53167         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53168         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53169         code.
53170         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53172         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53173         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53174         conditional code.
53175         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53177         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53178         code.
53179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53180         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53181         conditional code.
53182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53183         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53184         code unconditional.
53185         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53186         conditional code.
53187         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53188         unconditional.
53189         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53190         conditional code.
53191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53192         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53193         unconditional.
53194         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53195         conditional code.
53196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53197         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53198         code unconditional.
53199         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53200         conditional code.
53201         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53202         unconditional.
53203         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53204         conditional code.
53205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53206         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53207         code unconditional.
53208         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53209         conditional code.
53210         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53211         unconditional.
53212         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53213         conditional code.
53215 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53217         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53218         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53219         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53220         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53221         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53222         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53223         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53224         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53225         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53226         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53227         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53228         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53229         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53230         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53232         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53233         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53235         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53237         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53238         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53241 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53243         * Versions.def: Add GLIBC_2.17.
53244         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53245         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53246         Introduce __libc_secure_getenv.
53247         * stdlib/Versions (2.17): Add secure_getenv
53248         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53249         * stdlib/secure-getenv.c: Rename __secure_getenv to
53250         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53251         symbol __secure_getenv for GLIBC_2.0.
53252         * stdlib/tst-secure-getenv.c: New.
53253         * stdlib/Makefile (tests): Add testcase.
53254         * manual/startup.texi (Environment Access): Document
53255         secure_getenv.
53256         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53257         __libc_secure_getenv.
53258         * inet/ruserpass.c (ruserpass): Likewise.
53259         * malloc/mtrace.c (mtrace): Likewise.
53260         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53261         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53262         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53263         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53264         HAVE_SECURE_GETENV.
53265         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53266         __secure_getenv to __libc_secure_getenv.
53267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53269         Likewise.
53270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53271         Likewise.
53272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53280 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53282         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53283         (struct La_i86_retval): Likewise.
53284         (struct La_x86_64_regs): Likewise.
53285         (struct La_x86_64_retval): Likewise.
53286         (struct La_x32_regs): Likewise.
53287         (struct La_x32_retval): Likewise.
53288         (struct La_ppc32_regs): Likewise.
53289         (struct La_ppc32_retval): Likewise.
53290         (struct La_ppc64_regs): Likewise.
53291         (struct La_ppc64_retval): Likewise.
53292         (struct La_sh_regs): Likewise.
53293         (struct La_sh_retval): Likewise.
53294         (struct La_s390_32_regs): Likewise.
53295         (struct La_s390_32_retval): Likewise.
53296         (struct La_s390_64_regs): Likewise.
53297         (struct La_s390_64_retval): Likewise.
53298         (struct La_sparc32_regs): Likewise.
53299         (struct La_sparc32_retval): Likewise.
53300         (struct La_sparc64_regs): Likewise.
53301         (struct La_sparc64_retval): Likewise.
53302         (struct audit_ifaces): Remove architecture-specific pltenter and
53303         pltexit members.
53304         * sysdeps/i386/ldsodefs.h: New file.
53305         * sysdeps/powerpc/ldsodefs.h: Likewise.
53306         * sysdeps/s390/ldsodefs.h: Likewise.
53307         * sysdeps/sh/ldsodefs.h: Likewise.
53308         * sysdeps/sparc/ldsodefs.h: Likewise.
53309         * sysdeps/x86_64/ldsodefs.h: Likewise.
53311 2012-07-25  Marek Polacek  <polacek@redhat.com>
53313         [BZ #6808]
53314         * math/libm-test.inc (yn_test): Add another test.
53315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53316         to ERANGE when the result is +-Inf.
53317         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53318         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53319         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53320         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53322 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53324         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53325         equal to 0.
53326         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53327         clock_t.
53328         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53330 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53332         * configure.in <sysdeps resolving>: Correct printing
53333         Implies_before.
53334         * configure: Regenerate.
53336 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53338         * math/w_ilogb.c: Include <limits.h>.
53339         * math/w_ilogbl.c: Likewise.
53341 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53343         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53344         va_copy.  Document allowing for unavailable va_copy only as
53345         pre-C99 compatibility.
53346         * manual/string.texi (Copying and Concatenation): Use va_copy
53347         instead of __va_copy in concat example.
53349 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53351         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53352         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53353         it if not null.
53355         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53356         with O_NOLINK passed to __file_name_lookup.
53358         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53359         with O_NOLINK passed to __file_name_lookup.
53361         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53362         negative N or less than NGIDS.
53364         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53365         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53366         enough.  Use memcpy instead of strncpy.
53368 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53370         * elf/Makefile (check-data): Remove.
53371         (localplt.data): New vpath directive.
53372         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53373         instead of $(check-data).
53374         * scripts/data/localplt-generic.data: Move to ...
53375         * sysdeps/generic/localplt.data: ... here.
53376         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53377         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53378         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53380         ... here.
53381         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53383         ... here.
53384         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53386         ... here.
53387         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53389         ... here.
53390         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53392         ... here.
53393         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53395         ... here.
53397 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53399         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53400         PPC32 and PPC64 files.
53401         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53402         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53404 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53406         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53407         __makecontext_ret to ...
53408         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53409         ... here and call exit if uc_link is NULL.  New file.
53410         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53411         __makecontext_ret.S.
53412         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53413         __makecontext_ret to ...
53414         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53415         ... here and call exit if uc_link is NULL.  New file.
53416         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53417         __makecontext_ret.S.
53419 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53421         * elf/elf.h (R_390_IRELATIVE): New definition.
53422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53423         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53424         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53425         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53426         (elf_machine_lazy_rel): Likewise.
53427         * sysdeps/s390/dl-irel.h: New file.
53428         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53429         * sysdeps/s390/s390-64/memset.S: New asm code.
53430         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53431         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53432         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53433         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53434         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53435         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53436         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53437         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53438         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53439         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53440         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53441         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53442         * sysdeps/s390/s390-32/memset.S: New asm code.
53443         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53445 2012-07-17  Marek Polacek  <polacek@redhat.com>
53447         [BZ #14349]
53448         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53449         * sysdeps/s390/s390-64/configure.in: Likewise.
53450         * sysdeps/sparc/configure.in: Likewise.
53451         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53452         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53453         * sysdeps/i386/configure.in: Likewise.
53454         * sysdeps/x86_64/configure.in: Likewise.
53455         * sysdeps/sh/configure.in: Likewise.
53456         * sysdeps/s390/s390-32/configure: Regenerated.
53457         * sysdeps/s390/s390-64/configure: Likewise.
53458         * sysdeps/x86_64/configure: Likewise.
53459         * sysdeps/sh/configure: Likewise.
53460         * sysdeps/powerpc/powerpc64/configure: Likewise.
53461         * sysdeps/powerpc/powerpc32/configure: Likewise.
53462         * sysdeps/sparc/configure: Likwise.
53463         * sysdeps/i386/configure: Likewise.
53465         * elf/dl-open.c: Comment fixes.
53467 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53469         * Makefile [CXX] (check-data): Remove.
53470         [CXX] (c++-types.data): New vpath directive.
53471         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53472         vpath.  Do not allow for C++ type data being missing.
53473         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53474         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53475         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53476         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53477         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53478         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53479         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53481         ... here.
53482         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53484         ... here.
53485         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53487         ... here.
53488         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53490         ... here.
53491         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53493         ... here.
53494         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53496         ... here.
53497         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53499         ... here.
53500         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53503         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53504         definitions to architecture-specific files.
53505         (TLS_IE): Likewise.
53506         (TLS_LD): Likewise.
53507         (TLS_GD): Likewise.
53508         * sysdeps/i386/tls-macros.h: New file.
53509         * sysdeps/powerpc/tls-macros.h: Likewise.
53510         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53511         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53512         * sysdeps/sh/tls-macros.h: Likewise.
53513         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53514         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53515         * sysdeps/x86_64/tls-macros.h: Likewise.
53517 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53519         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53520         zero value for regular exit case.
53522         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53523         (__start_context): Preserve zero value for regular exit case.
53525 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53526             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53528         * manual/setjmp.texi (setcontext): Clarify normal process
53529         termination when uc_link is the null pointer.
53530         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53531         exit call.
53533 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53535         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53536         preprocessor.  Test for each exception mask separately.
53538 2012-07-16  Andreas Jaeger  <aj@suse.de>
53540         * po/ru.po: Update from translation team.
53542 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53544         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53545         equal to 0.
53546         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53547         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53548         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53549         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53550         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53552 2012-07-13  Andreas Jaeger  <aj@suse.de>
53554         * po/fr.po: Update from translation team.
53556 2012-07-12  Marek Polacek  <polacek@redhat.com>
53558         [BZ #14173]
53559         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53560         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53561         loop condition.
53563 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53565         [BZ #13717]
53566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53567         Change to 2.4.1 where previously 2.4.0.
53568         * sysdeps/unix/sysv/linux/configure: Regenerated.
53569         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53570         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53571         version.
53572         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53573         (__ASSUME_AT_CLKTCK): Remove.
53574         (__ASSUME_AT_PAGESIZE): Likewise.
53575         (__ASSUME_AT_XID): Likewise.
53576         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53577         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53578         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53579         unconditionally.
53580         (HAVE_AUX_PAGESIZE): Likewise.
53581         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53582         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53583         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53585 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53587         [BZ #14307]
53588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53589         the temporary buffer used to invoke __gethostbyname2_r,
53590         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53591         host_data / struct gaih_addrtuple.
53592         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53593         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53594         header file nss/nsswitch.h.
53595         * nss/nsswitch.h (global scope): Add definition of implementation
53596         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53597         resolv/nss_dns/dns-host.c).
53599 2012-07-11  Andreas Jaeger  <aj@suse.de>
53601         * po/fr.po: Update from translation team.
53603         * po/sv.po: Update from translation team
53604         * po/fr.po: Another update from translation team.
53606 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53608         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53609         for subnormals or multiply small sinh result by itself.
53610         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53613 2012-07-11  David S. Miller  <davem@davemloft.net>
53615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53617 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53619         [BZ #14347]
53620         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53621         (INTERNAL_MARK): Shift it here.
53623 2012-07-10  Marek Polacek  <polacek@redhat.com>
53625         [BZ #14151]
53626         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53627         libc_cv_asm_global_directive with .globl.
53628         * configure: Regenerated.
53629         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53630         with .globl.
53631         * sysdeps/i386/configure: Regenerated.
53632         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53633         with .globl.
53634         * sysdeps/x86_64/configure: Regenerated.
53635         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53636         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53637         * elf/tst-unique2mod2.c: Likewise.
53638         * elf/tst-unique2mod1.c: Likewise.
53639         * elf/tst-unique1mod2.c: Likewise.
53640         * elf/tst-unique1mod1.c: Likewise.
53641         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53642         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53643         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53644         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53645         * sysdeps/mach/sysdep.h: Likewise.
53646         * sysdeps/i386/sysdep.h: Likewise.
53647         * sysdeps/i386/i386-mcount.S: Likewise.
53648         * sysdeps/x86_64/_mcount.S: Likewise.
53649         * sysdeps/x86_64/sysdep.h: Likewise.
53650         * sysdeps/sh/_mcount.S: Likewise.
53651         * sysdeps/sh/sysdep.h: Likewise.
53652         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53653         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53654         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53655         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53656         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53657         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53658         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53659         * locale/localeinfo.h: Likewise.
53660         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53661         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53663 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53665         [BZ #14336]
53666         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53667         system".
53668         * manual/message.texi (The Uniforum approach): Likewise.
53669         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53670         (glibc iconv Implementation): Likewise.
53672 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53674         [BZ #14337]
53675         * math/s_clog.c (__clog): Avoid scaling a value down where that
53676         could result in underflow.
53677         * math/s_clog10.c (__clog10): Likewise.
53678         * math/s_clog10f.c (__clog10f): Likewise.
53679         * math/s_clog10l.c (__clog10l): Likewise.
53680         * math/s_clogf.c (__clogf): Likewise.
53681         * math/s_clogl.c (__clogl): Likewise.
53682         * math/libm-test.inc (clog_test): Add more tests.
53683         (clog10_test): Likewise.
53684         * sysdeps/i386/fpu/libm-test-ulps: Update.
53685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53687 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53689         [BZ #14283]
53690         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53691         by 7 not 8 to examine high bit of fractional part.
53693         [BZ #14042]
53694         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53695         for call to __mcount_internal.
53696         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53697         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53698         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53700 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53702         [BZ #14154]
53703         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53704         approximation for values within 0x1p-13f of an odd multiple of
53705         pi/4.
53706         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53707         exception.  Add more tests.
53708         * sysdeps/i386/fpu/libm-test-ulps: Update.
53710         [BZ #6778]
53711         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53712         inputs and return -1 for them.  Do not check for +Inf in case not
53713         reachable for +Inf.
53714         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53715         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53716         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53717         and return -1 for them.  Do not check for +Inf in case not
53718         reachable for +Inf.
53719         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53720         define.
53721         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53722         and return -1 for them.  Do not check for +Inf in case not
53723         reachable for +Inf.
53724         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53725         spurious underflow.
53726         * sysdeps/i386/fpu/libm-test-ulps: Update.
53727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53729 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53731         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53733 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53735         [BZ #14157]
53736         [BZ #14331]
53737         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53738         could result in spurious underflow.  Scale down values above
53739         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53740         * math/s_csqrtf.c (__csqrtf): Likewise.
53741         * math/s_csqrtl.c (__csqrtl): Likewise.
53742         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53743         spurious underflow.
53744         * sysdeps/i386/fpu/libm-test-ulps: Update.
53745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53747 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53749         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53750         xopen-msg.sed.
53751         * catgets/xopen-msg.awk: New file.
53752         * catgets/xopen-msg.sed: Removed.
53754         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53755         po2text.sed.
53756         * intl/po2test.awk: New file.
53757         * intl/po2test.sed: Removed.
53759 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53761         [BZ #14328]
53762         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53763         or multiply small sinh result by itself.
53764         * math/s_ctanf.c (__ctanf): Likewise.
53765         * math/s_ctanh.c (__ctanh): Likewise.
53766         * math/s_ctanhf.c (__ctanhf): Likewise.
53767         * math/s_ctanhl.c (__ctanhl): Likewise.
53768         * math/s_ctanl.c (__ctanl): Likewise.
53769         * math/libm-test.inc (ctan_test_tonearest): New function.
53770         (ctan_test_towardzero): Likewise.
53771         (ctan_test_downward): Likewise.
53772         (ctan_test_upward): Likewise.
53773         (ctanh_test_tonearest): Likewise.
53774         (ctanh_test_towardzero): Likewise.
53775         (ctanh_test_downward): Likewise.
53776         (ctanh_test_upward): Likewise.
53777         (main): Call these new functions.
53778         * sysdeps/i386/fpu/libm-test-ulps: Update.
53779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53781 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53783         * .gitignore: Delete /ports entry.
53785 2012-07-03  Andreas Jaeger  <aj@suse.de>
53787         * po/bg.po: Update from translation team.
53788         * po/cs.po: Likewise.
53789         * po/de.po: Likewise.
53790         * po/hr.po: Likewise.
53791         * po/nl.pl: Likewise.
53792         * po/pl.po: Likewise.
53793         * po/vi.po: Likewise.
53795 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53797         * Makeconfig [!+link] (+link-before-libc): New variable.
53798         [!+link] (+link-after-libc): Likewise.
53799         [!+link] (+link-tests): Likewise.
53800         [!+link] (+link): Define in terms of $(+link-before-libc) and
53801         $(+link-after-libc).
53802         [!+link-static] (+link-static-before-libc): New variable.
53803         [!+link-static] (+link-static-after-libc): Likewise.
53804         [!+link-static] (+link-static-tests): Likewise.
53805         [!+link-static] (+link-static): Define in terms of
53806         $(+link-static-before-libc) and $(+link-static-after-libc).
53807         [build-shared] (link-libc-before-gnulib): New variable.
53808         [build-shared] (link-libc-tests): Likewise.
53809         [build-shared] (link-libc): Define in terms of
53810         $(link-libc-before-gnulib).
53811         [!build-shared] (link-libc-tests): New variable.
53812         (link-libc-static-tests): New variable.
53813         [!gnulib] (gnulib-arch): New variable.
53814         [!gnulib] (gnulib-tests): Likewise.
53815         [!gnulib] (static-gnulib-arch): Likewise.
53816         [!gnulib] (static-gnulib-tests): Likewise.
53817         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53818         Define with "=" instead of ":=".
53819         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53820         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53821         * Rules (binaries-all-notests): New variable.
53822         (binaries-all-tests): Likewise.
53823         (binaries-static-notests): Likewise.
53824         (binaries-static-tests): Likewise.
53825         (binaries-all): Define using $(binaries-all-notests) and
53826         $(binaries-all-tests).
53827         (binaries-static): Define using $(binaries-static-notests) and
53828         $(binaries-static-tests).
53829         (binaries-shared-tests): New variable.
53830         (binaries-shared-notests): Likewise.
53831         (binaries-shared): Remove variable.
53832         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53833         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53834         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53835         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53836         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53837         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53838         * elf/Makefile (sln-modules): New variable.
53839         (extra-objs): Add $(sln-modules:=.o).
53840         (ldconfig-modules): Add static-stubs.
53841         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53842         * elf/static-stubs.c: New file.
53844         [BZ #14283]
53845         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53846         by 7 not 8 to examine high bit of fractional part.  Use volatile
53847         variables when splitting into final array of floats if
53848         __FLT_EVAL_METHOD__ != 0.
53849         * math/libm-test.inc (cos_test): Add another test.
53850         (sin_test): Likewise.
53851         * sysdeps/i386/fpu/libm-test-ulps: Update.
53853         [BZ #14273]
53854         * math/libm-test.inc (cosh_test): Add more tests.
53856         * version.h (RELEASE): Set to "development".
53857         (VERSION): Set to "2.16.90".
53859 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53861         * NEWS: Update copyright. Remove last-updated date.
53862         Mention math library bug fixes and timezone data changes.
53863         * README: Mention GNU/Hurd, x32, and HPPA support status.
53865 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53867         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53869 2012-06-27  Andreas Jaeger  <aj@suse.de>
53871         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53873 2012-06-25  Andreas Jaeger  <aj@suse.de>
53875         * sysdeps/s390/fpu/libm-test-ulps: Update.
53877 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53878             Thomas Schwinge  <thomas@codesourcery.com>
53880         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53881         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53882         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53883         fanotify_mark.
53885 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53887         * sysdeps/mach/start.c: Remove file.
53888         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53889         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53890         * sysdeps/sh/init-first.c: Likewise.
53892         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53893         registers for frame unwinding purposes, add CFI directives.
53894         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53896         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53897         Likewise.
53899         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53900         __fortify_fail returning.
53901         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53903         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53904         sysdeps/sh/____longjmp_chk.S.
53905         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53906         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53907         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53908         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53910         * sysdeps/sh/abort-instr.h: New file.
53911         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53912         process in case exit returns.
53914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53915         initialize the GOT register before use.
53917         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53918         calculation of ARGC > 4.
53920         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53921         meaningful names to some local labels.
53923 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53924             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53926         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53927         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53928         (__arch_compare_and_exchange_val_16_acq): Likewise.
53929         (__arch_compare_and_exchange_val_32_acq): Likewise.
53930         (atomic_exchange_and_add): Fix gUSA sequence.
53931         (atomic_add): Likewise.
53932         (atomic_add_negative): Likewise.
53933         (atomic_add_zero): Likewise.
53934         (atomic_bit_test_set): Likewise.
53936 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53938         [BZ #13579]
53939         * include/link.h (struct link_map): Add l_free_initfini.
53940         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53941         l_initfini.
53942         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53943         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53944         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53945         set.
53947 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53949         * configure.in: Use AC_LANG_SOURCE.
53950         * configure: Regenerate.
53952 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53954         * configure.in (libc_cv_localstatedir): New substituted variable.
53955         * configure: Regenerated.
53956         * config.make.in (localstatedir): New variable, substituted from
53957         libc_cv_localstatedir.
53958         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53959         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53960         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53961         * sysdeps/gnu/configure: Regenerated.
53963 2012-06-21  Jeff Law  <law@redhat.com>
53965         [BZ #14277]
53966         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53967         free.  Simplify list management for _LIBC case.
53969 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53971         [BZ #14273]
53972         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53973         Clear sign bit of 64-bit integer value before comparing against
53974         overflow value.
53976         * sysdeps/mach/configure: Regenerated.
53978 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53980         [BZ #14278]
53981         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53983 2012-06-21  Jeff Law  <law@redhat.com>
53985         [BZ #13882]
53986         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53987         uint16_t for elements in the "seen" array to avoid char overflows.
53988         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53989         * elf/dl-open.c (dl_open_worker): Likewise.
53991 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53993         * scripts/list-sources.sh: Scan PORTS for translations.
53994         * po/libc.pot: Regenerated.
53996 2012-06-21  Andreas Jaeger  <aj@suse.de>
53998         [BZ #12194]
53999         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54000         warning.
54001         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54002         * bits/byteswap-16.h (__bswap_16): Likewise.
54003         * bits/byteswap.h (__bswap_constant_16): Likewise.
54005 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54007         [BZ #14117]
54008         * sysdeps/i386/fpu_control.h: Removed.
54009         * sysdeps/x86_64/fpu_control.h: Moved to ...
54010         * sysdeps/x86/fpu_control.h: Here.
54012         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54013         (_FPU_SETCW): Likewise.
54015 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54017         [BZ #14117]
54018         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54019         * sysdeps/x86/fpu/bits/mathinline.h: This.
54020         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54022         [BZ #14050]
54023         [BZ #14117]
54024         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54025         functions if __x86_64__ is defined.
54027 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54029         * string/endian.h: Add !__ASSEMBLER__ condition for including
54030         conversion interfaces.
54032 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54034         [BZ #14241]
54035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54036         of ABS(x) in calculating zero to negative powers other than odd
54037         integers.
54038         * math/libm-test.inc (pow_test): Add more tests.
54040 2012-06-15  Andreas Jaeger  <aj@suse.de>
54042         * manual/contrib.texi (Contributors): Update entry of Liubov
54043         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54044         Machado Filho.
54046 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54048         * string/string.h: Add __wur to GNU version of strerror_r.
54050 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54052         [BZ #14229]
54053         * string/Makefile (tests): Add tst-strtok_r.
54054         * string/tst-strtok_r.c: New file.
54055         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54056         RAX_LP/RDX_LP on SAVE_PTR.
54058 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54060         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54062 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54064         * libm_test.inc (csqrt_test): Allow more spurious underflow
54065         exceptions.
54066         (j0_test): Likewise.
54067         (j1_test): Likewise.
54068         (y0_test): Likewise.
54069         (y1_test): Likewise.
54071 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54073         * po/Makefile (libc.pot): Use UTF-8 charset.
54075 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54077         [BZ #14210]
54078         Suppress sign-conversion warning from FD_SET.
54079         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54080         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54081         not unsigned long int.
54082         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54084 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54086         [BZ #14050]
54087         [BZ #14117]
54088         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54089         __extern_always_inline instead of __extern_inline.
54090         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54091         (__signbit): Likewise.
54092         (__signbitl): Support C++ namespace.
54093         (lrintf): New inline function.
54094         (lrint): Likewise.
54095         (llrintf): Likewise.
54096         (llrint): Likewise.
54097         (fmaxf): Likewise.
54098         (fmax): Likewise.
54099         (fminf): Likewise.
54100         (fmin): Likewise.
54101         (rint): Likewise.
54102         (rintf): Likewise.
54103         (ceil): Likewise.
54104         (ceilf): Likewise.
54105         (floor): Likewise.
54106         (floorf): Likewise.
54107         (nearbyint): Likewise.
54108         (nearbyintf): Likewise.
54110 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54112         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54113         non-default versions.
54115 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54117         [BZ #14218]
54118         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54120 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54122         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54123         (FE_UPWARD, FE_DOWNWARD): Don't define.
54124         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54125         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54127         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54128         reading it.
54129         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54130         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54132 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54134         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54136         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54137         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54139 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54141         [BZ #14117]
54142         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54143         * sysdeps/i386/fpu/Implies: New file.
54144         * sysdeps/x86_64/fpu/Implies: Likewise.
54145         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54146         * sysdeps/x86/fpu/bits/fenv.h: This.
54148         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54149         __SSE_MATH__.
54151 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54153         [BZ #14134]
54154         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54155         character 0xffff that matches the last element of the
54156         conversion table.
54158 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54160         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54161         fmodl commit.
54163 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54166         values higher than 25.6283.
54168 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54171         subnormal exponent extraction and add some __builtin_expect.
54172         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54173         Fix for subnormal mantissa calculation.
54175 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54177         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54178         cpu2 is -1 and errno is not ENOSYS.
54180 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54182         [BZ #14117]
54183         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54184         * sysdeps/x86/bits/string.h: This.
54185         * sysdeps/x86_64/bits/string.h: Removed.
54187         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54188         if not compiling for x86-64, but compiling for >= i486.
54190         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54191         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54193         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54194         New macro from Linux kernel 3.4.0.
54195         (FP_XSTATE_MAGIC2): Likewise.
54196         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54197         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54198         (struct _fpx_sw_bytes): New struct.
54199         (struct _xsave_hdr): Likewise.
54200         (struct _ymmh_state): Likewise.
54201         (struct _xstate): Likewise.
54203         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54204         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54206         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54207         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54208         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54210         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54211         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54212         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54213         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54214         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54215         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54217 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54219         [BZ #13743]
54220         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54221         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54222         (sysdep_headers): Include sys/platform/ppc.h.
54223         * sysdeps/powerpc/test-gettimebase.c: Test for
54224         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54225         * manual/Makefile (appendices): Include platform.texi.
54226         * manual/contrib.texi (Contributors): Update @node pointers.
54227         * manual/maint.texi (Maintenance): Likewise.
54228         (Platform): New node.
54229         * manual/platform.texi: New file.  Document the new features.
54231 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54232             Jakub Jelinek  <jakub@redhat.com>
54234         [BZ #14188]
54235         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54236         where __builtin_expect is unavailable.
54238 2012-06-03  David S. Miller  <davem@davemloft.net>
54240         * stdlib/longlong.h: Updated from GCC.
54242 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54244         [BZ #14042]
54245         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54246         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54247         __mcount_internal.
54248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54249         (GLIBC_2.16): Likewise.
54251 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54253         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54255 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54258         (default-abi): New variable.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54260         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54261         variable.
54262         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54263         Likewise.
54264         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54265         Likewise.
54266         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54267         Likewise.
54269         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54270         definition.  Document in comment.
54272 2012-06-01  David S. Miller  <davem@davemloft.net>
54274         * stdlib/longlong.h: Updated from GCC.
54276 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54278         [BZ #14117]
54279         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54280         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54281         sys/debugreg.h sys/io.h here.
54282         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54283         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54284         sys/io.h.
54285         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54286         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54287         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54288         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54289         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54290         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54292         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54293         Define only if __x86_64__ is defined.
54295 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54297         [BZ #14048]
54298         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54299         Use int64_t for variable i.
54300         * math/libm-test.inc (fmod_test): Add more tests.
54302         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54303         z computation is not scheduled after fetestexcept.
54304         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54305         Use math_force_eval instead of asm to ensure calculation scheduled
54306         before exception test.
54307         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54308         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54310 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54313         computation is not scheduled after fetestexcept.
54315 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54317         [BZ #14117]
54318         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54319         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54321 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54323         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54324         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54326 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54328         [BZ #14117]
54329         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54330         <bits/wordsize.h>.
54331         (__WCHAR_MIN): Support __WORDSIZE == 64.
54332         (__WCHAR_MAX): Likewise.
54334         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54335         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54337         [BZ #14183]
54338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54339         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54341         [BZ #14117]
54342         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54343         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54345         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54346         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54348         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54349         Defined to 1 if __x86_64__ isn't defined.
54350         (_STAT_VER_LINUX_OLD): New.
54351         (st_atime): Remove duplicate.
54352         (st_mtime): Likewise.
54353         (st_ctime): Likewise.
54355 2012-05-31  David S. Miller  <davem@davemloft.net>
54357         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54358         entries.
54360 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54362         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54363         gen-libm-test.pl.
54365         [BZ #14132]
54366         * elf/dl-reloc.c: Include <_itoa.h>.
54367         (_dl_reloc_bad_type): Remove use of INTUSE.
54368         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54369         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54370         * stdio-common/psiginfo.c (psiginfo): Likewise.
54371         * stdio-common/psignal.c (psignal): Likewise.
54372         * string/strsignal.c (strsignal): Likewise.
54373         * include/signal.h (_sys_siglist): Declare hidden proto.
54374         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54375         INTVARDEF with libc_hidden_data_def.
54376         * stdio-common/itoa-udigits.c: Likewise.
54377         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54378         (_itoa_lower_digits_internal): Remove declaration.
54379         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54380         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54381         (_sys_sigabbrev_internal): Remove aliases.
54382         (_sys_siglist): Define hidden alias.
54384 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54387         bits/sysctl.h.
54389 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54391         [BZ #14117]
54392         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54393         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54395         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54396         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54397         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54398         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54400         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54402         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54403         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54404         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54406         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54407         with __addr.
54408         (insw): Likewise.
54409         (insl): Likewise.
54410         (outsb): Likewise.
54411         (outsw): Likewise.
54412         (outsl): Likewise.
54414         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54415         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54416         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54418         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54419         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54421         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54422         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54423         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54425         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54426         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54428         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54429         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54433         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54435         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54436         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54437         to ...
54438         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54440         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54441         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54442         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54444         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54445         for x86-64.
54446         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54448 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54450         * math/math.h (M_El): Use two more decimal places.
54451         (M_LOG2El): Likewise.
54452         (M_LOG10El): Likewise.
54453         (M_LN2l): Likewise.
54454         (M_LN10l): Likewise.
54455         (M_PIl): Likewise.
54456         (M_PI_2l): Likewise.
54457         (M_PI_4l): Likewise.
54458         (M_1_PIl): Likewise.
54459         (M_2_PIl): Likewise.
54460         (M_2_SQRTPIl): Likewise.
54461         (M_SQRT2l): Likewise.
54462         (M_SQRT1_2l): Likewise.
54464 2012-05-31  David S. Miller  <davem@davemloft.net>
54466         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54467         values between float registers.
54468         * sysdeps/sparc/sparc64/memset.S: Likewise.
54469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54471 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54473         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54474         -D_FORTIFY_SOURCE=1.
54475         (CPPFLAGS-tst-longjmp_chk.c): Define.
54476         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54477         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54478         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54479         CFLAGS-tst-wchar-h.c.
54481 2012-05-31  Marek Polacek  <polacek@redhat.com>
54483         [BZ #14132]
54484         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54485         __endmntent_internal): Remove declaration.
54486         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54487         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54488         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54490 2012-05-30  David S. Miller  <davem@davemloft.net>
54492         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54493         (___Q_simulate_exceptions): Use real FP ops rather than writing
54494         into the %fsr.
54495         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54496         Likewise.
54498 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54500         [BZ #14117]
54501         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54502         * sysdeps/x86/bits/xtitypes.h: This.
54504         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54505         * sysdeps/x86/bits/wordsize.h: This.
54507         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54508         * sysdeps/x86/bits/huge_vall.h: This.
54510         * sysdeps/i386/bits/select.h: Removed.
54511         * sysdeps/x86_64/bits/select.h: Renamed to ...
54512         * sysdeps/x86/bits/select.h: This.
54514         * sysdeps/i386/bits/setjmp.h: Removed.
54515         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54516         * sysdeps/x86/bits/setjmp.h: This.
54518         * sysdeps/i386/bits/mathdef.h: Removed.
54519         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54520         * sysdeps/x86/bits/mathdef.h: This.
54522 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54524         [BZ #14132]
54525         * include/sys/socket.h (__connect_internal)
54526         (__libc_sa_len_internal): Remove declaration.
54527         (__connect, __libc_sa_len): Declare hidden_proto.
54528         (SA_LEN): Remove use of INTUSE.
54529         * socket/connect.c: Add libc_hidden_def.
54530         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54531         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54532         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54533         alias.
54534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54535         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54536         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54537         of adding _internal alias.
54539 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54541         [BZ #14117]
54542         * sysdeps/i386/bits/link.h: Removed.
54543         * sysdeps/i386/bits/linkmap.h: Likewise.
54544         * sysdeps/x86_64/bits/link.h: Renamed to ...
54545         * sysdeps/x86/bits/link.h: This.
54546         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54547         * sysdeps/x86/bits/linkmap.h: This.
54549         * sysdeps/i386/bits/endian.h: Removed.
54550         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54551         * sysdeps/x86/bits/endian.h: This.
54553         * sysdeps/i386/bits/byteswap.h: Removed.
54554         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54555         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54556         * sysdeps/x86/bits/byteswap.h: This.
54557         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54558         * sysdeps/x86/bits/byteswap-16.h: This.
54559         * sysdeps/i386/Implies: Add x86.
54560         * sysdeps/x86_64/Implies: Likewise.
54562 2012-05-30  David S. Miller  <davem@davemloft.net>
54564         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54565         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54566         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54567         (FP_TRAPPING_EXCEPTIONS): Define.
54568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54569         (FP_TRAPPING_EXCEPTIONS): Define.
54570         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54571         subnormals only when inexact has been signalled or underflow
54572         exceptions are enabled.
54573         (_FP_PACK_CANONICAL): Likewise.
54575 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54577         [BZ #14183]
54578         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54579         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54581 2012-05-30  Richard Henderson  <rth@twiddle.net>
54583         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54584         with #ifndef NOT_IN_libc.
54586         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54587         marked to avoid plt entry.
54589 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54591         [BZ #14112]
54592         * Makeconfig (default-abi): New macro.
54593         (abi-includes): Likewise.
54594         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54595         $(abi-$(default-abi)-lib-soname) for soname if defined.
54596         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54597         abi-variants.
54598         * Makefile (installed-stubs): Likewise.
54599         * include/stubs-biarch.h: Removed.
54600         * scripts/lib-names.awk: Only handle one library at a time.
54601         * scripts/soversions.awk: Remove WORDSIZE support.
54602         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54603         entries.
54604         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54605         Removed.
54606         (syscall-list-default-condition): Likewise.
54607         (syscall-list-default-condition): Likewise.
54608         (syscall-list-includes): Likewise.
54609         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54610         syscall-list-* with abi-*.  Handle undefined abi-variants.
54611         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54612         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54613         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54614         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54615         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54616         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54617         Removed.
54618         (syscall-list-32-options): Likewise.
54619         (syscall-list-32-condition): Likewise.
54620         (syscall-list-64-options): Likewise.
54621         (syscall-list-64-condition): Likewise.
54622         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54623         macro.
54624         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54625         Renamed to ...
54626         (abi-*): This.
54627         (abi-64-ld-soname): New macro.
54628         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54629         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54630         Renamed to ...
54631         (abi-*): This.
54632         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54633         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54635 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54637         * sysdeps/unix/sysv/linux/kernel-features.h
54638         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54639         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54640         include <kernel-features.h>.
54641         [!__NR_ftruncate64]: Remove conditional code.
54642         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54643         [__NR_ftruncate64]: Make code unconditional.
54644         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54645         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54646         include <kernel-features.h>.
54647         [!__NR_ftruncate64]: Remove conditional code.
54648         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54649         [__NR_ftruncate64]: Make code unconditional.
54650         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54652         include <kernel-features.h>.
54653         [!__NR_ftruncate64]: Remove conditional code.
54654         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54655         [__NR_ftruncate64]: Make code unconditional.
54656         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54658         include <kernel-features.h>.
54659         [!__NR_ftruncate64]: Remove conditional code.
54660         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54661         [__NR_ftruncate64]: Make code unconditional.
54662         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54664         * configure.in (libc_cv_fpie): Weaken to a compile test using
54665         LIBC_TRY_CC_OPTION.
54666         * configure: Regenerated.
54668 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54674         Refreshed.
54675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54681         Refreshed.
54683 2012-05-27  David S. Miller  <davem@davemloft.net>
54685         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54686         (___Q_zero): New.
54687         (__Q_simulate_exceptions): Return void.  Change to simulate
54688         exceptions by writing into the %fsr.
54689         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54690         (__Qp_handle_exceptions): Likewise.
54691         (numbers): Delete.
54692         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54693         __Qp_handle_exceptions.
54694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54695         __Qp_handle_exceptions.
54696         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54697         as unused and give dummy FP_RND_NEAREST initializer.
54698         (FP_INHIBIT_RESULTS): Define.
54699         (___Q_simulate_exceptions): Update declaration.
54700         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54701         formatting.
54702         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54703         as unused and give dummy FP_RND_NEAREST initializer.
54704         (__Qp_handle_exceptions): Update declaration.
54705         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54706         formatting.
54708 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54710         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54711         the temporary FPU control word.
54712         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54713         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54715         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54716         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54718         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54719         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54720         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54721         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54722         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54724 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54726         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54727         fields.
54729 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54731         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54732         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54733         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54734         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54735         Likewise.
54736         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54737         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54738         Likewise.
54740 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54742         * po/h.po: Update from translation team.
54744 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54746         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54748         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54749         handling of denormals.
54750         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54751         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54752         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54753         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54756         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54757         Likewise.
54759 2012-05-26  Marek Polacek  <polacek@redhat.com>
54761         [BZ #14152]
54762         * math/libm-test.inc (fma_test): Don't always expect underflow
54763         exception.
54765 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54767         [BZ #12416]
54768         * elf/tst-execstack.c: Include stackinfo.h.
54769         (do_test): Adjust test case to ensure that pthread_getattr_np
54770         behaviour remains the same after marking stack executable.
54772 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54774         * sysdeps/unix/sysv/linux/kernel-features.h
54775         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54776         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54777         kernel-features.h.
54778         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54779         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54780         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54781         kernel-features.h.
54782         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54783         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54785 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54787         * configure.in: Define the default includes to being none.
54788         * configure: Regenerated.
54790 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54792         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54793         * sysdeps/x86_64/setjmp.S: Likewise.
54794         * sysdeps/i386/bsd-setjmp.S: Likewise.
54795         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54796         * sysdeps/i386/setjmp.S: Likewise.
54797         * sysdeps/i386/__longjmp.S: Likewise.
54798         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54799         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54801         * include/stap-probe.h: New file.
54802         * configure.in: Handle --enable-systemtap.
54803         * configure: Regenerated.
54804         * config.h.in (USE_STAP_PROBE): New #undef.
54805         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54806         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54807         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54809 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54811         [BZ #13717]
54812         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54813         to 2.4.0 where earlier.
54814         * sysdeps/unix/sysv/linux/configure: Regenerated.
54815         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54816         <kernel-features.h>.
54817         [__ASSUME_32BITUIDS]: Make code unconditional.
54818         [!__ASSUME_32BITUIDS]: Remove conditional code.
54819         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54820         <kernel-features.h>.
54821         [__ASSUME_32BITUIDS]: Make code unconditional.
54822         [!__ASSUME_32BITUIDS]: Remove conditional code.
54823         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54824         [__ASSUME_32BITUIDS]: Make code unconditional.
54825         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54826         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54827         <kernel-features.h>.
54828         [__ASSUME_32BITUIDS]: Make code unconditional.
54829         [!__ASSUME_32BITUIDS]: Remove conditional code.
54830         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54831         <kernel-features.h>.
54832         [__ASSUME_32BITUIDS]: Make code unconditional.
54833         [!__ASSUME_32BITUIDS]: Remove conditional code.
54834         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54835         <kernel-features.h>.
54836         [__ASSUME_32BITUIDS]: Make code unconditional.
54837         [!__ASSUME_32BITUIDS]: Remove conditional code.
54838         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54839         <kernel-features.h>.
54840         [__ASSUME_32BITUIDS]: Make code unconditional.
54841         [!__ASSUME_32BITUIDS]: Remove conditional code.
54842         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54843         <kernel-features.h>.
54844         [__ASSUME_32BITUIDS]: Make code unconditional.
54845         [!__ASSUME_32BITUIDS]: Remove conditional code.
54846         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54847         <kernel-features.h>.
54848         [__ASSUME_32BITUIDS]: Make code unconditional.
54849         [!__ASSUME_32BITUIDS]: Remove conditional code.
54850         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54851         <kernel-features.h>.
54852         [__ASSUME_32BITUIDS]: Make code unconditional.
54853         [!__ASSUME_32BITUIDS]: Remove conditional code.
54854         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54855         <kernel-features.h>.
54856         [__ASSUME_32BITUIDS]: Make code unconditional.
54857         [!__ASSUME_32BITUIDS]: Remove conditional code.
54858         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54859         <kernel-features.h>.
54860         [__ASSUME_32BITUIDS]: Make code unconditional.
54861         [!__ASSUME_32BITUIDS]: Remove conditional code.
54862         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54863         <kernel-features.h>.
54864         [__ASSUME_32BITUIDS]: Make code unconditional.
54865         [!__ASSUME_32BITUIDS]: Remove conditional code.
54866         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54867         <kernel-features.h>.
54868         [__NR_setresgid] (__setresgid): Do not declare.
54869         [__ASSUME_32BITUIDS]: Make code unconditional.
54870         [!__ASSUME_32BITUIDS]: Remove conditional code.
54871         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54872         <kernel-features.h>.
54873         [__NR_setresuid] (__setresuid): Do not declare.
54874         [__ASSUME_32BITUIDS]: Make code unconditional.
54875         [!__ASSUME_32BITUIDS]: Remove conditional code.
54876         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54877         <kernel-features.h>.
54878         [__ASSUME_32BITUIDS]: Make code unconditional.
54879         [!__ASSUME_32BITUIDS]: Remove conditional code.
54880         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54881         <kernel-features.h>.
54882         [__ASSUME_32BITUIDS]: Make code unconditional.
54883         [!__ASSUME_32BITUIDS]: Remove conditional code.
54884         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54885         <kernel-features.h>.
54886         [__ASSUME_32BITUIDS]: Make code unconditional.
54887         [!__ASSUME_32BITUIDS]: Remove conditional code.
54888         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54889         <kernel-features.h>.
54890         [__ASSUME_32BITUIDS]: Make code unconditional.
54891         [!__ASSUME_32BITUIDS]: Remove conditional code.
54892         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54893         <kernel-features.h>.
54894         [__ASSUME_32BITUIDS]: Make code unconditional.
54895         [!__ASSUME_32BITUIDS]: Remove conditional code.
54896         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54897         <kernel-features.h>.
54898         [__ASSUME_32BITUIDS]: Make code unconditional.
54899         [!__ASSUME_32BITUIDS]: Remove conditional code.
54900         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54901         <kernel-features.h>.
54902         [__ASSUME_32BITUIDS]: Make code unconditional.
54903         [!__ASSUME_32BITUIDS]: Remove conditional code.
54904         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54905         <kernel-features.h>.
54906         [__ASSUME_32BITUIDS]: Make code unconditional.
54907         [!__ASSUME_32BITUIDS]: Remove conditional code.
54908         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54909         <kernel-features.h>.
54910         [__ASSUME_32BITUIDS]: Make code unconditional.
54911         [!__ASSUME_32BITUIDS]: Remove conditional code.
54912         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54913         <kernel-features.h>.
54914         [__ASSUME_32BITUIDS]: Make code unconditional.
54915         [!__ASSUME_32BITUIDS]: Remove conditional code.
54916         * sysdeps/unix/sysv/linux/kernel-features.h
54917         (__ASSUME_SETRESUID_SYSCALL): Remove.
54918         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54919         (__ASSUME_32BITUIDS): Likewise.
54920         (__ASSUME_LDT_WORKS): Likewise.
54921         (__ASSUME_O_DIRECTORY): Likewise.
54922         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54923         architecture but not kernel version.
54924         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54925         (__ASSUME_MMAP2_SYSCALL): Likewise.
54926         (__ASSUME_STAT64_SYSCALL): Likewise.
54927         (__ASSUME_IPC64): Likewise.
54928         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54929         <kernel-features.h>.
54930         [__ASSUME_32BITUIDS]: Make code unconditional.
54931         [!__ASSUME_32BITUIDS]: Remove conditional code.
54932         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54933         <kernel-features.h>.
54934         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54935         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54936         132096]: Remove conditional code.
54937         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54938         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54939         <kernel-features.h>.
54940         [__ASSUME_32BITUIDS]: Make code unconditional.
54941         [!__ASSUME_32BITUIDS]: Remove conditional code.
54942         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54943         <kernel-features.h>.
54944         [__ASSUME_32BITUIDS]: Make code unconditional.
54945         [!__ASSUME_32BITUIDS]: Remove conditional code.
54946         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54947         <kernel-features.h>.
54948         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54949         unconditional.
54950         (__setresgid): Do not declare.
54951         [__ASSUME_32BITUIDS]: Make code unconditional.
54952         [!__ASSUME_32BITUIDS]: Remove conditional code.
54953         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54954         <kernel-features.h>.
54955         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54956         unconditional.
54957         (__setresuid): Do not declare.
54958         [__ASSUME_32BITUIDS]: Make code unconditional.
54959         [!__ASSUME_32BITUIDS]: Remove conditional code.
54960         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54961         <kernel-features.h>.
54962         [__ASSUME_32BITUIDS]: Make code unconditional.
54963         [!__ASSUME_32BITUIDS]: Remove conditional code.
54964         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54965         <kernel-features.h>.
54966         [__ASSUME_32BITUIDS]: Make code unconditional.
54967         [!__ASSUME_32BITUIDS]: Remove conditional code.
54969 2012-05-25  Richard Henderson  <rth@twiddle.net>
54971         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54972         dl_hwcap to ifunc resolver.
54973         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54974         elf_ifunc_invoke.
54975         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54976         dl_hwcap to ifunc resolver.
54977         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54979 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54981         [BZ #14153]
54982         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54983         for |x| <= 2**-26, not 2**-57.
54984         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54985         exception.
54987 2012-05-24  Jeff Law  <law@redhat.com>
54989         * stdio-common/Makefile (tests): Add bug25.
54990         * stdio-common/bug25.c: New test.
54992 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54994         [BZ #13576]
54995         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54996         multiple of MALLOC_ALIGNMENT in size.
54997         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54999 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55001         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55002         Require >= 256.
55003         (FILENAME_MAX): Use macro-int-constant.
55004         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55005         (_IOFBF): Use macro-int-constant.
55006         (_IOLBF): Likewise.
55007         (_IONBF): Likewise.
55008         (SEEK_CUR): Likewise.
55009         (SEEK_END): Likewise.
55010         (SEEK_SET): Likewise.
55011         (TMP_MAX): Likewise.
55012         (EOF): Use macro-int-constant.  Require < 0.
55013         (NULL): Use macro-constant.  Require == 0.
55014         (stdin): Require type to be FILE *.
55015         (stdout): Likewise.
55016         (stderr): Likewise.
55017         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55018         macro-int-constant.
55019         (EXIT_SUCCESS): Likewise.
55020         (NULL): Use macro-constant.  Require == 0.
55021         (RAND_MAX): Use macro-int-constant.
55022         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55023         [C99-based standards] (strtof): Require function.
55024         [C99-based standards] (strtold): Likewise.
55025         [C99-based standards] (strtoll): Likewise.
55026         [C99-based standards] (strtoull): Likewise.
55027         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55028         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55029         [ISO || ISO99 || ISO11] (math.h): Likewise.
55030         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55031         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55032         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55034 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55036         [BZ #14132]
55037         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55038         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55039         * intl/dgettext.c (DCGETTEXT): Likewise.
55040         * intl/gettext.c (DCGETTEXT): Likewise.
55041         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55042         * posix/regex_internal.h (gettext): Likewise.
55043         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55044         Remove declaration.
55045         * include/argz.h (__argz_count_internal)
55046         (__argz_stringify_internal): Remove declaration.
55047         (__argz_count, __argz_stringify): Declare hidden proto.
55048         * intl/dcgettext.c: Remove use of INTDEF.
55049         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55050         * string/argz-stringify.c: Likewise.
55051         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55052         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55053         Declare hidden proto.
55054         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55055         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55056         Declare hidden proto.
55057         * include/stdio.h (__asprintf_internal): Don't declare.
55058         (__asprintf): Don't define as macro.  Declare hidden proto.
55059         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55060         (__fsetlocking): Declare hidden proto.
55061         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55062         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55063         hidden proto.
55064         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55065         (_IO_setlinebuf): Remove use of INTUSE.
55066         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55067         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55068         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55069         Remove declaration.
55070         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55071         (_IO_do_flush): Remove use of INTUSE.
55072         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55073         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55074         (_IO_adjust_column, _IO_least_wmarker)
55075         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55076         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55077         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55078         (_IO_default_doallocate, _IO_wdefault_doallocate)
55079         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55080         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55081         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55082         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55083         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55084         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55085         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55086         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55087         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55088         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55089         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55090         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55091         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55092         proto.
55093         (_IO_flush_all_internal, _IO_adjust_column_internal)
55094         (_IO_default_uflow_internal, _IO_default_finish_internal)
55095         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55096         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55097         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55098         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55099         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55100         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55101         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55102         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55103         (_IO_file_close_internal, _IO_file_close_it_internal)
55104         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55105         (_IO_file_init_internal, _IO_file_attach_internal)
55106         (_IO_file_fopen_internal, _IO_file_read_internal)
55107         (_IO_file_sync_internal, _IO_file_seek_internal)
55108         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55109         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55110         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55111         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55112         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55113         (_IO_list_all_internal, _IO_link_in_internal)
55114         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55115         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55116         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55117         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55118         (_IO_do_write_internal, _IO_padn_internal)
55119         (_IO_getline_info_internal, _IO_getline_internal)
55120         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55121         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55122         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55123         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55124         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55125         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55126         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55127         with libc_hidden_ver, remove use of INTUSE.
55128         * libio/genops.c: Likewise.
55129         * libio/freopen.c: Likewise.
55130         * libio/freopen64.c: Likewise.
55131         * libio/iofclose.c: Likewise.
55132         * libio/iofdopen.c: Likewise.
55133         * libio/iofflush.c: Likewise.
55134         * libio/iofflush_u.c: Likewise.
55135         * libio/iofgets.c: Likewise.
55136         * libio/iofgets_u.c: Likewise.
55137         * libio/iofopen.c: Likewise.
55138         * libio/iofopncook.c: Likewise.
55139         * libio/iofread.c: Likewise.
55140         * libio/iofread_u.c: Likewise.
55141         * libio/ioftell.c: Likewise.
55142         * libio/iofwrite.c: Likewise.
55143         * libio/iogetline.c: Likewise.
55144         * libio/iogets.c: Likewise.
55145         * libio/iogetwline.c: Likewise.
55146         * libio/iopadn.c: Likewise.
55147         * libio/iopopen.c: Likewise.
55148         * libio/ioseekoff.c: Likewise.
55149         * libio/ioseekpos.c: Likewise.
55150         * libio/iosetbuffer.c: Likewise.
55151         * libio/iosetvbuf.c: Likewise.
55152         * libio/ioungetc.c: Likewise.
55153         * libio/ioungetwc.c: Likewise.
55154         * libio/iovdprintf.c: Likewise.
55155         * libio/iovsprintf.c: Likewise.
55156         * libio/iovsscanf.c: Likewise.
55157         * libio/memstream.c: Likewise.
55158         * libio/obprintf.c: Likewise.
55159         * libio/oldfileops.c: Likewise.
55160         * libio/oldiofclose.c: Likewise.
55161         * libio/oldiofdopen.c: Likewise.
55162         * libio/oldiofopen.c: Likewise.
55163         * libio/oldiopopen.c: Likewise.
55164         * libio/oldstdfiles.c: Likewise.
55165         * libio/putc.c: Likewise.
55166         * libio/setbuf.c: Likewise.
55167         * libio/setlinebuf.c: Likewise.
55168         * libio/stdfiles.c: Likewise.
55169         * libio/strops.c: Likewise.
55170         * libio/vasprintf.c: Likewise.
55171         * libio/vscanf.c: Likewise.
55172         * libio/vsnprintf.c: Likewise.
55173         * libio/vswprintf.c: Likewise.
55174         * libio/wfiledoalloc.c: Likewise.
55175         * libio/wfileops.c: Likewise.
55176         * libio/wgenops.c: Likewise.
55177         * libio/wmemstream.c: Likewise.
55178         * libio/wstrops.c: Likewise.
55179         * libio/__fpurge.c: Likewise.
55180         * libio/__fsetlocking.c: Likewise.
55181         * assert/assert.c: Likewise.
55182         * debug/fgets_chk.c: Likewise.
55183         * debug/fgets_u_chk.c: Likewise.
55184         * debug/fread_chk.c: Likewise.
55185         * debug/fread_u_chk.c: Likewise.
55186         * debug/gets_chk.c: Likewise.
55187         * debug/obprintf_chk.c: Likewise.
55188         * debug/vasprintf_chk.c: Likewise.
55189         * debug/vdprintf_chk.c: Likewise.
55190         * debug/vsnprintf_chk.c: Likewise.
55191         * debug/vsprintf_chk.c: Likewise.
55192         * malloc/mtrace.c: Likewise.
55193         * misc/error.c: Likewise.
55194         * misc/syslog.c: Likewise.
55195         * stdio-common/asprintf.c: Likewise.
55196         * stdio-common/fxprintf.c: Likewise.
55197         * stdio-common/getw.c: Likewise.
55198         * stdio-common/isoc99_fscanf.c: Likewise.
55199         * stdio-common/isoc99_scanf.c: Likewise.
55200         * stdio-common/isoc99_vfscanf.c: Likewise.
55201         * stdio-common/isoc99_vscanf.c: Likewise.
55202         * stdio-common/isoc99_vsscanf.c: Likewise.
55203         * stdio-common/printf-prs.c: Likewise.
55204         * stdio-common/printf_fp.c: Likewise.
55205         * stdio-common/printf_fphex.c: Likewise.
55206         * stdio-common/printf_size.c: Likewise.
55207         * stdio-common/putw.c: Likewise.
55208         * stdio-common/scanf.c: Likewise.
55209         * stdio-common/sprintf.c: Likewise.
55210         * stdio-common/tmpfile.c: Likewise.
55211         * stdio-common/vfprintf.c: Likewise.
55212         * stdio-common/vfscanf.c: Likewise.
55213         * stdlib/strfmon_l.c: Likewise.
55214         * sunrpc/openchild.c: Likewise.
55215         * sunrpc/xdr_stdio.c: Likewise.
55216         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55217         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55219 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55221         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55223         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55224         in the third column, to generate for the shared library an IFUNC
55225         that uses _dl_vdso_vsym.
55226         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55227         * Makeconfig (object-suffixes-noshared): New variable.
55229         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55230         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55231         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55232         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55234         [BZ #14132]
55235         * include/sys/time.h (__gettimeofday): Remove macro.
55236         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55237         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55238         Remove INTDEF.
55239         (__gettimeofday): Add libc_hidden_def.
55240         (gettimeofday): Add libc_hidden_weak.
55241         * sysdeps/mach/gettimeofday.c: Likewise.
55242         * sysdeps/posix/gettimeofday.c: Likewise.
55243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55244         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55245         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55246         (__gettimeofday_internal): Remove strong_alias.
55247         (__gettimeofday): Add libc_hidden_def.
55248         (gettimeofday): Add libc_hidden_weak.
55249         * sysdeps/unix/syscalls.list (gettimeofday):
55250         Remove __gettimeofday_internal alias.
55252 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55253             H.J. Lu  <hongjiu.lu@intel.com>
55255         [BZ #12495]
55256         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55257         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55258         (largebin_index_32_big): New.
55259         (largebin_index): Use it for 16-byte alignment.
55260         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55261         correction with front_misalign.
55263 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55267         Likewise.
55268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55269         Likewise.
55270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55271         Likewise.
55272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55273         Likewise.
55274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55275         Likewise.
55276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55277         Likewise.
55278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55279         Likewise.
55280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55281         Likewise.
55282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55283         Likewise.
55284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55285         Likewise.
55286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55287         Likewise.
55288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55289         Likewise.
55291         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55292         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55294 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55296         [BZ #10846]
55297         [BZ #14036]
55298         * math/libm-test.inc (exp_test): Add test from bug 14036.
55299         (pow_test): Add test from bug 10846.
55301         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55302         and other flags.
55303         (special_function): Do not include flags in test name.
55304         (parse_args): Likewise.
55305         * sysdeps/i386/fpu/libm-test-ulps: Update.
55306         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55307         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55308         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55311         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55312         exceptions.
55313         * math/libm-test.inc ("Philosophy"): Update comment about
55314         exception testing.
55315         (UNDERFLOW_EXCEPTION): New macro.
55316         (UNDERFLOW_EXCEPTION_OK): Likewise.
55317         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55318         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55319         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55320         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55321         (INVALID_EXCEPTION_OK): Update value.
55322         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55323         (OVERFLOW_EXCEPTION_OK): Likewise.
55324         (IGNORE_ZERO_INF_SIGN): Likewise.
55325         (test_exceptions): Handle underflow exceptions.
55326         (acos_test): Update for underflow exception expectations.
55327         (cexp_test): Likewise.
55328         (clog_test): Likewise.
55329         (clog10_test): Likewise.
55330         (csqrt_test): Likewise.
55331         (ctan_test): Likewise.
55332         (ctanh_test): Likewise.
55333         (exp_test): Likewise.
55334         (exp10_test): Likewise.
55335         (exp2_test): Likewise.
55336         (expm1_test): Likewise.
55337         (fma_test): Likewise.
55338         (j0_test): Likewise.
55339         (jn_test): Likewise.
55340         (nexttoward_test): Likewise.
55341         (pow_test): Likewise.
55342         (scalbn_test): Likewise.
55343         (scalbln_test): Likewise.
55344         (tan_test): Likewise.
55345         (y1_test): Likewise.
55346         * sysdeps/i386/fpu/libm-test-ulps: Update.
55347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55349 2012-05-23  David S. Miller  <davem@davemloft.net>
55351         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55352         (__libc_sigaction): Remove unused local variables.
55354 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55356         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55358 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55360         mktime: avoid signed integer overflow
55361         * time/mktime.c (__mktime_internal): Do not mishandle the case
55362         where diff == INT_MIN.
55364         mktime: simplify computation of average
55365         * time/mktime.c (ranged_convert): Use new time_t_avg function
55366         instead of rolling our own (probably-slower) code.
55368         mktime: do not assume signed right shift propagates sign bit
55369         * time/mktime.c (isdst_differ): New static function.
55370         (__mktime_internal): No need to normalize tm_isdst now.
55371         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55372         tm_isdst values.
55374         mktime: merge another wrapv change from gnulib
55375         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55376         from some compilers.
55378         mktime: remove incorrect attempt at unusual arithmetics
55379         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55380         The code didn't really work on such machines anyway.
55381         (TYPE_MINIMUM): Assume two's complement.
55382         (twos_complement_arithmetic): Verify that long_int and time_t
55383         are two's complement (or unsigned, in the latter case).
55385         mktime: check signed shifts on long_int and time_t, too
55386         * time/mktime.c (SHR): Check that shifts work as desired
55387         on the types long_int and time_t too, as SHR is used on
55388         such types.
55390         mktime: do not assume 'long' is wide enough
55391         * time/mktime.c (verify): Move decl up.
55392         (long_int): New type.
55393         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55394         to remove assumption in the code that 'long' is wide enough to
55395         store year values.  This assumption is not true on x32 and on
55396         some non-glibc platforms.
55398         mktime: merge wrapv change from gnulib
55399         * time/mktime.c (WRAPV): New macro.
55400         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55401         (guess_time_tm, __mktime_internal): Do not assume that signed
55402         integer overflow wraps around; modern compilers generate code
55403         where this assumption is no longer valid.
55405 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55407         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55408         Replace "jmp L(pseudo_end)" with "ret".
55409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55410         Likewise.
55412 2012-05-23  Andreas Jaeger  <aj@suse.de>
55414         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55415         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55417 2012-05-23  Andreas Jaeger  <aj@suse.de>
55418             Maximilian Attems  <max@stro.at>
55420         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55421         New macros.
55423 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55425         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55426         code so that pseudo_end is just ret and the stack pointer is
55427         correct also for static library in error case.
55429 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55431         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55432         move to syscalls.list.
55433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55438         * manual/install.texi (Running make install): Do not mention Linux
55439         kernel version for which pt_chown is not needed.
55440         (Linux): Do not mention problems with nscd with 2.0 kernels.
55441         * INSTALL: Regenerated.
55443 2012-05-23  Andreas Jaeger  <aj@suse.de>
55445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55446         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55447         macro.
55448         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55449         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55450         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55452         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55454         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55456         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55458         * sysdeps/unix/sysv/linux/bits/in.h
55459         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55461 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55463         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55464         (PREPARE_VERSION): Just use assert instead, it will be elided
55465         under [NDEBUG] anyway.
55467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55469         * sysdeps/unix/sysv/linux/Makefile: Include
55470         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55471         (sysdep_routines): Remove sysctl.
55472         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55473         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55474         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55475         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55476         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55478 2012-05-22  Andreas Jaeger  <aj@suse.de>
55480         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55481         that pseudo_end is just ret and the stack pointer is correct also
55482         for static library in error case.
55484 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55486         [BZ #14122]
55487         * nss/nsswitch.c (defconfig_entries): New variable.
55488         (__nss_database_lookup): Don't leak defconfig entries.
55489         (nss_parse_service_list): Don't leak on error paths.
55490         (free_database_entries): New function.
55491         (free_defconfig): New function.
55492         (free_mem): Move common code to free_database_entries.
55494 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55496         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55497         Add arch_prctl.
55498         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55500         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55501         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55503         New macro.
55504         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55505         (INTERNAL_SYSCALL_TYPES): Likewise.
55506         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55507         (LOAD_REGS_TYPES_[1-6]): Likewise.
55508         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55509         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55511 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55513         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55514         copysignl for GLIBC_2_0.
55515         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55516         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55518         logbl for GLIBC_2_0.
55519         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55520         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55522 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55525         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55527         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55528         Use "neg %eax".
55530         * time/mktime.c: Update copyright years.
55532 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55534         mktime: merge comment-quoting-style change from gnulib
55535         * time/mktime.c: Quote 'like this' in comments.
55536         The GNU coding standards suggest that we no longer quote `like this',
55537         as "`" and "'" are typically rendered asymmetrically nowadays.
55538         The typical gnulib style is to quote 'like this' when quoting
55539         code, and "like this" when quoting English.
55541         * time/mktime.c (compile-command): Add "-I.".
55543         mktime: merge mktime-internal.h change from gnulib
55544         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55546         mktime: merge time_r change from gnulib
55547         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55549         mktime: merge DEBUG change from gnulib
55550         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55551         case system <time.h> has a #define.
55553         mktime: merge <sys/types.h> change from gnulib
55554         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55555         since <time.t> is now guaranteed to define time_t.
55557         mktime: merge HAVE_CONFIG_H change from gnulib
55558         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55560 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55563         Use "neg %eax".
55565         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55566         __rlim_t cast.
55567         (struct rusage): Use anonymous union to pad each field to
55568         __syscall_slong_t.
55570 2012-05-21  David S. Miller  <davem@davemloft.net>
55572         * Makefules (o-iterator): Remove .s cases.
55573         (compile-command.s): Delete.
55574         (COMPILE.s): Delete.
55575         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55577 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55579         * configure.in (libc_cv_predef_stack_protector): Only consider
55580         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55581         * configure: Regenerated.
55583 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55586         New macro.  Use R*LP on int and pointer.
55587         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55588         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55589         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55590         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55592         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55593         [__WORDSIZE_TIME64_COMPAT32] instead of
55594         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55595         (struct utmp): Likewise.
55596         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55597         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55598         Renamed to ...
55599         (__WORDSIZE_TIME64_COMPAT32): This.
55600         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55601         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55602         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55603         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55604         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55605         (__WORDSIZE_TIME64_COMPAT32): New macro.
55607 2012-05-21  Andreas Jaeger  <aj@suse.de>
55609         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55610         only if [SHARED]. Add prototype for __wcschr_ia32.
55612 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55614         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55615         of %rbp unmolested in the jmp_buf while mangling the low bits.
55616         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55617         unmolested high bits of %rbp while demangling the low bits.
55618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55620 2012-05-21  Andreas Jaeger  <aj@suse.de>
55622         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55623         * sunrpc/svc_simple.c: Use it for registerrpc.
55624         * sunrpc/xcrypt.c: Use it for passwd2des.
55626         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55628 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55630         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55631         Don't define if [__SYSCALL_WORDSIZE != 32].
55632         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55633         New macro.
55635 2012-05-21  Bruno Haible  <bruno@clisp.org>
55636             Andreas Jaeger  <aj@suse.de>
55638         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55639         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55640         inptr and inend for must_buffer_ch.
55641         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55642         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55643         * stdio-common/Makefile (tests): Remove bug15.
55644         (bug15-ENV): Remove macro.
55645         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55646         anymore.
55648 2012-05-19  Andreas Jaeger  <aj@suse.de>
55649             Roland McGrath  <roland@hack.frob.com>
55651         * manual/contrib.texi: Completely rewritten. It contains now an
55652         alphabetical list of contributors and their contributions.
55654 2012-05-21  Richard Henderson  <rth@twiddle.net>
55656         * misc/getauxval.c (__getauxval): Use unsigned long int.
55657         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55658         (getauxval): Use unsigned long int.
55660 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55662         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55664 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55666         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55667         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55668         __alignof__ (long double).
55670 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55674 2012-05-20  Richard Henderson  <rth@twiddle.net>
55676         * misc/getauxval.c: New file.
55677         * misc/sys/auxv.h: New file.
55678         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55679         (routines): Add getauxval.
55680         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55681         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55682         * elf/dl-sysdep.c (_dl_auxv): Remove.
55683         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55684         * elf/dl-support.c (_dl_auxv): New variable.
55685         (_dl_aux_init): Initialize it.
55686         * manual/startup.texi (Auxiliary Vector): New node.
55687         * sysdeps/generic/bits/hwcap.h: New file.
55688         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55689         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55690         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55691         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55692         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55693         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55695         Update.
55696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55705 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55709 2012-05-19  David S. Miller  <davem@davemloft.net>
55711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55713 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55715         [BZ #14123]
55716         * math/s_ccosh.c: Include <float.h>
55717         (__ccosh): Avoid internal overflow calculating sinh and cosh
55718         values before multiplying by sin and cos values.
55719         * math/s_ccoshf.c: Likewise.
55720         * math/s_ccoshl.c: Likewise.
55721         * math/s_csin.c: Likewise.
55722         * math/s_csinf.c: Likewise.
55723         * math/s_csinl.c: Likewise.
55724         * math/s_csinh.c: Likewise.
55725         * math/s_csinhf.c: Likewise.
55726         * math/s_csinhl.c: Likewise.
55727         * math/libm-test.inc (ccos_test): Add more tests.
55728         (ccosh_test): Likewise.
55729         (csin_test): Likewise.
55730         (csinh_test): Likewise.
55731         * sysdeps/i386/fpu/libm-test-ulps: Update.
55732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55734 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55736         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55737         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55739         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55741 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55743         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55744         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55745         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55746         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55747         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55748         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55749         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55750         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55751         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55752         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55753         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55754         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55755         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55756         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55757         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55758         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55759         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55760         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55761         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55762         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55763         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55764         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55765         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55766         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55767         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55768         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55769         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55770         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55771         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55772         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55773         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55775 2012-05-18  Andreas Jaeger  <aj@suse.de>
55777         * csu/.gitignore: Delete.
55779 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55781         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55782         (timex): Use __syscall_slong_t.
55784 2012-05-18  Andreas Jaeger  <aj@suse.de>
55785             Carlos O'Donell  <carlos_odonell@mentor.com>
55787         * manual/install.texi (Configuring and compiling): Update
55788         description about files modified in the source directory.
55789         * INSTALL: Regenerated.
55791 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55793         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55794         value.  Use "or" to set return value to -1.
55795         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55796         negate return value.
55798 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55800         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55801         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55802         failure if the compiler has Graphite support disabled.
55803         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55804         Likewise.
55805         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55806         (CFLAGS-memmove.c): Likewise.
55807         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55808         Likewise.
55810 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55812         * sysdeps/x86_64/x32/_itoa.h: New file.
55814         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55815         getdents system call only if kernel and user dirents have the
55816         same d_ino and d_off.
55818         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55819         LLONG_MAX != LONG_MAX.
55820         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55821         (_fitoa_word): Likewise.
55823         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55824         years.
55825         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55826         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55827         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55829         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55830         include <bits/wordsize.h>.  Check __x86_64__ instead of
55831         __WORDSIZE.
55832         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55833         if __x86_64__ is defined.  Use anonymous union on fpstate.
55835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55836         anonymous union.
55838 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55840         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55841         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55842         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55843         Refer to _rtld_local_ro instead of _rtld_global_ro.
55844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55845         Likewise.
55846         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55847         Likewise.
55848         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55849         Likewise.
55850         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55851         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55852         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55854         [BZ #10882]
55855         * sysdeps/powerpc/powerpc32/dl-machine.c
55856         (__elf_machine_runtime_setup) [PROF]: Don't reference
55857         _dl_prof_resolve.
55859 2012-05-18  Andreas Jaeger  <aj@suse.de>
55861         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55862         function only available for GCCs before 3.4 since GCC 3.4
55863         introduced a builtin.
55864         (lrint): Likewise.
55865         (llrintf): Likewise.
55866         (llrint): Likewise.
55867         (fmaxf): Likewise.
55868         (fmax): Likewise.
55869         (fminf): Likewise.
55870         (fmin): Likewise.
55871         (rint): Likewise.
55872         (rintf): Likewise.
55873         (nearbyint): Likewise.
55874         (nearbyintf): Likewise.
55875         (ceil): Likewise.
55876         (ceilf): Likewise.
55877         (floor): Likewise.
55878         (floorf): Likewise.
55880 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55882         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55883         on both fields and cast pointer to __syscall_ulong_t.
55885         * bits/types.h (__fsword_t): New type.
55886         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55887         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55889         (__FSWORD_T_TYPE): Likewise.
55890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55891         (__FSWORD_T_TYPE): Likewise.
55892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55893         (__FSWORD_T_TYPE): Likewise.
55894         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55895         (__FSWORD_T_TYPE): Likewise.
55896         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55897         __SWORD_TYPE with __fsword_t.
55898         (statfs64): Likewise.
55900 2012-05-17  David S. Miller  <davem@davemloft.net>
55902         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55904 2012-05-17  Andreas Jaeger  <aj@suse.de>
55906         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55907         warning.
55909 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55911         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55913 2012-05-17  Andreas Jaeger  <aj@suse.de>
55915         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55916         when it is used.
55918 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55920         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55922 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55924         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55925         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55927 2012-05-17  Andreas Jaeger  <aj@suse.de>
55928             Carlos O'Donell  <carlos_odonell@mentor.com>
55930         [BZ #14059]
55931         * sysdeps/x86_64/multiarch/init-arch.h
55932         (bit_YMM_Usable): Rename to...
55933         (bit_AVX_Usable): ... this.
55934         (bit_FMA4_Usable): New macro.
55935         (bit_XMM_state): New macro.
55936         (bit_YMM_state): New macro.
55937         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55938         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55939         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55940         (CPUID_OSXSAVE): New macro.
55941         (CPUID_AVX): New macro.
55942         (CPUID_FMA4): New macro.
55943         (index_YMM_Usable): Rename to...
55944         (index_AVX_Usable): ... this.
55945         (HAS_AVX): Use HAS_ARCH_FEATURE.
55946         (HAS_FMA4): Likewise.
55947         (HAS_YMM_USABLE): Remove.
55948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55949         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55950         are present.
55951         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55952         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55953         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55954         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55955         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55957 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55959         * math/libm-test.c: Support platforms without multiple rounding modes.
55960         * math/bug-nextafter.c: Support platforms without FP exceptions.
55961         * math/bug-nexttoward.c: Likewise.
55962         * math/test-fenv.c: Likewise.
55963         * math/test-misc.c: Likewise.
55964         * stdlib/bug-getcontext.c: Likewise.
55966 2012-05-17  Andreas Jaeger  <aj@suse.de>
55968         * manual/examples/search.c (critter_cmp): Change signature to
55969         avoid warnings.
55970         * manual/string.texi (Collation Functions): Likewise.
55972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55974         * bits/types.h: Fold copyright years.
55975         * bits/typesizes.h: Likewise.
55976         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55977         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55978         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55980         * time/time.h: Likewise.
55982 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55984         [BZ #208]
55985         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55986         in instead of returning them.  Return void.
55987         (__libc_mallinfo): Accumulate over all arenas.
55988         (__malloc_stats): Adjust for change in int_mallinfo interface.
55990 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55992         [BZ #10375]
55993         * configure.in (NM): Add AC_CHECK_TOOL for it.
55994         (libc_extra_cflags): New substituted variable.
55995         Check for -fstack-protector being used implicitly.
55996         * configure: Regenerated.
55997         * config.make.in (config-extra-cflags): New variable,
55998         gets @libc_extra_cflags@.
55999         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56001         [BZ #10375]
56002         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56003         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56004         * configure: Regenerated.
56005         * config.make.in (CPPUNDEFS): New substituted variable.
56006         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56007         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56008         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56012         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56013         (mq_attr): Use __syscall_slong_t.
56015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56017         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56018         Check __x86_64__ instead of __WORDSIZE.
56019         (_STAT_VER_LINUX): Likewise.
56020         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56021         __syscall_ulong_t and __syscall_slong_t.
56022         (stat64): Likewise.
56024 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56026         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56030         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56032 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56034         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56035         __syscall_ulong_t.
56037         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56038         include <bits/wordsize.h>.  Check __x86_64__ instead of
56039         __WORDSIZE.
56040         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56041         defined.
56042         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56044         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56045         include <bits/wordsize.h>.  Check __x86_64__ instead of
56046         __WORDSIZE.
56047         (user_regs_struct): Use "__extension__ unsigned long long"
56048         instead of "unsigned long" if __x86_64__ is defined.
56049         (user): Likewise.  Pad after pointer field if __ILP32__ is
56050         defined.
56052 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56054         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56055         versions 5 to 9.
56056         * configure: Regenerated.
56057         * manual/install.texi (texinfo): Increase version requirement to
56058         4.5 or later.
56059         * INSTALL: Regenerated.
56061         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56063 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56065         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56067         * sysdeps/x86_64/x32/ffs.c: New file.
56069         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56070         __syscall_ulong_t.
56071         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56072         defined.  Use __syscall_ulong_t.
56073         (shminfo): Use __syscall_ulong_t.
56074         (shm_info): Likewise.
56076         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56077         __syscall_ulong_t.
56079         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56080         <bits/wordsize.h>.
56081         (msgqnum_t): Use __syscall_ulong_t.
56082         (msglen_t): Likewise.
56083         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56084         __syscall_ulong_t.
56086         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56087         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56089         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56091         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56092         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56094         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56095         __syscall_slong_t.
56097         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56098         include <bits/wordsize.h>.  Check __x86_64__ instead of
56099         __WORDSIZE.
56101         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56102         "unsigned long long int" if __x86_64__ is defined.
56103         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56105         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56106         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56107         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56109         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56110         <stdint.h>.
56111         (GET_PC): Cast to uintptr_t first.
56112         (GET_FRAME): Likewise.
56113         (GET_STACK): Likewise.
56115         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56116         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56117         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56118         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56119         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56120         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56121         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56122         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56123         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56124         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56125         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56126         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56127         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56128         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56129         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56131         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56132         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56133         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56134         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56135         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56136         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56137         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56138         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56139         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56140         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56141         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56142         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56143         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56145 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56147         * Makerules (+depfiles): Also collect depfiles from .oS in
56148         $(extra-objs).
56149         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56150         .oS, $(libnldbl-routines)).
56152         * Makerules (native-compile-mkdep-flags): Define.
56153         * sunrpc/Makefile (extra-objs): Add $(addprefix
56154         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56155         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56156         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56157         calling $(make-target-directory).
56159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56161         * bits/types.h (__snseconds_t): Removed.
56162         * time/time.h (struct timespec): Replace __snseconds_t with
56163         __syscall_slong_t.
56164         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56165         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56166         Likewise.
56167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56168         (__SNSECONDS_T_TYPE): Likewise.
56169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56170         (__SNSECONDS_T_TYPE): Likewise.
56171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56172         (__SNSECONDS_T_TYPE): Likewise.
56174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56176         * sysdeps/mach/hurd/bits/typesizes.h
56177         (__SYSCALL_SLONG_TYPE): New macro.
56178         (__SYSCALL_ULONG_TYPE): Likewise.
56180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56182         * bits/types.h (__syscall_slong_t): New type.
56183         (__syscall_ulong_t): Likewise.
56185         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56186         (__SYSCALL_ULONG_TYPE): Likewise.
56187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56188         (__SYSCALL_SLONG_TYPE): Likewise.
56189         (__SYSCALL_ULONG_TYPE): Likewise.
56190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56191         (__SYSCALL_SLONG_TYPE): Likewise.
56192         (__SYSCALL_ULONG_TYPE): Likewise.
56193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56194         (__SYSCALL_SLONG_TYPE): Likewise.
56195         (__SYSCALL_ULONG_TYPE): Likewise.
56197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56199         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56200         Add sigaltstack-offsets.sym.
56201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56202         <sigaltstack-offsets.h>.
56203         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56204         longjmp_msg pointer.
56205         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56206         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56207         signal stack.
56208         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56210 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56212         * elf/stackguard-macros.h: Remove file.
56213         * sysdeps/generic/stackguard-macros.h: New file.
56214         * sysdeps/i386/stackguard-macros.h: Likewise.
56215         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56216         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56217         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56218         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56219         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56220         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56221         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56222         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56223         <elf/stackguard-macros.h>.
56225         [BZ #14109]
56226         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56227         __aligned__ in attribute.
56228         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56229         (gregset_t): Likewise.
56231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56233         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56234         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56235         * sysdeps/x86_64/x32/Implies-after: New file.
56237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56239         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56240         and access return value for _dl_profile_fixup.  Use R10_LP to
56241         load frame size.
56243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56245         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56249         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56250         * sysdeps/x86_64/x32/sysdep.h: New file.
56252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56254         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56255         * sysdeps/x86_64/setjmp.S: Likewise.
56257 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56259         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56260         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56261         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56262         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56263         remove unused global constant.
56265 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56267         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56268         include of <not-cancel.h>.
56270 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56272         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56274 2012-05-15  Jeff Law  <law@redhat.com>
56275             Andreas Jaeger  <aj@suse.de>
56277         [BZ #13594]
56278         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56279         out from...
56280         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56281         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56282         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56283         code changing __hst_map_handle.map.
56285 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56287         * configure.in (sysnames): Look for Implies-before and Implies-after
56288         files.
56289         * configure: Regenerated.
56291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56293         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56294         8-byte data alignment with LP_SIZE alignment.
56296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56298         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56299         into R10_LP.
56301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56303         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56307         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56308         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56310         Likewise.
56311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56315         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56316         (stackinfo_sub_sp): Likewise.
56318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56321         RAX_LP.
56323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56326         into R*_LP.
56328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56330         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56331         sizes into R*_LP.
56333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56335         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56339         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56340         into R11_LP and load __x86_64_shared_cache_size_half into
56341         R8_LP.
56343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56345         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56346         R8_LP.
56348 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56351         logb for POWER7.
56352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56353         logbf for POWER7.
56354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56355         logbl for POWER7.
56356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56357         powerpc32/power7/fpu/s_logb.c via #include.
56358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56359         powerpc32/power7/fpu/s_logbf.c via #include.
56360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56361         powerpc32/power7/fpu/s_logbl.c via #include.
56363 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56365         * README.libm: Remove file.
56367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56369         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56370         count for x32.  Use R*_LP and omit operand-size suffix.
56372 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56374         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56375         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56376         * sysdeps/x86_64/x32/shlib-versions: New file.
56378 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56380         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56381         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56382         Use _dl_fatal_printf instead.
56384 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56386         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56387         set if not set by the user.  Do not allow for being unset.
56388         * sysdeps/unix/sysv/linux/configure: Regenerated.
56390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56392         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56393         the `q' suffix from lea and replace .quad with ASM_ADDR.
56395 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56398         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56399         instead of $17.
56400         (PTR_DEMANGLE): Likewise.
56402 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56404         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56405         (LP_OP): Likewise.
56406         (ASM_ADDR): Likewise.
56407         (RAX_LP): Likewise.
56408         (RBP_LP): Likewise.
56409         (RBX_LP): Likewise.
56410         (RCX_LP): Likewise.
56411         (RDI_LP): Likewise.
56412         (RSI_LP): Likewise.
56413         (RSP_LP): Likewise.
56414         (R8_LP): Likewise.
56415         (R9_LP): Likewise.
56416         (R10_LP): Likewise.
56417         (R10_LP): Likewise.
56418         (R11_LP): Likewise.
56419         (R12_LP): Likewise.
56420         (R13_LP): Likewise.
56421         (R14_LP): Likewise.
56422         (R15_LP): Likewise.
56424 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56426         * sysdeps/x86_64/x32/dl-machine.h: New file.
56428 2012-05-14  Andreas Jaeger  <aj@suse.de>
56430         * manual/Makefile (subdir): Remove export of subdir.
56431         (all): Remove target.
56432         (.PHONY): Remove all from list.
56433         (mkinstalldirs): Remove.
56434         (.PHONY): Remove installdirs from list.
56435         ($(inst_infodir)/libc.info): Use make-target-directory.
56436         (installdirs): Remove.
56437         (subdir_%): Remove.
56438         (glibc-targets): Remove.
56439         (lib): Remove.
56440         (stubs): Remove.
56441         ($(objpfx)stubs ../po/manual.pot): Remove.
56442         ($(objpfx)stamp%): Remove.
56443         (make-target-directory): Remove.
56444         (subdir_install): Remove.
56445         (routines): Remove.
56446         (aux): Remove.
56447         (sources): Remove.
56448         (objects): Remove.
56449         (headers): Remove.
56451         [BZ #13750]
56452         * manual/.gitignore: Remove, it's not needed anymore.
56453         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56454         all files in it.
56455         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56456         directory.
56457         (texis): Renamed to $(objpfx)texis.
56458         (texis-path): New, contains path to generated files.
56459         (chapters.%): Use texis-path for complete path, add extra argument
56460         libc-texinfo.sh.
56461         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56462         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56463         (summary,texi, stamp-summary): Use complete path of
56464         files. Generate files in build dir.
56465         (dir-add.texi): Build in build dir.
56466         (libm-err.texi,stamp-libm-err): Likewise.
56467         (version.texi, stamp-version): Likewise.
56468         (.%c.texi): Likewise.
56469         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56470         (mostlyclean): Remove target.
56471         (realclean): Remove target.
56472         (generated): Add new variable with contents from mostlyclean and
56473         realclean, remove entries duplicated in common-mostlyclean, add
56474         stamp-libm-err and stamp-version.
56475         (generated-dirs): Add libc directory.
56476         ($(inst_infodir)/libc.info): Install files from build dir.
56478         * manual/install.texi (Configuring and compiling): Adjust since
56479         the info files are not part of the tar ball anymore.
56481 2012-05-14  Andreas Jaeger  <aj@suse.de>
56483         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56484         variable.
56486 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56488         [BZ #13717]
56489         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56490         to 2.2.0 where earlier.
56491         * sysdeps/unix/sysv/linux/configure: Regenerated.
56492         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56493         Remove conditional code.
56494         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56495         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56496         Remove conditional code.
56497         [!__NR_lchown]: Likewise.
56498         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56499         [__NR_lchown]: Likewise.
56500         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56501         comment referencing __ASSUME_LCHOWN_SYSCALL.
56502         * sysdeps/unix/sysv/linux/i386/sigaction.c
56503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56505         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56506         Remove conditional code.
56507         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56508         (__protocol_available): Remove #if 0 code.
56509         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56510         conditional code.
56511         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56512         * sysdeps/unix/sysv/linux/kernel-features.h
56513         (__ASSUME_GETCWD_SYSCALL): Don't define.
56514         (__ASSUME_REALTIME_SIGNALS): Likewise.
56515         (__ASSUME_PREAD_SYSCALL): Likewise.
56516         (__ASSUME_PWRITE_SYSCALL): Likewise.
56517         (__ASSUME_POLL_SYSCALL): Likewise.
56518         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56519         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56520         non-SPARC.
56521         (__ASSUME_SIOCGIFNAME): Don't define.
56522         (__ASSUME_MSG_NOSIGNAL): Likewise.
56523         (__ASSUME_SENDFILE): Define unconditionally.
56524         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56525         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56526         conditional code.
56527         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56528         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56529         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56530         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56531         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56532         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56533         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56535         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56541         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56547         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56550         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56553         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56558         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56559         Remove conditional code.
56560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56561         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56562         Remove conditional code.
56563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56564         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56565         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56566         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56567         Remove conditional code.
56568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56569         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56570         Remove conditional code.
56571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56572         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56573         Remove conditional code.
56574         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56575         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56576         Remove conditional code.
56577         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56578         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56579         Remove conditional code.
56580         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56581         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56582         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56583         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56584         * sysdeps/unix/sysv/linux/sigaction.c
56585         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56586         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56587         * sysdeps/unix/sysv/linux/sigpending.c
56588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56590         * sysdeps/unix/sysv/linux/sigprocmask.c
56591         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56592         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56593         * sysdeps/unix/sysv/linux/sigsuspend.c
56594         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56595         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56596         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56597         (__libc_missing_rt_sigs): Remove.
56598         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56599         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56600         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56601         Remove conditional code.
56602         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56603         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56604         return 1.
56605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56606         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56607         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56608         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56610 2012-05-14  Andreas Jaeger  <aj@suse.de>
56612         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56613         it's not used in glibc.
56614         (__coshm1): Likewise.
56615         (__acosh1p): Likewise.
56616         (__sgn): Likewise.
56618         * manual/string.texi (Copying and Concatenation): Add missing
56619         variable in concat example.
56620         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56624         [BZ #14103]
56625         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56626         __builtin_clzl with __builtin_clzll.
56628 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56630         [BZ #14104]
56631         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56632         libc_freeres_ptr.
56634 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56636         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56637         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56638         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56639         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56641 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56643         * NEWS: Update ia64 info.
56645 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56647         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56648         used as bcopy.
56650 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56652         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56653         * sysdeps/unix/syscalls.list (dup3): Likewise.
56654         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56655         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56657 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56659         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56660         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56662 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56664         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56665         thread pointer.
56666         (TLS_IE): Use mov/add instead of movq/addq to load thread
56667         pointer.
56668         (TLS_GD_PREFIX): New.
56669         (TLS_GD): Use it.
56671 2012-05-11  David S. Miller  <davem@davemloft.net>
56673         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56674         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56675         (_FPU_SETCW): Likewise.
56677 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56679         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56680         is 32-byte aligned.
56682 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56684         [BZ #11837]
56685         * iconvdata/gb18030.c: Update tables.
56686         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56687         characters specially.
56688         (BODY for TO_LOOP): Add encoding of missing ranges.
56690 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56692         [BZ #13673]
56693         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56694         * sysdeps/mach/hurd/dup3.c: Likewise.
56695         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56696         * sysdeps/powerpc/memmove.c:: Likewise.
56698 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56700         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56701         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56703 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56705         * elf/elf.h (R_X86_64_RELATIVE64): New.
56706         (R_X86_64_NUM): Updated.
56707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56708         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56709         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56710         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56711         tst-quad1pie tst-quad2pie
56712         (modules-names): Add tst-quadmod1 tst-quadmod2.
56713         ($(objpfx)tst-quad1): New dependency.
56714         ($(objpfx)tst-quad2): Likewise.
56715         ($(objpfx)tst-quad1pie): Likewise.
56716         ($(objpfx)tst-quad2pie): Likewise.
56717         * sysdeps/x86_64/tst-quad1.c: New file.
56718         * sysdeps/x86_64/tst-quad1pie.c: New file.
56719         * sysdeps/x86_64/tst-quad2.c: Likewise.
56720         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56721         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56722         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56723         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56724         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56728         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56729         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56730         * streams/stropts.h (t_scalar_t): Define type.
56732         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56733         (_PATH_PRESERVE): Set to "/var/lib".
56734         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56736         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56737         instead of int.
56739         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56740         if __dir_mkfile succeeded.
56742         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56743         checking for _hurd_dtablesize.  Unlock it right after having
56744         finished _hurd_dtable allocation.
56746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56748         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56749         * sysdeps/mach/hurd/configure: Regenerated.
56750         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56751         special-casing to...
56752         * sysdeps/gnu/configure.in: ... this new file.
56753         * sysdeps/unix/sysv/linux/configure: Regenerated.
56754         * sysdeps/gnu/configure: New generated file.
56756         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56757         for Linux: use nsec instead of usec, as well as:
56758         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56759         members of type struct timespec.
56760         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56761         New macros.
56762         (struct stat64): Likewise.
56763         (_STATBUF_ST_NSEC): New macro.
56764         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56766         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56767         __strtoul_internal rather than strtoul.
56769 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56771         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56772         and reject them.
56774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56776         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56777         which preserves existing values.
56778         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56780 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56782         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56783         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56784         greater than FD_SETSIZE.
56786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56788         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56789         allocated, call __vm_protect to finish enabling the existing space, and
56790         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56791         allocate the remainder.
56793 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56795         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56796         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56800         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56801         sysdeps/mach/hurd/readlink.c.
56803         * posix/tst-sysconf.c (posix_options): Only use
56804         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56805         _POSIX_SYNCHRONIZED_IO when they are defined
56806         * sysdeps/mach/hurd/bits/posix_opt.h:
56807         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56808         (_XOPEN_REALTIME): Undefine macro.
56809         (_XOPEN_REALTIME_THREADS): Undefine macro.
56810         (_XOPEN_SHM): Undefine macro.
56811         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56812         macro to -1.
56813         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56814         macro to -1.
56815         (_POSIX_ASYNC_IO): Undefine macro.
56816         (_POSIX_PRIORITIZED_IO): Undefine macro.
56817         (_POSIX_SPIN_LOCKS): Define macro to -1.
56819         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56820         SA_NODEFER, SA_RESETHAND.
56821         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56822         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56823         F_DUPFD_CLOEXEC.
56825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56827         * elf/Makefile (pldd-modules): Define unconditionally.
56829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56831         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56835         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56836         Return ENOENT when name is empty.
56837         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56841         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56843         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56847         Fix mlock in all cases except non-readable pages.
56848         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56849         instead of VM_PROT_ALL as parameter to __vm_wire function.
56851         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56852         (__mkdir): When path is `/', just fail with EEXIST.
56853         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56855 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56857         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56858         <sys/uio.h> (for writev).
56859         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56860         and <sys/param.h> (for MIN).
56862 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56864         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56865         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56866         if interrupted.
56868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56870         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56871         Depend on against $(link-rpcuserlibs).
56873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56875         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56876         (__libc_stack_end): Do not use attribute_relro.
56877         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56878         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56879         to libthread-provided value.
56880         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56881         attribute_relro.
56883 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56885         [BZ #3748]
56886         * bits/libc-lock.h (__libc_once_get): New macro.
56887         * sysdeps/mach/bits/libc-lock.h: Likewise.
56888         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56889         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56890         instead of using implementation details.
56892         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56893         * libio/freopen.c: Likewise.
56894         * libio/freopen64.c: Likewise.
56895         * misc/syslog.c: Likewise.
56896         * nscd/connections.c: Likewise.
56897         * nscd/netgroupcache.c: Likewise.
56898         * sysdeps/posix/getcwd.c: Likewise.
56900 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56902         * math/w_ilogbf.c: Add #include <limits.h>.
56904 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56906         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56907         path instead of returning without unlocking.
56909         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56910         immediate-write ioctls.
56911         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56913 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56915         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56916         __builtin_frame_address instead of making assumptions about the
56917         location of the return address relative to DATA.  Force early load of
56918         the return address.
56919         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56920         __builtin_frame_address.
56922         dup3 for GNU Hurd.
56923         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56924         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56925         implement dup3 and do some further code clean-ups.
56926         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56927         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56931         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56933         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56934         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56935         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56936         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56937         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56938         d->port.lock.
56940         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56941         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56942         when handler == SIG_ERR, not when handler != SIG_ERR.
56944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56946         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56947         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56948         definitions.
56950         accept4 for GNU Hurd.
56951         * include/sys/socket.h (__libc_accept4): New prototype.
56952         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56953         to implement __libc_accept4.
56954         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56955         __libc_accept4.
56956         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56958         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56959         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56960         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56961         signal-defines.sym.
56963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56965         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56969         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56970         assertion on O_CLOEXEC flag.
56971         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56972         * hurd/intern-fd.c: Likewise.
56973         * hurd/port2fd.c: Likewise.
56975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56977         [BZ #3906]
56978         * bits/in.h (IPV6_PKTINFO): Define new macro.
56979         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56981 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56983         [BZ #13954]
56984         [BZ #13955]
56985         [BZ #13956]
56986         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56987         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56988         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56989         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56991         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56992         * math/libm-test.inc (logb_test) : Additional logb tests.
56994 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56995             Andreas Jaeger  <aj@suse.de>
56997         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56998         * configure: Regenerated.
56999         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57000         * config.make.in (link-obsolete-rpc): New substituted variable.
57001         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57002         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57003         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57004         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57005         so that libc.a contains the symbols.
57006         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57007         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57008         * sunrpc/auth_none.c: Likewise.
57009         * sunrpc/auth_unix.c: Likewise.
57010         * sunrpc/authdes_prot.c: Likewise.
57011         * sunrpc/authuxprot.c: Likewise.
57012         * sunrpc/clnt_gen.c: Likewise.
57013         * sunrpc/clnt_perr.c: Likewise.
57014         * sunrpc/clnt_raw.c: Likewise.
57015         * sunrpc/clnt_simp.c: Likewise.
57016         * sunrpc/clnt_tcp.c: Likewise.
57017         * sunrpc/clnt_udp.c: Likewise.
57018         * sunrpc/clnt_unix.c: Likewise.
57019         * sunrpc/des_crypt.c: Likewise.
57020         * sunrpc/des_soft.c: Likewise.
57021         * sunrpc/get_myaddr.c: Likewise.
57022         * sunrpc/key_call.c: Likewise.
57023         * sunrpc/key_prot.c: Likewise.
57024         * sunrpc/netname.c: Likewise.
57025         * sunrpc/pm_getmaps.c: Likewise.
57026         * sunrpc/pm_getport.c: Likewise.
57027         * sunrpc/pmap_clnt.c: Likewise.
57028         * sunrpc/pmap_prot.c: Likewise.
57029         * sunrpc/pmap_prot2.c: Likewise.
57030         * sunrpc/pmap_rmt.c: Likewise.
57031         * sunrpc/publickey.c: Likewise.
57032         * sunrpc/rpc_cmsg.c: Likewise.
57033         * sunrpc/rpc_common.c: Likewise.
57034         * sunrpc/rpc_dtable.c: Likewise.
57035         * sunrpc/rpc_prot.c: Likewise.
57036         * sunrpc/rpc_thread.c: Likewise.
57037         * sunrpc/rtime.c: Likewise.
57038         * sunrpc/svc.c: Likewise.
57039         * sunrpc/svc_auth.c: Likewise.
57040         * sunrpc/svc_raw.c: Likewise.
57041         * sunrpc/svc_run.c: Likewise.
57042         * sunrpc/svc_tcp.c: Likewise.
57043         * sunrpc/svc_udp.c: Likewise.
57044         * sunrpc/svc_unix.c: Likewise.
57045         * sunrpc/svcauth_des.c: Likewise.
57046         * sunrpc/xcrypt.c: Likewise.
57047         * sunrpc/xdr.c: Likewise.
57048         * sunrpc/xdr_array.c: Likewise.
57049         * sunrpc/xdr_float.c: Likewise.
57050         * sunrpc/xdr_intXX_t.c: Likewise.
57051         * sunrpc/xdr_mem.c: Likewise.
57052         * sunrpc/xdr_rec.c: Likewise.
57053         * sunrpc/xdr_ref.c: Likewise.
57054         * sunrpc/xdr_sizeof.c: Likewise.
57055         * sunrpc/xdr_stdio.c: Likewise.
57057 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57060         change.  Update copyright years.
57062 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57064         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57066 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57067             Joseph Myers  <joseph@codesourcery.com>
57068             Paul Pluzhnikov  <ppluzhnikov@google.com>
57070         [BZ #14012]
57071         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57072         requiring rpcgen.
57073         [cross-compiling] (extra-libs): Likewise.
57074         [cross-compiling] (extra-libs-others): Likewise.
57075         [cross-compiling] (librpcsvc-routines): Likewise.
57076         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57077         [cross-compiling] (omit-deps): Likewise.
57078         (sunrpc-CPPFLAGS): New variable.
57079         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57080         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57081         (cross-rpcgen-objs): New variable.
57082         (extra-objs): Append $(cross-rpcgen-objs).
57083         ($(cross-rpcgen-objs)): New rule.
57084         ($(objpfx)cross-rpcgen): Likewise.
57085         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57086         comment.
57087         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57088         ($(objpfx)x%.stmp): Likewise.
57089         * sunrpc/proto.h [IS_IN_build] (_): Define.
57090         [IS_IN_build] (_libc_intl_domainname): Likewise.
57092 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57095         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57096         and R_X86_64_TPOFF64.
57098 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57100         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57101         sysdeps/unix/sysv/syscalls.list.
57102         (stime): Likewise.
57103         (utime): Likewise.
57104         * sysdeps/unix/sysv/syscalls.list: Remove file.
57106 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57108         [BZ #3440]
57109         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57110         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57111         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57112         (__LC_IDENTIFICATION): Make these macros useful in #if
57113         expressions, as required by C99.
57115 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57117         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57118         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57119         after this.
57121 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57123         * stdlib/longlong.h: Updated from GCC.
57125 2012-05-09  Andreas Jaeger  <aj@suse.de>
57127         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57128         default is first entry.
57129         (run_mode): Set type.
57130         (main): Remove informal message about syslog.
57131         (options): Fix typo.
57133         [BZ #14053]
57134         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57135         to asm.
57136         (lrint): Likewise.
57137         (llrintf): Likewise.
57138         (llrint): Likewise.
57139         (rint): Likewise.
57140         (rintf): Likewise.
57141         (nearbyint): Likewise.
57142         (nearbyintf): Likewise.
57144 2012-05-09  Andreas Jaeger  <aj@suse.de>
57145             Pedro Alves  <palves@redhat.com>
57147         * nscd/nscd.c (run_mode): Use enum.
57148         (main): Cleanup coding style issue.
57150 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57151             Andreas Jaeger  <aj@suse.de>
57153         * nscd/nscd.c (go_background): Replaced with...
57154         (run_mode): ... this.
57155         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57156         (options): Add -F --foreground.
57157         (main): Implement it.
57158         (parse_opt): Parse it.
57160 2012-05-09  Andreas Jaeger  <aj@suse.de>
57162         [BZ #14083]
57163         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57164         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57165         -Wconversion warning.
57166         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57167         Likewise.
57169 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57171         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57172         == 0.
57173         (LC_ALL): Use macro-int-constant.
57174         (LC_COLLATE): Likewise.
57175         (LC_CTYPE): Likewise.
57176         (LC_MESSAGES): Likewise.
57177         (LC_MONETARY): Likewise.
57178         (LC_NUMERIC): Likewise.
57179         (LC_TIME): Likewise.
57180         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57181         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57183         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57184         Specify type.
57185         [C99-based standards] (float_t): Expect type.
57186         [C99-based standards] (double_t): Expect type.
57187         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57188         type.
57189         [C99-based standards] (HUGE_VALL): Likewise.
57190         [C99-based standards] (INFINITY): Likewise.
57191         [C99-based standards] (NAN): Likewise.
57192         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57193         [C99-based standards] (FP_NAN): Likewise.
57194         [C99-based standards] (FP_NORMAL): Likewise.
57195         [C99-based standards] (FP_SUBNORMAL): Likewise.
57196         [C99-based standards] (FP_ZERO): Likewise.
57197         [C99-based standards] (FP_FAST_FMA): Use
57198         optional-macro-int-constant.  Specify type.  Require == 1.
57199         [C99-based standards] (FP_FAST_FMAF): Likewise.
57200         [C99-based standards] (FP_FAST_FMAL): Likewise.
57201         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57202         [C99-based standards] (FP_ILOGBNAN): Likewise.
57203         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57204         Specify type.
57205         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57206         [C99-based standards] (math_errhandling): Specify type.
57207         [ISO99 || ISO11] (signgam): Do not allow.
57208         [non-C99-based standards] (copysignf): Do not allow.
57209         [non-C99-based standards] (exp2f): Likewise.
57210         [non-C99-based standards] (log2f): Likewise.
57211         [non-C99-based standards] (modff): Allow.
57212         [non-C99-based standards] (erff): Do not allow.
57213         [non-C99-based standards] (erfcf): Likewise.
57214         [non-C99-based standards] (gammaf): Likewise.
57215         [non-C99-based standards] (hypotf): Likewise.
57216         [non-C99-based standards] (j0f): Likewise.
57217         [non-C99-based standards] (j1f): Likewise.
57218         [non-C99-based standards] (jnf): Likewise.
57219         [non-C99-based standards] (lgammaf): Likewise.
57220         [non-C99-based standards] (tgammaf): Likewise.
57221         [non-C99-based standards] (y0f): Likewise.
57222         [non-C99-based standards] (y1f): Likewise.
57223         [non-C99-based standards] (ynf): Likewise.
57224         [non-C99-based standards] (isnanf): Likewise.
57225         [non-C99-based standards] (acoshf): Likewise.
57226         [non-C99-based standards] (asinhf): Likewise.
57227         [non-C99-based standards] (atanhf): Likewise.
57228         [non-C99-based standards] (cbrtf): Likewise.
57229         [non-C99-based standards] (expm1f): Likewise.
57230         [non-C99-based standards] (ilogbf): Likewise.
57231         [non-C99-based standards] (log1pf): Likewise.
57232         [non-C99-based standards] (logbf): Likewise.
57233         [non-C99-based standards] (nextafterf): Likewise.
57234         [non-C99-based standards] (remainderf): Likewise.
57235         [non-C99-based standards] (rintf): Likewise.
57236         [non-C99-based standards] (scalbf): Likewise.
57237         [non-C99-based standards] (copysignl): Likewise.
57238         [non-C99-based standards] (exp2l): Likewise.
57239         [non-C99-based standards] (log2l): Likewise.
57240         [non-C99-based standards] (modfl): Allow.
57241         [non-C99-based standards] (erfl): Do not allow.
57242         [non-C99-based standards] (erfcl): Likewise.
57243         [non-C99-based standards] (gammal): Likewise.
57244         [non-C99-based standards] (hypotl): Likewise.
57245         [non-C99-based standards] (j0l): Likewise.
57246         [non-C99-based standards] (j1l): Likewise.
57247         [non-C99-based standards] (jnl): Likewise.
57248         [non-C99-based standards] (lgammal): Likewise.
57249         [non-C99-based standards] (tgammal): Likewise.
57250         [non-C99-based standards] (y0l): Likewise.
57251         [non-C99-based standards] (y1l): Likewise.
57252         [non-C99-based standards] (ynl): Likewise.
57253         [non-C99-based standards] (isnanl): Likewise.
57254         [non-C99-based standards] (acoshl): Likewise.
57255         [non-C99-based standards] (asinhl): Likewise.
57256         [non-C99-based standards] (atanhl): Likewise.
57257         [non-C99-based standards] (cbrtl): Likewise.
57258         [non-C99-based standards] (expm1l): Likewise.
57259         [non-C99-based standards] (ilogbl): Likewise.
57260         [non-C99-based standards] (log1pl): Likewise.
57261         [non-C99-based standards] (logbl): Likewise.
57262         [non-C99-based standards] (nextafterl): Likewise.
57263         [non-C99-based standards] (remainderl): Likewise.
57264         [non-C99-based standards] (rintl): Likewise.
57265         [non-C99-based standards] (scalbl): Likewise.
57266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57267         [non-C99-based standards] (FP_*): Do not allow.
57268         [C99-based standards] (FP_*): Change to
57269         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57270         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57271         allow.
57272         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57273         (SIG_ERR): Likewise.
57274         [X/Open-based standards] (SIG_HOLD): Likewise.
57275         (SIG_IGN): Likewise.
57276         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57277         positive value.
57278         (SIGFPE): Likewise.
57279         (SIGILL): Likewise.
57280         (SIGINT): Likewise.
57281         (SIGSEGV): Likewise.
57282         (SIGTER): Likewise.
57283         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57284         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57285         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57286         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57287         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57288         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57289         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57290         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57291         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57293         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57294         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57295         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57296         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57297         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57298         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57299         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57300         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57301         [X/Open-based standards] (SIGTRAP): Likewise.
57302         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57303         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57304         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57305         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57306         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57307         allow.
57309 2012-05-08  Ian Wienand  <ianw@vmware.com>
57311         [BZ #14080]
57312         * time/tzset.c (__tzset_parse_tz): Update default rules for
57313         daylight time changes in the Energy Policy Act of 2005.
57315 2012-05-09  Andreas Jaeger  <aj@suse.de>
57317         [BZ #13983]
57318         * elf/ldconfig.c (parse_conf): Change string to make clear that
57319         ldconfig only issued a warning if ld.so.conf does not exist.
57321 2012-05-08  David S. Miller  <davem@davemloft.net>
57323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57324         movxtod instead of popping the value on the stack.
57326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57328 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57330         * config.h.in: Add HAVE_ARM_PCS_VFP.
57332 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57334         [BZ #13979]
57335         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57336         checking but the checks are disabled for any reason.
57338 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57340         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57341         and ELF64_R_TYPE with ELFW(R_TYPE).
57343 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57345         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57346         (ulimit): Likewise.
57348         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57349         (settimeofday): Likewise.
57351 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57353         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57354         a struct th_u2 inside the union, and move tu_block/tu_code into
57355         a new th_u3 union of tu_block/tu_code inside of that.  Move
57356         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57357         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57358         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57359         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57360         (th_stuff): Change to th_u1.tu_stuff.
57361         (th_data): Define.
57362         (th_msg): Change to th_u1.th_u2.tu_data.
57364 2012-05-07  David S. Miller  <davem@davemloft.net>
57366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57368         [BZ #14074]
57369         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57370         (SETUP_PIC_REG): Use it.
57371         (SETUP_PIC_REG_LEAF): Use it.
57373 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57375         [BZ #13885]
57376         [BZ #13923]
57377         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57378         USE_AS_EXPM1L.
57379         (EXPL_FINITE): Likewise.
57380         (FLDLOG): Likewise.
57381         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57382         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57383         e_expl.S.
57384         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57385         USE_AS_EXPM1L.
57386         (EXPL_FINITE): Likewise.
57387         (FLDLOG): Likewise.
57388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57389         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57390         e_expl.S.
57391         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57392         test of -max_value argument for long double.
57393         * sysdeps/i386/fpu/libm-test-ulps: Update.
57394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57396 2012-05-06  David S. Miller  <davem@davemloft.net>
57398         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57399         quad soft-float symbols whose references which are compiler
57400         generated.
57401         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57403 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57405         [BZ #13884]
57406         [BZ #13914]
57407         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57408         USE_AS_EXP10L.
57409         (EXPL_FINITE): Likewise.
57410         (FLDLOG): Likewise.
57411         (c0): Likewise.
57412         (c1): Likewise.
57413         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57414         Adjust comments for base varying.
57415         (__expl_finite): Change alias to EXPL_FINITE.
57416         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57417         e_expl.S.
57418         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57419         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57420         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57421         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57423         USE_AS_EXP10L.
57424         (EXPL_FINITE): Likewise.
57425         (FLDLOG): Likewise.
57426         (c0): Likewise.
57427         (c1): Likewise.
57428         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57429         Adjust comments for base varying.
57430         (__expl_finite): Change alias to EXPL_FINITE.
57431         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57432         tests for bugs.
57433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57435         [BZ #14064]
57436         * math/libm-test.inc (check_float_internal): Correct ulp
57437         calculation for subnormal expected results.
57439 2012-05-06  Andreas Jaeger  <aj@suse.de>
57441         * Makeconfig (+math-flags): New, set to -frounding-math.
57442         (+cflags): Add +math-flags so that all of glibc gets compiled with
57443         it.
57445         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57447 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57449         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57450         Disable one test.
57452         [BZ #13787]
57453         [BZ #13922]
57454         [BZ #14036]
57455         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57456         (__ieee754_expl): Allow for and saturate large arguments.
57457         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57458         (u_threshold): Likewise.
57459         (__exp): Call __ieee754_exp before checking for overflow and
57460         underflow.
57461         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57462         (u_threshold): Likewise.
57463         (__expf): Call __ieee754_expf before checking for overflow and
57464         underflow.
57465         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57466         (u_threshold): Likewise.
57467         (__expl): Call __ieee754_expl before checking for overflow and
57468         underflow.
57469         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57470         (__ieee754_expl): Allow for and saturate large arguments.
57471         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57472         missing overflow exception on overflow.
57473         (expm1_test): Do not allow missing overflow exception on overflow.
57475         * sysdeps/i386/fpu/e_expl.c: Move to ...
57476         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57477         rather than using inline asm.
57478         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57479         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57480         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57482         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57483         (nice): Likewise.
57484         (poll): Likewise.
57485         (signal): Likewise.
57486         (time): Likewise.
57487         (times): Likewise.
57489 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57491         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57492         sysdeps/unix/common/syscalls.list.
57493         (fchmod): Likewise.
57494         (fchown): Likewise.
57495         (ftruncate): Likewise.
57496         (getrusage): Likewise.
57497         (gettimeofday): Likewise.
57498         (setpgid): Likewise.
57499         (setregid): Likewise.
57500         (setreuid): Likewise.
57501         (sigaction): Likewise.
57502         (truncate): Likewise.
57503         (vhangup): Likewise.
57504         * sysdeps/unix/common/syscalls.list: Remove file.
57505         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57506         * sysdeps/unix/sysv/linux/Implies: Likewise.
57508 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57510         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57512         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57513         Moved to ...
57514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57515         Here.
57516         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57517         to ...
57518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57519         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57520         to ...
57521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57522         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57523         to ...
57524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57525         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57526         to ...
57527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57528         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57529         to ...
57530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57531         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57532         to ...
57533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57534         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57535         to ...
57536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57537         Here.
57538         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57539         to ...
57540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57541         Here.
57542         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57543         to ...
57544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57545         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57546         Moved to ...
57547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57548         Here.
57549         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57550         to ...
57551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57555         * sysdeps/unix/common/bits/dirent.h: Remove file.
57556         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57558         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57559         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57560         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57561         * sysdeps/unix/bsd/isatty.c: Likewise.
57562         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57563         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57564         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57566 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57568         [BZ #13563]
57569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57570         long double comparison inaccuracies.
57571         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57574 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57576         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57577         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57579 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57581         [BZ #14049]
57582         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57583         nonzero digits before rounding a hex value.
57584         * stdlib/tst-strtod.c (tests): Add another test.
57586 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57588         * sysdeps/s390/fpu/libm-test-ulps: Update.
57590 2012-05-03  Andreas Jaeger  <aj@suse.de>
57592         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57593         does not get optimized out.
57594         (malloc_opt_barrier): New.
57596 2012-05-03  Andreas Jaeger  <aj@suse.de>
57597             Roland McGrath  <roland@hack.frob.com>
57599         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57600         intermediate file deletion.
57601         (generated): Add .symlist files.
57603 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57605         [BZ #13775]
57606         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57607         Redirect under this condition.
57608         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57609         [__USE_GNU] (__dprintf_chk): Not under this condition.
57610         [__USE_GNU] (__vdprintf_chk): Likewise.
57611         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57612         under this condition.
57613         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57614         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57615         [__USE_XOPEN2K8] (vdprintf): Likewise.
57616         [__USE_GNU] (__dprintf_chk): Not under this condition.
57617         [__USE_GNU] (__vdprintf_chk): Likewise.
57618         [__USE_GNU] (dprintf): Likewise.
57619         [__USE_GNU] (vdprintf): Likewise.
57621 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57623         * elf/Makefile (common-generated): Set this instead of generated for
57624         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57625         $(all-built-dso)-derived lists.
57627 2012-05-03  Andreas Jaeger  <aj@suse.de>
57629         * sysdeps/i386/fpu/libm-test-ulps: Update.
57631         * FAQ: Removed.
57632         * FAQ.in: Likewise.
57633         * scripts/gen-FAQ.pl: Likewise.
57634         * manual/install.texi (Installation): Point to online location of
57635         FAQ.
57636         * Makefile (files-for-dist): Remove FAQ.
57637         (FAQ): Remove.
57639 2012-05-02  Allan McRae  <allan@archlinux.org>
57641         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57642         (LDFLAGS-reldepmod5.so): Likewise.
57643         (LDFLAGS-reldep6mod1.so): Likewise.
57644         (LDFLAGS-reldep6mod4.so): Likewise.
57645         (LDFLAGS-reldep8mod3.so): Likewise.
57646         (LDFLAGS-unload4mod1.so): Likewise.
57647         (LDFLAGS-unload4mod2.so): Likewise.
57648         (LDFLAGS-tst-initorder): Likewise.
57649         (LDFLAGS-tst-initordera2.so): Likewise.
57650         (LDFLAGS-tst-initordera3.so): Likewise.
57651         (LDFLAGS-tst-initordera4.so): Likewise.
57652         (LDFLAGS-tst-initorderb2.so): Likewise.
57653         (LDFLAGS-noload): Likewise.
57654         (LDFLAGS-next): Likewise.
57655         (LDFLAGS-order2mod1.so): Likewise.
57656         (LDFLAGS-order2mod2.so): Likewise.
57657         (LDFLAGS-tst-initorder2): Likewise.
57658         (LDFLAGS-tst-initorder2a.so): Likewise.
57659         (LDFLAGS-tst-initorder2b.so): Likewise.
57660         (LDFLAGS-tst-initorder2c.so): Likewise.
57661         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57663 2012-05-02  David S. Miller  <davem@davemloft.net>
57665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57667 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57669         [BZ #14055]
57670         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57672 2012-05-02  Andreas Jaeger  <aj@suse.de>
57674         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57675         since we manipulate rounding mode.
57676         (CPPFLAGS-test-idouble.c): Likewise.
57677         (CPPFLAGS-test-ifloat.c): Likewise.
57678         (CFLAGS-test-ldouble.c): Likewise.
57679         (CFLAGS-test-double.c): Likewise.
57680         (CFLAGS-test-float.c): Likewise.
57681         (CFLAGS-test-misc.c): Likewise.
57682         (CFLAGS-test-test-fenv.c): Likewise.
57684 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57686         [BZ #2550]
57687         [BZ #2570]
57688         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57689         comparisons to determine direction to adjust input.
57691 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57693         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57694         output to the target.
57696         * scripts/localplt.awk: New file.
57697         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57698         (check-localplt-CFLAGS): Variable removed.
57699         ($(all-built-dso:=.jmprel)): New static pattern rule.
57700         (generated): Add those targets.
57701         (localplt-built-dso): New variable.
57702         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57704         * elf/check-localplt.c: File removed.
57706         * scripts/check-execstack.awk: New file.
57707         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57708         (check-execstack-CFLAGS): Variable removed.
57709         ($(objpfx)check-execstack.h): Target removed.
57710         ($(objpfx)execstack-default): New target.
57711         (generated): Add that instead of check-execstack.h.
57712         ($(all-built-dso:=.phdr)): New static pattern rule.
57713         (generated): Add those targets.
57714         * elf/check-execstack.c: File removed.
57716         * scripts/check-textrel.awk: New file.
57717         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57718         (check-textrel-CFLAGS): Variable removed.
57719         (all-built-dso): Use := to define.o
57720         ($(all-built-dso:=.dyn)): New static pattern rule.
57721         (generated): Add those targets.
57722         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57723         * config.make.in (READELF): New substituted variable.
57724         * elf/check-textrel.c: File removed.
57726 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57728         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57729         allow.
57730         * conform/data/ctype.h-data [C99-based standards] (isblank):
57731         Expect function.
57732         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57733         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57735         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57736         Specify type.  Require positive value.
57737         (EILSEQ): Likewise.
57738         (ERANGE): Likewise.
57739         [ISO || POSIX] (EILSEQ): Do not expect.
57740         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57741         Specify type.  Require positive value.
57742         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57743         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57744         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57745         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57746         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57747         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57748         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57749         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57750         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57751         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57752         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57753         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57754         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57755         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57756         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57757         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57758         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57759         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57760         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57761         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57762         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57763         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57764         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57765         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57766         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57767         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57768         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57769         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57770         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57771         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57772         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57773         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57774         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57775         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57776         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57777         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57778         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57779         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57780         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57781         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57782         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57783         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57784         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57785         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57786         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57787         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57788         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57789         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57790         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57791         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57792         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57793         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57794         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57795         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57796         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57797         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57798         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57799         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57800         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57801         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57802         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57803         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57804         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57805         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57806         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57807         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57808         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57809         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57810         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57811         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57812         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57813         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57814         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57815         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57816         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57817         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57818         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57819         Require >= 2.
57820         (FLT_ROUNDS): Expect as macro, not constant.
57821         (FLT_MANT_DIG): Use macro-int-constant.
57822         (DBL_MANT_DIG): Likewise.
57823         (LDBL_MANT_DIG): Likewise.
57824         (FLT_DIG): Likewise.
57825         (DBL_DIG): Likewise.
57826         (LDBL_DIG): Likewise.
57827         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57828         (DBL_MIN_EXP): Likewise.
57829         (LDBL_MIN_EXP): Likewise.
57830         (FLT_MAX_EXP): Use macro-int-constant.
57831         (DBL_MAX_EXP): Likewise.
57832         (LDBL_MAX_EXP): Likewise.
57833         (FLT_MAX_10_EXP): Likewise.
57834         (DBL_MAX_10_EXP): Likewise.
57835         (LDBL_MAX_10_EXP): Likewise.
57836         (FLT_MAX): Use macro-constant.
57837         (DBL_MAX): Likewise.
57838         (LDBL_MAX): Likewise.
57839         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57840         (DBL_EPSILON): Likewise.
57841         (LDBL_EPSILON): Likewise.
57842         (FLT_MIN): Likewise.
57843         (DBL_MIN): Likewise.
57844         (LDBL_MIN): Likewise.
57845         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57846         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57847         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57848         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57849         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57850         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57851         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57852         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57853         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57854         [ISO11] (FLT_TRUE_MIN): Likewise.
57855         [ISO11] (LDBL_TRUE_MIN): Likewise.
57856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57857         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57858         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57859         (SCHAR_MAX): Likewise.
57860         (UCHAR_MAX): Likewise.
57861         (CHAR_MIN): Likewise.
57862         (CHAR_MAX): Likewise.
57863         (MB_LEN_MAX): Use macro-int-constant.
57864         (SHRT_MIN): Use macro-int-constant.  Specify type.
57865         (SHRT_MAX): Likewise.
57866         (USHRT_MAX): Likewise.
57867         (INT_MAX): Likewise.
57868         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57869         bound negative.
57870         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57871         bound with "U".
57872         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57873         bound with "L".
57874         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57875         bound negative.  Suffix upper bound with "L".
57876         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57877         bound with "UL".
57878         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57879         Specify type.
57880         [C99-based standards] (LLONG_MAX): Likewise.
57881         [C99-based standards] (ULLONG_MAX): Likewise.
57882         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57883         == 0.
57884         [ISO11] (max_align_t): Require type.
57885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57887         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57888         from $CFLAGS, without defining away __attribute__ calls.
57889         (checknamespace): Use $CFLAGS_namespace.
57891         * conform/conformtest.pl (@keywords): Only include C99 keywords
57892         for standards based on C99 or C11.
57894         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57895         Disable tests.
57896         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57897         UNIX98]: Likewise.
57899         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57900         usability of symbols in #if.
57902         * conform/conformtest.pl: If macro or constant types start
57903         "promoted:", expect the symbol to be of the following type
57904         promoted by the integer promotions.
57906         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57907         in one place.  Also handle "macro-constant".
57909         * conform/conformtest.pl: Only accept expected macro values with
57910         "==".  Parse all "macro" lines in one place.
57911         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57913         * conform/conformtest.pl: Handle braced types on "constant" lines
57914         instead of handling "typed-constant".
57915         * conform/data/signal.h-data: Use "constant" instead of
57916         "typed-constant".
57918         * conform/conformtest.pl: Handle "optional-" at start of lines in
57919         one place rather than duplicating several cases.  Handle each
57920         format of "macro" line with initial "optional-".
57922         * conform/conformtest.pl: Only accept expected constant or
57923         optional-constant values with "==".  Parse all "constant" lines in
57924         one place.  Parse all "optional-constant" lines in one place.
57925         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57926         * conform/data/fmtmsg.h-data: Likewise.
57927         * conform/data/netinet/in.h-data: Likewise.
57928         * conform/data/tar.h-data: Likewise.
57929         * conform/data/limits.h-data: Use "==" form on "constant" and
57930         "optional-constant" lines.
57932         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57933         Use -std=c99 for XOPEN2K.
57934         (@knownproblems): Remove.
57935         (newtoken): Don't check %isknown.
57937         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57938         Do not expect macro.
57939         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57940         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57941         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57942         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57943         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57944         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57945         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57946         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57947         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57948         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57949         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57950         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57951         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57952         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57953         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57954         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57955         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57956         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57957         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57958         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57959         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57960         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57961         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57962         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57963         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57964         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57965         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57966         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57967         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57968         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57969         [XPG3] (acosh): Likewise.
57970         [XPG3] (asinh): Likewise.
57971         [XPG3] (atanh): Likewise.
57972         [XPG3] (cbrt): Likewise.
57973         [XPG3] (expm1): Likewise.
57974         [XPG3] (ilogb): Likewise.
57975         [XPG3] (log1p): Likewise.
57976         [XPG3] (logb): Likewise.
57977         [XPG3] (nextafter): Likewise.
57978         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57979         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57980         [XPG3] (remainder): Likewise.
57981         [XPG3] (rint): Likewise.
57982         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57983         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57984         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57985         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57986         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57987         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57988         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57989         [UNIX98 || XOPEN2K] (scalb): Expect.
57990         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57991         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57992         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57993         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57994         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57995         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57996         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57997         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57998         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57999         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58001         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58002         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58003         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58004         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58005         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58006         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58007         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58008         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58009         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58010         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58011         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58012         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58013         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58014         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58015         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58016         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58017         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58018         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58019         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58020         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58021         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58022         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58023         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58024         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58025         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58026         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58027         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58028         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58029         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58030         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58031         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58032         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58033         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58034         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58035         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58036         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58037         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58038         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58039         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58040         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58041         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58042         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58043         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58044         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58045         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58046         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58047         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58048         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58049         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58050         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58051         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58052         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58053         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58054         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58060         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58061         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58062         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58063         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58065         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58066         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58067         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58069         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58070         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58071         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58072         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58073         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58074         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58075         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58076         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58078         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58079         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58080         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58081         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58082         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58083         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58084         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58085         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58086         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58087         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58088         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58089         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58090         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58091         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58092         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58093         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58094         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58095         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58096         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58097         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58098         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58099         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58100         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58101         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58102         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58103         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58104         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58105         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58106         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58107         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58108         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58109         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58110         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58111         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58112         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58113         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58114         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58115         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58116         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58117         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58118         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58119         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58120         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58121         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58122         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58123         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58124         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58125         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58126         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58128         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58129         _XOPEN_SOURCE_EXTENDED for XPG4.
58131         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58133         * Makeconfig (localtime): Remove variable.
58134         (inst_localtime-file): Likewise.
58136 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58139         Update.
58140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58141         Update.
58142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58143         Update.
58144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58145         Update.
58146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58147         Update.
58148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58149         Update.
58150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58151         Update.
58152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58153         Update.
58154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58155         Update.
58157 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58159         [BZ #2550]
58160         [BZ #2570]
58161         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58162         comparisons to determine direction to adjust input.
58163         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58164         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58165         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58166         Likewise.
58167         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58168         Likewise.
58169         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58170         Likewise.
58171         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58172         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58173         Likewise.
58174         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58175         Likewise.
58176         * math/libm-test.inc (nexttoward_test): Add more tests.
58178 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58180         [BZ #14040]
58181         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58182         in version GLIBC_2.1, not GLIBC_2.0.
58183         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58184         Likewise.
58186 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58188         [BZ #13942]
58189         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58190         (1 - x) * (1 + x).
58191         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58192         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58193         * math/libm-test.inc (acos_test): Add more tests.
58194         (asin_test): Likewise.
58195         * sysdeps/i386/fpu/libm-test-ulps: Update.
58196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58198         [BZ #14034]
58199         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58200         of square root.
58201         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58202         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58203         * math/libm-test.inc (acos_test_tonearest): New function.
58204         (acos_test_towardzero): Likewise.
58205         (acos_test_downward): Likewise.
58206         (acos_test_upward): Likewise.
58207         (asin_test_tonearest): Likewise.
58208         (asin_test_towardzero): Likewise.
58209         (asin_test_downward): Likewise.
58210         (asin_test_upward): Likewise.
58211         (main): Call the new functions.
58212         * sysdeps/i386/fpu/libm-test-ulps: Update.
58213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58215         [BZ #13884]
58216         [BZ #13924]
58217         * math/e_exp10.c: Include <float.h>.
58218         (__ieee754_exp10): Handle underflow here rather than multiplying
58219         large negative argument by M_LN10.
58220         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58221         of __ieee754_expf.
58222         * math/e_exp10l.c: Include <float.h>.
58223         (__ieee754_exp10l): Handle underflow here rather than multiplying
58224         large negative argument by M_LN10l.
58225         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58226         spurious overflow exception on underflow.
58228 2012-04-29  Marek Polacek  <polacek@redhat.com>
58230         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58231         (__fortify_function): New macro.
58232         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58233         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58234         __extern_always_inline.
58235         * libio/bits/stdio2.h: Likewise.
58236         * libio/bits/stdio.h: Likewise.
58237         * string/string.h: Likewise.
58238         * string/bits/string3.h: Likewise.
58239         * include/stdio.h: Likewise.
58240         * stdlib/bits/stdlib.h: Likewise.
58241         * stdlib/stdlib.h: Likewise.
58242         * rt/bits/mqueue2.h: Likewise.
58243         * rt/mqueue.h: Likewise.
58244         * posix/bits/unistd.h: Likewise.
58245         * posix/unistd.h: Likewise.
58246         * io/bits/poll2.h: Likewise.
58247         * io/bits/fcntl2.h: Likewise.
58248         * io/fcntl.h: Likewise.
58249         * io/sys/poll.h: Likewise.
58250         * misc/bits/syslog.h: Likewise.
58251         * misc/bits/syslog-ldbl.h: Likewise.
58252         * misc/sys/syslog.h: Likewise.
58253         * socket/bits/socket2.h: Likewise.
58254         * socket/sys/socket.h: Likewise.
58255         * debug/tst-chk1.c: Likewise.
58256         * wcsmbs/bits/wchar2.h: Likewise.
58257         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58258         * wcsmbs/wchar.h: Likewise.
58260 2012-04-29  Andreas Jaeger  <aj@suse.de>
58262         * Makerules (tests): Remove enable-check-abi protection.
58263         (check-abi-warn): Remove.
58264         (check-abi-%): Remove check-abi-warn usage.
58266         * configure.in: Remove check-abi configure option.
58267         * configure: Regenerated.
58268         * config.make.in (enable-check-abi): Remove.
58270 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58272         [BZ #14033]
58273         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58274         double functions to double *_finite functions.
58276         [BZ #13941]
58277         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58278         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58279         LDBL_MIN_EXP.
58280         * stdio-common/Makefile (tests): Add tst-sprintf3.
58281         * stdio-common/tst-sprintf3.c: New file.
58283         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58284         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58286 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58288         * conform/conformtest.pl: Remove duplicate typed-constant
58289         handling.
58291 2012-04-28  David S. Miller  <davem@davemloft.net>
58293         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58294         (check-abi-%): Remove AWK script prerequisite and explicit
58295         abilist directory.
58296         (check-abi): Rewrite to just diff the symlist with the abilist.
58297         (config-tls, config-abi-config): Delete, no longer used.
58298         (update-abi-%): Remove AWK script and explicit abilist directory.
58299         (update-abi): Rewrite to simply compare and conditionally copy the
58300         symlist and the sysdep abilist file.  Remove update-abi-config
58301         checks.
58302         * abilist/ld.abilist: Remove.
58303         * abilist/libBrokenLocale.abilist: Remove.
58304         * abilist/libanl.abilist: Remove.
58305         * abilist/libcrypt.abilist: Remove.
58306         * abilist/libdl.abilist: Remove.
58307         * abilist/librt.abilist: Remove.
58308         * abilist/libthread_db.abilist: Remove.
58309         * abilist/libutil.abilist: Remove.
58310         * scripts/extract-abilist.awk: Remove.
58311         * scripts/merge-abilist.awk: Remove.
58312         * sysdeps/generic/libcidn.abilist: New file.
58313         * sysdeps/generic/libnss_compat.abilist: New file.
58314         * sysdeps/generic/libnss_db.abilist: New file.
58315         * sysdeps/generic/libnss_dns.abilist: New file.
58316         * sysdeps/generic/libnss_files.abilist: New file.
58317         * sysdeps/generic/libnss_hesiod.abilist: New file.
58318         * sysdeps/generic/libnss_nis.abilist: New file.
58319         * sysdeps/generic/libnss_nisplus.abilist: New file.
58320         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58321         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58322         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58323         file.
58324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58325         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58326         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58327         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58328         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58329         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58330         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58331         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58332         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58333         file.
58334         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58335         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58336         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58337         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58338         file.
58339         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58340         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58341         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58342         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58343         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58344         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58345         file.
58346         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58347         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58348         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58349         file.
58350         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58352         New file.
58353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58354         New file.
58355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58356         New file.
58357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58358         New file.
58359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58360         New file.
58361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58362         New file.
58363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58364         New file.
58365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58366         New file.
58367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58368         New file.
58369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58370         New file.
58371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58372         New file.
58373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58374         New file.
58375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58376         New file.
58377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58378         file.
58379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58380         New file.
58381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58382         New file.
58383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58384         file.
58385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58386         New file.
58387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58388         New file.
58389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58390         file.
58391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58392         New file.
58393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58394         New file.
58395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58396         New file.
58397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58398         New file.
58399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58400         New file.
58401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58402         New file.
58403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58405         file.
58406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58407         New file.
58408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58409         file.
58410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58411         file.
58412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58413         file.
58414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58415         file.
58416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58417         file.
58418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58419         New file.
58420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58421         file.
58422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58423         file.
58424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58425         New file.
58426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58427         file.
58428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58430         file.
58431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58432         New file.
58433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58434         file.
58435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58436         file.
58437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58438         file.
58439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58440         file.
58441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58442         file.
58443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58444         New file.
58445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58446         file.
58447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58448         file.
58449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58450         New file.
58451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58452         file.
58453         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58454         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58455         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58456         file.
58457         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58458         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58459         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58460         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58461         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58462         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58463         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58464         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58465         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58466         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58469         file.
58470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58471         New file.
58472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58473         file.
58474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58475         file.
58476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58477         file.
58478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58479         file.
58480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58481         file.
58482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58483         New file.
58484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58485         New file.
58486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58487         file.
58488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58489         New file.
58490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58491         file.
58492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58494         file.
58495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58496         New file.
58497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58498         file.
58499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58500         file.
58501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58502         file.
58503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58504         file.
58505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58506         file.
58507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58508         New file.
58509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58510         New file.
58511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58512         file.
58513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58514         New file.
58515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58516         file.
58518 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58520         * conform/conformtest.pl: Fix typo in handling typed-constant from
58521         allow-header.
58523 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58525         * README: Cut down references to pre-2.6 Linux kernels and
58526         Linuxthreads.  Update lists of configurations in libc and ports
58527         and sort alphabetically.  Say "or newer" with Linux kernel version
58528         requirements.
58530         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58532 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58534         [BZ #887]
58535         * math/libm-test.inc (logb_test_downward): New test to expose
58536         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58537         rounding mode.
58539 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58541         [BZ #14027]
58542         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58543         to be done.
58544         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58545         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58547 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58549         * sysdeps/unix/i386/brk.S: Remove file.
58550         * sysdeps/unix/i386/dl-brk.S: Likewise.
58551         * sysdeps/unix/i386/pipe.S: Likewise.
58552         * sysdeps/unix/i386/sigreturn.S: Likewise.
58553         * sysdeps/unix/i386/syscall.S: Likewise.
58554         * sysdeps/unix/i386/vfork.S: Likewise.
58555         * sysdeps/unix/i386/wait.S: Likewise.
58557         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58558         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58560         * configure.in (arm*-none*): Do not allow without
58561         --enable-hacker-mode.
58562         (netbsd*): Remove case setting base_os.
58563         (386bsd*): Likewise.
58564         (freebsd*): Likewise.
58565         (bsdi*): Likewise.
58566         (osf*): Likewise.
58567         (sunos*): Likewise.
58568         (ultrix*): Likewise.
58569         (newsos*): Likewise.
58570         (dynix*): Likewise.
58571         (*bsd*): Likewise.
58572         (sysv*): Likewise.
58573         (isc*): Likewise.
58574         (esix*): Likewise.
58575         (sco*): Likewise.
58576         (minix*): Likewise.
58577         (irix4*): Likewise.
58578         (irix6*): Likewise.
58579         (solaris[2-9]*): Likewise.
58580         (none): Likewise.
58581         * configure: Regenerated.
58583 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58585         [BZ #11521]
58586         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58587         overflow or cancellation in calculating denominator.
58588         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58589         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58590         down expression to avoid unexpected rounding in newer GCCs.
58591         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58593 2012-04-26  David S. Miller  <davem@davemloft.net>
58595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58596         long-double compat symbols.
58597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58611 2012-04-25  David S. Miller  <davem@davemloft.net>
58613         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58614         HWCAP_* values only after the memory barriers have been defined.
58615         (atomic_full_barrier): Define.
58616         (atomic_read_barrier): Define.
58617         (atomic_write_barrier): Define.
58619 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58621         * shlib-versions: Add libgcc_s version information.
58622         * sysdeps/generic/libgcc_s.h: Remove.
58623         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58624         libgcc_s.h.
58625         * sysdeps/gnu/unwind-resume.c: Likewise.
58626         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58628 2012-04-25  David S. Miller  <davem@davemloft.net>
58630         * sysdeps/unix/sparc/brk.S: Delete.
58631         * sysdeps/unix/sparc/dl-brk.S: Delete.
58632         * sysdeps/unix/sparc/pipe.S: Delete.
58633         * sysdeps/unix/sparc/sysdep.S: Delete.
58634         * sysdeps/unix/sparc/sysdep.h: Delete.
58635         * sysdeps/unix/sparc/vfork.S: Delete.
58636         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58637         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58638         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58639         (ret_ERRVAL, r0, r1, MOVE): Define.
58640         (JUMPTARGET): Remove.
58641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58642         sysdeps/unix/sparc/sysdep.h
58643         (ENTRY, END): Remove.
58644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58646 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58648         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58649         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58650         -DIS_IN_build.
58652         * timezone/README: Update upstream location and email address for
58653         tzcode and tzdata.
58654         * timezone/zdump.c: Update from tzcode 2012b.
58655         * timezone/zic.c: Likewise.
58657         * configure.in (libc_cv_as_needed): Remove test.
58658         * configure: Regenerated.
58659         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58660         conditional definition.
58661         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58662         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58663         * config.make.in (have-as-needed): Remove variable.
58665 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58666             Paul Pluzhnikov  <ppluzhnikov@google.com>
58668         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58669         strings correctly.
58671 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58673         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58674         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58675         * sysdeps/sh/strlen.S: Likewise.
58677 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58679         * sysdeps/unix/fork.S: Remove file.
58680         * sysdeps/unix/i386/fork.S: Likewise.
58681         * sysdeps/unix/sparc/fork.S: Likewise.
58683         * sysdeps/unix/system.c: Remove file.
58684         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58686         * sysdeps/unix/getegid.S: Remove file.
58687         * sysdeps/unix/geteuid.S: Likewise.
58689 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58691         * scripts/check-localplt.awk: New file.
58692         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58693         of diff.
58694         * scripts/data/localplt-generic.data: Add a comment.
58696         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58697         NODE when __dir_mkfile failed.
58698         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58699         Reported by Ludovic Courtès <ludo@gnu.org>.
58701 2012-04-24  Andreas Jaeger  <aj@suse.de>
58703         * Makerules (common-clean): Also remove gen-as-const-headers
58704         files.
58706 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58708         * Makerules (native-compile): Do not change working directory for
58709         build.  Use $(OUTPUT_OPTION) in command.
58710         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58712 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58714         [BZ #13886]
58715         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58716         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58717         * math/libm-test.inc (floor_test): Add more tests.
58718         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58720 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58722         * sysdeps/unix/getdents.c: Remove file.
58723         * sysdeps/unix/sysv/getdents.c: Likewise.
58724         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58726         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58727         sysdeps/unix/mman/syscalls.list.
58728         (mmap): Likewise.
58729         (mprotect): Likewise.
58730         (msync): Likewise.
58731         (munmap): Likewise.
58732         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58733         * sysdeps/unix/mman/syscalls.list: Remove.
58734         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58736         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58737         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58738         * configure: Regenerated.
58739         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58740         $(libgcc_s_suffix).
58741         * config.make.in (libgcc_s_suffix): Remove variable.
58743 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58745         * sysdeps/unix/sysv/gethostname.c: Move to ...
58746         * sysdeps/posix/gethostname.c: ... here.
58748         * sysdeps/unix/execve.S: Remove file.
58750         * sysdeps/unix/_exit.S: Remove file.
58752 2012-04-23  Andreas Jaeger  <aj@suse.de>
58754         [BZ #13739]
58755         * manual/Makefile: Remove make dist support, there's no
58756         need for a stand-alone documentation tar ball.
58757         (TEXI2DVI): Define always, it's not in Makeconfig.
58758         (dist): Removed.
58759         (tar-it): Removed.
58760         (edition): Removed.
58761         (glibc-doc-$(edition).tar): Removed
58762         (%.Z): Removed.
58763         (%.gz): Removed.
58764         (%.uu): Removed.
58765         (ETAGS): Remove, it's in Makeconfig.
58766         (move-if-change): Remove, it's in Makeconfig.
58768 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58770         [BZ #13970]
58771         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58772         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58773         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58774         (strtod_l, strtof_l, strtold_l): Remove __wur.
58775         It is not necessarily an error to ignore strtol's return value.
58776         One can reliably look at the stored endptr to decide whether
58777         the number had valid syntax.
58779 2012-04-21  Andreas Jaeger  <aj@suse.de>
58781         [BZ #13739]
58782         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58784 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58786         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58787         * sysdeps/unix/sysv/Versions: Remove file.
58789 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58791         [BZ #13927]
58792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58794 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58796         [BZ #7064]
58797         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58798         version from __vm86.
58800 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58802         * sysdeps/unix/common/lxstat.c: Remove file.
58803         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58805         * sysdeps/unix/sysv/Makefile: Remove file.
58807         * sysdeps/unix/sysv/direct.h: Remove file.
58809         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58810         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58811         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58812         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58813         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58814         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58815         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58817         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58819         * sysdeps/unix/xmknod.c: Remove file.
58820         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58822         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58824         * sysdeps/unix/sysv/i386/time.S: Remove file.
58826         * sysdeps/unix/fxstat.c: Remove file.
58827         * sysdeps/unix/xstat.c: Likewise.
58828         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58830         * sysdeps/unix/sysv/sigaction.c: Remove file.
58832         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58833         (sysdep_headers): Remove variable.
58834         [termio.h not in sysdep_headers] (generated): Likewise.
58835         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58836         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58837         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58838         * sysdeps/unix/sysv/tcflow.c: Likewise.
58839         * sysdeps/unix/sysv/tcflush.c: Likewise.
58840         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58841         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58842         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58843         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58844         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58846         * sysdeps/unix/siglist.c: Remove file.
58848         * sysdeps/unix/getppid.S: Remove file.
58850         * sysdeps/unix/mkdir.c: Remove file.
58851         * sysdeps/unix/rmdir.c: Likewise.
58853 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58855         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58856         ERR_MAX value.
58857         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58858         errlist-compat value.
58860 2012-04-18  David S. Miller  <davem@davemloft.net>
58862         * sysdeps/generic/memcopy.h (reg_char): Delete.
58863         * debug/strcat_chk.c: Use char, not reg_char.
58864         * debug/strcpy_chk.c: Likewise.
58865         * debug/strncat_chk.c: Likewise.
58866         * debug/strncpy_chk.c: Likewise.
58867         * string/memchr.c: Likewise.
58868         * string/memrchr.c: Likewise.
58869         * string/rawmemchr.c: Likewise.
58870         * string/strcat.c: Likewise.
58871         * string/strchr.c: Likewise.
58872         * string/strchrnul.c: Likewise.
58873         * string/strcmp.c: Likewise.
58874         * string/strcpy.c: Likewise.
58875         * string/strncat.c: Likewise.
58876         * string/strncmp.c: Likewise.
58877         * string/strncpy.c: Likewise.
58879 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58881         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58882         __builtin_memcopy is called when src and dest ranges are known to not
58883         overlap.
58885 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58887         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58888         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58889         fwd_align_merge macro call.
58890         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58891         bwd_align_merge macro call.
58892         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58894 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58896         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58897         bwd_align_merge macros.
58898         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58899         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58900         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58902 2012-04-18  David S. Miller  <davem@davemloft.net>
58904         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58906 2012-04-18  Andreas Jaeger  <aj@suse.de>
58908         [BZ# 6794]
58909         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58910         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58911         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58913         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58914         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58915         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58917         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58918         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58919         Adjust for changed ldbl-128 files.
58921         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58922         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58923         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58925 2012-04-17  David S. Miller  <davem@davemloft.net>
58927         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58929 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58931         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58932         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58933         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58934         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58935         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58936         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58938 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58940         [BZ #6794]
58941         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58942         * math/libm-test.inc: Add ilogb errno and exception tests.
58943         * math/w_ilogb.c: New file: ilogb wrapper.
58944         * math/w_ilogbf.c: New file: ilogbf wrapper.
58945         * math/w_ilogbl.c: New file: ilogbl wrapper.
58946         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58947         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58948         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58949         exception being thrown with 0.0 as argument.
58950         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58951         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58952         exception being thrown with 0.0 as argument.
58953         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58954         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58955         exception being thrown with 0.0 as argument.
58956         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58957         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58958         exception being thrown with 0.0 as argument.
58959         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58960         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58961         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58962         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58963         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58964         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58965         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58966         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58967         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58969 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58971         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58972         with altivec.
58974 2012-04-16  Marek Polacek  <polacek@redhat.com>
58976         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58978 2012-04-16  Marek Polacek  <polacek@redhat.com>
58980         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58981         operands of fdivp instruction.
58983 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58985         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58986         * elf/tst-auditmod3b.c: Likewise.
58987         * elf/tst-auditmod4b.c: Likewise.
58988         * elf/tst-auditmod5b.c: Likewise.
58989         * elf/tst-auditmod6b.c: Likewise.
58990         * elf/tst-auditmod6c.c: Likewise.
58991         * elf/tst-auditmod7b.c: Likewise.
58992         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58993         * sysdeps/x86_64/preconfigure.in: Likewise.
58994         * sysdeps/x86_64/preconfigure: Regenerated.
58996 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58998         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58999         __ILP32__.
59001 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59004         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59006 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59008         [BZ #13973]
59009         * locale/iso-639.def: Fix gl language name. Spotted by
59010         Yaron Shahrabani.
59012 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59014         [BZ #2074]
59015         * libio/libio.h (__io_write_fn): Update comment.
59017 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59019         [BZ #2074]
59020         * stdio.texi (Hook Functions): The user provided writer function
59021         is not allowed to return -1.
59023 2012-04-11  David S. Miller  <davem@davemloft.net>
59025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59027 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59029         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59030         Add a leading slash to rtkaio.
59032 2012-04-11  Jim Meyering  <meyering@redhat.com>
59034         [BZ #11959]
59035         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59036         It is not necessarily an error to ignore fwrite's return
59037         value.  One can reliably use ferror to test for errors after
59038         the fact.
59040 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59042         * bits/types.h (__snseconds_t): New type.
59043         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59045         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59047         (__SNSECONDS_T_TYPE): Likewise.
59048         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59049         (__SNSECONDS_T_TYPE): Likewise.
59050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59051         (__SNSECONDS_T_TYPE): Likewise.
59053 2012-04-10  Andreas Jaeger  <aj@suse.de>
59055         [BZ #2636]
59056         * manual/time.texi (Processor Time): Return type of times is
59057         elapsed real time since an arbitrary point in the past.
59058         (CPU Time): Move CLK_TCK from here...
59059         (Processor Time): ...to here.  Correct description.
59060         * manual/conf.texi (Constants for Sysconf): Correct description of
59061         _SC_CLK_TCK.
59063 2012-04-10  David S. Miller  <davem@davemloft.net>
59065         [BZ #13967]
59066         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59067         where the is a gap between DT_REL(A) and DT_JMPREL.
59069 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59071         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59072         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59073         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59075 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59077         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59078         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59079         (dl_main): Handle --inhibit-cache.
59080         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59081         _dl_inhibit_cache.
59082         * elf/dl-load.c (_dl_map_object): Use it.
59083         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59085 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59087         [BZ #13872]
59088         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59089         (__ieee754_powl): Saturate large exponents rather than testing for
59090         overflow of y*log2(x).
59091         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59092         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59093         exceptions.
59095         [BZ #11521]
59096         * math/s_ctan.c: Include <float.h>.
59097         (__ctan): Avoid internal overflow or cancellation in calculating
59098         denominator.
59099         * math/s_ctanf.c: Likewise.
59100         * math/s_ctanl.c: Likewise.
59101         * math/s_ctanh.c: Likewise.
59102         * math/s_ctanhf.c: Likewise.
59103         * math/s_ctanhl.c: Likewise.
59104         * math/libm-test.inc (ctan_test): Add more tests.
59105         (ctanh_test): Likewise.
59106         * sysdeps/i386/fpu/libm-test-ulps: Update.
59107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59109 2012-04-09  Andreas Jaeger  <aj@suse.de>
59111         [BZ #6894]
59112         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59113         is an optional BSD extension.
59115         [BZ #10254]
59116         * manual/stdio.texi (Opening Streams): Document additional fopen
59117         parameters.
59119 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59121         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59122         %eax without telling the compiler.
59124 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59126         [BZ # 13963]
59127         * manual/install.texi: Use sourceware.org.
59129 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59131         [BZ #13873]
59132         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59133         (__ieee754_pow): Generate overflow and underflow using huge*huge
59134         and tiny*tiny rather than just returning constant infinity or zero
59135         for large exponents.
59136         * math/libm-test.inc (pow_test): Require overflow exceptions for
59137         applicable cases of large exponents.
59139         [BZ #706]
59140         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59141         (__ieee754_pow): Use iterative multiplication algorithm only for
59142         integer exponents with absolute value below 1024.  Check for odd
59143         integer exponents when using algorithm for real exponents.
59144         * math/libm-test.inc (pow_test): Add more tests.
59145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59147 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59149         [BZ #13705]
59150         * math/libm-test.inc (exp_test): Do not allow overflow exception
59151         on underflow test.
59153 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59155         [BZ #13705]
59156         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59157         instead of __kernel_standard_f.
59159 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59161         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59162         * sysdeps/x86_64/memset_chk.S: Likewise.
59164 2012-04-08  Andreas Jaeger  <aj@suse.de>
59166         [BZ #10153]
59167         * manual/startup.texi (Environment Access): Describe return value
59168         for putenv and setenv.
59170         [BZ #6895]
59171         * manual/filesys.texi (Directory Entries): Add description for
59172         DT_LNK.
59174         [BZ #6890]
59175         * manual/filesys.texi (Directory Entries): Clarify that it's file
59176         system not operating system in the description of DT_UNKNOWN.
59178         [BZ #6578]
59179         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59181 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59183         [BZ #6649]
59184         * manual/llio.texi (Opening and Closing Files): Add cross
59185         reference to explain mode argument.
59187 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59189         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59190         * sysdeps/x86_64/memset_chk.S: Likewise.
59192 2012-04-07  David S. Miller  <davem@davemloft.net>
59194         * elf/elf.h (R_SPARC_WDISP10): Define.
59195         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59196         R_SPARC_SIZE32.
59197         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59198         R_SPARC_SIZE64 and R_SPARC_H34.
59200 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59202         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59203         conditions and remove no longer applicable assertion.
59205 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59207         * bits/byteswap.h: Include <features.h>.
59208         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59209         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59211 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59213         * bits/byteswap.h (__bswap_16): Removed.
59214         Include <bits/byteswap-16.h> to get __bswap_16.
59215         * sysdeps/i386/bits/byteswap.h: Likewise.
59216         * sysdeps/s390/bits/byteswap.h: Likewise.
59217         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59218         * bits/byteswap-16.h: New file.
59219         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59220         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59221         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59222         * string/Makefile (headers): Add bits/byteswap-16.h.
59224 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59226         [BZ #13895]
59227         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59228         extra indirection.
59229         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59230         * nss/tst-nss-static.c: New.
59232 2012-04-06  Robert Millan  <rmh@gnu.org>
59234         [BZ #6486]
59235         * manual/llio.texi (File Position Primitive): lseek
59236         refers to WHENCE when it really means OFFSET.
59238 2012-04-06  Andreas Jaeger  <aj@suse.de>
59240         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59241         strncmp declarations.
59243         * abilist/libc.abilist: Add __poll and __ppoll.
59245 2012-04-05  David S. Miller  <davem@davemloft.net>
59247         * scripts/check-local-headers.sh: Accept a host triplet in the
59248         path matched by the exclude regexp.
59250         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59251         definition.
59252         * sysdeps/powerpc/powerpc32/dl-machine.h
59253         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59254         * sysdeps/s390/s390-32/dl-machine.h
59255         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59256         * sysdeps/sparc/sparc32/dl-machine.h
59257         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59258         * sysdeps/sparc/sparc64/dl-machine.h
59259         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59261         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59262         lazy binding.
59263         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59264         undefined symbol errors.
59266         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59267         DT_NEEDED entries.
59269 2012-04-05  Michael Matz  <matz@suse.de>
59271         [BZ #13592]
59272         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59274 2012-04-05  Andreas Jaeger  <aj@suse.de>
59276         [BZ #13908]
59277         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59278         comment.
59280 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59282         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59283         which ROUND is no valid rounding mode.
59285 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59287         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59288         read again.
59289         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59291 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59293         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59294         an exception using FPU order intentionally.
59296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59298         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59299         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59300         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59301         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59303 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59305         [BZ #12340]
59306         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59307         EINVAL when BUFLEN is too smal.
59309 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59311         [BZ #13553]
59312         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59313         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59315 2012-04-03  Andreas Jaeger  <aj@suse.de>
59317         [BZ #13938]
59318         * manual/setjmp.texi (System V contexts): Fix sentence.
59320         [BZ #13926]
59321         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59322         New macro for this case.
59323         [!__GNUC__] (__bswap_64): New inline function for this case.
59324         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59325         * bits/byteswap.h: Likewise.
59326         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59327         ull, guard with __GLIBC_HAVE_LONG_LONG.
59329         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59330         __GLIBC_HAVE_LONG_LONG.
59332         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59333         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59335 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59337         [BZ #13691]
59338         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59339         inptr and inend, rather than using last_ch.
59341 2012-04-02  David S. Miller  <davem@davemloft.net>
59343         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59344         * stdio-common/printf-parse.h (read_int): Change return type to
59345         'int', return -1 on INT_MAX overflow.
59346         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59347         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59348         overflows INT_MAX.  Check for overflow of in-format-string precision
59349         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59350         SIZE_MAX not INT_MAX for integer overflow test.
59351         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59352         skip the construct in the format string but do not record anything.
59353         * stdio-common/bug22.c: Adjust to test both width/prevision
59354         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59355         explicitly for proper errno values.
59357 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59359         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59360         CHAR_MAX.
59361         * string/test-strcmp.c [! WIDE]: Likewise.
59362         * time/tst-mktime2.c: Likewise for INT_MAX.
59363         * string/test-string.h: #include <sys/param.h> for MIN.
59365         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59366         * sysdeps/i386/init-first.c (init): Likewise.
59367         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59368         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59369         * sysdeps/sh/init-first.c (init): Likewise.
59371 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59373         * po/ru.po: Update from translation team.
59374         * po/vi.po: Likewise.
59376 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59378         * resolv/nss_dns/dns-host.c: Merge copyright years.
59380 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59382         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59383         Optimize memcpy with prefetch if
59384         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59385         src, dst pointers have unequal 16 byte alignments.
59387 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59389         [BZ #13928]
59390         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59391         from a CNAME entry and return the minimum ttl for the query.
59392         (gaih_getanswer_slice): Likewise.
59394 2012-03-30  Jeff Law  <law@redhat.com>
59396         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59397         due to long keys.
59398         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59399         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59401         * resolv/nss_dns/dns-host.c: Update copyright year.
59403 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59405         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59406         requests to save a system call.  Fix check that all bytes are sent.
59408         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59409         comments for sendmmsg.
59411 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59413         [BZ #13691]
59414         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59415         with only 1 character between 0x0041 and 0x01b0.
59416         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59417         * wcsmbs/tst-mbsnrtowcs.c: New file.
59419 2012-03-29  David S. Miller  <davem@davemloft.net>
59421         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59422         small copies by hand.
59424 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59426         [BZ #13761]
59427         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59428         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59429         group memberships.
59431 2012-03-28  David S. Miller  <davem@davemloft.net>
59433         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59434         that branches into memcpy.
59435         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59438         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59440         bits.
59441         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59442         implementation too.
59443         * sysdeps/sparc/mempcpy.S: New file.
59445         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59446         the IFUNC routine in the libc case.
59447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59449         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59450         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59451         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59452         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59453         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59454         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59455         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59456         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59458         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59459         loop to 256 bytes instead of 64 bytes and fix test signedness.
59461         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59462         * sysdeps/sparc/sparc32/Makefile: rather than here...
59463         * sysdeps/sparc/sparc64/Makefile: and here.
59465 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59467         * malloc/mallocbug.c: Avoid warnings about unused variables.
59469 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59471         [BZ #13760]
59472         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59473         in the right place. Discard and retry query if response is
59474         larger than input buffer size.
59476 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59478         [BZ #369]
59479         [BZ #2678]
59480         [BZ #3866]
59481         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59482         x for large integer exponent.
59483         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59484         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59485         sign of result as needed afterwards.
59486         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59487         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59488         result for underflowing pow the same as for overflow.
59489         (__kernel_standard_l): Handle powl overflow and underflow here
59490         rather than calling __kernel_standard.
59491         * math/libm-test.inc (pow_test): Add more tests.
59493         [BZ #3868]
59494         [BZ #13879]
59495         [BZ #13910]
59496         [BZ #13911]
59497         [BZ #13912]
59498         [BZ #13913]
59499         [BZ #13915]
59500         [BZ #13916]
59501         [BZ #13917]
59502         [BZ #13918]
59503         [BZ #13919]
59504         [BZ #13920]
59505         [BZ #13921]
59506         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59507         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59508         (__kernel_standard_l): New function.
59509         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59510         __kernel_standard.
59511         * math/w_acosl.c (__acosl): Likewise.
59512         * math/w_asinl.c (__asinl): Likewise.
59513         * math/w_atan2l.c (__atan2l): Likewise.
59514         * math/w_atanhl.c (__atanhl): Likewise.
59515         * math/w_coshl.c (__coshl): Likewise.
59516         * math/w_exp10l.c (__exp10l): Likewise.
59517         * math/w_exp2l.c (__exp2l): Likewise.
59518         * math/w_fmodl.c (__fmodl): Likewise.
59519         * math/w_hypotl.c (__hypotl): Likewise.
59520         * math/w_j0l.c (__j0l, __y0l): Likewise.
59521         * math/w_j1l.c (__j1l, __y1l): Likewise.
59522         * math/w_jnl.c (__jnl, __ynl): Likewise.
59523         * math/w_lgammal.c (__lgammal): Likewise.
59524         * math/w_log10l.c (__log10l): Likewise.
59525         * math/w_log2l.c (__log2l): Likewise.
59526         * math/w_logl.c (__logl): Likewise.
59527         * math/w_powl.c (__powl): Likewise.
59528         * math/w_remainderl.c (__remainderl): Likewise.
59529         * math/w_scalbl.c (sysv_scalbl): Likewise.
59530         * math/w_sinhl.c (__sinhl): Likewise.
59531         * math/w_sqrtl.c (__sqrtl): Likewise.
59532         * math/w_tgammal.c (__tgammal): Likewise.
59533         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59534         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59535         * math/libm-test.inc (acos_test): Add more tests.
59536         (acosh_test): Likewise.
59537         (asin_test): Likewise.
59538         (atanh_test): Likewise.
59539         (exp_test): Likewise.
59540         (exp10_test): Likewise.
59541         (exp2_test): Likewise.
59542         (expm1_test): Likewise.
59543         (lgamma_test): Likewise.
59544         (log_test): Likewise.
59545         (log10_test): Likewise.
59546         (log1p_test): Likewise.
59547         (log2_test): Likewise.
59548         (pow_test): Do not allow some spurious overflow exceptions.
59549         (sqrt_test): Add more tests.
59550         (tgamma_test): Likewise.
59551         (y0_test): Likewise.
59552         (y1_test): Likewise.
59553         (yn_test): Likewise.
59555 2012-03-27  Anton Blanchard  <anton@samba.org>
59557         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59558         MAP_HUGETLB.
59559         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59560         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59561         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59563 2012-03-27  David S. Miller  <davem@davemloft.net>
59565         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59567         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59568         have-as-vis3 check.
59570 2012-03-27  Andreas Jaeger  <aj@suse.de>
59572         * sysdeps/x86_64/elf/configure.in: Moved to ...
59573         * sysdeps/x86_64/configure.in: ... here.
59574         * sysdeps/x86_64/elf/start.S: Moved to ...
59575         * sysdeps/x86_64/start.S: ... here.
59576         * sysdeps/x86_64/elf/configure: Delete.
59578         * sysdeps/x86_64/configure.in: Merge contents from
59579         sysdeps/i386/configure.in (without i686 check).
59581         * sysdeps/i386/elf/Versions: Merge into ...
59582         * sysdeps/i386/Versions: ... this.
59583         * sysdeps/i386/elf/Versions: Delete file.
59584         * sysdeps/i386/elf/start.S: Moved to ...
59585         * sysdeps/i386/start.S: ...here.
59586         * sysdeps/i386/elf/configure.in: Merge into...
59587         * sysdeps/i386/configure.in: ...here.
59588         * sysdeps/i386/elf/configure.in: Delete file.
59589         * sysdeps/i386/elf/configure: Delete file.
59591         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59592         * debug/backtracesyms.c: ... here.
59593         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59594         * debug/backtracesymsfd.c: ... here.
59595         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59596         * sysdeps/generic/ifunc-sel.h: ... here.
59598         * sysdeps/unix/i386/start.c: Delete file.
59599         * sysdeps/unix/sparc/start.c: Delete file.
59600         * sysdeps/unix/start.c: Delete file.
59602         * sysdeps/sh/elf/configure.in: Moved to ...
59603         * sysdeps/sh/configure.in: ... here.
59604         * sysdeps/sh/elf/start.S: Moved to ...
59605         * sysdeps/sh/start.S: ... here.
59606         * sysdeps/sh/elf/configure: Delete file.
59608         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59609         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59610         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59611         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59612         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59613         * sysdeps/powerpc/powerpc64/start.S: here.
59614         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59615         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59616         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59617         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59618         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59620         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59621         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59622         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59623         * sysdeps/powerpc/powerpc32/start.S: ... here.
59624         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59625         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59626         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59628         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59629         * sysdeps/powerpc/ifunc-sel.h: ... here.
59630         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59631         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59633         * sysdeps/sparc/elf/configure.in: Moved to ...
59634         * sysdeps/sparc/configure.in: ... here.
59635         * sysdeps/sparc/elf/configure: Delete file.
59636         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59637         * sysdeps/sparc/sparc32/start.S: ... here.
59638         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59639         * sysdeps/sparc/sparc64/start.S: ... here.
59640         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59641         * sysdeps/sparc/sparc32/Makefile: ... this.
59642         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59643         * sysdeps/sparc/sparc64/Makefile: ... this.
59645         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59646         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59647         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59648         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59649         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59650         * sysdeps/s390/s390-32/setjmp.S: ... here.
59651         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59652         * sysdeps/s390/s390-32/configure.in: ... here.
59653         * sysdeps/s390/s390-32/elf/configure: Delete file.
59654         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59655         * sysdeps/s390/s390-32/start.S: ... here.
59657         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59658         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59659         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59660         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59661         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59662         * sysdeps/s390/s390-64/setjmp.S: ... here.
59663         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59664         * sysdeps/s390/s390-64/configure.in: ... here
59665         * sysdeps/s390/s390-64/elf/configure: Delete file.
59666         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59667         * sysdeps/s390/s390-64/start.S: ... here.
59668         * sysdeps/s390/s390-64/elf/configure: Delete.
59670         * configure.in: Remove support for elf directories in sysdeps.
59672         * configure: Regenerated.
59673         * sysdeps/i386/configure: Regenerated.
59674         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59675         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59676         * sysdeps/s390/s390-32/configure: Regenerated.
59677         * sysdeps/s390/s390-64/configure: Regenerated.
59678         * sysdeps/sh/configure: Regenerated.
59679         * sysdeps/sparc/configure: Regenerated.
59680         * sysdeps/x86_64/configure: Regenerated.
59682 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59687         denormal result into account.
59689 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59691         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59692         Reported by Allan McRae <allan@archlinux.org>.
59694 2012-03-23  Jeff Law  <law@redhat.com>
59696         * nss/getnssent.c (__nss_getent): Fix typo.
59698 2012-03-23  David S. Miller  <davem@davemloft.net>
59700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59702 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59704         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59705         to pad to uint64_t for each field.
59706         (dl_tls_index): Replace unsigned long with uint64_t.
59708 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59709         Paul Pluzhnikov  <ppluzhnikov@google.com>
59711         [BZ #6528]
59712         * grp/Makefile (otherlibs): Don't set it.
59713         * inet/Makefile (otherlibs): Likewise.
59714         * login/Makefile (otherlibs): Likewise.
59715         * nscd/Makefile (otherlibs): Likewise.
59716         * posix/Makefile (otherlibs): Likewise.
59717         * pwd/Makefile (otherlibs): Likewise.
59718         * rt/Makefile (otherlibs): Likewise.
59719         * sunrpc/Makefile (otherlibs): Likewise.
59720         * nss/Makefile (otherlibs): Likewise.
59721         Add libnss_files to routines and static-only-routines.
59722         ($(objpfx)getent): Remove rule.
59723         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59724         static-only-routines.
59726 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59728         [BZ #13892]
59729         * math/s_cexp.c: Include <float.h>.
59730         (__cexp): Handle exp result overflowing not necessarily
59731         overflowing both real and imaginary parts of result.
59732         * math/s_cexpf.c: Likewise.
59733         * math/s_cexpl.c: Likewise.
59734         * math/libm-test.inc (cexp_test): Add more tests.
59735         * sysdeps/i386/fpu/libm-test-ulps: Update.
59736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59738 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59740         * include/link.h (ELFW): New macro.
59741         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59742         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59744 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59746         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59747         with uint64_t.
59749 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59751         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59752         declaration.
59753         (struct La_x32_retval): Likewise.
59755 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59757         * sysdeps/x86_64/preconfigure.in: New file.
59758         * sysdeps/x86_64/preconfigure: New generated file.
59760 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59762         [BZ #13824]
59763         * math/e_exp2l.c: Include <float.h>.
59764         (__ieee754_exp2l): Handle overflow and underflow cases
59765         separately.  Only pass fractional part of argument to
59766         __ieee754_expl.
59767         * math/libm-test.inc (exp2_test): Add more tests.
59769         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59770         negating x to take absolute value.
59771         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59772         Likewise.
59773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59775         Likewise.
59776         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59777         computing low part if x was negated.
59778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59780 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59782         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59783         la_x32_gnu_pltexit.
59784         (pltexit): Cast int_retval to ptrdiff_t.
59785         * elf/tst-auditmod3b.c: Likewise.
59786         * elf/tst-auditmod4b.c: Likewise.
59787         * elf/tst-auditmod5b.c: Likewise.
59788         * elf/tst-auditmod6b.c: Likewise.
59789         * elf/tst-auditmod6c.c: Likewise.
59790         * elf/tst-auditmod7b.c: Likewise.
59792         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59793         and x32_gnu_pltexit.
59795         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59796         __ELF_NATIVE_CLASS.
59797         (La_x32_regs): New macro.
59798         (La_x32_retval): Likewise.
59799         (la_x32_gnu_pltenter): New function prototype.
59800         (la_x32_gnu_pltexit): Likewise.
59802 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59804         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59805         exponent.
59807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59809         * configure.in (libc_cv_cc_nofma): Check for option to disable
59810         generation of FMA instructions.
59811         * configure: Regenerate.
59812         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59813         * sysdeps/ieee754/dbl-64/Makefile: New file.
59814         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59815         Remove brandred-fma4.
59816         (CFLAGS-brandred-fma4.c): Remove.
59817         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59818         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59819         define.
59820         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59821         define.
59823 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59825         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59826         LLONG_MAX != LONG_MAX.
59827         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59828         (_fitoa_word): Likewise.
59829         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59830         LLONG_MAX != LONG_MAX.
59831         * stdio-common/_itowa.h: Include <_itoa.h>.
59832         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59833         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59834         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59835         only if not defined.
59836         (_ITOA_WORD_TYPE): Likewise.
59837         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59838         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59840 2012-03-21  David S. Miller  <davem@davemloft.net>
59842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59844 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59846         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59847         of x86_64 when setting libc_cv_slibdir, libdir and
59848         libc_cv_localedir.
59849         * sysdeps/unix/sysv/linux/configure: Regenerated.
59851 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59853         * manual/lang.texi (Old Varargs): Remove section.
59854         (How Variadic): Update menu.
59855         (va_start): Do not mention varargs.h.
59857 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59858             Joseph Myers  <joseph@codesourcery.com>
59860         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59861         link test.
59862         * configure: Regenerated.
59864 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59866         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59867         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59868         conformtest.pl
59870 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59872         * NOTES: Remove.
59873         * Makefile (files-for-dist): Remove NOTES.
59874         (NOTES): Remove rule.
59875         * README: Don't refer to NOTES.
59876         * manual/creature.texi: Don't include macros.texi.
59877         * manual/intro.texi (creature.texi): Remove comment referring to
59878         NOTES.
59880         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59881         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59882         * configure: Regenerated.
59883         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59884         LIBC_TRY_CC_OPTION.
59885         (libc_cv_as_i686): Likewise.
59886         (libc_cv_cc_avx): Likewise.
59887         (libc_cv_cc_sse2avx): Likewise.
59888         (libc_cv_cc_fma4): Likewise.
59889         (libc_cv_cc_novzeroupper): Likewise.
59890         * sysdeps/i386/configure: Regenerated.
59892         [BZ #13883]
59893         * sysdeps/i386/fpu/s_cexp.S: Remove.
59894         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59895         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59896         * math/libm-test.inc (cexp_test): Add more tests.
59897         * sysdeps/i386/fpu/libm-test-ulps: Update.
59898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59900 2012-03-21  Allan McRae  <allan@archlinux.org>
59902         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59904 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59906         [BZ #13871]
59907         * math/w_exp2.c: Do not include <float.h>.
59908         (o_threshold, u_threshold): Remove.
59909         (__exp2): Calculate result before checking finiteness and calling
59910         __kernel_standard.
59911         * math/w_exp2f.c: Likewise.
59912         * math/w_exp2l.c: Likewise.
59913         * math/libm-test.inc (exp2_test): Require overflow exception for
59914         1e6 input.
59916         [BZ #3866]
59917         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59918         range of signed 64-bit integers before using fistpll.  Remove
59919         checks for whether integers fit in mantissa bits.
59920         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59921         the range of signed 32-bit integers before using fistpl.  Remove
59922         checks for whether integers fit in mantissa bits.
59923         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59924         (__ieee754_powl): Test for y outside the range of signed 64-bit
59925         integers before using fistpll.  Reduce 64-bit values to 63-bit
59926         ones as needed.
59927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59928         divide-by-zero is raised for zero to large negative powers.
59929         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59930         (__ieee754_powl): Test for y outside the range of signed 64-bit
59931         integers before using fistpll.  Reduce 64-bit values to 63-bit
59932         ones as needed.
59933         * math/libm-test.inc (pow_test): Add more tests.
59935 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59937         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59938         <stdio-common/_itoa.h>.
59939         * debug/segfault.c: Likewise.
59940         * elf/dl-cache.c: Likewise.
59941         * elf/dl-minimal.c: Likewise.
59942         * elf/dl-misc.c: Likewise.
59943         * elf/dl-sysdep.c: Likewise.
59944         * elf/dl-version.c: Likewise.
59945         * elf/rtld.c: Likewise.
59946         * hurd/hurdsock.c: Likewise.
59947         * hurd/lookup-retry.c: Likewise.
59948         * malloc/malloc.c: Likewise.
59949         * malloc/mtrace.c: Likewise.
59950         * nscd/nscd_getgr_r.c: Likewise.
59951         * nscd/nscd_getpw_r.c: Likewise.
59952         * nscd/nscd_getserv_r.c: Likewise.
59953         * posix/getopt_init.c: Likewise.
59954         * posix/wordexp.c: Likewise.
59955         * stdio-common/_itoa.c: Likewise.
59956         * stdio-common/printf_fphex.c: Likewise.
59957         * stdio-common/vfprintf.c: Likewise.
59958         * string/_strerror.c: Likewise.
59959         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59960         * sysdeps/i386/i686/hp-timing.h: Likewise.
59961         * sysdeps/mach/_strerror.c: Likewise.
59962         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59963         * sysdeps/mach/hurd/sethostid.c: Likewise.
59964         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59965         * sysdeps/mach/xpg-strerror.c: Likewise.
59966         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59967         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59968         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59969         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59970         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59971         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59972         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59973         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59974         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59975         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59976         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59977         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59978         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59979         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59980         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59981         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59982         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59983         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59984         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59985         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59986         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59988         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59990         * stdio-common/_itoa.h: Moved to ...
59991         * sysdeps/generic/_itoa.h: Here.
59993         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59995         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59996         instead of "_itoa.h" and "_itowa.h".
59997         * stdio-common/vfprintf.: Likewise.
59999 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60001         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60002         <bits/wordsize.h>.
60003         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60004         (__signbit): Likwise.
60005         (llrintf): Likwise.
60006         (llrint): Likwise.
60008 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60010         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60011         __WORDSIZE != 64.
60013 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60015         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60016         OVERFLOW_EXCEPTION_OK.
60017         * math/libm-test.inc ("Philosophy"): Update comment about
60018         exception testing.
60019         (OVERFLOW_EXCEPTION): Define.
60020         (OVERFLOW_EXCEPTION_OK): Likewise.
60021         (INVALID_EXCEPTION_OK): Renumber.
60022         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60023         (IGNORE_ZERO_INF_SIGN): Likewise.
60024         (test_exceptions): Handle FE_OVERFLOW.
60025         (exp10_test): Expect overflow exceptions.
60026         (exp2_test): Likewise.
60027         (expm1_test): Likewise.
60028         (nextafter_test): Likewise.
60029         (pow_test): Likewise.
60030         (scalbn_test): Likewise.
60031         (scalbln_test): Likewise.
60033 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60035         * sysdeps/x86_64/bits/atomic.h
60036         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60037         64bit integer.
60038         (atomic_exchange_acq): Likewise.
60039         (__arch_exchange_and_add_body): Likewise.
60040         (__arch_add_body): Likewise.
60041         (atomic_add_negative): Likewise.
60042         (atomic_add_zero): Likewise.
60044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60046         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60047         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60051         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60052         Check __x86_64__ instead of __WORDSIZE.
60054 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60056         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60058 2012-03-19  David S. Miller  <davem@davemloft.net>
60060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60062         * sysdeps/sparc/fpu/fenv_private.h: New file.
60063         * sysdeps/sparc/fpu/math_private.h: Use it.
60064         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60065         Remove.
60066         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60067         (libc_feholdexcept_setroundl): Remove.
60068         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60069         Remove.
60070         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60071         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60073 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60075         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60076         int64_t instead of long int.
60077         (INSERT_WORDS64): Likwise.
60079 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60081         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60082         _Unwind_GetCFA return to _Unwind_Ptr first.
60084 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60086         [BZ #13629]
60087         * math/s_clog.c: Include <float.h>.
60088         (__clog): Scale large or subnormal inputs.
60089         * math/s_clogf.c: Likewise.
60090         * math/s_clogl.c: Likewise.
60091         * math/s_clog10.c: Include <float.h>.
60092         (M_LOG10_2): Define.
60093         (__clog10): Scale large or subnormal inputs.
60094         * math/s_clog10f.c: Likewise.
60095         * math/s_clog10l.c: Likewise.
60096         * math/libm-test.inc (clog_test): Add more tests.
60097         (clog10_test): Likewise.
60098         * sysdeps/i386/fpu/libm-test-ulps: Update.
60099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60101         [BZ #11451]
60102         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60103         x and y.
60104         * math/libm-test.inc (atan2_test): Add another test.
60106         * Makerules (common-objdir-compile): Remove.
60107         * sysdeps/unix/Makefile (config-generated): Do not add
60108         $(unix-generated) to variable.
60109         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60110         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60111         Remove rule.
60112         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60113         Likewise.
60114         [generic bits/local_lim.h] (before-compile): Do not append to
60115         variable.
60116         [generic bits/local_lim.h] (common-generated): Likewise.
60117         [generic sys/param.h] (before-compile): Do not append to variable.
60118         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60119         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60120         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60121         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60122         include.
60123         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60124         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60125         [generic sys/param.h] ($(addprefix
60126         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60127         [generic sys/param.h] (common-generated): Do not append to
60128         variable.
60129         [generic sys/param.h] (sysdep_headers): Likewise.
60130         [generic bits/errno.h] (before-compile): Do not append to
60131         variable.
60132         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60133         rule.
60134         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60135         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60136         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60137         [generic bits/errno.h] (common-generated): Do not append to
60138         variable.
60139         [generic bits/ioctls.h] (before-compile): Do not append to
60140         variable.
60141         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60142         rule.
60143         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60144         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60145         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60146         rule.
60147         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60148         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60149         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60150         [generic bits/ioctls.h] (common-generated): Do not append to
60151         variable.
60152         [generic sys/syscall.h] (syscall.h): Remove variable.
60153         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60154         rule.
60155         [generic sys/syscall.h] (before-compile): Do not append to
60156         variable.
60157         [generic sys/syscall.h] (common-generated): Likewise.
60158         * sysdeps/unix/errnos-tmpl.c: Remove file.
60159         * sysdeps/unix/errnos.awk: Likewise.
60160         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60161         * sysdeps/unix/ioctls.awk: Likewise.
60162         * sysdeps/unix/mk-local_lim.c: Likewise.
60163         * sysdeps/unix/snarf-ioctls: Likewise.
60165 2012-03-19  Richard Henderson  <rth@twiddle.net>
60167         * sysdeps/i386/fpu/fenv_private.h: New file.
60168         * sysdeps/i386/fpu/math_private.h: Use it.
60169         (math_opt_barrier, math_force_eval): Remove.
60170         (libc_feholdexcept_setround_53bit): Remove.
60171         (libc_feupdateenv_53bit): Remove.
60172         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60173         (math_opt_barrier, math_force_eval): Remove.
60174         (libc_feholdexcept): Remove.
60175         (libc_feholdexcept_setround): Remove.
60176         (libc_fetestexcept, libc_fesetenv): Remove.
60177         (libc_feupdateenv_test): Remove.
60178         (libc_feupdateenv, libc_feholdsetround): Remove.
60179         (libc_feresetround): Remove.
60181         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60182         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60184         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60185         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60186         (libc_feupdateenv_testl): New.
60187         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60188         (libc_feupdateenv_testf): New.
60189         (libc_feupdateenv): Use libc_feupdateenv_test.
60190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60191         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60193         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60194         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60195         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60196         (libc_feresetround_noex): New.
60197         (libc_feresetround_noexf): New.
60198         (libc_feresetround_noexl): New.
60199         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60200         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60201         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60202         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60203         SET_RESTORE_ROUND.
60204         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60206         (__cos): Likewise.
60207         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60208         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60209         SET_RESTORE_ROUND_NOEX.
60210         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60211         SET_RESTORE_ROUND_NOEXF.
60212         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60213         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60214         (libc_feholdsetroundf): New.
60215         (libc_feresetround, libc_feresetroundf): New.
60217         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60218         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60219         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60221         * sysdeps/generic/math_private.h: Include <fenv.h>.
60222         (default_libc_feholdexcept): New.
60223         (default_libc_feholdexcept_setround): New.
60224         (default_libc_fesetenv, default_libc_feupdateenv): New.
60225         (libc_feholdexcept): Only define if undefined.
60226         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60227         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60228         (libc_feholdexcept_setroundl): Likewise.
60229         (libc_feholdexcept_setround_53bit): Likewise.
60230         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60231         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60232         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60233         (libc_feupdateenv_53bit): Likewise.
60234         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60235         (libc_feholdexcept): Convert from macro to inline function.
60236         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60237         (libc_fesetenv, libc_feupdateenv): Likewise.
60239         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60240         not previously defined.
60241         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60242         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60243         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60244         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60245         * sysdeps/ieee754/flt-32/math_private.h: New file.
60246         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60247         math_private.h below SET_FLOAT_WORD.
60248         (__isnan, __isinf_ns, __finite): Remove.
60249         (__isnanf, __isinf_nsf, __finitef): Remove.
60251 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60255 2012-03-17  David S. Miller  <davem@davemloft.net>
60257         [BZ #6471]
60258         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60259         for 2.16.
60261 2012-03-16  David S. Miller  <davem@davemloft.net>
60263         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60264         warnings.
60266         [BZ #6471]
60267         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60268         properly.
60269         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60270         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60271         sysdep_routines when subdir is sysvipc.
60272         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60273         __getshmlba helper.
60275         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60277 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60279         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60280         [__LP64__].
60282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60284         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60285         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60286         (__lround): Renamed to ...
60287         (__llround): This.  Replace long int with long long int.
60288         Define lround functions as aliases of llround functions.
60289         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60291 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60293         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60294         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60295         adresses to uintptr_t.  Replace "long int" and "unsigned long
60296         int" with "greg_t" on va_arg.
60298 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60300         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60301         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60303         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60304         Move e_machine check before EI_CLASS check.  Handle x32
60305         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60306         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60307         SKIP_EM_IA_64 and include
60308         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60310         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60311         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60312         (add_system_dir): New macro.
60314         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60315         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60317 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60319         [BZ #2551]
60320         [BZ #2552]
60321         [BZ #2553]
60322         [BZ #2554]
60323         [BZ #2562]
60324         [BZ #2563]
60325         [BZ #2565]
60326         [BZ #2566]
60327         [BZ #2576]
60328         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60329         (y0): Likewise.
60330         * math/w_j0f.c (j0f): Likewise.
60331         (y0f): Likewise.
60332         * math/w_j0l.c (__j0l): Likewise.
60333         (__y0l): Likewise.
60334         * math/w_j1.c (j1): Likewise.
60335         (y1): Likewise.
60336         * math/w_j1f.c (j1f): Likewise.
60337         (y1f): Likewise.
60338         * math/w_j1l.c (__j1l): Likewise.
60339         (__y1l): Likewise.
60340         * math/w_jn.c (jn): Likewise.
60341         (yn): Likewise.
60342         * math/w_jnf.c (jnf): Likewise.
60343         (ynf): Likewise.
60344         * math/w_jnl.c (__jnl): Likewise.
60345         (__ynl): Likewise.
60346         * math/libm-test.inc (j0_test): Add more tests.
60347         (j1_test): Likewise.
60348         (jn_test): Likewise.  Add trailing semicolon to existing test.
60349         (y0_test): Likewise.
60350         (y1_test): Likewise.
60351         * sysdeps/i386/fpu/libm-test-ulps: Update.
60352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60354         [BZ #13851]
60355         [BZ #13854]
60356         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60357         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60358         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60359         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60360         (__tanl): Set errno for infinite argument.
60361         * sysdeps/i386/fpu/mptan.c: Remove.
60362         * sysdeps/i386/fpu/s_tan.S: Likewise.
60363         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60364         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60365         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60366         * math/libm-test.inc (tan_test): Add more tests and enable more
60367         tests for double and long double.
60368         * sysdeps/i386/fpu/libm-test-ulps: Update.
60369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60371 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60373         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60374         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60376 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60378         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60379         * configure.in: Use it for both main tree and add-ons.
60380         * configure: Regenerated.
60382 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60384         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60386 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60388         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60389         in comment.
60391         [BZ #13851]
60392         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60393         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60394         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60395         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60396         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60397         infinite argument.
60398         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60399         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60400         != 0 for prec == 2.
60401         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60402         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60403         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60404         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60405         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60406         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60407         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60408         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60409         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60410         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60411         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60412         * math/libm-test.inc (cos_test): Add more tests and enable more
60413         tests for long double.
60414         (sin_test): Likewise.
60415         (sincos_test): Likewise.
60416         * sysdeps/i386/fpu/libm-test-ulps: Update.
60417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60419 2012-03-16  David S. Miller  <davem@davemloft.net>
60421         * sysdeps/sparc/fpu/math_private.h: New file.
60423 2012-03-15  David S. Miller  <davem@davemloft.net>
60425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60426         file.
60427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60429         file.
60430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60435         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60436         sysdep routines.
60437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60439         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60440         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60442         * sysdeps/sparc/sparc-ifunc.h: New file.
60443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60444         sparc-ifunc.h
60445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60447         Likewise.
60448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60449         Likewise.
60450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60454         Likewise.
60455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60460         Likewise.
60461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60462         Likewise.
60463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60469         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60470         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60482         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60485         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60486         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60488 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60490         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60491         scaling.
60492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60494 2012-03-15  Andreas Jaeger  <aj@suse.de>
60496         [BZ #13852]
60497         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60498         ieee754/flt-32 implementation for sin, cos and sincos.
60499         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60500         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60501         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60502         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60503         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60504         ieee754/flt-32 implementation for tan.
60506         * math/libm-test.inc (cos_test): Enable some large input tests for
60507         float as well
60508         (sin_test): Likewise.
60509         (sincos_test): Likewise.
60510         (tan_test): Add tests for large input.
60512         * sysdeps/i386/fpu/libm-test-ulps: Update.
60514 2012-03-15  Andreas Jaeger  <aj@suse.de>
60516         [BZ #13658]
60517         * math/libm-test.inc (cos_test): Add more test cases.
60518         (sin_test): Likewise.
60519         (sincos_test): Likewise.
60521 2012-03-15  Andreas Jaeger  <aj@suse.de>
60523         [BZ #13837]
60524         * math/libm-test.inc (cos_test): Add a test case for large input
60525         value.
60526         (sin_test): Likewise.
60527         (sincos_test): Likewise.
60529 2012-03-15  Andreas Jaeger  <aj@suse.de>
60530             Joseph Myers  <joseph@codesourcery.com>
60532         [BZ #13658]
60533         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60534         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60535         * sysdeps/i386/fpu/branred.c: Likewise.
60536         * sysdeps/i386/fpu/dosincos.c: Likewise.
60537         * sysdeps/i386/fpu/mpa.c: Likewise.
60538         * sysdeps/i386/fpu/s_cos.S: Likewise.
60539         * sysdeps/i386/fpu/s_sin.S: Likewise.
60540         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60541         * sysdeps/i386/fpu/sincos32.c: Likewise.
60543         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60544         Define.
60545         (libc_feupdateenv_53bit): Define.
60546         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60547         Define.
60548         (libc_feupdateenv_53bit): Define.
60550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60551         53 bit (without extend i386 double precision).
60553         * math/libm-test.inc (sincos_test): Add tests for large input.
60554         (sin): Likewise.
60555         (cos): Likewise.
60557         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60559 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60563 2012-03-15  David S. Miller  <davem@davemloft.net>
60565         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60566         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60567         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60568         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60581         file.
60582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60584         file.
60585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60587         file.
60588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60590         file.
60591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60592         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60593         fmin/fmax sysdep routines.
60594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60596 2012-03-14  David S. Miller  <davem@davemloft.net>
60598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60599         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60602         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60603         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60618         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60619         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60620         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60621         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60622         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60623         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60624         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60627         routines.
60628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60629         file.
60630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60632         file.
60633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60635         file.
60636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60638         file.
60639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60641         file.
60642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60644         file.
60645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60646         file.
60647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60648         file.
60649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60650         file.
60651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60652         New file.
60653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60654         file.
60655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60656         file.
60657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60659         file.
60660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60662         file.
60663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60665         file.
60666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60668         VIS3 routines.
60670         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60671         New file.
60673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60675         * sysdeps/sparc/configure.in: New file.
60676         * sysdeps/sparc/configure: Generate.
60677         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60678         * configure: Regenerate.
60679         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60680         * config.make.in (have-as-vis3): New.
60681         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60682         available use -Av9d instead of -Av9a.
60683         * sysdeps/sparc/sparc64/Makefile: Likewise.
60684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60686         New file.
60687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60688         file.
60689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60690         New file.
60691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60692         file.
60693         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60694         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60695         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60699         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60700         fzeros/fnegs to load 0x80000000 into a float register instead of
60701         using the stack.
60702         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60704 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60707         bits/syscall.h.
60708         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60709         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60710         ($(inst_includedir)/bits/syscall.h): Remove rule.
60711         ($(objpfx)bits/syscall.d): Include instead of
60712         $(objpfx)syscall-list.d.
60713         (generated): Change syscall-list.h and syscall-list.d to
60714         bits/syscall.h and bits/syscall.d.
60716 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60718         [BZ #13846]
60719         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60721 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60723         [BZ #13841]
60724         * math/s_csqrt.c: Include <float.h>.
60725         (__csqrt): Scale large or subnormal inputs.
60726         * math/s_csqrtf.c: Likewise.
60727         * math/s_csqrtl.c: Likewise.
60728         * math/libm-test.inc (csqrt_test): Add more tests.
60729         * sysdeps/i386/fpu/libm-test-ulps: Update.
60730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60732         [BZ #13840]
60733         * math/libm-test.inc (hypot_test): Add more tests.
60735 2012-03-13  David S. Miller  <davem@davemloft.net>
60737         [BZ #13840]
60738         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60739         double-precision for the calculation instead of scaling.
60741 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60743         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60744         manipulate bits before adding and subtracting TWO52[sx].
60745         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60746         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60747         Likewise.
60748         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60750 2012-03-13  David S. Miller  <davem@davemloft.net>
60752         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60753         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60754         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60755         rtld-global-offsets.h
60756         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60758         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60759         large parameters.
60761         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60763         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60764         'err' in the ifdef scope in which it is actually used.
60766         * nss/nss_db/db-init.c: Include string.h
60768 2012-03-12  David S. Miller  <davem@davemloft.net>
60770         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60771         masking out of the most significant byte of random value used.
60772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60773         Fix coding style in previous change.
60775         * sysdeps/unix/sysv/linux/kernel-features.h
60776         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60777         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60778         expression.
60779         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60780         later.
60782 2012-03-11  David S. Miller  <davem@davemloft.net>
60784         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60785         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60786         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60787         for 'resultvar' otherwise things get truncated on 64-bit.
60789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60790         Fix masking out of the most significant byte of random value used.
60792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60794 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60798 2012-03-09  David S. Miller  <davem@davemloft.net>
60800         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60801         variables with appropriate CPP guards.
60802         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60803         from the frame pointer, not the stack pointer.  Correct layout
60804         comments.  Fix test on resulting framesize and the management of
60805         the outregs buffer for pltexit.  Preserve floating point return
60806         values across _dl_call_pltexit call.
60807         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60808         framesize and the management of the outregs buffer for pltexit.
60809         Preserve floating point return values across _dl_call_pltexit
60810         call.
60811         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60812         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60813         (la_sparc64_gnu_pltexit): New functions.
60814         (print_exit): Fix format string for return register value.
60816 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60818         * sunrpc/Makefile (others): Add rpcgen.
60819         ($(objpfx)rpcgen): Remove special build rule and dependency on
60820         libc.
60821         * sunrpc/rpcgen.c: New file.
60823 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60825         [BZ #13673]
60826         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60827         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60828         * sysdeps/i386/crti.S: Likewise.
60829         * sysdeps/i386/crtn.S: Likewise.
60830         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60831         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60832         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60833         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60834         * sysdeps/sh/crti.S: Likewise.
60835         * sysdeps/sh/crtn.S: Likewise.
60836         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60838         [BZ #13673]
60839         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60840         with URL.
60841         * locale/programs/locfile-kw.gperf: Likewise.
60842         * locale/programs/charmap-kw.h: Regenerated.
60843         * locale/programs/locfile-kw.h: Likewise.
60845         [BZ #13673]
60846         * intl/plural.y: Replace FSF snail mail address with URL.
60847         * intl/plural.c: Regenerated.
60849 2012-03-09  Richard Henderson  <rth@twiddle.net>
60851         * include/math_private.h: Remove file.
60852         * math/math_private.h: Move file ...
60853         * sysdeps/generic/math_private.h: ... here.
60855         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60856         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60857         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60859         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60860         and <math_private.h>.
60861         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60862         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60863         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60864         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60865         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60866         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60867         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60869         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60870         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60871         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60872         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60873         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60875         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60876         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60877         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60878         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60879         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60880         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60882         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60883         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60884         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60885         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60886         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60887         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60888         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60889         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60890         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60891         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60893         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60894         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60895         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60896         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60898         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60899         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60900         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60901         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60902         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60903         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60904         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60905         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60906         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60907         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60908         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60909         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60910         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60911         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60912         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60913         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60914         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60915         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60916         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60917         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60918         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60919         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60920         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60921         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60922         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60924         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60925         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60926         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60927         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60928         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60929         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60930         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60931         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60932         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60933         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60934         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60935         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60939         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60940         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60941         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60942         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60943         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60944         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60945         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60946         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60948         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60949         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60950         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60951         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60952         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60953         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60954         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60955         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60956         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60957         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60958         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60959         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60960         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60961         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60962         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60963         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60964         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60965         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60966         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60967         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60968         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60969         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60970         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60971         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60972         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60973         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60974         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60975         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60976         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60977         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60978         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60979         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60980         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60981         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60982         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60983         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60984         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60985         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60986         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60987         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60988         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60989         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60990         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60991         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60992         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60993         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60994         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60995         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60996         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60997         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60998         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60999         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61000         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61001         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61002         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61003         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61004         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61005         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61006         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61007         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61008         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61009         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61010         * sysdeps/ieee754/k_standard.c: Likewise.
61011         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61014         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61015         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61016         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61017         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61018         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61019         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61022         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61023         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61024         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61025         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61026         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61027         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61028         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61029         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61030         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61031         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61032         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61033         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61034         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61035         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61036         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61037         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61038         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61039         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61040         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61041         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61042         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61043         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61044         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61045         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61046         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61047         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61048         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61049         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61050         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61051         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61052         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61053         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61054         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61056         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61057         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61058         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61059         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61060         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61061         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61062         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61063         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61064         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61065         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61066         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61067         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61068         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61069         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61070         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61071         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61072         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61073         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61074         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61075         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61076         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61077         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61078         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61079         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61080         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61081         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61083         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61084         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61085         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61086         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61087         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61088         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61090         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61091         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61092         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61093         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61094         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61095         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61096         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61097         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61098         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61099         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61100         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61102         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61103         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61104         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61106         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61107         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61108         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61109         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61110         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61112         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61113         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61114         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61115         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61118         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61119         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61120         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61122         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61123         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61124         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61125         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61126         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61127         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61128         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61129         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61130         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61131         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61132         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61133         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61134         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61135         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61136         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61137         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61138         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61139         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61140         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61141         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61142         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61143         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61144         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61145         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61146         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61157         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61158         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61159         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61160         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61161         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61164         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61165         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61166         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61167         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61168         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61169         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61170         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61171         * sysdeps/ieee754/s_lib_version.c: Likewise.
61172         * sysdeps/ieee754/s_matherr.c: Likewise.
61173         * sysdeps/ieee754/s_signgam.c: Likewise.
61174         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61175         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61176         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61177         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61178         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61179         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61180         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61181         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61182         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61183         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61184         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61185         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61186         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61187         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61188         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61189         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61190         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61191         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61192         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61193         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61196 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61198         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61199         * sunrpc/rpc_main.c: Likewise.
61200         * sunrpc/rpc_svcout.c: Likewise.
61202 2012-03-09  David S. Miller  <davem@davemloft.net>
61204         * include/math_private.h: New file.
61206 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61208         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61209         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61210         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61211         from <bits/socket_type.h>.
61212         (enum __socket_type): Don't define here.
61213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61215         bits/socket_type.h.
61217         [BZ #13566]
61218         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61219         checking __USE_GNU.
61221         * Makerules ($(inst_includedir)/%.h): New rule.
61222         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61223         (install-others): Remove variable setting.
61224         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61226 2012-03-08  Richard Henderson  <rth@twiddle.net>
61228         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61229         from macro to inline function; merge with the
61230         !__LIBC_INTERNAL_MATH_INLINES version.
61231         (__ieee754_sqrtf): Likewise.
61233         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61234         to inline function.
61235         (__rintf, __floor, __floorf): Likewise.
61237         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61238         macro to inline function.
61239         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61241         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61242         not <math/math_private.h>.
61244 2012-03-08  David S. Miller  <davem@davemloft.net>
61246         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61247         copyright year.
61248         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61250 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61252         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61253         normalization.
61254         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61255         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61257 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61259         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61260         be defined individually, they must be defined as a block.  Define
61261         S for printing a string instead of hidint the different by using a
61262         macro for adding the 'l'.
61263         * stdio-common/tst-fphex-wide.c: Adjust.
61265 2012-03-07  Marek Polacek  <polacek@redhat.com>
61267         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61269 2012-03-08  Marek Polacek  <polacek@redhat.com>
61271         [BZ #13806]
61272         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61273         * stdio-common/tst-fphex.c: Define a few macros to make the
61274         test reusable.  Use them.
61275         * stdio-common/tst-fphex-wide.c: New file.
61277 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61279         [BZ #6911]
61280         * manual/macros.texi (gnusystems): New macro.
61281         (nongnusystems): Likewise.
61282         (gnulinuxhurdsystems): Likewise.
61283         (gnuhurdsystems): Likewise..
61284         (gnulinuxsystems): Likewise.
61285         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61286         variants of the GNU system, not "GNU system".
61287         * manual/conf.texi: Likewise.
61288         * manual/errno.texi: Likewise.  Update example of errno macro
61289         expansion.
61290         * manual/filesys.texi: Likewise.
61291         (getumask): Document as specific to GNU/Hurd.
61292         * manual/install.texi: Likewise.  Reword some references to
61293         GNU/Linux.
61294         * manual/intro.texi: Likewise.
61295         * manual/io.texi: Likewise.
61296         (File Name Portability): Detail which constraints are inapplicable
61297         to all GNU systems and which are only inapplicable to GNU/Hurd.
61298         * manual/job.texi: Likewise.
61299         * manual/llio.texi: Likewise.
61300         (O_NOCTTY): Document as present on GNU/Linux.
61301         * manual/maint.texi: Likewise.
61302         * manual/memory.texi: Likewise.
61303         * manual/pattern.texi: Likewise.
61304         * manual/pipe.texi: Likewise.
61305         * manual/process.texi: Likewise.
61306         * manual/resource.texi: Likewise.
61307         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61308         child on GNU/Hurd.
61309         * manual/setjmp.texi: Likewise.
61310         * manual/signal.texi: Likewise.
61311         * manual/startup.texi: Likewise.
61312         * manual/stdio.texi: Likewise.
61313         * manual/terminal.texi: Likewise.
61314         (ONLCR): Document as POSIX.
61315         (OXTABS): Document availability on GNU/Linux as XTABS.
61316         (ONOEOT): Document availability separately from other bits.
61317         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61318         * manual/time.texi: Likewise.
61319         * manual/users.texi: Likewise.
61320         * INSTALL: Regenerated.
61321         * sysdeps/gnu/errlist.c: Regenerated.
61323         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61324         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61325         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61326         puts.
61327         * configure: Regenerated.
61329 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61331         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61332         default includes instead of AC_HEADER_CHECK.
61333         * sysdeps/i386/configure: Regenerated.
61335         [BZ #10716]
61336         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61337         * math/s_cacoshf.c (__cacoshf): Likewise.
61338         * math/s_cacoshl.c (__cacoshl): Likewise.
61339         * math/s_casinh.c (__casinh): Set signs of result from argument.
61340         * math/s_casinhf.c (__casinhf): Likewise.
61341         * math/s_casinhl.c (__casinhl): Likewise.
61342         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61343         (casinh_test): Add more tests.
61344         * sysdeps/i386/fpu/libm-test-ulps: Update.
61345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61347 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61349         * po/zh_TW.po: Update from translation team.
61351         * login/Makefile (distribute): Remove variable.
61352         * catgets/Makefile: Likewise.
61353         * mach/Makefile: Likewise.
61354         * malloc/Makefile: Likewise.
61355         * misc/Makefile: Likewise.
61356         * iconv/Makefile: Likewise.
61357         * nscd/Makefile: Likewise.
61358         * hurd/Makefile: Likewise.
61359         * manual/Makefile: Likewise.
61360         * locale/Makefile: Likewise.
61361         * intl/Makefile: Likewise.
61362         * conform/Makefile: Likewise.
61363         * nss/Makefile: Likewise.
61364         * time/Makefile: Likewise.
61365         * soft-fp/Makefile: Likewise.
61366         * dirent/Makefile: Likewise.
61367         * gmon/Makefile: Likewise.
61368         * po/Makefile: Likewise.
61369         * rt/Makefile: Likewise.
61370         * socket/Makefile: Likewise.
61371         * math/Makefile: Likewise.
61372         * signal/Makefile: Likewise.
61373         * debug/Makefile: Likewise.
61374         * elf/Makefile: Likewise.
61375         * timezone/Makefile: Likewise.
61376         * stdlib/Makefile: Likewise.
61377         * iconvdata/Makefile: Likewise.
61378         * sunrpc/Makefile: Likewise.
61379         * io/Makefile: Likewise.
61380         * argp/Makefile: Likewise.
61381         * inet/Makefile: Likewise.
61382         * hesiod/Makefile: Likewise.
61383         * grp/Makefile: Likewise.
61384         * csu/Makefile: Likewise.
61385         * wctype/Makefile: Likewise.
61386         * crypt/Makefile: Likewise.
61387         * libio/Makefile: Likewise.
61388         * string/Makefile: Likewise.
61389         * nis/Makefile: Likewise.
61390         * resolv/Makefile: Likewise.
61391         * stdio-common/Makefile: Likewise.
61392         * wcsmbs/Makefile: Likewise.
61393         * dlfcn/Makefile: Likewise.
61394         * posix/Makefile: Likewise.
61396         [BZ #6959]
61397         * timezone/Makefile: Don't install timezone files, just the programs
61398         and scripts.
61400 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61402         * nss/databases.def: Add missing gshadow entry.
61404         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61406 2012-03-06  Marek Polacek  <polacek@redhat.com>
61408         [BZ #13726]
61409         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61410         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61411         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61412         * stdio-common/tst-long-dbl-fphex.c: New file.
61414 2012-03-06  David S. Miller  <davem@davemloft.net>
61416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61417         (set_obp_int): New function.
61418         (get_obp_int): New function.
61419         (__get_clockfreq_via_dev_openprom): Likewise.
61420         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61421         Avoid unused variable warnings on 'val' and use builtin_expect.
61422         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61423         __builtin_expect.
61424         (INLINE_CLONE_SYSCALL): Likewise.
61426 2012-03-05  David S. Miller  <davem@davemloft.net>
61428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61430 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61434         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61435         only for |x| >= 40.
61436         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61438 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61440         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61441         Replace gettimeofday with __vdso_gettimeofday.
61443         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61444         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61445         __vdso_clock_gettime and __vdso_getcpu.
61447         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61448         time with __vdso_time.
61450 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61452         * manual/lang.texi (size_t): Note types to which size_t may be
61453         equivalent with the GNU C Library, but do not describe when
61454         differences between them are significant.
61456 2012-03-05  Andreas Jaeger  <aj@suse.de>
61458         * sysdeps/i386/fpu/libm-test-ulps: Update.
61460 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #3976]
61463         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61464         (__ieee754_pow): Save and restore rounding mode and use
61465         round-to-nearest for main computations.
61466         * math/libm-test.inc (pow_test_tonearest): New function.
61467         (pow_test_towardzero): Likewise.
61468         (pow_test_downward): Likewise.
61469         (pow_test_upward): Likewise.
61470         (main): Call the new functions.
61471         * sysdeps/i386/fpu/libm-test-ulps: Update.
61472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61474         [BZ #3976]
61475         * math/libm-test.inc (cosh_test_tonearest): New function.
61476         (cosh_test_towardzero): Likewise.
61477         (cosh_test_downward): Likewise.
61478         (cosh_test_upward): Likewise.
61479         (sinh_test_tonearest): Likewise.
61480         (sinh_test_towardzero): Likewise.
61481         (sinh_test_downward): Likewise.
61482         (sinh_test_upward): Likewise.
61483         (main): Call the new functions.
61484         * sysdeps/i386/fpu/libm-test-ulps: Update.
61485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61487 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61489         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61490         default stack guard is set in last bytes.
61491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61493 2012-03-05  Kees Cook  <keescook@chromium.org>
61495         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61497         [BZ #13656]
61498         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61499         possibly allocate from heap instead of stack.
61500         * stdio-common/bug-vfprintf-nargs.c: New file.
61501         * stdio-common/Makefile (tests): Add nargs overflow test.
61503 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61507 2012-03-03  Marek Polacek  <polacek@redhat.com>
61509         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61510         * math/math_private.h: Likewise.
61511         * stdlib/tst-strtod.c: Likewise.
61512         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61513         * sysdeps/x86_64/bits/atomic.h: Likewise.
61515 2012-03-02  David S. Miller  <davem@davemloft.net>
61517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61521         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61522         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61523         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61524         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61526 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61528         [BZ #13792]
61529         * manual/examples/README: New file, says the example source files
61530         can be used under GPL>=2.
61531         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61532         line containing just "*/".
61533         * manual/examples/add.c: Add copyright header (GPL>=2).
61534         * manual/examples/argp-ex1.c: Likewise.
61535         * manual/examples/argp-ex2.c: Likewise.
61536         * manual/examples/argp-ex3.c: Likewise.
61537         * manual/examples/argp-ex4.c: Likewise.
61538         * manual/examples/atexit.c: Likewise.
61539         * manual/examples/db.c: Likewise.
61540         * manual/examples/dir.c: Likewise.
61541         * manual/examples/dir2.c: Likewise.
61542         * manual/examples/execinfo.c: Likewise.
61543         * manual/examples/filecli.c: Likewise.
61544         * manual/examples/filesrv.c: Likewise.
61545         * manual/examples/fmtmsgexpl.c: Likewise.
61546         * manual/examples/genpass.c: Likewise.
61547         * manual/examples/inetcli.c: Likewise.
61548         * manual/examples/inetsrv.c: Likewise.
61549         * manual/examples/isockad.c: Likewise.
61550         * manual/examples/longopt.c: Likewise.
61551         * manual/examples/memopen.c: Likewise.
61552         * manual/examples/memstrm.c: Likewise.
61553         * manual/examples/mkfsock.c: Likewise.
61554         * manual/examples/mkisock.c: Likewise.
61555         * manual/examples/mygetpass.c: Likewise.
61556         * manual/examples/pipe.c: Likewise.
61557         * manual/examples/popen.c: Likewise.
61558         * manual/examples/rprintf.c: Likewise.
61559         * manual/examples/search.c: Likewise.
61560         * manual/examples/select.c: Likewise.
61561         * manual/examples/setjmp.c: Likewise.
61562         * manual/examples/sigh1.c: Likewise.
61563         * manual/examples/sigusr.c: Likewise.
61564         * manual/examples/stpcpy.c: Likewise.
61565         * manual/examples/strdupa.c: Likewise.
61566         * manual/examples/strftim.c: Likewise.
61567         * manual/examples/strncat.c: Likewise.
61568         * manual/examples/subopt.c: Likewise.
61569         * manual/examples/swapcontext.c: Likewise.
61570         * manual/examples/termios.c: Likewise.
61571         * manual/examples/testopt.c: Likewise.
61572         * manual/examples/testpass.c: Likewise.
61573         * manual/examples/timeval_subtract.c: Likewise.
61575         [BZ #13792]
61576         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61577         function to ...
61578         * manual/timeval_subtract.c.texi: ... here, new file.
61580 2012-03-02  David S. Miller  <davem@davemloft.net>
61582         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61584 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61586         [BZ #3976]
61587         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61588         (__sin): Save and restore rounding mode and use round-to-nearest
61589         for all computations.
61590         (__cos): Save and restore rounding mode and use round-to-nearest
61591         for all computations.
61592         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61593         <fenv.h>.
61594         (tan): Save and restore rounding mode and use round-to-nearest for
61595         all computations.
61596         * math/libm-test.inc (cos_test_tonearest): New function.
61597         (cos_test_towardzero): Likewise.
61598         (cos_test_downward): Likewise.
61599         (cos_test_upward): Likewise.
61600         (sin_test_tonearest): Likewise.
61601         (sin_test_towardzero): Likewise.
61602         (sin_test_downward): Likewise.
61603         (sin_test_upward): Likewise.
61604         (tan_test_tonearest): Likewise.
61605         (tan_test_towardzero): Likewise.
61606         (tan_test_downward): Likewise.
61607         (tan_test_upward): Likewise.
61608         (main): Call the new functions.
61609         * sysdeps/i386/fpu/libm-test-ulps: Update.
61610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61612         [BZ #10135]
61613         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61614         small n, then large n, before computing and testing k+n.
61615         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61616         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61617         Likewise.
61618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61619         Likewise.
61620         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61621         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61622         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61623         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61626         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61627         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61628         * math/libm-test.inc (scalbn_test): Add more tests.
61629         (scalbln_test): Likewise.
61631         * manual/filesys.texi (mode_t): Describe constraints on size and
61632         signedness, not exact equivalence to a particular type.
61633         (ino_t): Likewise.
61634         (ino64_t): Likewise.
61635         (dev_t): Likewise.
61636         (nlink_t): Likewise.
61637         (blkcnt_t): Likewise.
61638         (blkcnt64_t): Likewise.
61639         * manual/llio.texi (off_t): Likewise.
61641         [BZ #3976]
61642         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61643         (__ieee754_exp): Save and restore rounding mode and use
61644         round-to-nearest for all computations.
61645         * math/libm-test.inc (exp_test_tonearest): New function.
61646         (exp_test_towardzero): Likewise.
61647         (exp_test_downward): Likewise.
61648         (exp_test_upward): Likewise.
61649         (main): Call the new functions.
61650         * sysdeps/i386/fpu/libm-test-ulps: Update.
61651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61653 2012-03-01  Chris Demetriou  <cgd@google.com>
61655         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61656         have predictable order.
61658 2012-03-01  David S. Miller  <davem@davemloft.net>
61660         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61662         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61663         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61664         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61665         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61667         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61668         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61669         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61671         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61672         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61673         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61674         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61675         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61679         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61680         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61681         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61683         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61684         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61685         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61686         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61687         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61688         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61690         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61691         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61692         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61693         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61694         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61696         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61697         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61699         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61700         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61701         * sysdeps/sparc/elf/configure: Regenerated.
61703 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61705         * configure.in (AS, LD): Require binutils 2.20 or later.
61706         * configure: Regenerated.
61707         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61708         as required minimum version.
61709         * INSTALL: Regenerated.
61711         [BZ #2541]
61712         [BZ #4108]
61713         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61714         before squaring exponent.
61715         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61716         bottom long double and 27 bits of top long double before squaring
61717         exponent.
61718         * math/libm-test.inc (erfc_test): Add more tests.
61719         * sysdeps/i386/fpu/libm-test-ulps: Update.
61720         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61723 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61725         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61726         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61727         containing bit-fields.
61728         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61729         * soft-fp/single.h (_FP_UNION_S): Likewise.
61730         * soft-fp/double.h (_FP_UNION_D): Likewise.
61732 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61734         [BZ #13786]
61735         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61736         not include ../strcmp.S.
61737         [USE_AS_STRNCASECMP_L]: Likewise.
61738         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61739         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61740         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61741         (__strncasecmp_l_ia32): Define as alias to
61742         __strncasecmp_l_nonascii.
61744         [BZ #5794]
61745         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61746         * sysdeps/i386/fpu/libm-test-ulps: Update.
61747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61749         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61752 2012-02-29  Jeff Law  <law@redhat.com>
61754         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61755         out of bounds read.
61757 2012-02-29  Marek Polacek  <polacek@redhat.com>
61759         [BZ #13706]
61760         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61761         * elf/Makefile: Add rules to run tst-unused-dep.out.
61763 2012-02-28  David S. Miller  <davem@davemloft.net>
61765         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61766         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61767         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61768         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61769         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61770         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61772 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61774         * math/libm-test.inc (llround_test): Move one test from
61775         lround_test.  Use TEST_f_L in moved test.
61776         (lround_test): Move misplaced test to llround_test.  Add testcase
61777         from bug 2561.
61779 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61781         * sysdeps/x86_64/fpu/e_expf.S: New file.
61782         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61784 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61786         [BZ #13637]
61787         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61788         of remain_len that may cause incomplete multi-byte character and
61789         false match.
61790         * posix/bug-regex33.c: New file.
61791         * posix/Makefile (tests): Add bug-regex33.
61793 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61795         * manual/macros.texi: New file.
61796         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61797         * manual/libc.texinfo: Include macros.texi.
61798         * manual/creatute.texi: Likewise.
61799         * manual/install.texi: Likewise.
61800         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61801         @glibcadj{} in references to the GNU C Library.
61802         * manual/charset.texi: Likewise.
61803         * manual/conf.texi: Likewise.
61804         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61805         when not using those macros.
61806         * manual/creature.texi: Likewise.
61807         * manual/crypt.texi: Likewise.
61808         * manual/errno.texi: Likewise.
61809         * manual/filesys.texi: Likewise.
61810         * manual/header.texi: Likewise.
61811         * manual/install.texi: Likewise.
61812         * manual/intro.texi: Likewise.
61813         * manual/io.texi: Likewise.
61814         * manual/job.texi: Likewise.
61815         * manual/lang.texi: Likewise.
61816         * manual/libc.texiinfo: Likewise.
61817         * manual/llio.texi: Likewise.
61818         * manual/locale.texi: Likewise.
61819         * manual/maint.texi: Likewise.
61820         * manual/math.texi: Likewise.
61821         * manual/memory.texi: Likewise.
61822         * manual/message.texi: Likewise.
61823         * manual/nss.texi: Likewise.
61824         * manual/pattern.texi: Likewise.
61825         * manual/process.texi: Likewise.
61826         * manual/resource.texi: Likewise.
61827         * manual/search.texi: Likewise.
61828         * manual/setjmp.texi: Likewise.
61829         * manual/signal.texi: Likewise.
61830         * manual/socket.texi: Likewise.
61831         * manual/startup.texi: Likewise.
61832         * manual/stdio.texi: Likewise.
61833         * manual/string.texi: Likewise.
61834         * manual/sysinfo.texi: Likewise.
61835         * manual/syslog.texi: Likewise.
61836         * manual/terminal.texi: Likewise.
61837         * manual/time.texi: Likewise.
61838         * manual/users.texi: Likewise.
61839         * INSTALL: Regenerated.
61840         * NOTES: Regenerated.
61841         * sysdeps/gnu/errlist.c: Regenerated.
61843 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61845         * include/dirent.h: Include <dirstream.h> before
61846         <dirent/dirent.h>.
61848 2012-02-28  David S. Miller  <davem@davemloft.net>
61850         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61851         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61852         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61853         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61855 2012-02-27  David S. Miller  <davem@davemloft.net>
61857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61859         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61860         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61863         frame pointer instead of stack pointer relative arg slot.
61864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61865         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61866         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61868 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61870         [BZ #3992]
61871         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61873 2012-02-27  David S. Miller  <davem@davemloft.net>
61875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61879         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61880         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61881         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61882         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61884 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61886         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61887         later.  Allow versions 5-9.
61888         * configure: Regenerated.
61889         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61890         required minimum version and 4.6 as recommended version.  Do not
61891         mention bugs in GCC 2.7 and 2.8.
61892         * INSTALL: Regenerated.
61894 2012-02-27  David S. Miller  <davem@davemloft.net>
61896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61900         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61901         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61902         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61903         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61905         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61906         manipulate bits before adding and subtracting TWO112[sx].
61907         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61909 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61911         [BZ #13775]
61912         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61913         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61914         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61915         being in POSIX, because they are in 1003.1-2008.
61917         * rt/tst-aio.c: Include <fcntl.h>.
61918         * rt/tst-aio7.c: Likewise.
61919         * rt/tst-aio64.c: Likewise.
61921         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61923 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61925         * manual/install.texi (--with-headers): Describe headers as
61926         interface headers, not private headers.
61927         (Specific advice for GNU/Linux systems): Describe use of headers
61928         from "make headers_install", not private headers from older
61929         kernels.
61930         * INSTALL: Regenerated.
61931         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61932         Change to 2.6.19.
61933         * sysdeps/unix/sysv/linux/configure: Regenerated.
61935         * manual/llio.texi (fclean): Remove documentation.
61937         * manual/Makefile (libc-texi-generated): New variable.  Include
61938         version.texi.
61939         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61940         $(libc-texi-generated), not duplicated list of files.
61941         (version.texi, stamp-version): New rules.
61942         (realclean): Remove $(libc-texi-generated), not individual files
61943         from that list.  Do not remove dir-add.texinfo.
61944         * manual/libc.texinfo: Comment out uses of edition numbers and
61945         references to printed manual.  Remove last-updated dates.
61946         (EDITION): Comment out.
61947         (ISBN): Likewise.
61948         (VERSION, UPDATED): Remove.
61949         (version.texi): Include.
61951 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61953         * sysdeps/posix/spawni.c: Include <signal.h>.
61954         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61955         * sysdeps/pthread/aio_fsync.c: Likewise.
61957 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61959         * conform/Makefile (tests): Run only when not cross-compiling and
61960         when fast-check is not defined.
61962         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61963         * conform/data/limits.h-data: Fixes for POSIX2008.
61964         * conform/run-conformtest.sh: Run all tests.
61965         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61966         headers.
61967         * include/bits/dlfcn.h: Likewise.
61968         * include/langinfo.h: Likewise.
61969         * include/monetary.h: Likewise.
61970         * include/sys/poll.h: Likewise.
61972         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61973         for __USE_GNU.
61974         * posix/spawn.h: Define __need_sigset_t.
61975         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61976         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61977         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61978         to get sigevent_t only.
61979         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61980         only for __USE_GNU.
61981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61982         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61983         process_vm_writev only for __USE_GNU.
61984         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61986         * conform/Makefile: For now ignore errors from run-conformtest.
61987         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61988         POSIX to avoid namespace pollution.  Don't prepend headers.
61989         * conform/data/aio.h-data: Fixes for POSIX testing.
61990         * conform/data/fcntl.h-data: Likewise.
61991         * conform/data/glob.h-data: Likewise.
61992         * conform/data/grp.h-data: Likewise.
61993         * conform/data/pthread.h-data: Likewise.
61994         * conform/data/pwd.h-data: Likewise.
61995         * conform/data/signal.h-data: Likewise.
61996         * conform/data/spawn.h-data: Likewise.
61997         * conform/data/stdio.h-data: Likewise.
61998         * conform/data/stdlib.h-data: Likewise.
61999         * conform/data/stropts.h-data: Likewise.
62000         * conform/data/sys/mman.h-data: Likewise.
62001         * conform/data/sys/stat.h-data: Likewise.
62002         * conform/data/sys/types.h-data: Likewise.
62003         * conform/data/sys/wait.h-data: Likewise.
62004         * conform/data/time.h-data: Likewise.
62005         * conform/data/unistd.h-data: Likewise.
62006         * conform/data/utime.h-data: Likewise.
62008         * io/sys/stat.h: fchmod was always in POSIX.
62009         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62010         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62011         * rt/aio.h: Define __need_timespec before including <time.h>.
62012         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62013         struct.  Add forward declaration of pthread_attr_t and use it in
62014         sigevent.
62015         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62017         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62018         always remove CLK_TCK definition.
62020 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62022         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62024 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62026         * conform/run-conformtest.sh: New file.
62027         * conform/Makefile: Run run-conformtest for tests.
62028         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62029         support.
62031         * conform/data/uchar.h-data: New file.
62032         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62033         * conform/data/arpa/inet.h-data: Likewise.
62034         * conform/data/assert.h-data: Likewise.
62035         * conform/data/complex.h-data: Likewise.
62036         * conform/data/cpio.h-data: Likewise.
62037         * conform/data/ctype.h-data: Likewise.
62038         * conform/data/dirent.h-data: Likewise.
62039         * conform/data/dlfcn.h-data: Likewise.
62040         * conform/data/errno.h-data: Likewise.
62041         * conform/data/fcntl.h-data: Likewise.
62042         * conform/data/float.h-data: Likewise.
62043         * conform/data/fmtmsg.h-data: Likewise.
62044         * conform/data/fnmatch.h-data: Likewise.
62045         * conform/data/ftw.h-data: Likewise.
62046         * conform/data/glob.h-data: Likewise.
62047         * conform/data/grp.h-data: Likewise.
62048         * conform/data/iconv.h-data: Likewise.
62049         * conform/data/inttypes.h-data: Likewise.
62050         * conform/data/langinfo.h-data: Likewise.
62051         * conform/data/libgen.h-data: Likewise.
62052         * conform/data/limits.h-data: Likewise.
62053         * conform/data/locale.h-data: Likewise.
62054         * conform/data/math.h-data: Likewise.
62055         * conform/data/monetary.h-data: Likewise.
62056         * conform/data/mqueue.h-data: Likewise.
62057         * conform/data/ndbm.h-data: Likewise.
62058         * conform/data/net/if.h-data: Likewise.
62059         * conform/data/netdb.h-data: Likewise.
62060         * conform/data/netinet/in.h-data: Likewise.
62061         * conform/data/nl_types.h-data: Likewise.
62062         * conform/data/poll.h-data: Likewise.
62063         * conform/data/pthread.h-data: Likewise.
62064         * conform/data/pwd.h-data: Likewise.
62065         * conform/data/regex.h-data: Likewise.
62066         * conform/data/sched.h-data: Likewise.
62067         * conform/data/search.h-data: Likewise.
62068         * conform/data/semaphore.h-data: Likewise.
62069         * conform/data/setjmp.h-data: Likewise.
62070         * conform/data/signal.h-data: Likewise.
62071         * conform/data/spawn.h-data: Likewise.
62072         * conform/data/stdarg.h-data: Likewise.
62073         * conform/data/stdio.h-data: Likewise.
62074         * conform/data/stdlib.h-data: Likewise.
62075         * conform/data/string.h-data: Likewise.
62076         * conform/data/strings.h-data: Likewise.
62077         * conform/data/stropts.h-data: Likewise.
62078         * conform/data/sys/ipc.h-data: Likewise.
62079         * conform/data/sys/mman.h-data: Likewise.
62080         * conform/data/sys/msg.h-data: Likewise.
62081         * conform/data/sys/resource.h-data: Likewise.
62082         * conform/data/sys/select.h-data: Likewise.
62083         * conform/data/sys/sem.h-data: Likewise.
62084         * conform/data/sys/shm.h-data: Likewise.
62085         * conform/data/sys/socket.h-data: Likewise.
62086         * conform/data/sys/stat.h-data: Likewise.
62087         * conform/data/sys/statvfs.h-data: Likewise.
62088         * conform/data/sys/time.h-data: Likewise.
62089         * conform/data/sys/timeb.h-data: Likewise.
62090         * conform/data/sys/times.h-data: Likewise.
62091         * conform/data/sys/types.h-data: Likewise.
62092         * conform/data/sys/uio.h-data: Likewise.
62093         * conform/data/sys/un.h-data: Likewise.
62094         * conform/data/sys/utsname.h-data: Likewise.
62095         * conform/data/sys/wait.h-data: Likewise.
62096         * conform/data/syslog.h-data: Likewise.
62097         * conform/data/tar.h-data: Likewise.
62098         * conform/data/termios.h-data: Likewise.
62099         * conform/data/utime.h-data: Likewise.
62100         * conform/data/utmpx.h-data: Likewise.
62101         * conform/data/varargs.h-data: Likewise.
62102         * conform/data/wchar.h-data: Likewise.
62103         * conform/data/wctype.h-data: Likewise.
62104         * conform/data/wordexp.h-data: Likewise.
62106         * include/stropts.h: New file.
62107         * include/uchar.h: New file.
62108         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62109         * include/assert.h: Likewise.
62110         * include/ctype.h: Likewise.
62111         * include/dirent.h: Likewise.
62112         * include/dlfcn.h: Likewise.
62113         * include/fcntl.h: Likewise.
62114         * include/fnmatch.h: Likewise.
62115         * include/glob.h: Likewise.
62116         * include/grp.h: Likewise.
62117         * include/libio.h: Likewise.
62118         * include/locale.h: Likewise.
62119         * include/math.h: Likewise.
62120         * include/net/if.h: Likewise.
62121         * include/netdb.h: Likewise.
62122         * include/netinet/in.h: Likewise.
62123         * include/pthread.h: Likewise.
62124         * include/pwd.h: Likewise.
62125         * include/regex.h: Likewise.
62126         * include/sched.h: Likewise.
62127         * include/search.h: Likewise.
62128         * include/setjmp.h: Likewise.
62129         * include/signal.h: Likewise.
62130         * include/stdio.h: Likewise.
62131         * include/stdlib.h: Likewise.
62132         * include/string.h: Likewise.
62133         * include/sys/cdefs.h: Likewise.
62134         * include/sys/mman.h: Likewise.
62135         * include/sys/msg.h: Likewise.
62136         * include/sys/resource.h: Likewise.
62137         * include/sys/select.h: Likewise.
62138         * include/sys/socket.h: Likewise.
62139         * include/sys/stat.h: Likewise.
62140         * include/sys/statvfs.h: Likewise.
62141         * include/sys/time.h: Likewise.
62142         * include/sys/times.h: Likewise.
62143         * include/sys/uio.h: Likewise.
62144         * include/sys/utsname.h: Likewise.
62145         * include/sys/wait.h: Likewise.
62146         * include/termios.h: Likewise.
62147         * include/time.h: Likewise.
62148         * include/ulimit.h: Likewise.
62149         * include/unistd.h: Likewise.
62150         * include/utime.h: Likewise.
62151         * include/wchar.h: Likewise.
62152         * include/wctype.h: Likewise.
62153         * include/wordexp.h: Likewise.
62155         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62157         * time/time.h: TIME_UTC must be a macro.
62158         Make timespec_get available for ISO C11 only as well.
62160 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62162         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62163         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62165 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62167         * configure.in: Use -o not -a in test for unsupported multi-arch.
62169 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62171         * manual/texinfo.tex: Update to version 2012-01-19.16.
62173 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62175         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62177 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62179         [BZ #13738]
62180         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62181         * manual/fdl-1.3.texi: New file.
62182         * manual/fdl-1.1.texi: File removed.
62184         [BZ #13738]
62185         * manual/libc.texinfo (FDL_VERSION): New @set.
62186         Use it for mention of FDL in cover text.
62187         (Documentation License): Use it in @include file name.
62189 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62190             Roland McGrath  <roland@hack.frob.com>
62192         [BZ #5461]
62193         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62194         (not LONG_LONG_MAX and LONG_LONG_MIN.
62195         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62196         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62197         name.
62198         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62200 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62202         [BZ #2547]
62203         [BZ #11365]
62204         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62205         manipulate bits before adding and subtracting TWO23[sx].
62206         * math/libm-test.inc (nearbyint_test): Add more tests.
62208 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62210         [BZ #2548]
62211         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62212         bits before adding and subtracting TWO23[sx].
62213         * math/libm-test.inc (rint_test): Add more tests.
62214         (rint_test_tonearest): Likewise.
62215         (rint_test_towardzero): Likewise.
62216         (rint_test_downward): Likewise.
62217         (rint_test_upward: Likewise.
62219 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62221         [BZ #10110]
62222         * include/stdc-predef.h: New file.  Extracted from features.h.
62223         * include/features.h: Include stdc-predef.h.
62224         * Makefile (headers): Add stdc-predef.h.
62225         * CONFORMANCE (Compiler limitations): Update.
62227 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62229         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62231 2012-02-21  David S. Miller  <davem@davemloft.net>
62233         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62234         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62236 2012-02-20  David S. Miller  <davem@davemloft.net>
62238         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62239         using a normal save/restore sequence, rather than allocating a
62240         dummy stack frame just to store a frame pointer and restore.
62241         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62243 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62245         * manual/install.texi: Fix stray word in line-wrapped comment.
62247 2012-02-20  David S. Miller  <davem@davemloft.net>
62249         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62250         both binutils and gcc support GOTDATA.
62252         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62253         "rd %pc" in the PIC register setup sequences.
62255         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62256         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62257         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62258         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62259         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62262         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62264         (SYSCALL_ERROR_HANDLER): Likewise.
62265         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62266         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62268         (SYSCALL_ERROR_HANDLER): Likewise.
62270         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62271         (HAVE_GCC_GOTDATA): New.
62272         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62273         relocation support in both binutils and gcc.
62274         * sysdeps/sparc/elf/configure: Regenerate.
62276         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62277         * sysdeps/sparc/sparc32/elf/configure: Delete.
62278         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62279         * sysdeps/sparc/sparc64/elf/configure: Delete.
62280         * sysdeps/sparc/elf/configure.in: New file.
62281         * sysdeps/sparc/elf/configure: Generate.
62283         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62284         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62285         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62286         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62287         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62289 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62291         * manual/install.texi: Do not mention specific glibc version
62292         numbers.
62293         * manual/libc.texinfo (VERSION, UPDATED): Update.
62294         (@copying): Use @copyright{} and range of years.
62296 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62298         [BZ #13695]
62299         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62300         [crti.S not in sysdirs] (generated): Do not append.
62301         [crti.S not in sysdirs] (omit-deps): Likewise.
62302         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62303         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62304         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62305         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62306         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62307         Likewise.
62308         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62309         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62310         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62311         * csu/defs.awk: Remove file.
62312         * sysdeps/generic/initfini.c: Likewise.
62313         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62314         variable.
62315         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62316         Likewise.
62318 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62320         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62321         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62322         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62323         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62324         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62325         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62326         <bits/epoll.h>.
62327         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62328         (__EPOLL_PACKED): Define to empty if not defined by
62329         <bits/epoll.h>.
62330         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62332         bits/epoll.h.
62334 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62336         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62337         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62338         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62339         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62340         <bits/timerfd.h>.
62341         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62343         bits/timerfd.h.
62345 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62347         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62348         in C locale.
62349         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62350         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62351         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62354 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62356         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62357         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62359 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62361         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62362         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62363         defined.
62364         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62365         Likewise.
62366         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62367         entry for 2.16.
62369 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62371         * math/w_acos.c: Use non-signaling floating-point comparisons.
62372         * math/w_acosf.c: Likewise.
62373         * math/w_acosh.c: Likewise.
62374         * math/w_acoshf.c: Likewise.
62375         * math/w_acoshl.c: Likewise.
62376         * math/w_acosl.c: Likewise.
62377         * math/w_asin.c: Likewise.
62378         * math/w_asinf.c: Likewise.
62379         * math/w_asinl.c: Likewise.
62380         * math/w_atanh.c: Likewise.
62381         * math/w_atanhf.c: Likewise.
62382         * math/w_atanhl.c: Likewise.
62383         * math/w_exp2.c: Likewise.
62384         * math/w_exp2f.c: Likewise.
62385         * math/w_exp2l.c: Likewise.
62386         * math/w_j0.c: Likewise.
62387         * math/w_j0f.c: Likewise.
62388         * math/w_j0l.c: Likewise.
62389         * math/w_j1.c: Likewise.
62390         * math/w_j1f.c: Likewise.
62391         * math/w_j1l.c: Likewise.
62392         * math/w_jn.c: Likewise.
62393         * math/w_jnf.c: Likewise.
62394         * math/w_log.c: Likewise.
62395         * math/w_log10.c: Likewise.
62396         * math/w_log10f.c: Likewise.
62397         * math/w_log10l.c: Likewise.
62398         * math/w_log2.c: Likewise.
62399         * math/w_log2f.c: Likewise.
62400         * math/w_log2l.c: Likewise.
62401         * math/w_logf.c: Likewise.
62402         * math/w_logl.c: Likewise.
62403         * math/w_sqrt.c: Likewise.
62404         * math/w_sqrtf.c: Likewise.
62405         * math/w_sqrtl.c: Likewise.
62406         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62407         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62408         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62409         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62410         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62412 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62414         [BZ #9739]
62415         * manual/string.texi (strnlen): Use correct parameter name in
62416         equivalent expression.
62418 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62420         [BZ #11174]
62421         * manual/users.texi (seteuid): Consistently use neweuid for
62422         argument name.
62424 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62426         [BZ #13704]
62427         * manual/nss.texi (Services in the NSS configuration): Correct
62428         list of services in example configuration file.
62430 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62432         [BZ #11322]
62433         * manual/arith.texi: Remove statements about negative zero
62434         behaving identically to zero.
62436 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62438         [BZ #5993]
62439         * manual/install.texi: Do not document upgrading from libc5.
62441 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62443         [BZ #4596]
62444         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62446 2012-02-18  David S. Miller  <davem@davemloft.net>
62448         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62449         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62450         %o7 across the call.
62451         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62452         instead.
62453         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62454         SETUP_PIC_REG_LEAF.
62455         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62456         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62457         * sysdeps/sparc/crtn.S: Likewise.
62459 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62461         * aout/Makefile: Remove.
62463 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62465         [BZ #13058]
62466         * manual/examples/argp-ex1.c (main): Format definition in GNU
62467         style.
62468         * manual/examples/argp-ex2.c (main): Likewise.
62469         * manual/examples/argp-ex3.c (main): Likewise.
62470         * manual/examples/argp-ex4.c (main): Likewise.
62471         * manual/examples/longopt.c (main): Use new-style prototype
62472         definition.
62473         * manual/examples/strncat.c (main): Specify return type and use
62474         (void) for arguments.
62475         * manual/examples/subopt.c (main): Use char **argv argument.
62477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62479         [BZ #5077]
62480         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62481         rounding modes.
62483 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62485         [BZ #6907]
62486         * manual/string.texi (strchr): Change when strchrnul is
62487         recommended.
62489 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62491         [BZ #174]
62492         * manual/locale.texi (setlocale): Document LOCPATH.
62494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62496         [BZ #10210]
62497         * manual/process.texi (execle): Move @dots{} before last argument.
62499 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62501         [BZ #12047]
62502         * manual/charset.texi (Generic Charset Conversion): Fix typo
62503         (LC_TYPE -> LC_CTYPE).
62505 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62507         [BZ #5805]
62508         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62509         (scalbnf): Likewise.
62510         (scalbnl): Likewise.
62511         (scalbln): Likewise.
62512         (scalblnf): Likewise.
62513         (scalblnl): Likewise.
62514         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62515         (vwarnx): Likewise.
62516         (verr): Likewise.
62517         (verrx): Likewise.
62518         * manual/filesys.texi (telldir): Use braces around return type.
62519         * manual/llio.texi (mmap): Add space after comma.
62520         (mmap64): Likewise.
62521         * manual/math.texi (jn): Use @var{} on parameter names.
62522         (jnf): Likewise.
62523         (jnl): Likewise.
62524         (yn): Likewise.
62525         (ynf): Likewise.
62526         (ynl): Likewise.
62527         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62528         line.
62529         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62530         "...".
62531         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62532         (sched_get_priority_max): Likewise.
62533         * manual/signal.texi (sigvec): Add space after comma.
62534         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62535         names.
62536         (if_indextoname): Likewise.
62537         (if_freenameindex): Likewise.
62538         (sendto): Use ',' instead of '.' in prototype.
62539         * manual/startup.texi (syscall): Use @dots{} instead of literal
62540         "...".
62541         * manual/stdio.texi (__fpending): Separate initial words of
62542         paragraph from @deftypefun line.
62543         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62544         "...".
62545         (vsyslog): Use @var{} on parameter names.
62546         * manual/terminal.texi (stty): Use @var{} on parameter names.
62547         * manual/users.texi (getutmp): Use @var{} on parameter names.
62548         (getutmpx): Likewise.
62550 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62552         [BZ #6884]
62553         * manual/stdio.texi (fopen): Fix typos in description of
62554         ",ccs=STRING".
62556 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62558         [BZ #4026]
62559         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62560         get clock_id definition.
62562 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62564         [BZ #4822]
62565         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62566         (madvise): Cast every argument to void on its own.
62568 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62570         [BZ #9902]
62571         * manual/startup.texi (Exit Status): Fix typo.
62573 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62575         [BZ #10140]
62576         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62577         * manual/examples/argp-ex2.c: Likewise.
62578         * manual/examples/argp-ex3.c: Likewise.
62580 2012-02-16  Richard Henderson  <rth@redhat.com>
62582         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62583         * sysdeps/s390/s390-32/initfini.c: Remove.
62584         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62585         * sysdeps/s390/s390-64/initfini.c: Remove.
62587 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62589         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62590         compiler output for sysdeps/generic/initfini.c.
62591         * sysdeps/sh/elf/initfini.c: Remove file.
62593 2012-02-16  David S. Miller  <davem@davemloft.net>
62595         [BZ #11494]
62596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62598         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62599         * sysdeps/sparc/crti.S: New file.
62600         * sysdeps/sparc/crtn.S: New file.
62601         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62602         * sysdeps/sparc/sparc64/Makefile: Likewise.
62604 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62606         [BZ #3335]
62607         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62609 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62611         [BZ #4822]
62612         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62614         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62615         (write, read, close): Likewise.
62616         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62618 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62620         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62621         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62622         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62623         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62624         <bits/signalfd.h>.
62625         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62627         bits/signalfd.h.
62629 2012-02-14  Marek Polacek  <polacek@redhat.com>
62631         * sysdeps/x86_64/crti.S: New file.
62632         * sysdeps/x86_64/crtn.S: New file.
62633         * sysdeps/x86_64/elf/initfini.c: Remove file.
62635 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62637         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62638         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62639         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62640         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62641         <bits/inotify.h>.
62642         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62644         bits/inotify.h.
62646 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62648         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62649         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62650         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62651         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62652         <bits/eventfd.h>.
62653         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62655         bits/eventfd.h.
62657 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62659         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62660         __feraiseexcept instead of feraiseexcept.
62662         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62663         nanosleep invocations.
62664         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62665         strings, and add error checking for a nanosleep invocations.
62667 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62669         Replace FSF snail mail address with URLs, as per GNU coding standards.
62670         Most of the snail mail addresses were wrong anyway, and omitting
62671         them makes the source code easier to maintain.  Almost all of the
62672         changes are to license notices and to locale LC_IDENTIFICATION
62673         addresses, except for this one:
62674         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62675         not its snail mail address.
62677 2012-02-09  Richard Henderson  <rth@twiddle.net>
62679         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62680         of kernel-features.h.
62682         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62684 2012-02-08  Marek Polacek  <polacek@redhat.com>
62686         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62687         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62688         * sysdeps/gnu/_G_config.h: Likewise.
62689         * sysdeps/generic/_G_config.h: Likewise.
62691 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62693         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62694         tests.
62695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62697         * sysdeps/powerpc/powerpc32/crti.S: New file.
62698         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62699         * sysdeps/powerpc/powerpc64/crti.S: New file.
62700         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62702         * Makeconfig (have-initfini): Don't set.
62703         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62704         * configure.in (nopic_initfini): Don't substitute.
62705         * config.h.in (HAVE_INITFINI): Don't #undef.
62706         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62707         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62709 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62711         Support crti.S and crtn.S provided directly by architectures.
62712         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62713         [crti.S in sysdirs] (omit-deps): Likewise.
62714         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62715         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62716         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62717         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62718         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62719         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62720         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62721         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62722         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62723         compiler output for sysdeps/generic/initfini.c.
62724         * sysdeps/i386/elf/Makefile: Remove file.
62725         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62727 2012-02-07  Marek Polacek  <polacek@redhat.com>
62729         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62730         * sysdeps/gnu/_G_config.h: Likewise.
62731         * sysdeps/mach/hurd/_G_config.h: Likewise.
62733 2012-02-07  Marek Polacek  <polacek@redhat.com>
62735         * math/Makefile (tests): Add tst-CMPLX2.
62736         * math/tst-CMPLX2.c: New file.
62738 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62740         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62742         * math/libm-test.inc (jn_test): Add missing L suffix.
62744 2012-02-06  Marek Polacek  <polacek@redhat.com>
62746         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62747         * sysdeps/i386/fpu/e_powf.S: Likewise.
62748         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62749         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62750         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62751         * sysdeps/i386/fpu/e_pow.S: Likewise.
62752         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62753         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62754         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62755         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62756         * sysdeps/i386/fpu/e_log2.S: Likewise.
62757         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62758         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62759         * sysdeps/i386/fpu/e_powl.S: Likewise.
62760         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62761         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62762         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62763         * sysdeps/i386/fpu/e_logl.S: Likewise.
62764         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62765         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62766         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62767         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62768         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62769         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62770         * sysdeps/i386/fpu/e_log.S: Likewise.
62771         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62772         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62773         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62774         * sysdeps/i386/fpu/e_logf.S: Likewise.
62775         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62776         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62777         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62778         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62779         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62780         * sysdeps/i386/fpu/e_log10.S: Likewise.
62781         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62782         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62783         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62784         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62785         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62786         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62787         * sysdeps/i386/asm-syntax.h: Likewise.
62788         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62789         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62790         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62791         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62792         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62793         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62794         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62795         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62796         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62797         * sysdeps/powerpc/sysdep.h: Likewise.
62798         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62799         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62801 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62803         [BZ #411]
62804         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62806 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62808         * sysdeps/i386/sysdep.h: Include <features.h>.
62809         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62810         version.
62812 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62814         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62815         Define.
62816         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62817         LOAD_PIC_REG_STR.
62819 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62821         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62822         (SETUP_PIC_REG): Use GET_PC_THUNK.
62823         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62824         macro.
62826 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62828         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62829         for non-PIC compilation.
62830         (SETUP_PIC_REG): Add .p2align directive.
62831         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62832         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62833         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62834         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62835         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62836         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62837         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62838         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62839         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62843         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62844         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62845         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62846         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62847         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62848         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62849         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62850         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62851         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62852         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62853         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62854         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62856         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62857         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62858         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62859         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62860         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62861         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62863         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62864         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62865         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62866         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62867         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62868         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62869         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62870         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62871         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62873 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62875         * math/tst-CMPLX.c: Include <stdio.h>.
62877 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62879         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62880         float.
62881         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62882         * sysdeps/sparc/bits/mathdef.h: Likewise.
62884 2012-01-31  Marek Polacek  <polacek@redhat.com>
62886         * libio/libio.h: Don't define _PARAMS.
62887         * locale/programs/config.h: Don't define PARAMS.
62888         * stdlib/strtol_l.c: Likewise.
62889         (__strtol_l): Remove PARAMS from the prototype.
62891 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62893         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62894         names.  Just use the correct names.  Remove unnecessary wrapper
62895         functions.
62896         * malloc/arena.c: Likewise.
62897         * malloc/hooks.c: Likewise.
62899         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62900         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62901         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62903 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62905         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62906         into tail calls.
62907         (update_get_addr): New function.
62908         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62909         GET_ADDR_MODULE parameter.
62911 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62913         * crypt/cert.c: Remove __STDC__ conditionals.
62914         * crypt/crypt-entry.c: Likewise.
62915         * crypt/crypt_util.c: Likewise.
62916         * libio/filedoalloc.c: Likewise.
62917         * libio/fileops.c: Likewise.
62918         * libio/genops.c: Likewise.
62919         * libio/iofclose.c: Likewise.
62920         * libio/iofdopen.c: Likewise.
62921         * libio/iofopen.c: Likewise.
62922         * libio/iofopen64.c: Likewise.
62923         * libio/iogetdelim.c: Likewise.
62924         * libio/iopopen.c: Likewise.
62925         * libio/obprintf.c: Likewise.
62926         * libio/oldfileops.c: Likewise.
62927         * libio/oldiofclose.c: Likewise.
62928         * libio/oldiofdopen.c: Likewise.
62929         * libio/oldiofopen.c: Likewise.
62930         * libio/oldiopopen.c: Likewise.
62931         * libio/wfiledoalloc.c: Likewise.
62932         * libio/wgenops.c: Likewise.
62933         * locale/programs/xmalloc.c: Likewise.
62934         * misc/syslog.c: Likewise.
62935         * stdio-common/xbug.c: Likewise.
62936         * string/memchr.c: Likewise.
62937         * string/memcmp.c: Likewise.
62938         * string/memrchr.c: Likewise.
62939         * string/rawmemchr.c: Likewise.
62940         * sysdeps/posix/getcwd.c: Likewise.
62941         * time/strftime_l.c: Likewise.
62943 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62945         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62946         * config.make.in (config-cflags-sse2avx): Define.
62947         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62948         Fix typo.
62950 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62952         * scripts/config.guess: Update from upstream config git repository.
62953         * scripts/config.sub: Likewise.
62955 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62957         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62958         (EM_NUM): Update.
62959         (R_TILEPRO_*, R_TILEGX_*): New macros.
62961         * scripts/firstversions.awk: Fix bug in version range handling.
62963         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62965         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62967         * include/sys/epoll.h: New file.
62968         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62969         libc_hidden_def.
62971 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62973         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62974         Avoid unnecessary __WORDSIZE == 64 test.
62975         (fmaxf): Use VEX format if possible.
62976         (fmax): Likewise.
62977         (fminf): Likewise.
62978         (fmin): Likewise.
62980         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62981         * math/math_private.h: Remove libc_fegetround* and
62982         libc_fesetround*.
62983         * sysdeps/i386/configure.in: Check for -msse2avx.
62984         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62985         also if SSE2AVX is defined.
62986         Remove libc_fegetround* and libc_fesetround*.
62987         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62988         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62989         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62990         of HAS_YMM_USABLE.
62991         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62992         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62993         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62994         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62995         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62997         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62999 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63001         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63002         size is not set.
63003         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63005 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63007         [BZ #13618]
63008         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63009         relocation.
63010         * Makeconfig (libm): Define.
63011         * elf/Makefile: Add rules to build and run tst-relsort1.
63012         * elf/tst-relsort1.c: New file.
63013         * elf/tst-relsort1mod1.c: New file.
63014         * elf/tst-relsort1mod2.c: New file.
63016 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63018         * math/s_ldexp.c: Remove __STDC__ conditionals.
63019         * math/s_ldexpf.c: Likewise.
63020         * math/s_ldexpl.c: Likewise.
63021         * math/s_nextafter.c: Likewise.
63022         * math/s_nexttowardf.c: Likewise.
63023         * math/s_significand.c: Likewise.
63024         * math/s_significandf.c: Likewise.
63025         * math/s_significandl.c: Likewise.
63026         * math/w_jnl.c: Likewise.
63027         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63028         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63029         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63030         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63031         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63033         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63034         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63035         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63036         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63037         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63038         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63039         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63040         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63041         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63042         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63043         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63045         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63046         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63047         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63048         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63049         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63050         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63051         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63052         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63053         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63054         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63055         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63056         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63057         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63058         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63059         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63060         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63061         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63062         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63063         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63064         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63065         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63066         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63067         * sysdeps/ieee754/k_standard.c: Likewise.
63068         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63069         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63071         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63072         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63075         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63076         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63077         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63078         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63079         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63080         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63081         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63082         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63083         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63084         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63085         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63086         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63087         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63088         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63089         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63090         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63091         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63092         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63093         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63094         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63097         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63098         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63099         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63100         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63103         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63104         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63106         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63107         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63108         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63110         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63111         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63112         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63113         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63114         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63116         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63117         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63118         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63119         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63120         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63121         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63122         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63123         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63124         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63125         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63126         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63127         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63128         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63129         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63130         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63131         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63132         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63133         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63134         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63135         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63136         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63137         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63138         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63139         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63140         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63141         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63142         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63143         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63144         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63145         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63146         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63147         * sysdeps/ieee754/s_matherr.c: Likewise.
63148         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63149         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63150         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63151         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63153 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63155         * crypt/md5.h: Remove __STDC__ conditionals.
63156         * libio/libioP.h: Likewise.
63157         * locale/programs/config.h: Likewise.
63158         * sysdeps/generic/sysdep.h: Likewise.
63159         * sysdeps/i386/asm-syntax.h: Likewise.
63160         * sysdeps/s390/asm-syntax.h: Likewise.
63161         * sysdeps/unix/sysdep.h: Likewise.
63162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63165 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63167         * libio/libio.h: Remove __STDC__ conditionals.
63168         * malloc/obstack.h: Likewise.
63169         * math/complex.h: Likewise.
63170         * math/math.h: Likewise.
63171         * sysdeps/generic/_G_config.h: Likewise.
63172         * sysdeps/gnu/_G_config.h: Likewise.
63173         * sysdeps/mach/hurd/_G_config.h: Likewise.
63174         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63175         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63176         * sysdeps/sparc/bits/mathdef.h: Likewise.
63178 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63180         [BZ #13583]
63181         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63182         Clean up HAS_* macros.
63183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63184         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63185         possible.
63186         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63187         HAS_AVX.
63188         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63189         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63190         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63191         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63194 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63196         * elf/tst-unique3.cc (gets): Remove declaration.
63197         * elf/tst-unique3lib.cc (gets): Likewise.
63198         * elf/tst-unique3lib2.cc (gets): Likewise.
63199         * elf/tst-unique4.cc (gets): Likewise.
63201 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63203         * include/stdio.h: Add C++ protection.  Add gets declarations and
63204         definitions.
63205         * debug/tst-chk1.c: Don't declare gets here.
63206         * stdio-common/tst-gets.c: Likewise.
63208 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63210         * posix/glob: Remove directory.
63212 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63214         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63216 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63218         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63219         of the non-standard EPFNOSUPPORT.
63221 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63223         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63224         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63225         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63227 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63229         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63231 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63233         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63234         transient errors.
63235         * nscd/grpcache.c (cache_addgr): Likewise.
63236         * nscd/hstcache.c (cache_addhst): Likewise.
63237         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63238         * nscd/pwdcache.c (cache_addpw): Likewise.
63239         * nscd/servicescache.c (cache_addserv): Likewise.
63241 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63243         * malloc/malloc.c: Various cleanups.
63244         * malloc/hooks.c: Likewise.
63246         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63247         * stdlib/bug-fmtmsg1.c: New file.
63249         * stdlib/fmtmsg.c (init): Add missing unlock.
63250         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63252 2012-01-12  Marek Polacek  <polacek@redhat.com>
63254         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63255         and _GNU_SOURCE.
63257 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63259         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63260         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63261         macro to ensure uniqueness of label name.
63262         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63263         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63265 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63267         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63269         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63270         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63271         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63274 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63276         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63278         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63279         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63280         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63282         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63284         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63285         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63286         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63289         * math/bits/math-finite.h: Add ldexp support.
63291 2012-01-10  Marek Polacek  <polacek@redhat.com>
63293         * locale/programs/localedef.h (show_archive_content): Add noreturn
63294         attribute.
63296 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63298         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63300 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63302         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63304         * io/Makefile (headers): Add bits/poll2.h.
63306 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63309         typo #include statement.
63311 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63313         * include/sys/cdefs.h: Define __attribute_alloc_size.
63314         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63315         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63316         * elf/pldd.c: Likewise.
63317         * iconv/iconv_charmap.c: Likewise.
63318         * iconv/iconvconfig.c: Likewise.
63319         * iconv/strtab.c: Likewise.
63320         * locale/programs/locale.c: Likewise.
63321         * locale/programs/localedef.h: Likewise.
63322         * locale/programs/simple-hash.c: Likewise.
63323         * nscd/nscd.h: Likewise.
63324         * nss/makedb.c: Likewise.
63325         * sysdeps/generic/ldconfig.h: Likewise.
63326         * locale/programs/localedef.c: Remove xmalloc prototype.
63327         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63329 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63332         appropriate.
63334 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63336         * math/Makefile (tests): Add tst-CMPLX.
63337         * math/tst-CMPLX.c: New file.
63339         * math/complex.h (CMPLXL): Fix typo.
63341         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63342         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63343         GLIBC_2.16.
63344         * debug/tst-chk1.c: Add poll and ppoll tests.
63345         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63346         * include/sys/poll.h: Add hidden proto for ppoll.
63347         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63348         * sysdeps/mach/hurd/ppoll.c: Likewise.
63349         * io/ppoll.c: Likewise.
63350         * debug/poll_chk.c: New file.
63351         * debug/ppoll_chk.c: New file.
63352         * include/bits/poll2.h: New file.
63353         * io/bits/poll2.h: New file.
63355         [BZ #1350]
63356         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63358         * configure.in: static is always set to yes.  Remove.
63359         * config.make.in: Don't set build-static.
63360         * Makeconfig: Remove use of build-static.
63361         * dlfcn/Makefile: Likewise.
63362         * elf/Makefile: Likewise.
63363         * math/Makefile: Likewise.
63364         * misc/Makefile: Likewise.
63365         * nptl/Makefile: Likewise.
63366         * sysdeps/mach/hurd/Makefile: Likewise.
63368         * configure.in: PWD_P is not used anymore.
63369         * config.make.in: Remove PWD_P entry.
63371         * configure.in: Remove last remnants of RANLIB.
63372         No need to check for signed size_t anymore.
63373         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63374         and IA-64.
63375         Remove __builtin_expect test because we require at least gcc 3.4.
63376         * aclocal.m4: Likewise.
63378         * wcsmbs/mbrtoc16.c: Implement using towc function.
63379         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63380         * wcsmbs/wcsmbsload.c: Likewise.
63381         * iconv/gconv_simple.c: Likewise.
63382         * iconv/gconv_int.h: Likewise.
63383         * iconv/gconv_builtin.h: Likewise.
63384         * iconv/iconv_prog.c: Remove CHAR16 handling.
63386         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63388         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63390         * configure.in: Remove --with-elf and --enable-bounded options.
63391         Dont set base_machine for ia64.  More non-ELF conditions removed.
63392         Remove testing and setting of leading underscore information.
63393         * config.make.in (build-bounded): Set to no.
63394         * config.h.in: Remove NO_UNDERSCORES entry.
63395         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63396         them.
63397         * csu/start.c: Remove !NO_UNDERSCORE code.
63398         * locale/localeinfo.h: Likewise.
63399         * sysdeps/generic/machine-gmon.h: Likewise.
63400         * sysdeps/generic/sysdep.h: Likewise.
63401         * sysdeps/i386/sysdep.h: Likewise.
63402         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63403         * sysdeps/mach/sysdep.h: Likewise.
63404         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63405         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63406         * sysdeps/sh/sysdep.h: Likewise.
63407         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63408         * sysdeps/unix/i386/sysdep.S: Likewise.
63409         * sysdeps/unix/sparc/start.c: Likewise.
63410         * sysdeps/unix/sparc/sysdep.S: Likewise.
63411         * sysdeps/unix/sparc/sysdep.h: Likewise.
63412         * sysdeps/unix/start.c: Likewise.
63413         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63414         * sysdeps/x86_64/sysdep.h: Likewise.
63416 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63418         [BZ #13553]
63419         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63420         for non-gcc.
63421         * argp/argp-fmtstream.h: Use const instead __const.
63422         * argp/argp.h: Likewise.
63423         * assert/assert.h: Likewise.
63424         * bits/fenv.h: Likewise.
63425         * bits/sched.h: Likewise.
63426         * bits/sigset.h: Likewise.
63427         * bits/sigthread.h: Likewise.
63428         * catgets/nl_types.h: Likewise.
63429         * conform/data/pthread.h-data: Likewise.
63430         * crypt/crypt-private.h: Likewise.
63431         * crypt/crypt.h: Likewise.
63432         * crypt/crypt_util.c: Likewise.
63433         * ctype/ctype.h: Likewise.
63434         * debug/execinfo.h: Likewise.
63435         * debug/mbsnrtowcs_chk.c: Likewise.
63436         * debug/mbsrtowcs_chk.c: Likewise.
63437         * debug/wcsnrtombs_chk.c: Likewise.
63438         * debug/wcsrtombs_chk.c: Likewise.
63439         * debug/wcstombs_chk.c: Likewise.
63440         * dirent/dirent.h: Likewise.
63441         * dlfcn/dlfcn.h: Likewise.
63442         * elf/neededtest4.c: Likewise.
63443         * grp/grp.h: Likewise.
63444         * gshadow/gshadow.h: Likewise.
63445         * iconv/gconv.h: Likewise.
63446         * iconv/gconv_int.h: Likewise.
63447         * iconv/gconv_simple.c: Likewise.
63448         * iconv/iconv.h: Likewise.
63449         * iconv/loop.c: Likewise.
63450         * iconv/skeleton.c: Likewise.
63451         * include/aio.h: Likewise.
63452         * include/aliases.h: Likewise.
63453         * include/argz.h: Likewise.
63454         * include/arpa/inet.h: Likewise.
63455         * include/assert.h: Likewise.
63456         * include/dirent.h: Likewise.
63457         * include/dlfcn.h: Likewise.
63458         * include/execinfo.h: Likewise.
63459         * include/fcntl.h: Likewise.
63460         * include/fenv.h: Likewise.
63461         * include/glob.h: Likewise.
63462         * include/grp.h: Likewise.
63463         * include/libintl.h: Likewise.
63464         * include/mntent.h: Likewise.
63465         * include/netdb.h: Likewise.
63466         * include/pwd.h: Likewise.
63467         * include/rpc/netdb.h: Likewise.
63468         * include/sched.h: Likewise.
63469         * include/search.h: Likewise.
63470         * include/shadow.h: Likewise.
63471         * include/signal.h: Likewise.
63472         * include/stdio.h: Likewise.
63473         * include/stdlib.h: Likewise.
63474         * include/string.h: Likewise.
63475         * include/sys/socket.h: Likewise.
63476         * include/sys/stat.h: Likewise.
63477         * include/sys/statfs.h: Likewise.
63478         * include/sys/statvfs.h: Likewise.
63479         * include/sys/syslog.h: Likewise.
63480         * include/sys/time.h: Likewise.
63481         * include/sys/uio.h: Likewise.
63482         * include/time.h: Likewise.
63483         * include/unistd.h: Likewise.
63484         * include/utmp.h: Likewise.
63485         * include/wchar.h: Likewise.
63486         * include/wctype.h: Likewise.
63487         * inet/aliases.h: Likewise.
63488         * inet/arpa/inet.h: Likewise.
63489         * inet/netinet/ether.h: Likewise.
63490         * inet/netinet/in.h: Likewise.
63491         * intl/libintl.h: Likewise.
63492         * io/bits/fcntl2.h: Likewise.
63493         * io/fcntl.h: Likewise.
63494         * io/ftw.h: Likewise.
63495         * io/sys/poll.h: Likewise.
63496         * io/sys/stat.h: Likewise.
63497         * io/sys/statfs.h: Likewise.
63498         * io/sys/statvfs.h: Likewise.
63499         * io/utime.h: Likewise.
63500         * libio/bits/stdio.h: Likewise.
63501         * libio/bits/stdio2.h: Likewise.
63502         * libio/libio.h: Likewise.
63503         * libio/libioP.h: Likewise.
63504         * libio/stdio.h: Likewise.
63505         * locale/lc-ctype.c: Likewise.
63506         * locale/locale.h: Likewise.
63507         * login/utmp.h: Likewise.
63508         * malloc/arena.c: Likewise.
63509         * malloc/malloc.c: Likewise.
63510         * malloc/malloc.h: Likewise.
63511         * malloc/mcheck.c: Likewise.
63512         * malloc/mtrace.c: Likewise.
63513         * math/bits/mathcalls.h: Likewise.
63514         * math/fenv.h: Likewise.
63515         * math/math_private.h: Likewise.
63516         * misc/bits/error.h: Likewise.
63517         * misc/bits/syslog.h: Likewise.
63518         * misc/err.h: Likewise.
63519         * misc/error.h: Likewise.
63520         * misc/fstab.h: Likewise.
63521         * misc/mntent.h: Likewise.
63522         * misc/regexp.h: Likewise.
63523         * misc/search.h: Likewise.
63524         * misc/sgtty.h: Likewise.
63525         * misc/sys/mman.h: Likewise.
63526         * misc/sys/syslog.h: Likewise.
63527         * misc/sys/uio.h: Likewise.
63528         * misc/sys/xattr.h: Likewise.
63529         * misc/ttyent.h: Likewise.
63530         * nis/rpcsvc/ypclnt.h: Likewise.
63531         * nss/nss.h: Likewise.
63532         * posix/bits/unistd.h: Likewise.
63533         * posix/fnmatch.h: Likewise.
63534         * posix/glob.h: Likewise.
63535         * posix/sched.h: Likewise.
63536         * posix/spawn.h: Likewise.
63537         * posix/sys/wait.h: Likewise.
63538         * posix/unistd.h: Likewise.
63539         * posix/wordexp.h: Likewise.
63540         * pwd/pwd.h: Likewise.
63541         * resolv/netdb.h: Likewise.
63542         * resource/sys/resource.h: Likewise.
63543         * rt/aio.h: Likewise.
63544         * rt/bits/mqueue2.h: Likewise.
63545         * rt/mqueue.h: Likewise.
63546         * shadow/shadow.h: Likewise.
63547         * signal/signal.h: Likewise.
63548         * socket/send.c: Likewise.
63549         * socket/sendto.c: Likewise.
63550         * socket/sys/socket.h: Likewise.
63551         * stdio-common/printf.h: Likewise.
63552         * stdlib/bits/stdlib.h: Likewise.
63553         * stdlib/fmtmsg.h: Likewise.
63554         * stdlib/monetary.h: Likewise.
63555         * stdlib/stdlib.h: Likewise.
63556         * stdlib/ucontext.h: Likewise.
63557         * streams/stropts.h: Likewise.
63558         * string/argz.h: Likewise.
63559         * string/bits/string2.h: Likewise.
63560         * string/string.h: Likewise.
63561         * string/strings.h: Likewise.
63562         * sunrpc/rpc/auth.h: Likewise.
63563         * sunrpc/rpc/auth_des.h: Likewise.
63564         * sunrpc/rpc/clnt.h: Likewise.
63565         * sunrpc/rpc/netdb.h: Likewise.
63566         * sunrpc/rpc/pmap_clnt.h: Likewise.
63567         * sunrpc/rpc/xdr.h: Likewise.
63568         * sysdeps/generic/inttypes.h: Likewise.
63569         * sysdeps/generic/net/if.h: Likewise.
63570         * sysdeps/generic/sys/swap.h: Likewise.
63571         * sysdeps/gnu/net/if.h: Likewise.
63572         * sysdeps/gnu/utmpx.h: Likewise.
63573         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63574         * sysdeps/i386/i486/bits/string.h: Likewise.
63575         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63576         * sysdeps/s390/bits/string.h: Likewise.
63577         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63578         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63579         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63580         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63581         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63582         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63583         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63584         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63585         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63586         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63587         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63588         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63589         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63590         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63591         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63592         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63593         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63595         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63596         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63597         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63598         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63599         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63600         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63601         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63602         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63603         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63604         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63605         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63606         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63607         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63608         * sysvipc/sys/ipc.h: Likewise.
63609         * sysvipc/sys/msg.h: Likewise.
63610         * sysvipc/sys/sem.h: Likewise.
63611         * sysvipc/sys/shm.h: Likewise.
63612         * termios/termios.h: Likewise.
63613         * time/sys/time.h: Likewise.
63614         * time/time.h: Likewise.
63615         * wcsmbs/bits/wchar2.h: Likewise.
63616         * wcsmbs/uchar.h: Likewise.
63617         * wcsmbs/wchar.h: Likewise.
63618         * wctype/wctype.h: Likewise.
63620         [BZ #13551]
63621         * Makeconfig: Remove all but ELF support including AIX support.
63622         * Makerules: Likewise.
63623         * config.h.in: Likewise.
63624         * config.make.in: Likewise.
63625         * configure: Likewise.
63626         * configure.in: Likewise.
63627         * csu/Makefile: Likewise.
63628         * csu/version.c: Likewise.
63629         * debug/Makefile: Likewise.
63630         * dlfcn/Makefile: Likewise.
63631         * elf/Makefile: Likewise.
63632         * extra-lib.mk: Likewise.
63633         * iconv/Makefile: Likewise.
63634         * include/libc-symbols.h: Likewise.
63635         * include/shlib-compat.h: Likewise.
63636         * resolv/Makefile: Likewise.
63637         * resolv/res_libc.c: Likewise.
63638         * rt/Makefile: Likewise.
63639         * sysdeps/i386/asm-syntax.h: Likewise.
63640         * sysdeps/i386/sysdep.h: Likewise.
63641         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63642         * sysdeps/mach/sysdep.h: Likewise.
63643         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63644         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63645         * sysdeps/s390/asm-syntax.h: Likewise.
63646         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63648         * sysdeps/sh/sysdep.h: Likewise.
63649         * sysdeps/unix/sparc/sysdep.h: Likewise.
63650         * sysdeps/wordsize-32/divdi3.c: Likewise.
63651         * sysdeps/x86_64/sysdep.h: Likewise.
63653         * argp/Versions: Remove _argp_unlock_xxx.
63655         [BZ #13559]
63656         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63657         * abilist/libBrokenLocale.abilist: Likewise.
63658         * abilist/libanl.abilist: Likewise.
63659         * abilist/libc.abilist: Likewise.
63660         * abilist/libcrypt.abilist: Likewise.
63661         * abilist/libdl.abilist: Likewise.
63662         * abilist/libm.abilist: Likewise.
63663         * abilist/libnsl.abilist: Likewise.
63664         * abilist/libpthread.abilist: Likewise.
63665         * abilist/libresolv.abilist: Likewise.
63666         * abilist/librt.abilist: Likewise.
63667         * abilist/libthread_db.abilist: Likewise.
63668         * abilist/libutil.abilist: Likewise.
63669         * abilist/libnss_db.abilist: New file.
63671         * scripts/abilist.awk: Add support for indirect functions.
63673         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63675         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63677         * shlib-versions: Remove entries for ports architectures.
63679         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63680         files in ports.
63681         * elf/stackguard-macros.h: Remove support for IA-64.
63682         * elf/tst-auditmod1.c: Likewise.
63683         * sysdeps/generic/ldsodefs.h: Likewise.
63685         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63686         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63687         configure files.
63689         [BZ #13552]
63690         * configure.in: Remove --enable-omitfp support.
63691         * FAQ.in: Adjust.
63692         * config.make.in: Likewise.
63693         * Makeconfig: Likewise.
63694         * manual/install.texi: Likewise.
63696         In case anyone cares, the IA-64 architecture could move to ports.
63697         * sysdeps/ia64/*: Removed.
63698         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63699         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63701         [BZ #13555]
63702         * configure.in: Remove entries for unsupported architectures.
63704         [BZ #13533]
63705         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63706         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63707         routines.
63708         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63709         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63710         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63711         fall back to using wcrtomb.
63712         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63713         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63714         renaming.
63715         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63716         * wcsmbs/tst-c16c32-1.c: New file.
63718         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63719         local variable.
63721         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63723         * elf/tst-unique3.cc: Add explicit declaration of gets.
63724         * elf/tst-unique3lib.cc: Likewise.
63725         * elf/tst-unique3lib2.cc: Likewise.
63726         * elf/tst-unique4.cc: Likewise.
63728         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63730 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63732         [BZ #13566]
63733         * assert/assert.h (static_assert): Don't define for C++.
63734         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63735         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63737 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63739         * iconv/loop.c (single loop): Fix assertion in storing of
63740         remaining bytes.
63742         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63744 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63746         * posix/getconf.c: Update copyright year.
63747         * nss/getent.c: Likewise.
63748         * nss/makedb.c: Likewise.
63749         * iconv/iconvconfig.c: Likewise.
63750         * iconv/iconv_prog.c: Likewise.
63751         * elf/ldconfig.c: Likewise.
63752         * elf/pldd.c: Likewise.
63753         * elf/sotruss.ksh: Likewise.
63754         * catgets/gencat.c: Likewise.
63755         * csu/version.c: Likewise.
63756         * elf/ldd.bash.in: Likewise.
63757         * elf/sprof.c (print_version): Likewise.
63758         * locale/programs/locale.c: Likewise.
63759         * locale/programs/localedef.c: Likewise.
63760         * login/programs/pt_chown.c: Likewise.
63761         * nscd/nscd.c (print_version): Likewise.
63762         * debug/xtrace.sh: Likewise.
63763         * malloc/memusage.sh: Likewise.
63764         * malloc/mtrace.pl: Likewise.
63765         * debug/catchsegv.sh: Likewise.
63767 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63769         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63770         pure attribute.
63772 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63774         [BZ #13533]
63775         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63776         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63777         transformations.
63778         * iconv/gconv_int.h: Likewise.
63779         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63780         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63781         from libc for GLIBC_2.16.
63782         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63783         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63784         * wcsmbs/uchar.h: Really define mbstate_t.
63785         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63786         * wcsmbs/c16rtomb.c: New file.
63787         * wcsmbs/mbrtoc16.c: New file.
63788         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63789         for C/POSIX locale.
63790         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63791         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63793         * wcsmbs/wchar.h: Add missing __restrict.
63795 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63797         [BZ #13532]
63798         * time/Makefile (routines): Add timespec_get.
63799         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63800         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63801         timespec for ISO C11.
63802         * time/timespec_get.c: New file.
63803         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63804         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63806         [BZ #13531]
63807         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63808         * stdlib/stdlib.h: Declare aligned_alloc.
63809         * Versions.def: Add GLIBC_2.16 for libc.
63810         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63812         [BZ 13527]
63813         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63814         ISO C11.
63816         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63817         code.
63819         [BZ #13528]
63820         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63822         [BZ #13529]
63823         * assert/assert.h (static_assert): Define.
63825         * version.h: Update for 2.16 development version.
63827         [BZ #13526]
63828         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63829         _ISOC11_SOURCE.
63831         * version.h (RELEASE): Bump for 2.15 release.
63832         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63834         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63835         Patch by Marek Polacek <mpolacek@redhat.com>.
63837         * bits/byteswap.h: Protect long long constants with __extension__.
63838         * sysdeps/i386/bits/byteswap.h: Likewise.
63839         * sysdeps/ia64/bits/byteswap.h: Likewise.
63840         * sysdeps/s390/bits/byteswap.h: Likewise.
63841         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63843 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63845         [BZ #13540]
63846         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63847         destination buffer.
63848         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63850 2011-12-23  Marek Polacek  <polacek@redhat.com>
63852         * elf/dl-addr.c (determine_info): Add inline keyword.
63853         * elf/tst-auditmod4b.c (check_avx): Likewise.
63854         * elf/tst-auditmod6b.c (check_avx): Likewise.
63855         * elf/tst-auditmod6c.c (check_avx): Likewise.
63856         * elf/tst-auditmod7b.c (check_avx): Likewise.
63858 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63860         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63861         !__SSE_MATH__.
63863 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63865         [BZ #13540]
63866         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63867         processing for last bytes.
63869 2011-08-06  Bruno Haible  <bruno@clisp.org>
63871         [BZ #13061]
63872         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63873         U+0385, not to U+1FEE.
63875         [BZ #13062]
63876         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63877         entry for U+00A5 U+0301.
63879 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63881         [BZ #13166]
63882         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63883         buffer for the output is too small.
63885         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63886         optimization.
63888         [BZ #13185]
63889         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63890         SSE flags if possible.
63892 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63894         [BZ #13540]
63895         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63896         processing for last bytes.
63898 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63900         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63901         (syscall-list-default-options, syscall-list-default-condition)
63902         (syscall-list-includes): Define.
63903         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63904         list of ABIs and options and #if conditions for each ABI.  Do not
63905         handle common syscalls between ABIs specially.
63906         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63907         Remove.
63908         (syscall-list-variants, syscall-list-32bit-options)
63909         (syscall-list-32bit-condition, syscall-list-64bit-options)
63910         (syscall-list-64bit-condition): Define.
63911         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63912         (syscall-list-variants, syscall-list-32bit-options)
63913         (syscall-list-32bit-condition, syscall-list-64bit-options)
63914         (syscall-list-64bit-condition): Define.
63915         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63916         Remove.
63917         (syscall-list-variants, syscall-list-32bit-options)
63918         (syscall-list-32bit-condition, syscall-list-64bit-options)
63919         (syscall-list-64bit-condition): Define.
63920         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63921         Remove.
63922         (syscall-list-variants, syscall-list-32bit-options)
63923         (syscall-list-32bit-condition, syscall-list-64bit-options)
63924         (syscall-list-64bit-condition): Define.
63926 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63928         * locale/iso-639.def: Add brx entry.
63930         [BZ #13328]
63931         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63932         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63934         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63935         __feraiseexcept_renamed.
63937 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63939         [BZ #13538]
63940         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63941         EPOLLET with unsigned values.
63942         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63943         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63945         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63946         to large cancellation.
63947         * math/s_cacoshf.c: Likewise.
63948         * math/s_cacoshl.c: Likewise.
63950 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63952         [BZ #13305]
63953         [BZ #12786]
63954         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63955         * math/s_cacoshf.c: Likewise.
63956         * math/s_cacoshl.c: Likewise.
63958 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63960         [BZ #13439]
63961         * iconv/gconv.h: Define __GCONV_SWAP.
63962         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63963         * iconvdata/utf-16.c: Likewise.
63964         * iconvdata/utf-32.c: Likewise.
63966 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63968         [BZ #13524]
63969         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63970         numerator after shifting it by one limb.
63972 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63974         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63975         under [__USE_EXTERN_INLINES].
63977 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63979         [BZ #13446]
63980         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63982 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63984         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63985         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63986         optimized code.
63987         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63988         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63989         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63990         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63991         for strncasecmp/strncasecmp_l compilation.
63992         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63993         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63995 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63997         [BZ #13484]
63998         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63999         of __asm__.
64001 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64003         [BZ #13506]
64004         * time/tzfile.c (__tzfile_read): Check values from file header.
64006 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64008         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64009         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64010         * powerpc/powerpc32/dl-start.S: Likewise.
64011         * powerpc/powerpc32/elf/start.S: Likewise.
64012         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64013         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64014         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64015         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64016         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64017         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64018         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64019         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64020         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64021         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64022         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64023         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64024         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64025         * powerpc/powerpc32/memset.S: Likewise.
64026         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64027         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64028         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64029         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64030         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64031         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64032         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64033         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64034         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64035         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64036         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64037         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64038         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64040 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64042         * math/libm-test.inc: Added more nearbyint tests.
64043         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64045         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64048 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64050         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64051         FD_CLOEXEC.
64053 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64055         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64056         Add wcscpy-ssse3 wcscpy-c.
64057         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64058         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64059         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64060         * sysdeps/x86_64/wcschr.S: New file.
64061         * sysdeps/x86_64/wcsrchr.S: New file.
64062         * string/test-strcmp.c: Remove checking of wcscmp function for
64063         wrong alignments.
64064         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64065         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64066         wcsrchr-sse2 wcsrchr-c.
64067         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64068         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64069         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64070         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64071         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64072         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64073         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64074         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64075         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64076         * wcsmbc/wcschr.c (WCSCHR): New macro.
64078 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64080         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64081         * wcsmbs/test-wcsrchr.c: New file.
64082         * string/test-strrchr.c: Add wcsrchr support.
64083         (WIDE): New macro.
64084         * wcsmbs/test-wcscpy.c: New file.
64085         * string/test-strcpy.c: Add wcscpy support.
64086         (WIDE): New macro.
64088 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64090         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64091         the inner loop.
64093 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64095         [BZ #13472]
64096         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64098 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64100         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64101         Minor optimizations.
64103         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64104         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64105         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64107 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64109         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64110         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64111         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64112         for gcc to avoid warnings.
64113         * inet/Makefile (tests): Add tst-checks.
64114         * inet/tst-checks.c: New file.
64116         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64117         warning.
64119         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64120         __wmemcmp_sse2.
64122         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64123         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64125         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64127 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64129         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64130         problem.
64132         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64134 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64136         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64137         conditional on GCC version.
64138         (__arch_compare_and_exchange_val_8_acq)
64139         (__arch_compare_and_exchange_val_16_acq)
64140         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64141         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64142         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64144 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64146         * sysdeps/sh/backtrace.c: New file.
64148 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64150         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64151         parenthesis.
64153 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64155         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64156         falling back to utime.
64158 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64160         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64161         expectations for float.
64163 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64165         * locale/weight.h (findidx): Add parameter len.
64166         * locale/weightwc.h (findidx): Likewise.
64167         * posix/fnmatch_loop.c (FCT): Adjust caller.
64168         * posix/regcomp.c (build_equiv_class): Likewise.
64169         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64170         * posix/regexec.c (check_node_accept_bytes): Likewise.
64171         * string/strcoll_l.c (STRCOLL): Likewise.
64172         * string/strxfrm_l.c (STRXFRM): Likewise.
64174 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64176         * Makefile.in: Remove CVSOPT handling.
64177         * configure.in: Remove use of AC_REVISION.
64178         * iconvdata/Makefile (distribute): No need to filter out CVS.
64179         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64180         handling.
64182 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64185         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64186         [USE_AS_STRNCASECMP_L]: Likewise.
64187         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64188         NO_TLS_DIRECT_SEG_REFS.
64189         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64190         Fix argument offsets for non-PIC.
64191         [USE_AS_STRNCASECMP_L]: Likewise.
64192         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64193         NO_TLS_DIRECT_SEG_REFS.
64195 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64197         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64198         O_CLOEXEC.
64199         * locale/loadlocale.c (_nl_load_locale): Likewise.
64201 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64203         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64204         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64205         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64206         (SYSCALL_GETTIME): Set errno on error.
64208         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64209         count references to noai6ai_cached.
64211 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64213         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64215         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64216         FD_CLOEXEC for /proc/self/maps.
64218         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64219         FD_CLOEXEC for /proc/meminfo.
64221         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64222         gai.conf.
64224         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64225         FD_CLOEXEC for given file.
64227         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64229         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64230         FD_CLOEXEC for /etc/hosts.
64231         (_gethtent): Likewise.
64233         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64235         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64236         cancellation and set FD_CLOEXEC for /etc/netgroup.
64238         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64239         reading /etc/publickey.
64241         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64242         allow cancellation when reading /etc/group.
64244         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64245         cancellation.
64246         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64248         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64249         when using data file.
64251         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64253         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64254         (write_nis_obj): Use "c" and "e" in fopen.
64256         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64258         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64260         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64262         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64264         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64265         locale.alias.
64267         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64269         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64271         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64273         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64274         file parsing and set FD_CLOEXEC.
64276 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64278         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64280 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64282         * malloc/arena.c (arena_get2): Don't call reused_arena when
64283         _int_new_arena failed.
64285 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64287         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64288         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64289         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64290         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64291         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64292         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64293         to compile strcasecmp and strncasecmp.
64294         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64295         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64299 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64301         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64302         locale-defines.sym to gen-as-const-headers.
64303         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64304         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64306         to compile strcasecmp and strncasecmp.
64307         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64308         strcasecmp_l and strncasecmp_l.
64309         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64310         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64311         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64312         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64313         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64314         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64315         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64316         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64317         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64318         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64319         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64321 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64323         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64324         result of SYSDEP_GETTIME_CPU to retval.
64325         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64326         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64328         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64329         variable.
64331         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64332         mantissa words.
64333         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64335         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64336         from unused variable.
64338         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64339         DWARF definitions.
64340         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64341         for assembling.
64343         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64344         over namespaces.
64346         * sunrpc/rpc_prot.c (rejected): Fix case value.
64348         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64349         unsigned long long int to avoid warnings in shift.
64351         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64352         of use of trans.
64353         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64354         variable tmp.
64356         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64357         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64358         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64360         * nis/nis_table.c (nis_list): Use variable of correct type for
64361         result of __follow_path call.
64363 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64365         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64366         of math functions ceil, trunc, floor, round, and sqrt, when
64367         avaliable on the platform.
64368         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64369         name clash.
64370         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64371         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64372         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64374 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64376         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64377         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64379 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64381         * include/unistd.h: Fix __readlink return type.
64382         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64384 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64386         * stdlib/ucontext.h: Undo last change for makecontext.
64388 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64390         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64392         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64393         * setjmp/setjmp.h: Mark functions as non-leaf.
64394         * setjmp/bits/setjmp2.h: Likewise.
64395         * stdlib/ucontext.h: Likewise.
64397 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64399         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64400         (reused_arena): Don't check arena limit.
64401         (arena_get2): Atomically check arena limit.
64403 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64405         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64406         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64409         instructions.
64411 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64413         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64414         handler when locking.
64416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64417         Fix size of allocated buffer.
64419 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64421         [BZ #10103]
64422         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64423         declarations for long double functions.
64424         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64426         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64428 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64430         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64431         installed.
64433         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64434         is disabled.
64436 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64438         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64440 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64442         * include/alloca.h (stackinfo_alloca_round): Define.
64443         (extend_alloca): Use it.
64444         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64445         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64446         here.
64448         * scripts/check-local-headers.sh: Ignore libaudit.h.
64450         * nscd/Makefile (extra-objs): Make recursively expanded.
64452 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64454         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64455         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64457         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64458         * posix/tst-rfc3484-2.c: Likewise.
64459         * posix/tst-rfc3484-3.c: Likewise.
64461         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64462         process_vm_writev.
64463         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64464         process_vm_writev.
64465         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64466         process_vm_writev from libc using GLIBC_2.15 version.
64468         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64470 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64472         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64473         stack usage.
64475 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64477         [BZ #13367]
64478         * nss/getent.c (initgroups_keys): Show error message in case no group
64479         names are given.
64481         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64482         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64483         __bump_nl_timestamp.
64484         * nscd/connections (nscd_init): When host database is served open
64485         netlink socket and request notification about configuration changes.
64486         (main_loop_poll): Track netlink file descriptor and bump timestamp
64487         in case data becomes available.
64488         (main_loop_epoll): Likewise.
64489         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64490         (database_pers_head): Add extra_data fileds.
64491         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64492         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64493         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64494         Adjust caller.
64495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64496         in6ai data, call __free_in6ai.
64497         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64498         Add -DHAVE_NETLINK.
64499         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64500         interface information.  Reuse previous data if netlink timestamp
64501         is not changed.
64502         (__bump_nl_timestamp): New function.
64503         (__free_in6ai): New function.
64505 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64507         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64508         close_not_cancel_no_status here.
64509         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64511 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64513         [BZ #13276]
64514         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64515         return value.
64517         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64518         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64519         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64521 2011-07-03  Andreas Jaeger  <aj@suse.de>
64523         [BZ #10709]
64524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64525         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64526         * math/libm-test.inc (sin_test): Add test case.
64528 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64530         [BZ #13337]
64531         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64532         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64534         * elf/chroot_canon.c (chroot_canon): Cleanups.
64536         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64538         [BZ #13335]
64539         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64540         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64542         * string/test-strchr.c: Make usable for strchrnul testing.
64543         * string/test-strchrnul.c: New file.
64544         * string/Makefile (strop-tests): Add strchrnul.
64546         * po/it.po: Update from translation team.
64547         * po/es.po: Likewise.
64549 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64551         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64552         the three constants needed as parameters.  Drop the others.
64553         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64554         __m128i_strloadu_tolower.
64555         Create and initialize variable zero and use it in all the places
64556         where _mm_setzero_si128 was used.
64558         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64559         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64560         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64561         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64562         anymore.
64563         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64564         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64565         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64566         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64567         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64568         __mpranred, __mptan.
64569         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64570         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64571         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64572         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64573         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64574         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64575         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64576         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64577         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64579 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64581         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64582         redefine if SHARED.
64583         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64586         wide char related routines to wcsmbs subdir.
64588 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64590         [BZ #13344]
64591         * misc/sys/cdefs.h (__THROWNL): Define.
64592         * posix/unistd.h: Use __THREADNL instead of __THREAD
64593         for memory synchronization functions.
64595 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64597         [BZ #13349]
64598         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64599         doesn't exist.
64600         * manual/stdio.texi (Obstack Streams): Node removed.
64602 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64604         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64605         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64606         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64608         * math/math_private.h (math_force_eval): Allow non-addressable
64609         arguments.
64610         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64614         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64615         file is not needed.
64617         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64619         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64620         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64621         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64622         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64623         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64624         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64625         Add AVX variants.
64626         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64627         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64628         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64629         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64630         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64631         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64632         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64633         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64634         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64635         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64636         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64637         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64638         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64639         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64640         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64641         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64642         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64643         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64644         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64646         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64647         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64649         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64650         place.  Use VEX encoding when compiling for AVX.
64652 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64654         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64655         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64657         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64659 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64661         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64662         useless if() expression.
64663         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64664         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64665         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64666         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64667         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64668         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64669         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64670         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64671         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64672         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64674         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64675         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64676         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64677         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64678         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64679         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64680         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64681         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64683         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64685 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64687         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64688         condition.
64689         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64691 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64693         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64694         .text section.  Avoid duplicate constants.
64695         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64697         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64699         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64700         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64701         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64703         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64704         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64705         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64706         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64707         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64708         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64709         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64710         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64711         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64712         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64713         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64714         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64715         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64716         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64717         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64718         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64719         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64720         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64721         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64722         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64723         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64724         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64725         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64726         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64727         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64728         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64729         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64730         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64731         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64732         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64733         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64734         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64735         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64736         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64737         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64738         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64739         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64741 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64743         * sysdeps/x86_64/dla.h: Move to ...
64744         * sysdeps/x86_64/fpu/dla.h: ...here.
64745         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64746         situations.  Use __builtin_fma only for gcc 4.6 and up.
64748         * config.make.in: Add have-mfma4 entry.
64749         * configure.in: Substitute libc_cv_cc_fma4.
64750         * math/Makefile (dbl-only-routines): Add sincostab.
64751         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64752         Use __sincostab not sincos.
64753         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64754         name is a macro.
64755         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64759         using __copysign.
64760         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64761         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64762         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64763         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64764         and __inv.
64765         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64766         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64767         __copysign.
64768         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64769         define aliases when function name is a macro.
64770         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64771         sysdeps/ieee754/dbl-64/sincos.tbl.
64772         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64773         fma4-enabled routines.
64774         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64775         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64776         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64777         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64778         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64779         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64780         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64781         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64782         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64783         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64784         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64785         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64786         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64787         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64788         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64789         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64790         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64791         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64792         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64793         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64794         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64795         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64796         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64797         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64798         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64799         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64800         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64801         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64802         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64803         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64805         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64806         rename.
64807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64808         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64816 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64818         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64820 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64824         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64825         prediction.
64826         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64828         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64829         Remove unused variable magic_bits.
64830         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64832         * string/strnlen.c: Define and use STRNLEN macro.
64833         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64834         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64835         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64836         * wcsmbs/wcslen.c: Define and use WCSLEN.
64837         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64838         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64839         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64840         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64841         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64842         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64843         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64845 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64848         strnlen-sse2-no-bsf.
64849         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64850         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64851         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64852         Add strnlen support.
64853         (USE_AS_STRNLEN): New macro.
64854         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64855         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64856         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64857         * sysdeps/x86_64/wcslen.S: New file.
64859 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64861         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64862         XMM-moves are used for copying on small sizes.
64864 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64866         * wcsmbs/Makefile (strop-tests): Add wcschr.
64867         * wcsmbs/test-wcschr.c: New file.
64868         * string/test-strchr.c: Update.
64869         Add wcschr support.
64870         (WIDE): New macro.
64872 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64874         * wcsmbs/Makefile (strop-tests): Add wcslen.
64875         * wcsmbs/test-wcslen.c: New file.
64876         * string/test-strlen.c: Update.
64877         Add wcslen support.
64878         (WIDE): New macro.
64880 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64882         * po/it.po: Update from translation team.
64884 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64886         * sysdeps/x86_64/wcscmp.S: Update.
64887         Fix wrong comparison semantics.
64888         wcscmp shall use signed comparison not unsigned.
64889         Don't use substraction to avoid overflow bug.
64890         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64891         * wcsmbc/wcscmp.c: Likewise.
64892         * string/test-strcmp.c: Likewise.
64893         Add new tests to check cases with negative values.
64895 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64897         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64898         * sysdeps/x86_64/dla.h: ...here.  New file.
64899         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64900         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64906         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64907         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64909 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64912         __ynl_finite aliases.
64914 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64918         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64919         define DLA_FMA.
64920         [DLA_FMA] (EMULV): Use DLA_FMA.
64921         [DLA_FMA] (MUL12): Use EMULV.
64922         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64923         that are not needed.
64924         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64928         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64929         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64930         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64932 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64934         * math/s_nan.c: Undef __nan.
64935         * math/s_nanf.c: Undef __nanf.
64936         * math/s_nanl.c: Undef __nanl.
64937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64938         "math_private.h".
64940 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64942         * math/s_catan.c: Add branch predictions.
64943         * math/s_catanf.c: Likewise.
64944         * math/s_catanh.c: Likewise.
64945         * math/s_catanhf.c: Likewise.
64946         * math/s_catanhl.c: Likewise.
64947         * math/s_catanl.c: Likewise.
64948         * math/s_cexp.c: Likewise.
64949         * math/s_cexpf.c: Likewise.
64950         * math/s_cexpl.c: Likewise.
64951         * math/s_clog.c: Likewise.
64952         * math/s_clog10.c: Likewise.
64953         * math/s_clog10f.c: Likewise.
64954         * math/s_clog10l.c: Likewise.
64955         * math/s_clogf.c: Likewise.
64956         * math/s_clogl.c: Likewise.
64957         * math/s_csqrt.c: Likewise.
64958         * math/s_csqrtf.c: Likewise.
64959         * math/s_csqrtl.c: Likewise.
64960         * math/s_ctanf.c: Likewise.
64961         * math/s_ctanh.c: Likewise.
64962         * math/s_ctanhf.c: Likewise.
64963         * math/s_ctanhl.c: Likewise.
64964         * math/s_ctanl.c: Likewise.
64966         * math/math_private.h: Define __nan, __nanf, __nanl.
64967         * math/s_cacosh.c: Include <math_private.h>.
64968         * math/s_cacoshl.c: Likewise.
64969         * math/s_casinh.c: Likewise.
64970         * math/s_casinhf.c: Likewise.
64971         * math/s_casinhl.c: Likewise.
64972         * math/s_ccos.c: Rely entire on ccosh.
64973         * math/s_ccosf.c: Rely entire on ccoshf.
64974         * math/s_ccosl.c: Rely entirely on ccoshl.
64975         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64976         Remove tests for FE_INVALID.
64977         * math/s_ccoshf.c: Likewise.
64978         * math/s_ccoshl.c: Likewise.
64979         * math/s_csin.c: Likewise.
64980         * math/s_csinf.c: Likewise.
64981         * math/s_csinh.c Likewise.
64982         * math/s_csinhf.c: Likewise.
64983         * math/s_csinhl.c: Likewise.
64984         * math/s_csinl.c: Likewise.
64985         * math/s_ctan.c: Likewise.
64986         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64987         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64988         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64990 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64993         compilation problems.
64995         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64996         __builtin_expect.
64998 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65000         * sysdeps/i386/configure.in: Test for -mfma4 option.
65001         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65002         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65003         COMMON_CPUID_INDEX_80000001.
65004         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65005         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65006         use it if FMA3 is not supported.
65007         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65009         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65010         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65012 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65014         [BZ #12892]
65015         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65016         it would create a cycle with a link time dependency.
65018 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65020         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65021         instruction.
65022         * string/Makefile (strop-tests): Add rawmemchr.
65023         * string/test-rawmemchr.c: New file.
65025         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65026         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65027         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65028         when compiling str{,n}casecmp and when AVX is available.  Hook up
65029         new optimized code in initializers.
65031 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65033         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65034         __feraiseexcept instead of feraiseexcept.
65036 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65038         * math/math_private.h: Define defaults for libc_fetestexcept and
65039         libc_feupdateenv.
65040         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65041         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65042         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65043         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65044         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65045         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65046         libc_fetestexcept and libc_feupdateenv.
65048         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65049         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65050         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65051         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65052         libc_feholdexcept_setround.
65054         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65055         Add s_nearbyint-c and s_nearbyintf-c.
65056         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65057         nearbyintf inlines.
65058         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65059         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65060         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65061         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65063         * math/math_private.h: Define defaults for libc_fegetround,
65064         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65065         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65066         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65067         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65068         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65069         standard functions.
65070         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65071         Remove comments and hacks for old compiler versions.
65072         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65073         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65074         libc_feholdexceptl.
65076 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65078         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65079         (__feraiseexcept_renamed): Add __NTH.
65080         (feraiseexcept): Add __NTH.  Rename local variables to fix
65081         namespace violations.
65083 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65085         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65087         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65089         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65090         recently added interfaces.
65091         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65093         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65094         about macro parameter expansion.
65096         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65097         __NO_MATH_INLINES is defined.  Cleanups.
65099         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65100         and __floorf is target has SSE4.1.
65101         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65102         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65103         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65104         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65106         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65107         name.
65108         (floorf): Likewise.
65110         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65112 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65114         * misc/sys/cdefs.h: Fix last change.
65116         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65117         database lookup.
65119 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65121         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65123         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65124         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65125         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65126         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65127         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65128         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65129         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65130         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65131         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65132         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65133         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65134         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65135         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65136         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65137         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65138         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65139         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65140         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65141         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65142         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65143         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65144         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65146         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65147         ceil, ceilf, floor, floorf.
65149         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65150         Perform IRELATIVE relocations last.
65152         * elf/do-rel.h: Add another parameter nrelative, replacing the
65153         local variable with the same name.  Change name of the function
65154         to end in Rel or Rela (uppercase).
65155         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65156         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65157         elf_dynamic_do_##reloc function.
65159 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65161         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65162         is sufficient, at least on modern CPUs.
65164         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65166         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65167         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65169         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65170         __expl_finite.
65171         * math/bits/math-finite.h: Add entries for exp.
65172         * math/e_expl.c: Add __*_finite alias.
65173         * sysdeps/i386/fpu/e_exp.S: Likewise.
65174         * sysdeps/i386/fpu/e_expf.S: Likewise.
65175         * sysdeps/i386/fpu/e_expl.c: Likewise.
65176         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65177         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65178         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65179         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65180         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65181         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65182         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65184         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65185         is sufficient, at least on modern CPUs.
65187         * ctype/ctype-info.c (__ctype_init): Define.
65188         * include/ctype.h (__ctype_init): Declare.
65189         (__ctype_b_loc): The variable is always initialized.
65190         (__ctype_toupper_loc): Likewise.
65191         (__ctype_tolower_loc): Likewise.
65192         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65193         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65195 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65197         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65199         * configure.in: Also look in $cxxmachine/include for C++ system
65200         headers.
65202 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65204         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65205         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65206         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65207         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65208         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65209         (USE_AS_WMEMCMP): New macro.
65210         Fixing indents.
65211         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65212         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65213         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65214         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65215         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65216         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65217         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65218         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65219         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65220         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65221         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65222         (USE_AS_WMEMCMP): New macro.
65223         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65224         * sysdeps/string/test-memcmp.c: Update.
65225         Fix simple_wmemcmp.
65226         Add new tests.
65227         * wcsmbs/wmemcmp.c: Update.
65228         (WMEMCMP): New macro.
65229         Fix overflow bug.
65231 2011-10-12  Andreas Jaeger  <aj@suse.de>
65233         [BZ #13268]
65234         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65236 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65238         * libio/iofwide.c (do_length): Avoid warning.
65240         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65242 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65244         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65246         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65247         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65248         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65249         * sysdeps/i386/i686/fpu/e_log.S: New file.
65250         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65251         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65253         * ctype/ctype.h: Add support for inlined isXXX functions when
65254         compiling C++ code.
65256 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65258         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65260         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65262 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65264         [BZ #13291]
65265         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65267 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65269         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65270         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65271         feraiseexcept.
65273         * sysdeps/x86_64/memrchr.S: Check for zero size.
65275         * string/stratcliff.c: Add memrchr tests.
65277 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65280         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65281         rawmemchr-sse2 rawmemchr-sse2-bsf.
65282         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65283         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65284         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65285         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65286         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65287         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65288         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65289         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65290         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65291         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65292         * string/memrchr.c (MEMRCHR): New macro.
65294 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65296         Add integration with gcc's -ffinite-math-only and optimize wrapper
65297         functions in libm.
65298         * Versions.def: Define GLIBC_2.15 version for libm.
65299         * math/Makefile (headers): Add bits/math-finite.h.
65300         * math/bits/math-finite.h: New file.
65301         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65302         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65303         * math/e_acoshl.c: Add __*_finite alias.
65304         * math/e_acosl.c: Likewise.
65305         * math/e_asinl.c: Likewise.
65306         * math/e_atan2l.c: Likewise.
65307         * math/e_atanhl.c: Likewise.
65308         * math/e_coshl.c: Likewise.
65309         * math/e_exp10.c: Likewise.
65310         * math/e_exp10f.c: Likewise.
65311         * math/e_exp10l.c: Likewise.
65312         * math/e_exp2l.c: Likewise.
65313         * math/e_fmodl.c: Likewise.
65314         * math/e_gammal_r.c: Likewise.
65315         * math/e_hypotl.c: Likewise.
65316         * math/e_j0l.c: Likewise.
65317         * math/e_j1l.c: Likewise.
65318         * math/e_jnl.c: Likewise.
65319         * math/e_lgammal_r.c: Likewise.
65320         * math/e_log10l.c: Likewise.
65321         * math/e_log2l.c: Likewise.
65322         * math/e_logl.c: Likewise.
65323         * math/e_powl.c: Likewise.
65324         * math/e_sinhl.c: Likewise.
65325         * math/e_sqrtl.c: Likewise.
65326         * math/e_scalb.c: Completely rewritten and optimized.
65327         * math/e_scalbf.c: Likewise.
65328         * math/e_scalbl.c: Likewise.
65329         * math/w_acos.c: Likewise.
65330         * math/w_acosf.c: Likewise.
65331         * math/w_acosl.c: Likewise.
65332         * math/w_acosh.c: Likewise.
65333         * math/w_acoshf.c: Likewise.
65334         * math/w_acoshl.c: Likewise.
65335         * math/w_asin.c: Likewise.
65336         * math/w_asinf.c: Likewise.
65337         * math/w_asinl.c: Likewise.
65338         * math/w_atan2.c: Likewise.
65339         * math/w_atan2f.c: Likewise.
65340         * math/w_atan2l.c: Likewise.
65341         * math/w_atanh.c: Likewise.
65342         * math/w_atanhf.c: Likewise.
65343         * math/w_atanhl.c: Likewise.
65344         * math/w_exp10.c: Likewise.
65345         * math/w_exp10f.c: Likewise.
65346         * math/w_exp10l.c: Likewise.
65347         * math/w_fmod.c: Likewise.
65348         * math/w_fmodf.c: Likewise.
65349         * math/w_fmodl.c: Likewise.
65350         * math/w_j0.c: Likewise.
65351         * math/w_j0f.c: Likewise.
65352         * math/w_j0l.c: Likewise.
65353         * math/w_j1.c: Likewise.
65354         * math/w_j1f.c: Likewise.
65355         * math/w_j1l.c: Likewise.
65356         * math/w_jn.c: Likewise.
65357         * math/w_jnf.c: Likewise.
65358         * math/w_log.c: Likewise.
65359         * math/w_logf.c: Likewise.
65360         * math/w_logl.c: Likewise.
65361         * math/w_log10.c: Likewise.
65362         * math/w_log10f.c: Likewise.
65363         * math/w_log10l.c: Likewise.
65364         * math/w_log2.c: Likewise.
65365         * math/w_log2f.c: Likewise.
65366         * math/w_log2l.c: Likewise.
65367         * math/w_pow.c: Likewise.
65368         * math/w_powf.c: Likewise.
65369         * math/w_powl.c: Likewise.
65370         * math/w_remainder.c: Likewise.
65371         * math/w_remainderf.c: Likewise.
65372         * math/w_remainderl.c: Likewise.
65373         * math/w_scalb.c: Likewise.
65374         * math/w_scalbf.c: Likewise.
65375         * math/w_scalbl.c: Likewise.
65376         * math/w_sqrt.c: Likewise.
65377         * math/w_sqrtf.c: Likewise.
65378         * math/w_sqrtl.c: Likewise.
65379         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65380         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65381         used.
65382         * math/math_private.h: Declare __kernel_standard_f.
65383         * math/w_cosh.c: Remove cruft and optimize a bit.
65384         * math/w_coshf.c: Likewise.
65385         * math/w_coshl.c: Likewise.
65386         * math/w_exp2.c: Likewise.
65387         * math/w_exp2f.c: Likewise.
65388         * math/w_exp2l.c: Likewise.
65389         * math/w_hypot.c: Likewise.
65390         * math/w_hypotf.c: Likewise.
65391         * math/w_hypotl.c: Likewise.
65392         * math/w_lgamma.c: Likewise.
65393         * math/w_lgamma_r.c: Likewise.
65394         * math/w_lgammaf.c: Likewise.
65395         * math/w_lgammaf_r.c: Likewise.
65396         * math/w_lgammal.c: Likewise.
65397         * math/w_lgammal_r.c: Likewise.
65398         * math/w_sinh.c: Likewise.
65399         * math/w_sinhf.c: Likewise.
65400         * math/w_sinhl.c: Likewise.
65401         * math/w_tgamma.c: Likewise.
65402         * math/w_tgammaf.c: Likewise.
65403         * math/w_tgammal.c: Likewise.
65404         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65405         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65406         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65407         Minor optimizations.  Pretty printing.  Remove cruft.
65408         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65409         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65410         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65411         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65412         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65413         * sysdeps/i386/fpu/e_asin.S: Likewise.
65414         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65415         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65416         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65417         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65418         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65419         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65420         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65421         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65422         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65423         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65424         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65425         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65426         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65427         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65428         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65429         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65430         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65431         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65432         * sysdeps/i386/fpu/e_log.S: Likewise.
65433         * sysdeps/i386/fpu/e_log10.S: Likewise.
65434         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65435         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65436         * sysdeps/i386/fpu/e_log2.S: Likewise.
65437         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65439         * sysdeps/i386/fpu/e_logf.S: Likewise.
65440         * sysdeps/i386/fpu/e_logl.S: Likewise.
65441         * sysdeps/i386/fpu/e_pow.S: Likewise.
65442         * sysdeps/i386/fpu/e_powf.S: Likewise.
65443         * sysdeps/i386/fpu/e_powl.S: Likewise.
65444         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65445         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65446         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65447         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65448         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65449         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65450         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65451         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65452         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65453         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65456         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65457         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65459         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65474         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65475         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65476         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65477         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65478         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65479         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65480         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65481         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65482         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65483         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65484         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65485         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65487         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65488         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65489         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65490         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65491         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65492         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65493         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65494         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65495         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65496         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65498         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65499         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65500         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65501         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65522         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65524         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65525         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65529         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65530         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65531         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65533         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65534         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65536         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65538         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65539         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65540         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65541         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65542         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65543         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65544         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65545         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65546         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65547         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65548         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65549         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65550         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65551         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65552         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65553         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65554         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65555         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65556         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65557         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65558         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65559         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65560         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65561         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65562         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65563         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65564         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65565         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65566         (__isnanf): Likewise.
65567         (__isinf_ns): Likewise.
65568         (__isinf_nsf): Likewise.
65569         (__finite): Likewise.
65570         (__finitef): Likewise.
65571         (__ieee754_sqrt): Define as macro.
65572         (__ieee754_sqrtf): Define as macro.
65573         (__ieee754_sqrtl): Define as macro.
65574         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65575         inlined copy.
65576         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65577         __FINITE_MATH_ONLY__ consistent.
65578         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65580 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65582         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65583         of rawmemchr.
65585         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65587 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65589         * po/ja.po: Update from translation team.
65591 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65593         * locale/programs/locarchive.c (prepare_address_space): New function.
65594         (create_archive, enlarge_archive, open_archive): Use it.
65596         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65597         inside [SHARED], where it is used.
65599         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65601         * nss/getent.c (netgroup_keys): Remove unused variable.
65602         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65604 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65606         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65607         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65609         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65610         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65611         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65612         * math/Makefile (libm-calls): Add s_isinf_ns.
65613         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65614         * math/multc3.c: Likewise.
65615         * math/s_casin.c: Likewise.
65616         * math/s_casinf.c: Likewise.
65617         * math/s_casinl.c: Likewise.
65618         * math/s_ccos.c: Likewise.
65619         * math/s_ccosf.c: Likewise.
65620         * math/s_ccosl.c: Likewise.
65621         * math/s_ctan.c: Likewise.
65622         * math/s_ctanf.c: Likewise.
65623         * math/s_ctanh.c: Likewise.
65624         * math/s_ctanhf.c: Likewise.
65625         * math/s_ctanhl.c: Likewise.
65626         * math/s_ctanl.c: Likewise.
65627         * math/w_fmod.c: Likewise.
65628         * math/w_fmodf.c: Likewise.
65629         * math/w_fmodl.c: Likewise.
65630         * math/w_remainder.c: Likewise.
65631         * math/w_remainderf.c: Likewise.
65632         * math/w_remainderl.c: Likewise.
65633         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65634         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65635         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65636         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65637         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65638         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65639         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65640         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65642         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65643         of the number.
65644         * stdio-common/printf_fphex.c: Likewise.
65645         * stdio-common/printf_size.c: Likewise.
65647         * math/e_exp10.c: Include math_private.h using <...> not "...".
65648         * math/e_exp10f.c: Likewise.
65649         * math/e_exp10l.c: Likewise.
65650         * math/e_exp2l.c: Likewise.
65651         * math/e_j0l.c: Likewise.
65652         * math/e_j1l.c: Likewise.
65653         * math/e_jnl.c: Likewise.
65654         * math/e_lgammal_r.c: Likewise.
65655         * math/e_rem_pio2l.c: Likewise.
65656         * math/e_scalb.c: Likewise.
65657         * math/e_scalbf.c: Likewise.
65658         * math/e_scalbl.c: Likewise.
65659         * math/k_cosl.c: Likewise.
65660         * math/k_sinl.c: Likewise.
65661         * math/k_tanl.c: Likewise.
65662         * math/s_cacoshf.c: Likewise.
65663         * math/s_catan.c: Likewise.
65664         * math/s_catanf.c: Likewise.
65665         * math/s_catanh.c: Likewise.
65666         * math/s_catanhf.c: Likewise.
65667         * math/s_catanhl.c: Likewise.
65668         * math/s_catanl.c: Likewise.
65669         * math/s_ccosh.c: Likewise.
65670         * math/s_ccoshf.c: Likewise.
65671         * math/s_ccoshl.c: Likewise.
65672         * math/s_cexp.c: Likewise.
65673         * math/s_cexpf.c: Likewise.
65674         * math/s_cexpl.c: Likewise.
65675         * math/s_clog.c: Likewise.
65676         * math/s_clog10.c: Likewise.
65677         * math/s_clog10f.c: Likewise.
65678         * math/s_clog10l.c: Likewise.
65679         * math/s_clogf.c: Likewise.
65680         * math/s_clogl.c: Likewise.
65681         * math/s_csin.c: Likewise.
65682         * math/s_csinf.c: Likewise.
65683         * math/s_csinh.c: Likewise.
65684         * math/s_csinhf.c: Likewise.
65685         * math/s_csinhl.c: Likewise.
65686         * math/s_csinl.c: Likewise.
65687         * math/s_csqrt.c: Likewise.
65688         * math/s_csqrtf.c: Likewise.
65689         * math/s_csqrtl.c: Likewise.
65690         * math/s_ctan.c: Likewise.
65691         * math/s_ctanf.c: Likewise.
65692         * math/s_ctanh.c: Likewise.
65693         * math/s_ctanhf.c: Likewise.
65694         * math/s_ctanhl.c: Likewise.
65695         * math/s_ctanl.c: Likewise.
65696         * math/s_ldexp.c: Likewise.
65697         * math/s_ldexpf.c: Likewise.
65698         * math/s_ldexpl.c: Likewise.
65699         * math/s_significand.c: Likewise.
65700         * math/s_significandf.c: Likewise.
65701         * math/s_significandl.c: Likewise.
65702         * math/w_acos.c: Likewise.
65703         * math/w_acosf.c: Likewise.
65704         * math/w_acosh.c: Likewise.
65705         * math/w_acoshf.c: Likewise.
65706         * math/w_acoshl.c: Likewise.
65707         * math/w_acosl.c: Likewise.
65708         * math/w_asin.c: Likewise.
65709         * math/w_asinf.c: Likewise.
65710         * math/w_asinl.c: Likewise.
65711         * math/w_atan2.c: Likewise.
65712         * math/w_atan2f.c: Likewise.
65713         * math/w_atan2l.c: Likewise.
65714         * math/w_atanh.c: Likewise.
65715         * math/w_atanhf.c: Likewise.
65716         * math/w_atanhl.c: Likewise.
65717         * math/w_cosh.c: Likewise.
65718         * math/w_coshf.c: Likewise.
65719         * math/w_coshl.c: Likewise.
65720         * math/w_dremf.c: Likewise.
65721         * math/w_exp10.c: Likewise.
65722         * math/w_exp10f.c: Likewise.
65723         * math/w_exp10l.c: Likewise.
65724         * math/w_exp2.c: Likewise.
65725         * math/w_exp2f.c: Likewise.
65726         * math/w_fmod.c: Likewise.
65727         * math/w_fmodf.c: Likewise.
65728         * math/w_fmodl.c: Likewise.
65729         * math/w_hypot.c: Likewise.
65730         * math/w_hypotf.c: Likewise.
65731         * math/w_hypotl.c: Likewise.
65732         * math/w_j0.c: Likewise.
65733         * math/w_j0f.c: Likewise.
65734         * math/w_j0l.c: Likewise.
65735         * math/w_j1.c: Likewise.
65736         * math/w_j1f.c: Likewise.
65737         * math/w_j1l.c: Likewise.
65738         * math/w_jn.c: Likewise.
65739         * math/w_jnf.c: Likewise.
65740         * math/w_jnl.c: Likewise.
65741         * math/w_lgamma.c: Likewise.
65742         * math/w_lgamma_r.c: Likewise.
65743         * math/w_lgammaf.c: Likewise.
65744         * math/w_lgammaf_r.c: Likewise.
65745         * math/w_lgammal.c: Likewise.
65746         * math/w_lgammal_r.c: Likewise.
65747         * math/w_log.c: Likewise.
65748         * math/w_log10.c: Likewise.
65749         * math/w_log10f.c: Likewise.
65750         * math/w_log10l.c: Likewise.
65751         * math/w_log2.c: Likewise.
65752         * math/w_log2f.c: Likewise.
65753         * math/w_log2l.c: Likewise.
65754         * math/w_logf.c: Likewise.
65755         * math/w_logl.c: Likewise.
65756         * math/w_pow.c: Likewise.
65757         * math/w_powf.c: Likewise.
65758         * math/w_powl.c: Likewise.
65759         * math/w_remainder.c: Likewise.
65760         * math/w_remainderf.c: Likewise.
65761         * math/w_remainderl.c: Likewise.
65762         * math/w_scalb.c: Likewise.
65763         * math/w_scalbf.c: Likewise.
65764         * math/w_scalbl.c: Likewise.
65765         * math/w_sinh.c: Likewise.
65766         * math/w_sinhf.c: Likewise.
65767         * math/w_sinhl.c: Likewise.
65768         * math/w_sqrt.c: Likewise.
65769         * math/w_sqrtf.c: Likewise.
65770         * math/w_sqrtl.c: Likewise.
65771         * math/w_tgamma.c: Likewise.
65772         * math/w_tgammaf.c: Likewise.
65773         * math/w_tgammal.c: Likewise.
65775         * po/ja.po: Update from translation team.
65777 2011-09-29  Andreas Jaeger  <aj@suse.de>
65779         [BZ #13179]
65780         * sunrpc/netname.c (netname2host): Fix logic.
65782         [BZ #6779]
65783         [BZ #6783]
65784         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65785         correctly.
65786         * math/w_remainder.c (__remainder): Likewise.
65787         * math/w_remainderf.c (__remainderf): Likewise.
65788         * math/libm-test.inc (remainder_test): Add test cases.
65790 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65792         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65793         sdiv_qrnnd.
65795 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65797         * string/test-memcmp.c: Avoid unncessary #defines.
65798         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65800 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65802         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65803         Use new sse2 version for core i3 - i7 as it's faster
65804         than sse42 version.
65805         (bit_Prefer_PMINUB_for_stringop): New.
65806         * sysdeps/x86_64/rawmemchr.S: Update.
65807         Replace with faster SSE2 version.
65808         * sysdeps/x86_64/memrchr.S: New file.
65809         * sysdeps/x86_64/memchr.S: Update.
65810         Replace with faster SSE2 version.
65812 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65814         * elf/dl-load.c (lose): Add cast to avoid warning.
65816 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65818         * po/ca.po: Update from translation team.
65820         * inet/getnetgrent_r.c: Hook up nscd.
65821         * nscd/Makefile (routines): Add nscd_netgroup.
65822         (nscd-modules): Add netgroupcache.
65823         (CFLAGS-netgroupcache.c): Define.
65824         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65825         (cache_search): Add const to second parameter.
65826         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65827         INNETGR.
65828         (dbs): Add netgrdb entry.
65829         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65830         (verify_persistent_db): Handle netgrdb.
65831         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65832         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65833         GETFDNETGR.
65834         (netgroup_response_header): Define.
65835         (innetgroup_response_header): Define.
65836         (datahead): Add netgroup_response_header and innetgroup_response_header
65837         elements.
65838         * nscd/nscd.conf: Add entries for netgroup cache.
65839         * nscd/nscd.h (dbtype): Add netgrdb.
65840         (_PATH_NSCD_NETGROUP_DB): Define.
65841         (netgroup_iov_disabled): Declare.
65842         (xmalloc, xcalloc, xrealloc): Move declarations here.
65843         (cache_search): Adjust prototype.
65844         Add netgroup-related prototypes.
65845         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65846         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65847         (__nscd_innetgr): Declare.
65848         * nscd/selinux.c (perms): Use access_vector_t as element type and
65849         add netgroup-related initializers.
65850         * nscd/netgroupcache.c: New file.
65851         * nscd/nscd_netgroup.c: New file.
65852         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65853         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65854         For four parameters use innetgr.
65855         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65856         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65857         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65858         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65860         * nscd/connections.c (register_traced_file): Don't register file
65861         for disabled databases.
65863 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65865         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65867         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65868         from tree and freeing node.
65870 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65872         * nss/nsswitch.c (__nss_database_lookup): Handle
65873         nss_parse_service_list out of memory case.
65875 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65877         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65878         out of memory case.
65880 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65882         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65883         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65884         pass it down.
65885         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65886         elf_machine_rela, elf_machine_lazy_rel.
65887         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65888         (ELF_DYNAMIC_DO_REL): Likewise.
65889         (ELF_DYNAMIC_DO_RELA): Likewise.
65890         (ELF_DYNAMIC_RELOCATE): Likewise.
65891         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65892         to ELF_DYNAMIC_DO_REL.
65893         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65894         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65895         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65896         elf_machine_rela.
65897         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65898         skip_ifunc, don't call ifunc function if non-zero.
65899         (elf_machine_rela): Likewise.
65900         (elf_machine_lazy_rel): Likewise.
65901         (elf_machine_lazy_rela): Likewise.
65902         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65903         (elf_machine_lazy_rel): Likewise.
65904         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65905         Likewise.
65906         (elf_machine_lazy_rel): Likewise.
65907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65908         Likewise.
65909         (elf_machine_lazy_rel): Likewise.
65910         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65911         (elf_machine_lazy_rel): Likewise.
65912         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65913         (elf_machine_lazy_rel): Likewise.
65914         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65915         (elf_machine_lazy_rel): Likewise.
65916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65917         (elf_machine_lazy_rel): Likewise.
65918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65919         (elf_machine_lazy_rel): Likewise.
65920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65921         (elf_machine_lazy_rel): Likewise.
65923 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65925         * nss/nss_files/files-init.c (_nss_files_init): Use static
65926         initialization for all the *_traced_file variables.
65928 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65930         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65932 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65934         [BZ #13226]
65935         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65937 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65939         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65940         Reread the line before reparsing it.
65942 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65944         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65946 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65947             Maxim Kuvyrkov  <maxim@codesourcery.com>
65948             Joseph Myers  <joseph@codesourcery.com>
65950         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65951         if needed for __stack_chk_guard.
65953 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65955         * sysdeps/posix/spawni.c (script_execute): Always define it.
65956         It will be optimized away if unused.
65957         (maybe_script_execute): New function.
65958         (__spawni): Call it.
65960         * Makerules: Don't include tls.make.
65961         (config-tls): Always set to thread.
65962         * tls.make.c: File removed.
65964 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65966         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65967         * config.make.in (CPPFLAGS-config): New substituted variable.
65969 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65971         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65973         [BZ #13192]
65974         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65975         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65977 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65979         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65980         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65982         (CALL_FAIL): Likewise.
65983         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65984         (CALL_FAIL): Macro removed.
65985         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65987 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65989         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65990         for __FINITE_MATH_ONLY__ == 1.
65992 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65994         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65995         __ieee754_sqrt instead of sqrt.
65996         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65997         __ieee754_sqrtf instead of sqrtf.
65998         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65999         __floorf instead of floorf.
66000         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66001         __floorf, __truncf instead of floorf, truncf.
66003 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66005         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66007         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66008         __extern_always_inline.
66009         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66010         32-bit.
66012 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66014         * elf/rtld.c (dl_main): Also relocate in dependency order when
66015         doing symbol dependency testing.
66017 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66019         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66020         Always define `refsym'.
66022 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66024         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66025         (__FD_ELT): Renamed from __FDELT.
66026         * misc/bits/select2.h (__FD_ELT): Likewise.
66027         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66028         __FD_MASK instead of __FDELT, __FDMASK.
66029         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66030         Likewise.
66031         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66032         Likewise.
66034         * elf/Makefile (gen-ldd): Fix pattern.
66036         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66037         (init_tls): Likewise.
66039 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66041         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66043 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66045         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66046         `struct cmsghdr *' instead of `void *'.
66047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66048         Likewise.
66050 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66052         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66053         if non-absolute.
66054         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66055         ldd_rewrite_script.
66057 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66059         * configure.in: Remove --with-tls option.
66060         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66061         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66062         out in case it is missing.
66063         * sysdeps/ia64/elf/configure.in: Likewise.
66064         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66065         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66066         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66067         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66068         * sysdeps/sh/elf/configure.in: Likewise.
66069         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66070         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66071         * sysdeps/x86_64/elf/configure.in: Likewise.
66072         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66073         * sysdeps/mach/hurd/tls.h: Likewise.
66075         [BZ #13067]
66076         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66078         [BZ #13090]
66079         * configure.in: Fix use of AC_INIT.
66081         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66083 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66085         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66086         __set_errno.
66087         * malloc/hooks.c: Likewise.
66089         [BZ #11929]
66090         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66091         variables statically.
66092         (narenas): Initialize.
66093         (list_lock): Initialize.
66094         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66095         initializtion of main_arena and list_lock.  Small cleanups.
66096         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66097         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66098         Add initializers to main_arena and mp_.
66099         (malloc_state): Remove pagesize member.  Change all users to use
66100         GLRO(dl_pagesize).
66102         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66103         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66104         is always initialized.
66106         * malloc/malloc.c: Removed unused configurations and dead code.
66107         * malloc/arena.c: Likewise.
66108         * malloc/hooks.c: Likewise.
66109         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66111         * include/tls.h: Removed.  USE___THREAD must always be defined.
66112         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66113         * elf/dl-libc.c: Likewise.
66114         * elf/dl-tsd.c: Likewise.
66115         * include/errno.h: Likewise.
66116         * include/netdb.h: Likewise.
66117         * include/resolv.h: Likewise.
66118         * inet/herrno-loc.c: Likewise.
66119         * inet/herrno.c: Likewise.
66120         * malloc/arena.c: Likewise.
66121         * malloc/hooks.c: Likewise.
66122         * malloc/malloc.c: Likewise.
66123         * resolv/res-state.c: Likewise.
66124         * resolv/res_libc.c: Likewise.
66125         * sysdeps/i386/dl-machine.h: Likewise.
66126         * sysdeps/ia64/dl-machine.h: Likewise.
66127         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66128         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66129         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66130         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66131         * sysdeps/sh/dl-machine.h: Likewise.
66132         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66133         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66134         * sysdeps/unix/i386/sysdep.S: Likewise.
66135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66136         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66139         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66141         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66144         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66145         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66146         * sysdeps/x86_64/dl-machine.h: Likewise.
66147         * tls.make.c: Likewise.
66149         * configure.in: Remove --with-__thread option.  Make tests for
66150         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66151         tls_model attribute fail if no support is available.  Remove
66152         USE_IN_LIBIO.
66153         * Makeconfig: Adjust for dropped configure option.  All features are
66154         now mandatory.
66155         * Makerules: Likewise.
66156         * Versions.def: Likewise.
66157         * argp/argp-fmtstream.c: Likewise.
66158         * argp/argp-fmtstream.h: Likewise.
66159         * argp/argp-help.c: Likewise.
66160         * assert/assert.c: Likewise.
66161         * config.h.in: Likewise.
66162         * config.make.in: Likewise.
66163         * configure: Likewise.
66164         * configure.in: Likewise.
66165         * csu/Versions: Likewise.
66166         * csu/init.c: Likewise.
66167         * elf/tst-audit2.c: Likewise.
66168         * elf/tst-tls10.c: Likewise.
66169         * elf/tst-tls10.h: Likewise.
66170         * elf/tst-tls11.c: Likewise.
66171         * elf/tst-tls12.c: Likewise.
66172         * elf/tst-tls14.c: Likewise.
66173         * elf/tst-tlsmod11.c: Likewise.
66174         * elf/tst-tlsmod12.c: Likewise.
66175         * elf/tst-tlsmod13.c: Likewise.
66176         * elf/tst-tlsmod13a.c: Likewise.
66177         * elf/tst-tlsmod14a.c: Likewise.
66178         * elf/tst-tlsmod15b.c: Likewise.
66179         * elf/tst-tlsmod16a.c: Likewise.
66180         * elf/tst-tlsmod16b.c: Likewise.
66181         * elf/tst-tlsmod7.c: Likewise.
66182         * elf/tst-tlsmod8.c: Likewise.
66183         * elf/tst-tlsmod9.c: Likewise.
66184         * gmon/gmon.c: Likewise.
66185         * grp/fgetgrent_r.c: Likewise.
66186         * grp/putgrent.c: Likewise.
66187         * hurd/fopenport.c: Likewise.
66188         * include/libc-symbols.h: Likewise.
66189         * include/tls.h: Likewise.
66190         * intl/gettextP.h: Likewise.
66191         * intl/loadinfo.h: Likewise.
66192         * locale/global-locale.c: Likewise.
66193         * locale/localeinfo.h: Likewise.
66194         * mach/devstream.c: Likewise.
66195         * malloc/arena.c: Likewise.
66196         * malloc/set-freeres.c: Likewise.
66197         * misc/err.c: Likewise.
66198         * misc/getttyent.c: Likewise.
66199         * misc/mntent_r.c: Likewise.
66200         * posix/getopt.c: Likewise.
66201         * posix/wordexp.c: Likewise.
66202         * pwd/fgetpwent_r.c: Likewise.
66203         * resolv/Versions: Likewise.
66204         * resolv/res_hconf.c: Likewise.
66205         * shadow/fgetspent_r.c: Likewise.
66206         * shadow/putspent.c: Likewise.
66207         * stdio-common/printf_fphex.c: Likewise.
66208         * stdio-common/tmpfile.c: Likewise.
66209         * stdlib/abort.c: Likewise.
66210         * stdlib/fmtmsg.c: Likewise.
66211         * sunrpc/auth_unix.c: Likewise.
66212         * sunrpc/clnt_perr.c: Likewise.
66213         * sunrpc/clnt_tcp.c: Likewise.
66214         * sunrpc/clnt_udp.c: Likewise.
66215         * sunrpc/clnt_unix.c: Likewise.
66216         * sunrpc/openchild.c: Likewise.
66217         * sunrpc/svc_simple.c: Likewise.
66218         * sunrpc/svc_tcp.c: Likewise.
66219         * sunrpc/svc_udp.c: Likewise.
66220         * sunrpc/svc_unix.c: Likewise.
66221         * sunrpc/xdr.c: Likewise.
66222         * sunrpc/xdr_array.c: Likewise.
66223         * sunrpc/xdr_rec.c: Likewise.
66224         * sunrpc/xdr_ref.c: Likewise.
66225         * sunrpc/xdr_stdio.c: Likewise.
66227 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66229         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66231 2011-07-03  Andreas Jaeger  <aj@suse.de>
66233         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66234         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66235         regenerate with gen-libm-tests.pl.
66237 2010-05-12  Petr Baudis  <pasky@suse.cz>
66239         [BZ #11589]
66240         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66241         around j0() zero points by switching to j1().
66242         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66243         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66244         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66245         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66247 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66250         instead of 0.
66251         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66252         instead of 0.
66253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66254         Patch in part by Pavel Roskin <proski@gnu.org>.
66256         [BZ #13138]
66257         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66258         realloc.
66259         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66260         Free memory block if necessary.
66262         [BZ #12847]
66263         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66264         be NULL.  Don't lock in this case.
66266 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66268         * elf/elf.h (ELFOSABI_GNU): New macro.
66269         (ELFOSABI_LINUX): Define to that.
66271 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66273         * string/strncat.c (strncat): Undef the symbol in case it has been
66274         defined in bits/string.h.
66276 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66278         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66280         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66281         link map.
66283 2011-08-17  Andreas Jaeger  <aj@suse.de>
66285         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66287 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66288             Ian Lance Taylor  <iant@google.com>
66290         * math/libm-test.inc (lround_test): New testcase.
66291         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66293 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66295         * Makefile: Remove support for automatic cvs check-ins.
66296         * Makerules: Likewise.
66297         * config.make.in: Likewise.
66298         * configure.in: Likewise.
66299         * intl/Makefile: Likewise.
66300         * locale/Makefile: Likewise.
66301         * po/Makefile: Likewise.
66302         * posix/Makefile: Likewise.
66303         * sysdeps/gnu/Makefile: Likewise.
66304         * sysdeps/mach/hurd/Makefile: Likewise.
66305         * sysdeps/sparc/sparc32/Makefile: Likewise.
66307         [BZ #13118]
66308         * posix/Makefile (bug-regex32-ENV): Define.
66309         Patch by John Stanley <jpsinthemix@verizon.net>.
66311         * misc/Makefile (headers): Add bits/select2.h.
66312         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66313         * misc/bits/select2.h: New file.
66314         * include/bits/select2.h: New file.
66315         * debug/Makefile (routines): Add fdelt_chk.
66316         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66317         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66318         FD_ISSET.
66319         * debug/fdelt_chk.c: New file.
66321         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66322         * wcsmbs/test-wmemcmp.c: Likewise.
66323         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66324         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66326 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66328         * string/Makefile (strop-tests): Add memcmp.
66329         * string/test-wmemcmp.c: New file.
66330         * string/test-memcmp.c: Add wmemcmp support.
66332 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66334         [BZ #13153]
66335         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66336         2011-07-19 change.
66338         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66339         garbage value in a __mach_port_mod_refs call in the cases of the
66340         task-self and thread-self ports.
66342 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66344         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66346 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66348         * elf/dl-load.c (lose): Check for non-null L.
66350 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66352         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66354         * elf/dl-libc.c (dlerror_run): Pass back error code from
66355         dl_catch_error.
66357         [BZ #13123]
66358         * elf/dl-load.c (lose): Free l_origin if it is valid.
66360         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66361         names.
66362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66363         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66364         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66366         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66367         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66369 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66371         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66372         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66373         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66374         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66375         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66376         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66377         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66378         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66379         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66380         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66382 2011-08-15  Alan Modra  <amodra@gmail.com>
66384         [BZ #13092]
66385         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66386         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66387         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66388         ppc_mcount to static-only-routines.
66389         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66390         __mcount_internal.
66391         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66392         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66394 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66397         for finite and infinity parameters.
66399 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66401         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66402         and add nop instructions for throughput optimization.
66403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66405 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66407         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66408         aligned copy for power7 with vector-scalar instructions.
66409         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66411 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66414         AVX check.
66416 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66418         [BZ #13144]
66419         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66420         last change.
66422 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66424         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66425         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66426         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66427         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66428         clock_gettime.
66430 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66432         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66433         Forgot to demangle the pointer.
66435         * sysdeps/i386/sysdep.h: Define atom_text_section.
66436         * sysdeps/x86_64/sysdep.h: Likewise.
66437         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66438         section with atom_text_section.
66439         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66440         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66441         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66442         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66443         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66445         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66446         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66447         already be defined.  Change to take two parameters and don't assign
66448         result to variable.  Adjust all users.
66449         Define INTERNAL_GETTIME if not already defined.
66450         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66451         call.
66452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66453         HAVE_CLOCK_GETTIME_VSYSCALL.
66454         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66456         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66457         gettimeofday vsyscall, just use time.
66459 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66461         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66462         <errno.h>.
66464 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66466         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66467         syscall on x86-64.
66468         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66469         syscall.
66470         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66471         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66472         syscall if possible.
66474 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66476         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66477         e_ident.  Don't pass to find_mapsXX.
66478         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66480 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66483         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66484         * sysdeps/x86_64/multiarch/strchr.S: Update.
66485         Check bit_slow_BSF bit.
66486         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66487         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66488         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66490 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66492         [BZ #13134]
66493         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66494         before glibc 2.15.
66495         (tryshell): Define.
66496         (__spawni): Change last parameter to be flag.  Test
66497         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66498         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66499         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66500         * posix/spawni.c: Likewise.
66501         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66502         * posix/spawnp.c: Likewise.  Change normal version to use
66503         SPAWN_XFLAGS_USE_PATH.
66504         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66505         SPAWN_XFLAGS_TRY_SHELL.
66507         [BZ #13150]
66508         * posix/glob.h: Remove gcc 1.x support.
66510         [BZ #13068]
66511         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66513 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66515         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66516         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66517         strrchr-sse2-bsf
66518         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66519         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66520         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66521         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66522         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66523         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66525 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66527         * sysdeps/x86_64/wcscmp.S: New file.
66529         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66530         wcscmp-c wcscmp-sse2
66531         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66532         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66533         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66534         * wcsmbs/wcscmp.c: Allow renaming.
66536 2011-09-05  David S. Miller  <davem@davemloft.net>
66538         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66539         stack slot, rather than the struct return pointer slot.
66540         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66541         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66543         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66545 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66547         * po/ja.po: Update from translation team.
66549         [BZ #13144]
66550         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66551         kernel in 64-bit binaries.
66553 2011-09-01  David S. Miller  <davem@davemloft.net>
66555         * elf/elf.h (HWCAP_SPARC_*): Move to..
66556         * sysdeps/sparc/sysdep.h: this new file and add new values.
66557         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66558         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66559         _DL_HWCAP_COUNT to 24.
66560         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66561         entries.
66562         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66563         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66564         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66566         instead of magic constants.
66567         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66569 2011-08-31  David S. Miller  <davem@davemloft.net>
66571         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66573         Reimplement to do errno handling inline.
66574         (SYSCALL_ERROR_HANDLER): New macro.
66575         (__SYSCALL_STRING): Do not do errno handling in asm.
66576         (__CLONE_SYSCALL_STRING): Delete.
66577         (__INTERNAL_SYSCALL_STRING): Delete.
66578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66579         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66580         (PSEUDO): Reimplement to do errno handling inline.
66581         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66582         (SYSCALL_ERROR_HANDLER): New macro.
66583         (__SYSCALL_STRING): Do not do errno handling in asm.
66584         (__CLONE_SYSCALL_STRING): Delete.
66585         (__INTERNAL_SYSCALL_STRING): Delete.
66586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66587         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66588         i386.
66589         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66590         (inline_syscall*): Add 'err' argument.
66591         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66592         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66593         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66594         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66596         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66597         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66599 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66601         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66603 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66605         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66606         directive.
66608 2011-08-24  David S. Miller  <davem@davemloft.net>
66610         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66612 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66614         * elf/Makefile: Add rules to build and run unload8 test.
66615         * elf/unload8.c: New file.
66616         * elf/unload8mod1.c: New file.
66617         * elf/unload8mod1x.c: New file.
66618         * elf/unload8mod2.c: New file.
66619         * elf/unload8mod3.c: New file.
66621         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66622         it wasn't used.
66624 2011-08-23  David S. Miller  <davem@davemloft.net>
66626         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66627         subtract stack bias.
66628         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66629         %sp not %fp in calculations.
66630         (_JMPBUF_UNWINDS_ADJ): Likewise.
66632         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66633         (aio_suspend): Call it to force an exception region around the
66634         AIO_MISC_WAIT() invocation.
66636 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66638         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66639         backslash.
66641 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66643         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66644         protection macro.
66645         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66646         and <dl-machine.h>.
66647         (Elf64_FuncDesc): Remove.
66649 2011-08-22  David S. Miller  <davem@davemloft.net>
66651         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66652         sigaltstack check, add missing cfi directives.
66653         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66654         missing cfi directives, and sigaltstack handling.
66656 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66658         [BZ #11724]
66659         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66660         object is seen twice.
66661         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66663         * elf/Makefile (distribute): Add tst-initorder2.c.
66664         (tests): Add tst-initorder2.
66665         (modules-names): Add tst-initorder2a tst-initorder2b
66666         tst-initorder2c tst-initorder2d.  Add rules to build them.
66667         ($(objpfx)tst-initorder2.out): New rule.
66668         * elf/tst-initorder2.c: New file.
66669         * elf/tst-initorder2.exp: New file.
66671 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66673         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66675         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66676         dependencies back to end of function.
66678         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66679         $(elfobjdir)/ld.so.
66681 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66683         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66684         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66685         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66686         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66687         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66688         of __vdso_gettimeofday.
66689         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66690         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66691         attribute_hidden.
66692         (_libc_vdso_platform_setup): Remove initialization of
66693         __vdso_gettimeofday and __vdso_time.
66695 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66697         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66698         and fgetc_unlocked.
66699         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66700         getc_unlocked.
66702         * elf/dl-open.c (add_to_global): Report additions to the global scope
66703         for LD_DEBUG=scopes.
66704         (dl_open_worker): Also print scope of newly loaded dependencies.
66705         (_dl_show_scope): Indicate if there is no scope.
66707         [BZ #13114]
66708         * stdio-common/Makefile (tests): Add bug24.
66709         * stdio-common/bug24.c: New file.
66711 2011-08-19  Andreas Jaeger  <aj@suse.de>
66713         [BZ #13114]
66714         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66715         non-existant file when using close-on-exec mode.
66717 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66720         the very first instruction.
66722         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66723         the CFI state in the end.
66724         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66725         inclusion of dl-trampoline.h.
66726         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66728 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66730         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66731         expectations for long double.
66733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66734         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66736 2011-08-14  David S. Miller  <davem@davemloft.net>
66738         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66739         artificual limit depends upon the system page size.
66741 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66743         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66744         * resolv/Makefile: Define CFLAGS-libresolv.
66746 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66748         * nss/makedb.c (compute_tables): Make variables used in nested
66749         function static.
66751 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66753         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66754         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66755         if buffer was too small.
66757         * elf/pldd.c (main): Attach to all threads in the process.
66758         Rewrite /proc handling to use *at functions.
66760 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66762         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66763         specifies first scope to show.
66764         (dl_open_worker): Update callers.  Move printing scope of new
66765         object to before the relocation.
66766         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66767         * sysdeps/generic/ldsodefs.h: Update declaration.
66769         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66770         string for the scope number.
66772 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66774         * nscd/servicescache.c (cache_addserv): Make sure written is always
66775         initialized.
66777 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66779         * sysdeps/i386/i486/bits/atomic.h
66780         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66781         statement expression, so as to suppress "set but not used" warning.
66782         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66784         * string/strncat.c (STRNCAT): Use prototype definition.
66786         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66787         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66788         -Iprograms here.
66789         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66790         (localedef-modules): Add localedef.
66791         (locale-modules): Add locale.
66793         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66794         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66795         to avoid a warning.
66797 2011-08-14  David S. Miller  <davem@davemloft.net>
66799         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66800         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66802 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66804         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66805         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66806         * elf/rtld.c (dl_main): Set l_name of vDSO.
66807         Call _dl_show_scope when DL_DEBUG_SCOPES.
66808         (process_dl_debug): Recognize scopes flag and also set it for all.
66809         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66810         Declare _dl_show_scope.
66812         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66813         (do_dlopen): Pass caller_dlopen to dl_open.
66814         (__libc_dlopen_mode): Initialize caller_dlopen.
66816         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66817         of libc.  Make tolower call locale-independent.  Optimize a bit by
66818         using isdigit instead of isalnum.
66819         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66821 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66823         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66824         was a dependency or dynamically loaded.
66826 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66828         * intl/l10nflist.c: Allow architecture-specific pop function.
66829         * sysdeps/x86_64/l10nflist.c: New file.
66831         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66832         classification.
66834 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66836         * include/dirent.h: Add libc_hidden_proto for scandirat and
66837         scandirat64.  Don't declare __scandirat64.
66838         * dirent/scandirat.c: Add libc_hidden_def.
66839         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66840         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66842 2011-08-10  David S. Miller  <davem@davemloft.net>
66844         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66845         enum.
66846         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66847         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66848         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66850 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66852         * Versions.def [libc]: Add GLIBC_2.15.
66853         * dirent/Makefile (routines): Add scandirat and scandirat64.
66854         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66855         GLIBC_2.15.
66856         * dirent/dirent.h: Declare scandirat and scandirat64.
66857         * dirent/scandirat.c: New file.
66858         * dirent/scandirat64.c: New file.
66859         * sysdeps/wordsize-64/scandirat.c: New file.
66860         * sysdeps/wordsize-64/scandirat64.c: New file.
66861         * dirent/opendir.c: Define opendirat.
66862         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66863         using scandirat.
66864         * dirent/scandir64.c: Adjust for scandir.c change.
66865         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66866         __scandirat64, and __scandir_cancel_handler.
66867         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66868         additional parameter and use openat instead of open (outside of ld.so).
66869         Add new __opendir as wrapper around __opendirat.
66870         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66871         here without requiring old scandirat implementation.
66873 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66875         * dirent/scandir.c (cancel_handler): Renamed to
66876         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66877         defined.  Adjust users.
66878         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66879         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66881 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66883         * string/test-string.h (IMPL): Use __STRING to expand name and then
66884         stringify it.
66886         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66887         of cleanups.
66889 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66891         * string/Makefile: Update.
66892         (strop-tests): Append strncat.
66893         * string/test-wcscmp.c: New file.
66894         New comprehensive test for wcscmp.
66895         * string/test-strcmp.c: Update.
66896         (WIDE): New define.
66898 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66900         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66901         line.
66903 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66906         encoding to ACE if AI_IDN.
66908 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66910         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66911         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66913 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66915         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66916         Fix overflow bug in strncat.
66917         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66919         * string/test-strncat.c: Update.
66920         Add new tests for checking overflow bugs.
66922 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66925         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66926         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66927         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66928         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66929         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66930         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66931         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66932         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66934         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66935         (USE_AS_STRCAT): Define.
66936         Add strcat and strncat support.
66937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66939 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66941         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66942         __n bigger than INT_MAX+1.
66943         (__strncmp_g): Likewise.
66945 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66947         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66948         * libio/stido.h: Likewise.
66950         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66951         (AF_NFC): Define.
66952         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66953         (AF_NFC): Define.
66955         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66956         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66957         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66958         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66959         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66961         [BZ #13021]
66962         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66963         installed.
66965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66966         typo.
66967         (_dl_x86_64_save_sse): Likewise.
66969 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66972         OSXSAVE.
66973         (_dl_x86_64_save_sse): Likewise.
66975         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66977         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66979 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66982         change.
66983         (_dl_x86_64_save_sse): Use correct AVX check.
66985 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66987         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66988         bug in strncpy/strncat.
66989         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66991 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66993         * string/tester.c (test_strcat): Add tests for different alignments
66994         of source and destination.
66995         (test_strncat): Likewise.
66997 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66999         [BZ #12852]
67000         * posix/glob.c (glob): Check passed in values before using them in
67001         expressions to avoid some overflows.
67002         (glob_in_dir): Likewise.
67004         [BZ #13007]
67005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67006         check for AVX enablement so that we don't crash with old kernels and
67007         new hardware.
67008         * elf/tst-audit4.c: Add same checks here.
67009         * elf/tst-audit6.c: Likewise.
67011         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67013 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67015         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67017 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67019         * po/cs.po: Update from translation team.
67020         * po/bg.po: Likewise.
67022 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67024         * misc/sys/cdefs.h: Add support for const attribute.
67025         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67026         to gnu_dev_{major,minor,makedev} functions.
67028 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67030         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67032 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67034         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67035         strlen results.
67037 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67040         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67041         register in order to avoid conflicts with the soft frame pointer
67042         being held in r11 when necessary.
67043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67044         (INTERNAL_VSYSCALL_NCS): Likewise.
67046 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67048         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67049         * elf/dl-fini.c (_dl_fini): Adjust caller.
67050         * elf/dl-close.c (_dl_close_worker): Likewise.
67051         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67053 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67055         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67056         "aux_cache->nlibs < 0".
67058         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67059         in the reload-count case.
67061 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67064         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67065         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67066         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67067         * sysdeps/x86_64/multiarch/strcat.S: New file.
67068         * sysdeps/x86_64/multiarch/strncat.S: New file.
67069         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67070         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67071         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67072         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67073         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67074         (USE_AS_STRCAT): Define.
67075         Add strcat and strncat support.
67076         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67077         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67078         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67079         * string/strncat.c: Update.
67080         (USE_AS_STRNCAT): Define.
67081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67082         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67083         and i7.
67084         * sysdeps/x86_64/multiarch/init-arch.h
67085         (bit_Prefer_PMINUB_for_stringop): New.
67086         (index_Prefer_PMINUB_for_stringop): Likewise.
67087         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67088         bit_Prefer_PMINUB_for_stringop.
67090 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67092         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67093         buffer64.
67094         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67095         of casting of buffer.
67096         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67097         buffer32 and buffer64.
67098         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67099         writes instead of casting of buffer.
67100         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67101         buffer32.
67102         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67103         casting of buffer.
67105 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67107         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67109 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67111         * nscd/nscd.c (termination_handler): Don't do anything for a database
67112         if it has not yet been initialized.
67114 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67116         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67118 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67120         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67122 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67124         * po/nl.po: Update from translation team.
67125         * po/sv.po: Likewise.
67127 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67129         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67130         now disallowed by GCC.
67132         * configure.in (use-default-link): Default to yes if a test -shared
67133         link meets our qualifications.
67134         * configure: Regenerated.
67136         * config.make.in (output-format): New variable.
67137         * configure.in: Check for ld --print-output-format support.
67138         * configure: Regenerated.
67139         * Makerules ($(common-objpfx)format.lds)
67140         [$(output-format) != unknown]: Just use $(output-format),
67141         instead of the linker-script munging.
67143 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67145         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67146         of $(common-objpfx)shlib.lds.
67147         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67149         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67150         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67152         * configure.in (-z relro check): Adjust test code to add a large
67153         writable data section after it.
67154         * configure: Regenerated.
67156 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67158         * configure.in (-z relro check): Fix test code to make the variable
67159         truly const.
67160         * configure: Regenerated.
67162 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67164         * nscd/nscd.h (struct traced_file): Define.
67165         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67166         elements.  Add traced_files.
67167         (inotify_fd): Declare.
67168         (register_traced_file): Declare.
67169         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67170         (inotify_fd): Export.
67171         (resolv_conf_descr): Remove.
67172         (nscd_init): Move inotify descriptor creation to main.
67173         Don't register files for notification here.
67174         (register_traced_file): New function.
67175         (invalidate_cache): Don't use reset_res to determine whether to call
67176         res_init, go through the list of registered files.
67177         (main_loop_poll): The inotify descriptors are now stored in the
67178         structures for the traced files.
67179         (main_loop_epoll): Likewise
67180         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67181         to __nss_disable_nscd.
67182         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67183         for a database anymore.  Check the records for all the registered
67184         files instead.
67185         * nss/Makefile (libnss_files-routines): Add files-init.
67186         (libnss_db-routines): Add db-init.
67187         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67188         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67189         * nss/nss_db/db-init.c: New file.
67190         * nss/nss_files/files-init.c: New file.
67191         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67192         __nss_lookup_function.
67193         (__nss_lookup_function): Call nss_load_library.
67194         (nss_load_all_libraries): New function.
67195         (__nss_disable_nscd): Take parameter with callback function for files
67196         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67197         used for the cached services.
67198         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67199         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67200         options for features to all the files in nscd.
67202         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67204 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67206         * csu/elf-init.c (__libc_csu_init): Comment typo.
67208 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67210         * po/pl.po: Update from translation team.
67211         * po/ja.po: Likewise.
67212         * po/ru.po: Likewise.
67213         * po/ko.po: Likewise.
67214         * po/fr.po: Likewise.
67216 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67218         * configure.in (.ctors/.dtors header and trailer check):
67219         Use an empirical test on a built program.
67220         * configure: Regenerated.
67222         * configure.in (-z relro check): Use an empirical test on a built DSO.
67223         Detect, but do not require, on ia64.
67224         * configure: Regenerated.
67226         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67227         Update tests that use readelf to use $READELF instead.
67228         * configure: Regenerated.
67230 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67232         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67233         if the result is not used.
67235 2011-07-05  Andreas Jaeger  <aj@suse.de>
67237         [BZ#9696]
67238         * stdlib/tst-strtod.c: Add testcase.
67240 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67242         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67243         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67244         The latter has a higher limit.  Take additional parameter to pass to
67245         the new function.
67246         (__pathconf): Pass file to __statfs_link_max.
67247         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67248         __statfs_link_max.
67249         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67250         __statfs_link_max.
67252         [BZ #12868]
67253         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67254         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67255         Handle Lustre.
67256         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67257         (__statfs_filesize_max): Likewise.
67258         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67260 2011-07-05  Andreas Jaeger  <aj@suse.de>
67262         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67264 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67266         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67267         `status' variable.
67268         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67269         Likewise.
67271 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67273         * Makefile (strop-tests): Add strncat.
67274         * string/test-strncat.c: New file.
67276 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67278         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67280 2011-06-21  Andreas Jaeger  <aj@suse.de>
67282         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67283         Copy rule from iconvdata/Makefile.
67285 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67287         [BZ #12922]
67288         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67289         but no long options are defined, just return 'W'.
67291 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67293         [BZ #9696]
67294         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67296 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67298         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67299         netgroups to read.
67300         (innetgr): Likewise.
67302 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67304         * config.make.in (install_root): Default to $(DESTDIR).
67306 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67308         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67310 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67312         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67314         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67315         containing directory rather than embedding absolute directory names.
67317         * scripts/check-local-headers.sh: Rewritten using awk.
67318         Match by word, not by line.  Print error messages for matches.
67319         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67321         * Makerules [shlib-lds-flags empty]:
67322         ($(common-objpfx)libc_pic.opts): New target.
67323         ($(common-objpfx)libc_pic.os.clean): New target.
67324         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67326         * config.make.in (OBJCOPY): New variable.
67327         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67328         * configure: Regenerated.
67330         * config.make.in (use-default-link): New variable.
67331         * configure.in (use_default_link): Grok --with-default-link to set it.
67332         * configure: Regenerated.
67333         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67334         (shlib-lds, shlib-lds-flags): Define to empty.
67336         * Makerules (shlib-lds): New variable.
67337         (shlib-lds-flags): New variable.
67338         (build-shlib, build-moduile, build-module-asneeded): Use it.
67339         ($(common-objpfx)libc.so): Use $(shlib-lds).
67340         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67341         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67343         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67344         DT_FLAGS/DT_FLAGS_1 with zero flags.
67346         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67347         linker script munging.
67349 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67351         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67352         as 128-bit value.
67353         * crypt/sha512.c (sha512_process_block): Perform total addition using
67354         128-bit if possible.
67355         (__sha512_finish_ctx): Likewise.
67356         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67357         as 64-bit value.
67358         * crypt/sha256.c (SWAP64): Define.
67359         (sha256_process_block): Perform total addition using 64-bit if
67360         possible.
67361         (__sha256_finish_ctx): Likewise.
67363 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67365         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67367         * nscd/hstcache.c (cache_addhst): Likewise.
67368         * nscd/grpcache.c (cache_addgr): Likewise.
67369         * nscd/aicache.c (addhstaiX): Likewise
67370         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67372 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67374         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67375         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67376         * nscd/hstcache.c (cache_addhst): Likewise.
67377         * nscd/grpcache.c (cache_addgr): Likewise.
67378         * nscd/aicache.c (addhstaiX): Likewise
67380 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67382         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67383         domain only when needed.
67385 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67388         is always restored.
67390 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67392         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67393         are re-adding the entry.
67394         * nscd/servicescache.c (cache_addserv): Likewise.
67396 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67398         * sysdeps/generic/dl-irel.h: fix protection against multiple
67399         inclusions.
67400         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67402 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67404         [BZ #12935]
67405         * malloc/memusage.sh: Fix quoting in message.
67406         * debug/xtrace.sh: Likewise.
67408         * configure.in: Remove support for --experimental-malloc option, make
67409         it the default.
67410         * config.make.in: Likewise.
67411         * malloc/Makefile: Likewise.
67413 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67415         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67416         two-byte characters.
67418 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67420         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67421         AC_CACHE_CHECK invocation.
67422         * configure: Regenerated.
67424         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67426 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67428         [BZ #12350]
67429         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67430         bit from old_res_options.
67432         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67434         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67435         value type for setfct.
67437 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67439         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67440         __gettimeofday instead of gettimeofday.
67442 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67444         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67446 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67448         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67450         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67451         info.
67453 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67456         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67457         strcpy-sse2-unaligned strncpy-sse2-unaligned
67458         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67459         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67460         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67461         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67462         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67463         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67464         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67465         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67466         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67467         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67468         (STRCPY): Support SSE2 and SSSE3 versions.
67470 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67472         [BZ #12874]
67473         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67474         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67475         kernels which artificially limit size of requests.
67477 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67480         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67481         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67482         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67483         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67484         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67485         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67486         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67487         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67488         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67489         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67490         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67491         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67492         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67493         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67495         Enable unaligned load optimization for Intel Core i3, i5 and i7
67496         processors.
67497         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67498         Define.
67499         (index_Fast_Unaligned_Load): Define.
67500         (HAS_FAST_UNALIGNED_LOAD): Define.
67502 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67504         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67506 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67508         [BZ #12907]
67509         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67510         until it is clear that the information is realy needed.
67511         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67513 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67517 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67520         /sys/devices/system/cpu/online if it is usable.
67522         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67523         reading the information from the /proc filesystem to once a second.
67525 2011-06-21  Andreas Jaeger  <aj@suse.de>
67527         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67528         NULL after inclusion of kernel headers.
67530 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67532         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67533         calls to internal_setent.
67535         [BZ #12885]
67536         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67537         addresses using gethostbyname4_r ignore IPv4 addresses.
67539         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67540         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67542         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67544 2011-06-20  David S. Miller  <davem@davemloft.net>
67546         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67547         inclusions.
67548         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67550         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67551         (elf_irel): Use it.
67552         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67553         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67554         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67555         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67556         * sysdeps/x86_64/dl-irel.h: Likewise.
67558         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67559         * elf/dl-sym.c: Likewise.
67561 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67563         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67564         need to dereference resplen2.
67566 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67568         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67570 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67572         * Makeconfig: Define vardbdir and inst_vardbdir.
67573         * nss/Makefile: Add rules to install db-Makefile.
67575         * nss/nss_db/db-XXX.c: Cleanup.
67577         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67578         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67579         GLIBC_PRIVATE.
67580         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67581         * nss/makedb.c: Implement -g option to specify that value strings
67582         are generated and should not be added to table iterated over for
67583         get*ent calls.
67584         * nss/nss_db/db-initgroups.c: New file.
67586         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67587         interface.
67589         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67590         (internal_getgrouplist): Adjust to name change.
67591         Update use_initgroups_entry if this is not the first call.
67592         * nss/databases.def: Add initgroups entry.
67594         * nss/makedb.c (compute_tables): Check result of multiple hash table
67595         sizes to minimize maximum chain length.
67597 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67599         * Versions.def: Add entry for libnss_db.
67600         * shlib-versions: Likewise.
67601         * nss/Makefile: Add rules to build libnss_db.
67602         * nss/Versions: Add libnss_db information.  Organize libnss_files
67603         entries better.
67604         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67605         makedb progra.  Some minor improvements to generate smaller files.
67606         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67607         here from...
67608         * nss/makedb.c: ...here.
67609         Improve database format to be smaller and require less memory at
67610         runtime.
67611         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67612         db anymore.
67613         * nss/nss_db/db-netgrp.c: Likewise.
67614         * nss/nss_db/db-open.c: Likewise.
67615         * nss/nss_files/flies-XXX.x: Adjust comments.
67616         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67617         * nss/nss_files/files-grp.c: Likewise.
67618         * nss/nss_files/files-hosts.c: Likewise.
67619         * nss/nss_files/files-network.c: Likewise.
67620         * nss/nss_files/files-proto.c: Likewise.
67621         * nss/nss_files/files-pwd.c: Likewise.
67622         * nss/nss_files/files-rpc.c: Likewise.
67623         * nss/nss_files/files-service.c: Likewise.
67624         * nss/nss_files/files-sgrp.c: Likewise.
67625         * nss/nss_files/files-spwd.c: Likewise.
67626         * nss/nss_db/db-alias.c: Removed.
67627         * nss/nss_db/dummy-db.h: Removed.
67629 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67631         * nss/makedb.c: Rewritten to not use database library.
67632         * nss/Makefile: Update to build new makedb program.
67634 2011-06-14  Andreas Jaeger  <aj@suse.de>
67636         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67637         memset declaration.
67639 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67642         tmpbuf.
67644 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67646         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67647         * elf/Makefile ($(objpfx)ld.so): Likewise.
67649         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67650         Don't list ld.so twice in dependencies.
67652         * posix/bug-regex31.c: Include <stdlib.h>.
67654         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67656         * nis/nss_compat/compat-spwd.c
67657         (getspent_next_nss_netgr): Remove unused variable.
67658         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67660         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67661         nonmembers" output to use the right array.
67663         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67665         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67667         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67668         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67669         * catgets/gencat.c (read_input_file): Likewise.
67670         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67672         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67673         variable definition inside #if's controlling its use.
67675         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67677         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67679         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67681         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67682         unreachable code.
67684         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67686         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67687         * configure: Regenerated.
67689         * Makerules: Revert last change.
67690         * elf/Makefile: Likewise.
67692 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67694         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67695         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67696         (reloc-link): Likewise.
67698 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67700         * elf/Makefile: Add rules to build pldd.
67701         * elf/pldd.c: New file.
67702         * elf/pldd-xx.c: New file.
67704 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67706         * version.h: Update for 2.15 development version.
67708 2011-06-07  David S. Miller  <davem@davemloft.net>
67710         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67711         ifuncs.
67712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67713         elf_machine_lazy_rel): Likewise.
67714         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67716         elf_machine_lazy_rel): Likewise.
67717         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67718         dl_hwcap via passed in argument.
67719         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67720         Likewise.
67722 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67724         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67726 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67728         [BZ #12849]
67729         * manual/fdl-1.1.texi: New file, verbatim from:
67730         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67731         * manual/lgpl-2.1.texi: New file, verbatim from:
67732         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67733         * manual/Makefile (licenses): New variable, list those new file names.
67734         (texis): Use it.
67735         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67737         * manual/fdl.texi: File removed.
67738         * manual/lesser.texi: File removed.
67739         * manual/libc.texinfo (Copying, Documentation License):
67740         Use new @include file names, put @appendix directive before @include.
67742 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67744         [BZ #12841]
67745         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67746         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67747         (mq_open): Add __NTH.
67749 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67752         Assume Intel Core i3/i5/i7 processor if AVX is available.
67754 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67757         typo.
67759 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67761         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67762         memory.  Use alloca_account.  Fix memory leak when retrying.
67764 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67766         * version.h (RELEASE): Bump for 2.14 release.
67767         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67769         * config.make.in (RANLIB): Remove entry.
67771 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67773         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67774         (libc.pot): Work around missing support for .ksh extension in xgettext.
67776         [BZ #12684]
67777         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67778         if both request failed.
67779         (send_dg): In case of server errors clear resplen or *resplen2.
67781         [BZ #12454]
67782         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67783         when there are multiple maps.
67784         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67785         (_dl_fini): Remove test here.
67787         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67789 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67791         [BZ #12350]
67792         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67793         bit from old_res_options.
67794         (gaih_inet): Likewise.
67796         [BZ #11099]
67797         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67798         as signed.
67800         * resolv/res_init.c (res_setoptions): Make the code more compact.
67802         [BZ #11558]
67803         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67804         set RES_USEVC.
67806         [BZ #11634]
67807         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67809         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67811         [BZ #11781]
67812         * malloc/malloc.h: Declare malloc hook variables as volatile.
67814         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67815         in last patch.
67817         [BZ #11799]
67818         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67819         raise in the comment.
67820         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67822         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67824 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67826         [BZ #12811]
67827         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67828         grow the buffers more if it already has to be sufficient.
67829         (build_wcs_upper_buffer): Likewise.
67830         * posix/regexec.c (check_matching): Likewise.
67831         (clean_state_log_if_needed): Likewise.
67832         (extend_buffers): Don't enlarge buffers beyond size of the input
67833         buffer.
67834         Patches mostly by Emil Wojak <emil@wojak.eu>.
67835         * posix/bug-regex32.c: New file.
67836         * posix/Makefile (tests): Add bug-regex32.
67838         * locale/findlocale.c (_nl_find_locale): Return right away if
67839         _nl_explode_name failed.
67840         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67842         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67844         * debug/xtrace.sh: Unify messages.
67845         * malloc/memusage.sh: Likewise.
67847         [BZ #12813]
67848         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67849         time symbol from vDSO.  Substitute with vsyscall if not available.
67850         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67851         __vdso_time.
67853         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67854         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67855         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67856         Add sendmmsg and internal_sendmmsg.
67857         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67858         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67859         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67861         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67862         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67863         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67865 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67867         [BZ #12813]
67868         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67869         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67870         available.
67871         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67872         __vdso_getcpu.
67874         [BZ #12814]
67875         * iconvdata/Makefile (tests): Add bug-iconv9.
67876         * iconvdata/bug-iconv9.c: New file.
67878 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67880         [BZ #12814]
67881         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67883 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67885         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67886         (struct user_regs_struct): Change intcs field back to cs.
67888 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67890         * po/ja.po: Update from translation team.
67892 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67894         [BZ #12795]
67895         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67896         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67898 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67900         * stdlib/longlong.h: Update from GCC.
67902 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67904         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67905         parameter name.
67906         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67907         Add parameter name.
67908         (__sysconf): Pass it down.
67910 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67912         [BZ #12671]
67913         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67914         some situations.
67915         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67916         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67917         add in in __libc_use_alloca calls.  Adjust callers.
67918         (glob): Use malloc in some situations.
67920         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67921         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67922         pltexit.
67924 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67926         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67927         and CLOCK_BOOTTIME_ALARM.
67929         [BZ #12782]
67930         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67931         is returned.
67933         * string/_strerror.c (__strerror_r): Print negative errors as signed
67934         numbers.
67936         [BZ #12777]
67937         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67938         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67939         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67941         * configure.in: Fix typo in redirection and correct removal of test
67942         files in two cases.
67944         [BZ #12788]
67945         * locale/setlocale.c (new_composite_name): Fix test to check for
67946         identical name of all categories.
67948         [BZ #12792]
67949         * libio/filedoalloc.c (local_isatty): New function.
67950         (_IO_file_doallocate): Use local_isatty.
67951         * stdio-common/perror.c (perror): In case a new stream is used
67952         forward the stream error.
67953         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67954         error flag.
67956 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67958         [BZ #11869]
67959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67960         alloca.
67961         * include/alloca.h (extend_alloca_account): Define.
67963         [BZ #11857]
67964         * posix/regex.h: Fix comments with documentation of user-accessible
67965         fields after compilation and describe correct free'ing of pattern
67966         after re_compile_pattern.
67967         Patch by Reuben Thomas <rrt@sc3d.org>.
67969 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67971         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67972         and -mno-altivec to prevent the compiler from using Altivec and/or
67973         VSX instructions when the corresponding registers are not available.
67975 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67977         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67979 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67981         * libio/freopen.c (freopen): Use __dup2, not dup2.
67982         * libio/freopen64.c (freopen64): Likewise.
67984 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67986         [BZ #12775]
67987         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67988         * math/Makefile (tests): Add test-powl.
67989         (CFLAGS-test-powl.c): Define.
67990         * math/test-powl.c: New file.
67992 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67994         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67996 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67998         [BZ #11837]
67999         * iconvdata/gb18030.c: Update to GB18020-2005.
68001 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68003         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68004         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68005         Patch by Aharon Robbins <arnold@skeeve.com>.
68007         [BZ #11892]
68008         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68009         on the stack.
68011         [BZ #11895]
68012         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68013         through underflows.
68015         [BZ #12766]
68016         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68017         point to strings before performing equality test for error_one_per_line
68018         mode.
68020         [BZ #11697]
68021         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68023         [BZ #11820]
68024         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68025         (struct user_fpregs_struct): Avoid __uint*_t types.
68027         [BZ #6420]
68028         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68029         symbol info.  Use it instead of calling _dl_addr locally.
68030         (lock_and_info): New function.
68031         (tr_freehook): Call lock_and_info and pass symbol info as additional
68032         parameter to tr_where.
68033         (tr_mallochook): Likewise.
68034         (tr_reallochook): Likewise.
68035         (tr_memalignhook): Likewise.
68037         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68038         used and couldn't be at all thread-safe.
68040 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68042         * libio/freopen.c (freopen): Don't close old file descriptor
68043         before the new one is opened.  Instead dup the new file descriptor
68044         to the old one after the new stream is created.
68045         * libio/freopen64.c (freopen64): Likewise.
68046         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68047         * libio/fileops.c (_IO_new_file_close_it): Handle new
68048         _IO_FLAGS2_NOCLOSE flag.
68049         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68050         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68051         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68052         _IO_FLAGS2_NOCLOSE flag.
68053         * include/unistd.h: Add hidden_proto for dup3.
68054         Define __have_dup3.
68055         * io/dup3.c: Define hidden symbol.
68056         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68058         [BZ #7101]
68059         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68060         when an incomplete long option is used.
68061         * posix/tst-getopt_long1.c: New file.
68062         * posix/Makefile (tests): Add tst-getopt_long1.
68064         [BZ #10138]
68065         * scripts/config.guess: Update from autoconf-2.68.
68066         * scripts/config.sub: Likewise.
68068         [BZ #10157]
68069         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68070         tests into ...
68071         (has_cpuclock): ...this.  New function.
68072         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68073         macro here based on has_cpuclock code.
68075         [BZ #10149]
68076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68077         First byte (not low byte) is now always NUL.
68078         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68081         Use non-cancelable interfaces.
68083         [BZ #9809]
68084         * locale/iso-639.def: Add entry for Sorani.
68086         [BZ #11901]
68087         * include/stdlib.h: Move include protection to the right place.
68088         Define abort_msg_s.  Declare __abort_msg with it.
68089         * stdlib/abort.c (__abort_msg): Adjust type.
68090         * assert/assert.c (__assert_fail_base): New function.  Majority
68091         of code from __assert_fail.  Allocate memory for __abort_msg with
68092         mmap.
68093         (__assert_fail): Now call __assert_fail_base.
68094         * assert/assert-perr.c: Remove bulk of implementation.  Use
68095         __assert_fail_base.
68096         * include/assert.hL Declare __assert_fail_base.
68097         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68098         mmap.
68099         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68101 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68103         [BZ #11952]
68104         [BZ #12453]
68105         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68106         until all modules are registered in the DTV.
68107         * elf/Makefile: Add rules to build and run tst-tls19.
68108         * elf/tst-tls19.c: New file.
68109         * elf/tst-tls19mod1.c: New file.
68110         * elf/tst-tls19mod2.c: New file.
68111         * elf/tst-tls19mod3.c: New file.
68112         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68114         [BZ #12083]
68115         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68116         correctly.
68118         [BZ #12601]
68119         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68120         two-byte sequence errors.
68121         * iconvdata/Makefile (tests): Add bug-iconv8.
68122         * iconvdata/bug-iconv8.c: New file.
68124         [BZ #12626]
68125         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68126         buf2 definition.
68128         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68130         [BZ #12432]
68131         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68132         (dummy_getcfa): New function.
68133         (init): Get _Unwind_GetCFA address, use dummy if not found.
68134         (backtrace_helper): In recursion check, also check whether CFA changes.
68135         (__backtrace): Completely initialize arg.
68137         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68138         storing incomplete byte sequence in state object.  Avoid testing for
68139         guaranteed too small input if we know there is enough data available.
68141 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68143         * Makeconfig (+link-pie): Indent.
68144         * Rules (binaries-pie): Define if $(have-fpie) and
68145         $(build-shared).
68146         (binaries-shared): Also filter out $(binaries-pie).
68147         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68148         * nscd/Makefile (others-pie): Add nscd.
68149         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68150         ($(objpfx)nscd): Remove command override.
68151         * login/Makefile (others-pie): Add pt_chown.
68152         ($(objpfx)pt_chown): Remove command override.
68153         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68154         remove command overrides.
68156 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68158         * libio/tst_putwc.c: Fix error messages.
68160         [BZ #12724]
68161         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68162         currently writing and seek to current position when not.
68163         * libio/Makefile (tests): Add bug-fclose1.
68164         * libio/bug-fclose1.c: New file.
68166 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68168         [BZ #12511]
68169         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68170         don't set DF_1_NODELETE here.
68171         (do_lookup_x): When entering new entry test for copy relocation
68172         and if necessary set DF_1_NODELETE flag.
68173         * elf/tst-unique4.cc: New file.
68174         * elf/tst-unique4.h: New file.
68175         * elf/tst-unique4lib.cc: New file.
68176         * elf/Makefile: Add rules to build and run tst-unique4.
68177         Patch by Piotr Bury <pbury@goahead.com>.
68179 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68181         [BZ #12052]
68182         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68184         [BZ #12625]
68185         * misc/mntent_r.c (addmntent): Flush the stream after the output
68187         [BZ #12393]
68188         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68189         (is_trusted_path_normalize): Skip initial colon.  Append slash
68190         to empty buffer.  Duplicate is_trusted_path code but allow
68191         constructed patch to be prefix.
68192         (is_dst): Allow $ORIGIN followed by /.
68193         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68194         Correct testing of result of is_trusted_path_normalize
68195         (decompose_rpath): Fix warning.
68197 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68199         [BZ #11257]
68200         * grp/initgroups.c (internal_getgrouplist): When we found the service
68201         list through the initgroups entry in nsswitch.conf do not always
68202         continue on a successful lookup.  Don't always use the
68203         __nss_group_database value if it is set.
68204         * nss/nsswitch.conf (initgroups): Change action for successful db
68205         lookup to continue for compatibility.
68207 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68209         [BZ #11532]
68210         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68211         and CP774 modules.
68212         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68213         and CP774 modules.
68214         * iconvdata/tst-tables.sh: Likewise.
68215         * iconvdata/cp770.c: New file.
68216         * iconvdata/cp771.c: New file.
68217         * iconvdata/cp772.c: New file.
68218         * iconvdata/cp773.c: New file.
68219         * iconvdata/cp774.c: New file.
68220         * iconvdata/testdata/CP770: New file.
68221         * iconvdata/testdata/CP770..UTF8: New file.
68222         * iconvdata/testdata/CP771: New file.
68223         * iconvdata/testdata/CP771..UTF8: New file.
68224         * iconvdata/testdata/CP772: New file.
68225         * iconvdata/testdata/CP772..UTF8: New file.
68226         * iconvdata/testdata/CP773: New file.
68227         * iconvdata/testdata/CP773..UTF8: New file.
68228         * iconvdata/testdata/CP774: New file.
68229         * iconvdata/testdata/CP774..UTF8: New file.
68231         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68232         END CHARMAP line.
68233         * iconvdata/gen-8bit-gap.sh: Likewise.
68234         * iconvdata/gen-8bit.sh: Likewise.
68236         * locale/iso-639.def: Add ary entry.
68238         [BZ #11258]
68239         * locale/C-translit.h.in: Add U20A1 transliteration.
68241         [BZ #12178]
68242         * locale/iso-639.def: Add wae entry.
68243         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68245         [BZ #12545]
68246         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68247         for n.
68249         [BZ #12711]
68250         * locale/C-translit.h.in: Add entry for U20B9.
68251         Patch by pravin.d.s@gmail.com.
68253 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68255         [BZ #12713]
68256         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68257         ENAMETOOLONG use generic getcwd.
68258         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68259         in rtld.  Use *stat64.
68260         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68261         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68262         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68263         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68264         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68265         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68266         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68267         __fstatat64 macros.
68268         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68269         * dirent/rewinddir.c: Add libc_hidden_def.
68270         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68271         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68273         * include/dirent.h (__alloc_dir): Add flags parameter.
68274         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68275         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68276         __alloc_dir.
68277         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68278         from fdopendir if O_CLOEXEC is already set.
68280 2011-03-15  Alan Modra  <amodra@gmail.com>
68282         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68283         l_tls_firstbyte_offset non-zero.  Save padding offset in
68284         l_tls_firstbyte_offset for later use.
68285         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68286         freeing static tls block.
68288 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68290         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68291         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68292         being defined by the kernel headers.
68294 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68296         [BZ #12734]
68297         * resolv/resolv.h: Define RES_NOTLDQUERY.
68298         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68299         no-tld-query and set RES_NOTLDQUERY.
68300         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68301         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68302         modern BIND to search name as TLD unless forbidden.
68304 2011-05-07  Petr Baudis  <pasky@suse.cz>
68305             Ulrich Drepper  <drepper@gmail.com>
68307         [BZ #12393]
68308         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68309         (is_trusted_path): ...to here.
68310         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68311         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68312         using is_trusted_path_normalize() in setuid scripts.
68314 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68316         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68317         __BEGIN/__END_DECLS.
68319 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68321         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68322         NSS_STATUS_NOTFOUND if no record was found.
68324 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68326         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68327         (headers-not-in-tirpc): Remove rpc/netdb.h
68328         * resolv/netdb.h: Revert last change.
68330 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68332         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68333         circular dependency between libgcc.a and libc.a.
68335 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68337         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68338         * nis/Makefile: Don't install rpcsvc/*.
68339         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68340         instead of <rpc/types.h>.
68341         (MAXHOSTNAMELEN): Define.
68343 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68345         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68347 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68349         [BZ #12714]
68350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68351         gethostbyname4_r when IPv6 results are possible.
68353 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68355         [BZ #12723]
68356         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68357         _PC_PIPE_BUF handling.
68359 2011-04-30  Bruno Haible  <bruno@clisp.org>
68361         [BZ #12717]
68362         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68363         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68364         to 'int'.
68365         * inet/getnameinfo.c (getnameinfo): Likewise.
68367 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68369         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68370         to groups setting in database lookup.
68371         * nss/nsswitch.conf: Add initgroups entry.
68373 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68375         [BZ #12685]
68376         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68377         mode string.
68378         Patch by Eric Blake <eblake@redhat.com>.
68380 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68382         * sunrpc/Makefile (need-export-routines): Add svc_run.
68383         (routines): Remove svc_run.
68384         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68385         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68386         * sunrpc/svc_run.c (svc_run): Likewise.
68387         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68389 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68391         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68392         problem in reallocation in last patch.
68394 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68396         * sunrpc/Makefile: Move inclusion of Rules.
68398 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68400         * nss/nss_files/files-initgroups.c: New file.
68401         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68402         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68403         _nss_files_initgroups_dyn.
68405 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68407         * elf/elf.h (R_ARM_IRELATIVE): Define.
68409 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68411         * po/ru.po: Update from translation team.
68413 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68415         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68416         dependencies.
68418 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68420         [BZ #12653]
68421         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68422         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68423         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68425         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68427 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68429         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68430         differing bytes.
68431         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68432         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68433         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68435 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68437         [BZ #12420]
68438         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68439         storing it.
68440         * stdlib/bug-getcontext.c: New file.
68441         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68443 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68445         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68446         instructions into .machine "z9-109".
68447         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68448         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68450 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68452         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68453         between environment variables and auxiliary vector.
68455 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68457         * Makefile: Add rules to build linkobj/libc.so.
68458         * include/libc-symbols.h: Define libc_hidden_nolink.
68459         * include/rpc/auth.h: Mark functions which are to be hidden.
68460         * include/rpc/auth_des.h: Likewise.
68461         * include/rpc/auth_unix.h: Likewise.
68462         * include/rpc/clnt.h: Likewise.
68463         * include/rpc/des_crypt.h: Likewise.
68464         * include/rpc/key_prot.h: Likewise.
68465         * include/rpc/pmap_clnt.h: Likewise.
68466         * include/rpc/pmap_prot.h: Likewise.
68467         * include/rpc/pmap_rmt.h: Likewise.
68468         * include/rpc/rpc_msg.h: Likewise.
68469         * include/rpc/svc.h: Likewise.
68470         * include/rpc/svc_auth.h: Likewise.
68471         * include/rpc/xdr.h: Likewise.
68472         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68473         * nss/Makefile: Likewise.
68474         * sunrpc/Makefile: Don't install headers.  Build library with normal
68475         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68476         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68477         for the compat linking library.  Remove use of INTDEF/INTUSE.
68478         * sunrpc/auth_none.c: Likewise.
68479         * sunrpc/auth_unix.c: Likewise.
68480         * sunrpc/authdes_prot.c: Likewise.
68481         * sunrpc/authuxprot.c: Likewise.
68482         * sunrpc/clnt_gen.c: Likewise.
68483         * sunrpc/clnt_perr.c: Likewise.
68484         * sunrpc/clnt_raw.c: Likewise.
68485         * sunrpc/clnt_simp.c: Likewise.
68486         * sunrpc/clnt_tcp.c: Likewise.
68487         * sunrpc/clnt_udp.c: Likewise.
68488         * sunrpc/clnt_unix.c: Likewise.
68489         * sunrpc/des_crypt.c: Likewise.
68490         * sunrpc/des_soft.c: Likewise.
68491         * sunrpc/get_myaddr.c: Likewise.
68492         * sunrpc/key_call.c: Likewise.
68493         * sunrpc/key_prot.c: Likewise.
68494         * sunrpc/netname.c: Likewise.
68495         * sunrpc/pm_getmaps.c: Likewise.
68496         * sunrpc/pm_getport.c: Likewise.
68497         * sunrpc/pmap_clnt.c: Likewise.
68498         * sunrpc/pmap_prot.c: Likewise.
68499         * sunrpc/pmap_prot2.c: Likewise.
68500         * sunrpc/pmap_rmt.c: Likewise.
68501         * sunrpc/publickey.c: Likewise.
68502         * sunrpc/rpc_cmsg.c: Likewise.
68503         * sunrpc/rpc_common.c: Likewise.
68504         * sunrpc/rpc_dtable.c: Likewise.
68505         * sunrpc/rpc_prot.c: Likewise.
68506         * sunrpc/rpc_thread.c: Likewise.
68507         * sunrpc/rtime.c: Likewise.
68508         * sunrpc/svc.c: Likewise.
68509         * sunrpc/svc_auth.c: Likewise.
68510         * sunrpc/svc_authux.c: Likewise.
68511         * sunrpc/svc_raw.c: Likewise.
68512         * sunrpc/svc_run.c: Likewise.
68513         * sunrpc/svc_simple.c: Likewise.
68514         * sunrpc/svc_tcp.c: Likewise.
68515         * sunrpc/svc_udp.c: Likewise.
68516         * sunrpc/svc_unix.c: Likewise.
68517         * sunrpc/svcauth_des.c: Likewise.
68518         * sunrpc/xcrypt.c: Likewise.
68519         * sunrpc/xdr.c: Likewise.
68520         * sunrpc/xdr_array.c: Likewise.
68521         * sunrpc/xdr_float.c: Likewise.
68522         * sunrpc/xdr_intXX_t.c: Likewise.
68523         * sunrpc/xdr_mem.c: Likewise.
68524         * sunrpc/xdr_rec.c: Likewise.
68525         * sunrpc/xdr_ref.c: Likewise.
68526         * sunrpc/xdr_sizeof.c: Likewise.
68527         * sunrpc/xdr_stdio.c: Likewise.
68529 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68531         [BZ #12650]
68532         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68533         * sysdeps/ia64/dl-tls.h: Likewise.
68534         * sysdeps/powerpc/dl-tls.h: Likewise.
68535         * sysdeps/s390/dl-tls.h: Likewise.
68536         * sysdeps/sh/dl-tls.h: Likewise.
68537         * sysdeps/sparc/dl-tls.h: Likewise.
68538         * sysdeps/x86_64/dl-tls.h: Likewise.
68539         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68541 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68543         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68544         rpath element also skip the following colon.
68545         (expand_dynamic_string_token): Add is_path parameter and pass
68546         down to DL_DST_REQUIRED and _dl_dst_substitute.
68547         (decompose_rpath): Call expand_dynamic_string_token with
68548         non-zero is_path.  Ignore empty rpaths.
68549         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68550         with zero is_path.
68552 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68555         Make cancelable.
68557 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68559         [BZ #12655]
68560         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68561         Patch by Filipe David Manana <fdmanana@apache.org>.
68563 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68566         Maintain aligned stack.
68567         (CHECK_RSP): Remove unused macro.
68569 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68571         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68572         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68574 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68576         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68578         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68580 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68582         [BZ #12518]
68583         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68584         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68585         * sysdeps/x86_64/memmove.c: New file.
68586         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68587         (memcpy): Renamed to ...
68588         (__new_memcpy): This.
68589         (memcpy): Provide GLIBC_2_14 memcpy.
68590         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68591         (memcpy): Provide GLIBC_2_2_5 memcpy.
68593 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68595         [BZ #12631]
68596         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68598 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68600         * misc/syncfs.c: New file.
68601         * misc/Makefile (routines): Add syncfs.
68602         * posix/unistd.h: Declare syncfs.
68603         * sysdeps/unix/syscalls.list: Add syncfs.
68605 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68607         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68608         open_by_handle_at.
68609         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68610         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68614         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68615         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68617 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68619         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68620         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68621         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68627         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68628         sync_file_range.c with -fexceptions.
68629         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68630         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68631         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68632         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68633         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68634         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68636         sync_file_range as cancellation point
68637         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68638         now a wrapper around __call_sync_file_range with cancellation handling.
68639         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68640         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68641         function name to __call_sync_file_range.
68642         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68643         Add call_sync_file_range.
68645 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68648         bits/timex.h.
68650 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68652         * iconv/iconv.h: Fix typo in comment.
68653         * io/fcntl.h: Likewise.
68654         * libio/stdio.h: Likewise.
68655         * posix/spawn.h: Likewise.
68656         * posix/unistd.h: Likewise.
68657         * stdlib/stdlib.h: Likewise.
68658         * time/time.h: Likewise.
68659         * wcsmbs/wchar.h: Likewise.
68661         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68662         open_by_handle): Add.
68663         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68664         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68665         Augment a few comments.
68666         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68667         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68668         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68670         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68671         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68672         open_by_handle.
68674         * io/fcntl.h (AT_EMPTY_PATH): Define.
68676 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68678         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68679         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68680         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68681         to...
68682         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68683         * Versions.def: Add GLIBC_2.14.
68684         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68685         Export.
68687 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68689         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68690         round counter.
68691         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68693 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68695         [BZ #12597]
68696         * string/test-strncmp.c (do_page_test): New function.
68697         (check2): Likewise.
68698         (test_main): Call check2.
68699         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68701 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68703         [BZ #12587]
68704         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68705         Handle cache information in CPU leaf 4.
68706         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68708 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68710         [BZ #12583]
68711         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68712         character representation.
68713         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68715 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68717         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68718         END(__isnan) to END(__isnanf) to match function entry point/label
68719         EALIGN(__isnanf,...).
68721 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68723         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68725 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68727         [BZ #12510]
68728         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68729         copy from the symbol referenced in the relocation to initialize the
68730         used variable.
68731         Patch by Piotr Bury <pbury@goahead.com>.
68732         * elf/Makefile: Add rules to build and tst-unique3.
68733         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68734         * elf/tst-unique3.cc: New file.
68735         * elf/tst-unique3.h: New file.
68736         * elf/tst-unique3lib.cc: New file.
68737         * elf/tst-unique3lib2.cc: New file.
68739         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68741 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68743         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68744         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68745         to _start.
68747 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68749         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68750         to-be-loaded object along a path to loader is ld.so.
68752 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68753             Ulrich Drepper  <drepper@gmail.com>
68755         * sysdeps/x86_64/memset.S: After aligning destination, code
68756         branches to different locations depending on the value of
68757         misalignment, when multiarch is enabled. Fix this.
68759 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68761         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68762         Set _x86_64_preferred_memory_instruction for AMD processsors.
68763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68764         Set bit_Prefer_SSE_for_memop for AMD processors.
68766 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68768         * libio/fmemopen.c (fmemopen): Optimize a bit.
68770 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68772         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68774 2011-03-03  Roland McGrath  <roland@redhat.com>
68776         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68778 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68780         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68781         __bzero_ultra1 instead of __memset_ultra1.
68783 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68784             Ulrich Drepper  <drepper@gmail.com>
68786         [BZ #12509]
68787         * include/link.h (struct link_map): Add l_orig_initfini.
68788         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68789         returning unsuccessfully.
68790         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68791         close of a file loaded at startup, restore the original l_initfini
68792         list.
68793         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68794         list, store the pointer.
68795         * elf/Makefile ($(objpfx)noload-mem): New rule.
68796         (noload-ENV): Define.
68797         (tests): Add $(objpfx)noload-mem.
68798         * elf/noload.c: Include <memcheck.h>.
68799         (main): Call mtrace.  Close all opened handles.
68801 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68803         [BZ #12454]
68804         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68805         dependencies are missing.
68807 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68809         Fix __if_freereq crash: Unlike the generic version which uses free,
68810         Hurd needs munmap.
68811         * sysdeps/mach/hurd/ifreq.h: New file.
68813 2011-01-27  Petr Baudis  <pasky@suse.cz>
68814             Ulrich Drepper  <drepper@gmail.com>
68816         [BZ 12445]#
68817         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68818         to extend_alloca().
68819         * stdio-common/bug23.c: New file.
68820         * stdio-common/Makefile (tests): Add bug23.
68822 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68823             Ulrich Drepper  <drepper@gmail.com>
68825         [BZ #12489]
68826         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68827         before performing relro protection.  At old place add assertion
68828         to make sure nothing changed.
68830 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68831             Glauber de Oliveira Costa  <glommer@gmail.com>
68833         * elf/elf.h: Add new ARM TLS relocs.
68835 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68838         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68839         cast from r3.
68840         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68841         'tests' variable.
68842         * sysdeps/wordsize-64/tst-writev.c: New file.
68844 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68846         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68847         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68848         insns in _dl_start to prevent a TOC reference before relocs are
68849         resolved.
68851 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68853         [BZ #12469]
68854         * Makeconfig: Remove RANLIB definition.
68855         * Makerules: Don't use RANLIB.
68856         * aclocal.m4: Remove ranlib test.
68857         * configure.in: No need to check for ranlib.
68858         * elf/rtld-Rules: Don't use RANLIB.
68860 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68862         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68863         protection macro.
68864         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68865         inclusion protection macro.
68867         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68868         SIGRTMIN and SIGRTMAX and print information in that case only when
68869         SIGRTMIN is defined.
68871 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68873         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68874         arginfo fn returning -1.
68876         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68877         and thousands string is zero terminated.
68879 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68882         sysdeps/unix/sysv/linux/bits/socket.h.
68884 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68886         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68887         (__CPU_COUNT): Remove old macros.
68888         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68889         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68890         (__CPU_ALLOC, __CPU_FREE): Add macros.
68891         (__sched_cpualloc, __sched_cpufree): Add declarations.
68893 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68895         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68896         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68897         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68898         (readdhstai): Return value of addhstaiX call.
68899         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68900         (addgrbyX): Return value returned by cache_addgr.
68901         (readdgrbyname): Return value returned by addgrbyX.
68902         (readdgrbygid): Likewise.
68903         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68904         (addpwbyX): Return value returned by cache_addpw.
68905         (readdpwbyname): Return value returned by addhstbyX.
68906         (readdpwbyuid): Likewise.
68907         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68908         (addservbyX): Return value returned by cache_addserv.
68909         (readdservbyname): Return value returned by addservbyX:
68910         (readdservbyport): Likewise.
68911         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68912         (addhstbyX): Return value returned by cache_addhst.
68913         (readdhstbyname): Return value returned by addhstbyX.
68914         (readdhstbyaddr): Likewise.
68915         (readdhstbynamev6): Likewise.
68916         (readdhstbyaddrv6): Likewise.
68917         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68918         (readdinitgroups): Return value returned by addinitgroupsX.
68919         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68920         (prune_cache): Keep track of timeout value of re-added entries.
68921         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68922         * nscd/nscd.h: Adjust prototypes of readd* functions.
68924 2011-02-04  Roland McGrath  <roland@redhat.com>
68926         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68927         (nis_stats): Likewise.
68928         * nis/nis_modify.c (nis_modify): Likewise.
68929         * nis/nis_remove.c (nis_remove): Likewise.
68930         * nis/nis_add.c (nis_add): Likewise.
68932         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68934         * posix/fnmatch_loop.c: Add some consts.
68936         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68938 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68940         [BZ #12460]
68941         * config.make.in (config-cflags-novzeroupper): Define.
68942         * configure.in: Substitute libc_cv_cc_novzeroupper.
68943         * elf/Makefile (AVX-CFLAGS): Define.
68944         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68945         (CFLAGS-tst-auditmod4a.c): Likewise.
68946         (CFLAGS-tst-auditmod4b.c): Likewise.
68947         (CFLAGS-tst-auditmod6b.c): Likewise.
68948         (CFLAGS-tst-auditmod6c.c): Likewise.
68949         (CFLAGS-tst-auditmod7b.c): Likewise.
68950         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68952 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68954         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68955         function to the callback.
68956         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68958 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68960         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68961         of errno.
68963 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68965         [BZ #11724]
68966         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68967         of constructors.
68968         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68969         of destructors.
68970         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68972         [BZ #11724]
68973         * elf/Makefile: Add rules to build and run new test.
68974         * elf/tst-initorder.c: New file.
68975         * elf/tst-initorder.exp: New file.
68976         * elf/tst-initordera1.c: New file.
68977         * elf/tst-initordera2.c: New file.
68978         * elf/tst-initordera3.c: New file.
68979         * elf/tst-initordera4.c: New file.
68980         * elf/tst-initorderb1.c: New file.
68981         * elf/tst-initorderb2.c: New file.
68982         * elf/tst-order-a1.c: New file.
68983         * elf/tst-order-a2.c: New file.
68984         * elf/tst-order-a3.c: New file.
68985         * elf/tst-order-a4.c: New file.
68986         * elf/tst-order-b1.c: New file.
68987         * elf/tst-order-b2.c: New file.
68988         * elf/tst-order-main.c: New file.
68989         New test case by George Gensure <werkt0@gmail.com>.
68991 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68994         decoding ACE if AI_CANONIDN.
68996 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68998         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69000 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69002         * version.h (RELEASE): Bump for 2.13 release.
69003         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69005         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69007         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69008         MADV_NOHUGEPAGE.
69009         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69010         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69011         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69012         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69014         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69016         * posix/getconf.c: Update copyright year.
69017         * catgets/gencat.c: Likewise.
69018         * csu/version.c: Likewise.
69019         * debug/catchsegv.sh: Likewise.
69020         * debug/xtrace.sh: Likewise.
69021         * elf/ldconfig.c: Likewise.
69022         * elf/ldd.bash.in: Likewise.
69023         * elf/sprof.c (print_version): Likewise.
69024         * iconv/iconv_prog.c: Likewise.
69025         * iconv/iconvconfig.c: Likewise.
69026         * locale/programs/locale.c: Likewise.
69027         * locale/programs/localedef.c: Likewise.
69028         * malloc/memusage.sh: Likewise.
69029         * malloc/mtrace.pl: Likewise.
69030         * nscd/nscd.c (print_version): Likewise.
69031         * nss/getent.c: Likewise.
69033         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69034         PF_CAIF, and PF_ALG.
69035         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69037 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69039         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69040         (modules-names): Use them.
69041         (ifunc-test-modules, ifunc-pie-tests): Define.
69042         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69043         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69044         (test-extras): Likewise.
69045         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69046         $(compile-command.c).
69047         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69048         (all-built-dso): Define.
69049         (check-textrel.out, check-execstack.out): Depend on it.
69051         * configure.in: Don't override --enable-multi-arch.
69053 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69055         [BZ #6812]
69056         * nscd/hstcache.c (tryagain): Define.
69057         (cache_addhst): Return tryagain not notfound for temporary errors.
69058         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69059         failed.
69061 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69063         [BZ #10563]
69064         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69065         to make the syscall.
69066         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69068         [BZ #12378]
69069         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69070         and fall back to matching as normal character if the string ends before
69071         the matching ']' is found.  This is what POSIX requires.
69072         * posix/testfnm.c: Adjust test result.
69073         * posix/globtest.sh: Adjust test result.  Add new test.
69074         * posix/tst-fnmatch.input: Likewise.
69075         * posix/tst-fnmatch2.c: Add new test.
69077 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69079         * elf/Makefile (check-execstack): Revert last change.  Depend on
69080         check-execstack.h.
69081         (check-execstack.h): New target.
69082         (generated): Add check-execstack.h.
69083         * elf/check-execstack.c: Include "check-execstack.h".
69084         (main): Revert last change.
69085         (handle_file): Return zero if GNU_STACK is absent and
69086         DEFAULT_STACK_PERMS doesn't include PF_X.
69088 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69090         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69091         in child fails because the descriptor is already closed.
69092         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69093         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69094         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69096         [BZ #12397]
69097         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69098         syscall.
69100         [BZ #10484]
69101         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69102         temporary buffer used to handle multi lookups locally.
69103         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69105 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69107         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69108         loader is ld.so.
69110 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69112         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69113         alignment for SSE2.
69115 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69117         [BZ #12394]
69118         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69119         characters.  When rounding increased number of integer digits recompute
69120         number of groups.
69121         * stdio-common/tst-grouping.c: New file.
69122         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69124 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69126         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69127         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69129         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69130         void.
69131         * bits/select.h: Likewise.
69133 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69135         * po/ja.po: Update from translation team.
69137 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69139         [BZ #11155]
69140         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69141         implementation just like for lxstat, fxstatat, et al.
69143 2010-12-27  Jim Meyering  <meyering@redhat.com>
69145         [BZ #12348]
69146         * posix/regexec.c (build_trtable): Return failure indication upon
69147         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69149 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69151         [BZ #12201]
69152         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69153         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69154         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69155         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69157         [BZ #12207]
69158         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69160         [BZ #12204]
69161         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69162         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69164 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69166         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69167         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69168         script has SORT_BY_INIT_PRIORITY.
69169         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69170         NO_CTORS_DTORS_SECTIONS is defined.
69171         * elf/soinit.c: Likewise.
69172         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69173         NO_CTORS_DTORS_SECTIONS is defined.
69174         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69175         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69176         * sysdeps/sh/init-first.c: Likewise.
69177         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69179 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69181         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69182         always use the slow path.
69184 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69186         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69187         similar rule which adds the sysdep directories to the header search in
69188         order to pick up the correct platform stackinfo.h.
69189         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69190         perform test if it is, otherwise return successfully without testing.
69191         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69192         DEFAULT_STACK_PERMS define in stackinfo.h.
69193         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69194         defined in stackinfo.h.
69195         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69196         DEFAULT_STACK_PERMS defined in stackinfo.h.
69197         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69198         * sysdeps/ia64/stackinfo.h: Likewise.
69199         * sysdeps/s390/stackinfo.h: Likewise.
69200         * sysdeps/sh/stackinfo.h: Likewise.
69201         * sysdeps/sparc/stackinfo.h: Likewise.
69202         * sysdeps/x86_64/stackinfo.h: Likewise.
69203         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69204         PF_X for powerpc64.  Retain PF_X for powerpc32.
69206 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69208         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69209         accurately.
69210         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69211         GETDENTS_64BIT_ALIGNED.
69213 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69215         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69217 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69219         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69220         _GNU_SOURCE.
69222         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69223         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69224         Remove __restrict.
69225         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69226         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69228 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69230         [BZ #11655]
69231         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69232         are initialized.
69234 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69236         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69238 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69240         * po/it.po: Update from translation team.
69242 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69245         unused codes.
69247 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69249         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69251 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69253         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69254         specially.
69255         (gaih_getanswer_slice): Likewise.
69257 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69259         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69261 2010-05-31  Petr Baudis  <pasky@suse.cz>
69263         [BZ #11149]
69264         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69265         silently even in the chroot mode.
69267 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69269         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69270         last patch a bit.  Pretty printing
69272 2010-05-31  Petr Baudis <pasky@suse.cz>
69274         [BZ #10085]
69275         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69276         initialization of skip_initgroups_dyn.
69278 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69280         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69283 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69285         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69287 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69289         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69290         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69291         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69292         ($(objpfx)tst-fnmatch-mem): New rule.
69293         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69294         * posix/tst-fnmatch.c (main): Call mtrace.
69296 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69299         Support Intel processor model 6 and model 0x2c.
69301 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69303         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69304           signed comparison.
69306 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69308         [BZ #12205]
69309         * string/test-strncasecmp.c (check_result): New function.
69310         (do_one_test): Use it.
69311         (check1): New function.
69312         (test_main): Use it.
69313         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69314         Support strcasecmp and strncasecmp.
69316 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69318         [BZ #12194]
69319         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69320         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69322 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69324         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69325         IFUNC support.
69326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69327         memset-x86-64.
69328         * sysdeps/x86_64/multiarch/bzero.S: New file.
69329         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69330         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69331         * sysdeps/x86_64/multiarch/memset.S: New file.
69332         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69334         Set bit_Prefer_SSE_for_memop for Intel processors.
69335         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69336         Define.
69337         (index_Prefer_SSE_for_memop): Define.
69338         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69340 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69342         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69343         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69345 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69347         [BZ #12191]
69348         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69349         (__x86_64_raw_data_cache_size_half): Likewise.
69350         (__x86_64_raw_shared_cache_size): Likewise.
69351         (__x86_64_raw_shared_cache_size_half): Likewise.
69353         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69354         (__x86_64_raw_data_cache_size_half): Likewise.
69355         (__x86_64_raw_shared_cache_size): Likewise.
69356         (__x86_64_raw_shared_cache_size_half): Likewise.
69357         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69358         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69359         and __x86_64_raw_shared_cache_size_half.  Round
69360         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69361         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69362         to multiple of 256 bytes.
69364 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69366         [BZ #12167]
69367         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69368         of inacessible symlinks.  Verify result of symlink before returning it.
69369         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69370         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69372 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69374         * math/math.h (isinf): Fix typo in comment.
69376 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69378         * po/da.po: Update from translation team.
69380 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69382         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69383         is added to the list.
69385 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69386             Ulrich Drepper  <drepper@gmail.com>
69388         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69389         the global list here.  Move code to...
69390         (_dl_add_to_namespace_list): ...here.  New function.
69391         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69392         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69393         * elf/dl-load.c (lose): Don't remove the element from the list.
69394         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69395         (_dl_map_object): Likewise.
69397 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69399         [BZ #12159]
69400         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69401         into all bytes of SSE register.
69402         Patch by Richard Li <richardpku@gmail.com>.
69404 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69406         [BZ #12140]
69407         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69408         perturbing.
69410 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69412         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69413         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69414         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69415         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69417         submachine.
69418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69420 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69422         * include/dlfcn.h (__RTLD_SECURE): Define.
69423         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69424         mode & __RTLD_SECURE instead.
69425         (open_path): Rename preloaded parameter to secure.
69426         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69427         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69428         * elf/dl-deps.c (openaux): Likewise.
69429         * elf/rtld.c (struct map_args): Remove is_preloaded.
69430         (map_doit): Don't use it.
69431         (dl_main): Likewise.
69432         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69433         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69435 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69437         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69438         (sysd-rules-targets): Remove duplicates.
69439         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69440         rtld-%.$o dependency.
69442 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69444         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69445         _dl_map_object do it.
69447 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69449         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69450         fast fma builtins, define the macros in the C99 standard.
69451         (FP_FAST_FMAF): Likewise.
69452         (FP_FAST_FMAL): Likewise.
69453         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69455         * bits/mathdef.h: Update copyright year.
69456         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69458 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69460         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69461         builtins, define the macros in the C99 standard.
69462         (FP_FAST_FMAF): Likewise.
69463         (FP_FAST_FMAL): Likewise.
69464         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69465         multiply/add.
69466         (FP_FAST_FMAF): Likewise.
69468 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69470         [BZ #3268]
69471         * math/libm-test.inc (fma_test): Some new testcases.
69472         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69474         y and infinite z.  Do multiplication by C already in long double.
69475         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69477         y and infinite z.  Do bitwise or of inexact bit into u.d.
69478         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69479         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69480         * sysdeps/i386/fpu/s_fma.S: Removed.
69481         * sysdeps/i386/fpu/s_fmal.S: Removed.
69483 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69485         [BZ #3268]
69486         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69488         computation is not scheduled after fetestexcept.  Fix value
69489         of minimum denormal long double.
69491 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69493         [BZ #3268]
69494         * math/libm-test.inc (fma_test): Add some more tests.
69495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69496         correctly.
69498 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69500         * scripts/data/localplt-s390-linux-gnu.data: New file.
69501         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69503 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69505         [BZ #3268]
69506         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69507         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69508         instead of dbl-64.
69509         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69510         inlines.
69511         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69513         if one of x and y is very large and the other is subnormal.
69514         * sysdeps/s390/fpu/s_fmaf.c: New file.
69515         * sysdeps/s390/fpu/s_fma.c: New file.
69516         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69517         * sysdeps/powerpc/fpu/s_fma.S: New file.
69518         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69519         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69520         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69522 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69524         [BZ #3268]
69525         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69526         fma tests.
69527         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69528         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69529         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69530         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69531         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69532         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69533         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69535 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69537         [BZ #12078]
69538         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69539         * posix/bug-regex31.input: Add test case.
69541 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69543         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69544         * posix/bug-regex31.input: New file.
69546         [BZ #12078]
69547         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69548         (parse_sub_exp): Fix last change, use postorder.
69550         * posix/bug-regex31.c: New file.
69551         * posix/Makefile: Add rules to build and run bug-regex31.
69553         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69555         [BZ #12078]
69556         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69558         [BZ #12108]
69559         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69560         to have entries in sys_siglist.
69562         [BZ #12093]
69563         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69564         be NULL.
69566 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69568         [BZ #3268]
69569         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69570         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69571         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69572         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69573         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69574         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69575         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69576         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69577         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69578         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69579         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69580         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69581         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69582         * math/ftestexcept.c (fetestexcept): Likewise.
69583         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69584         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69585         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69586         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69587         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69588         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69589         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69591 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69593         [BZ #12107]
69594         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69595         newline.
69597 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69599         * string/bug-strstr1.c: New file.
69600         * string/Makefile: Add rules to build and run bug-strstr1.
69602 2010-10-05  Eric Blake  <eblake@redhat.com>
69604         [BZ #12092]
69605         * string/str-two-way.h (two_way_long_needle): Always clear memory
69606         when skipping input due to the shift table.
69608 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69610         [BZ #12005]
69611         * malloc/mcheck.c: Handle large requests.
69613         [BZ #12077]
69614         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69615         for strncmp and strncasecmp.
69616         * string/stratcliff.c: Add tests for strcmp and strncmp.
69617         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69619 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69621         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69622         __set_fpscr.
69624 2010-09-30  Andreas Jaeger  <aj@suse.de>
69626         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69627         (CGROUP_SUPER_MAGIC): Define.
69628         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69629         Handle btrfs and cgroup file systems.
69630         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69631         Likewise.
69633 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69635         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69636         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69638 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69640         [BZ #12067]
69641         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69642         trying to locate the ELF header.
69644 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69646         [BZ #11611]
69647         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69648         Mask out sign-bit copies when constructing f_fsid.
69650 2010-09-24  Petr Baudis <pasky@suse.cz>
69652         * debug/stack_chk_fail_local.c: Add missing licence exception.
69653         * debug/warning-nop.c: Likewise.
69655 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69657         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69658         implementing getdents64 using getdents syscall, set d_type if
69659         __ASSUME_GETDENTS32_D_TYPE.
69661 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69663         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69664         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69666 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69668         [BZ #12037]
69669         * posix/unistd.h: Undo change of feature selection for ftruncate from
69670         2010-01-11.
69672 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69674         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69675         detection.
69677 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69680         fanotify_mark.
69681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69683 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69685         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69686         variables after CHECK_SP call.
69687         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69689 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69690             Ulrich Drepper  <drepper@redhat.com>
69692         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69693         re-relocationg ld.so.
69694         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69695         _dl_init_paths call.
69696         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69697         here anymore.
69699 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69701         * resolv/res_init.c (__res_vinit): Count the default server we added.
69703 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69704             Ulrich Drepper  <drepper@redhat.com>
69706         [BZ #11968]
69707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69708         (____longjmp_chk): Use %ebx for saving value across system call.
69709         Add unwind info.
69711 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69713         * manual/Makefile: Don't mix pattern rules with normal rules.
69715 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69717         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69718         operation.
69719         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69720         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69721         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69722         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69724         Likewise.
69726 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69728         [BZ #11979]
69729         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69730         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69732 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69734         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69735         * sysdeps/x86_64/addmul_1.S: Likewise.
69736         * sysdeps/x86_64/lshift.S: Likewise.
69737         * sysdeps/x86_64/mul_1.S: Likewise.
69738         * sysdeps/x86_64/rshift.S: Likewise.
69739         * sysdeps/x86_64/sub_n.S: Likewise.
69740         * sysdeps/x86_64/submul_1.S: Likewise.
69742 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69744         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69745         Define __sched_param instead of SCHED_* and sched_param when
69746         <bits/sched.h> is included with __need_schedparam defined.
69747         * bits/sched.h [__need_schedparam]
69748         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69749         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69750         (__defined_schedparam): Define to 1.
69751         (__sched_param): New structure, identical to sched_param.
69752         (__need_schedparam): Undefine.
69754 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69756         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69757         (epoll_create1): Declare.
69759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69761 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69763         [BZ #7066]
69764         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69765         shifting retval into place.
69767 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69769         * nis/rpcsvc/nis.h: Update copyright notice.
69770         * nis/rpcsvc/nis.x: Likewise.
69771         * nis/rpcsvc/nis_callback.h: Likewise.
69772         * nis/rpcsvc/nis_callback.x: Likewise.
69773         * nis/rpcsvc/nis_object.x: Likewise.
69774         * nis/rpcsvc/nis_tags.h: Likewise.
69775         * nis/rpcsvc/yp.h: Likewise.
69776         * nis/rpcsvc/yp.x: Likewise.
69777         * nis/rpcsvc/ypupd.h: Likewise.
69778         * nis/yp_xdr.c: Likewise.
69779         * nis/ypupdate_xdr.c: Likewise.
69781         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69782         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69783         (pmap_getport): Use __libc_rpc_getport.
69784         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69785         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69786         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69788 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69791         fanotify_mark.
69793 2010-08-27  Roland McGrath  <roland@redhat.com>
69795         * sysdeps/i386/i686/multiarch/Makefile
69796         (CFLAGS-varshift.c): New variable.
69798 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69800         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69801         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69805         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69807 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69809         * sysdeps/x86_64/strlen.S: Unroll the loop.
69810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69811         strlen-sse2 strlen-sse2-bsf.
69812         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69813         __strlen_no_bsf if bit_Slow_BSF is set.
69814         (__strlen_sse42): Removed.
69815         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69816         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69818 2010-08-25  Roland McGrath  <roland@redhat.com>
69820         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69821         * sysdeps/x86_64/multiarch/varshift.c: New file.
69822         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69823         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69824         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69825         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69827 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69830         strlen-sse2 strlen-sse2-bsf.
69831         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69832         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69833         (__strlen_sse2): Removed.
69834         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69835         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69837         bit_Slow_BSF for Atom.
69838         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69839         (index_Slow_BSF): Define.
69840         (HAS_SLOW_BSF): Define.
69842 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69844         [BZ #10851]
69845         * resolv/res_init.c (__res_vinit): When no server address at all
69846         is given default to loopback.
69848 2010-08-24  Roland McGrath  <roland@redhat.com>
69850         * configure.in: Remove config-name.h generation.
69851         * configure: Regenerated.
69852         * config-name.in: File removed.
69853         * scripts/config-uname.sh: New file.
69854         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69855         ($(objdir)config-name.h): New target.
69857         * sunrpc/rpc_parse.h: Avoid nested comment.
69859 2010-08-24  Richard Henderson  <rth@redhat.com>
69860             Ulrich Drepper  <drepper@redhat.com>
69861             H.J. Lu  <hongjiu.lu@intel.com>
69863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69865         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69866         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69867         _mm_alignr_epi8 with _mm_loadu_si128.
69868         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69869         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69870         (__m128i_shift_right): Removed.
69871         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69872         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69873         * sysdeps/x86_64/multiarch/varshift.h: New file.
69874         * sysdeps/x86_64/multiarch/varshift.S: New file.
69876 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69878         * configure.in: Move assembler checks to before sysdep dir checking.
69880 2010-08-20  Petr Baudis  <pasky@suse.cz>
69882         * LICENSES: Sync the sunrpc license.
69884 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69886         * sunrpc/auth_des.c: Update copyright notice once again.
69887         * sunrpc/auth_none.c: Likewise.
69888         * sunrpc/auth_unix.c: Likewise.
69889         * sunrpc/authdes_prot.c: Likewise.
69890         * sunrpc/authuxprot.c: Likewise.
69891         * sunrpc/bindrsvprt.c: Likewise.
69892         * sunrpc/clnt_gen.c: Likewise.
69893         * sunrpc/clnt_perr.c: Likewise.
69894         * sunrpc/clnt_raw.c: Likewise.
69895         * sunrpc/clnt_simp.c: Likewise.
69896         * sunrpc/clnt_tcp.c: Likewise.
69897         * sunrpc/clnt_udp.c: Likewise.
69898         * sunrpc/clnt_unix.c: Likewise.
69899         * sunrpc/des_crypt.c: Likewise.
69900         * sunrpc/des_soft.c: Likewise.
69901         * sunrpc/get_myaddr.c: Likewise.
69902         * sunrpc/getrpcport.c: Likewise.
69903         * sunrpc/key_call.c: Likewise.
69904         * sunrpc/key_prot.c: Likewise.
69905         * sunrpc/openchild.c: Likewise.
69906         * sunrpc/pm_getmaps.c: Likewise.
69907         * sunrpc/pm_getport.c: Likewise.
69908         * sunrpc/pmap_clnt.c: Likewise.
69909         * sunrpc/pmap_prot.c: Likewise.
69910         * sunrpc/pmap_prot2.c: Likewise.
69911         * sunrpc/pmap_rmt.c: Likewise.
69912         * sunrpc/rpc/auth.h: Likewise.
69913         * sunrpc/rpc/auth_unix.h: Likewise.
69914         * sunrpc/rpc/clnt.h: Likewise.
69915         * sunrpc/rpc/des_crypt.h: Likewise.
69916         * sunrpc/rpc/key_prot.h: Likewise.
69917         * sunrpc/rpc/netdb.h: Likewise.
69918         * sunrpc/rpc/pmap_clnt.h: Likewise.
69919         * sunrpc/rpc/pmap_prot.h: Likewise.
69920         * sunrpc/rpc/pmap_rmt.h: Likewise.
69921         * sunrpc/rpc/rpc.h: Likewise.
69922         * sunrpc/rpc/rpc_des.h: Likewise.
69923         * sunrpc/rpc/rpc_msg.h: Likewise.
69924         * sunrpc/rpc/svc.h: Likewise.
69925         * sunrpc/rpc/svc_auth.h: Likewise.
69926         * sunrpc/rpc/types.h: Likewise.
69927         * sunrpc/rpc/xdr.h: Likewise.
69928         * sunrpc/rpc_clntout.c: Likewise.
69929         * sunrpc/rpc_cmsg.c: Likewise.
69930         * sunrpc/rpc_common.c: Likewise.
69931         * sunrpc/rpc_cout.c: Likewise.
69932         * sunrpc/rpc_dtable.c: Likewise.
69933         * sunrpc/rpc_hout.c: Likewise.
69934         * sunrpc/rpc_main.c: Likewise.
69935         * sunrpc/rpc_parse.c: Likewise.
69936         * sunrpc/rpc_parse.h: Likewise.
69937         * sunrpc/rpc_prot.c: Likewise.
69938         * sunrpc/rpc_sample.c: Likewise.
69939         * sunrpc/rpc_scan.c: Likewise.
69940         * sunrpc/rpc_scan.h: Likewise.
69941         * sunrpc/rpc_svcout.c: Likewise.
69942         * sunrpc/rpc_tblout.c: Likewise.
69943         * sunrpc/rpc_util.c: Likewise.
69944         * sunrpc/rpc_util.h: Likewise.
69945         * sunrpc/rpcinfo.c: Likewise.
69946         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69947         * sunrpc/rpcsvc/key_prot.x: Likewise.
69948         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69949         * sunrpc/rpcsvc/mount.x: Likewise.
69950         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69951         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69952         * sunrpc/rpcsvc/rex.x: Likewise.
69953         * sunrpc/rpcsvc/rstat.x: Likewise.
69954         * sunrpc/rpcsvc/rusers.x: Likewise.
69955         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69956         * sunrpc/rpcsvc/spray.x: Likewise.
69957         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69958         * sunrpc/rtime.c: Likewise.
69959         * sunrpc/svc.c: Likewise.
69960         * sunrpc/svc_auth.c: Likewise.
69961         * sunrpc/svc_authux.c: Likewise.
69962         * sunrpc/svc_raw.c: Likewise.
69963         * sunrpc/svc_run.c: Likewise.
69964         * sunrpc/svc_simple.c: Likewise.
69965         * sunrpc/svc_tcp.c: Likewise.
69966         * sunrpc/svc_udp.c: Likewise.
69967         * sunrpc/svc_unix.c: Likewise.
69968         * sunrpc/svcauth_des.c: Likewise.
69969         * sunrpc/xcrypt.c: Likewise.
69970         * sunrpc/xdr.c: Likewise.
69971         * sunrpc/xdr_array.c: Likewise.
69972         * sunrpc/xdr_float.c: Likewise.
69973         * sunrpc/xdr_mem.c: Likewise.
69974         * sunrpc/xdr_rec.c: Likewise.
69975         * sunrpc/xdr_ref.c: Likewise.
69976         * sunrpc/xdr_sizeof.c: Likewise.
69977         * sunrpc/xdr_stdio.c: Likewise.
69979         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69980         handling.
69982 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69984         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69986 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69988         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69989         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69990         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69991         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69992         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69993         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69994         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69995         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69996         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69997         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69998         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69999         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70000         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70001         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70003 2010-07-26  Anton Blanchard  <anton@samba.org>
70005         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70006         * malloc/arena.c (heap_trim): Likewise.
70008 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70010         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70011         here.  Not...
70012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70013         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70015 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70017         * sysdeps/i386/elf/Makefile: New file.
70019 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70021         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70022         from fanotify_init.
70023         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70026 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70028         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70029         of strncasecmp_l.
70030         * sysdeps/multiarch/strcmp.S: Likewise.
70032 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70034         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70035         strncase_l-nonascii.
70036         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70037         Add strncase_l-ssse3.
70038         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70039         * sysdeps/x86_64/strcmp.S: Likewise.
70040         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70041         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70042         * sysdeps/x86_64/strncase.S: New file.
70043         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70044         * sysdeps/x86_64/strncase_l.S: New file.
70045         * string/Makefile (strop-tests): Add strncasecmp.
70046         * string/test-strncasecmp.c: New file.
70048         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70049         warning.
70051         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70052         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70054 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70056         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70058 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70060         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70061         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70062         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70064 2010-05-01  Alan Modra  <amodra@gmail.com>
70066         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70067         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70068         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70069         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70070         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70071         tidying.  Don't tail-call __sigjmp_save for static lib.
70072         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70073         save location.
70074         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70075         (CALL_MCOUNT): Add eh info, and nop after bl.
70076         (TAIL_CALL_SYSCALL_ERROR): New macro.
70077         (PSEUDO_RET): Use it.
70078         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70079         Correct save location of integer regs and cr.
70080         (_dl_profile_resolve): Correct cr save location.  Delete nops
70081         after bl when SHARED.  Reduce cfi size a little by better
70082         placement of cfi directives.
70083         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70084         make a stack frame.  Instead use parm save area as a temp.
70085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70086         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70088         Don't make a stack frame for parent, use parm save area.
70089         Increase child stack frame to 112 bytes.  Don't save unused reg,
70090         and adjust reg usage.  Set up cfi on error recovery and
70091         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70093         (__makecontext): Add dummy nop after jump to exit.
70094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70095         Use correct parm save area and cr save, reduce stack frame.
70096         Correct cfi for possible PSEUDO_RET frame setup.
70097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70098         Branch to local label emitted by PSEUDO_RET rather than
70099         __syscall_error.
70101 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70103         [BZ #11904]
70104         * locale/programs/locale.c (print_assignment): New function.
70105         (show_locale_vars): Use it.
70107 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70109         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70110         field.
70111         (struct statfs64): Likewise.
70112         (_STATFS_F_FLAGS): Define.
70113         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70115         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70116         (ST_VALID): Define locally.
70117         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70118         __statvfs_getflags, use the provided value.
70119         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70120         __ASSUME_STATFS_F_FLAGS.
70122         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70124         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70125         Add sys/fanotify.h.
70126         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70127         fanotify_mask for GLIBC_2.13.
70128         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70129         fanotify_init and fanotify_mark.
70130         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70131         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70133         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70134         Add prlimit.
70135         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70136         prlimit64 for GLIBC_2.13.
70137         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70138         prlimit64.
70139         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70140         syscall.
70141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70143         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70144         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70145         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70146         add prlimit alias.
70147         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70149         [BZ #11903]
70150         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70151         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70153         * nss/Makefile: Add rules to build and run tst-nss-test1.
70154         * shlib-versions: Add entry for libnss_test1.
70155         * nss/nss_test1.c: New file.
70156         * nss/tst-nss-test1.c: New file.
70158         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70159         (__nss_configure_lookup): Set appropriate entry in
70160         __nss_configure_lookup to true.
70161         * nss/nsswitch.h: Define enum with indeces of databases in
70162         databases and __nss_database_custom arrays.  Declare
70163         __nss_database_custom.
70164         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70165         to avoid using nscd when custom rules are installed.
70166         * nss/getXXbyYY_r.c: Likewise.
70167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70169         * nss/nss_files/files-parse.c: Whitespace fixes.
70171 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70173         [BZ #11883]
70174         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70175         * posix/fnmatch_loop.c: Likewise.
70177 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70179         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70180         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70181         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70182         * Versions.def [GLIBC_2.13]: Add.
70184 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70186         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70187         Also fail if tpwd after pwuid call is NULL.
70189 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70191         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70192         when converting to ms.
70194 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70196         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70197         EOPNOTSUPP errors with ENOTTY.
70198         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70199         EOPNOTSUPP errors with ENOTTY.
70201 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70203         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70204         Add strcasecmp_l-ssse3.
70205         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70206         strcasecmp.
70207         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70208         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70209         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70211 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70213         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70215         * string/Makefile (strop-tests): Add strcasecmp.
70216         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70217         strcasecmp_l-nonascii.
70218         (gen-as-const-headers): Add locale-defines.sym.
70219         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70220         * sysdeps/x86_64/strcasecmp.S: New file.
70221         * sysdeps/x86_64/strcasecmp_l.S: New file.
70222         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70223         * sysdeps/x86_64/locale-defines.sym: New file.
70224         * string/test-strcasecmp.c: New file.
70226         * string/test-strcasestr.c: Test both ends of the range of characters.
70227         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70229 2010-07-29  Roland McGrath  <roland@redhat.com>
70231         [BZ #11856]
70232         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70234 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70236         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70237         for ld.so.
70239 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70241         * manual/memory.texi (Malloc Tunable Parameters): Document
70242         M_PERTURB.
70244 2010-07-26  Roland McGrath  <roland@redhat.com>
70246         [BZ #11840]
70247         * configure.in (-fgnu89-inline check): Set and substitute
70248         gnu89_inline, not libc_cv_gnu89_inline.
70249         * configure: Regenerated.
70250         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70252 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70254         * string/test-strnlen.c: New file.
70255         * string/Makefile (strop-tests): Add strnlen.
70256         * string/tester.c (test_strnlen): Add a few more test cases.
70257         * string/tst-strlen.c: Better error reporting.
70259         * sysdeps/x86_64/strnlen.S: New file.
70261 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70263         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70264         lower-latency instructions.
70266 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70268         * string/test-strcasestr.c: New file.
70269         * string/test-strstr.c: New file.
70270         * string/Makefile (strop-tests): Add strstr and strcasestr.
70271         * string/str-two-way.h: Don't undefine MAX.
70272         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70274 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70277         strcasestr-nonascii.
70278         (CFLAGS-strcasestr-nonascii.c): Define.
70279         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70280         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70281         Remove unused attribute.
70283 2010-07-20  Roland McGrath  <roland@redhat.com>
70285         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70286         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70287         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70288         like LD_HWCAP_MASK can disable hwcaps.
70290 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70292         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70294 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70296         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70297         call in strcasestr.
70298         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70299         __strcasestr_sse42_nonascii.
70300         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70301         strcasestr-nonascii.c.
70302         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70304 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70306         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70307         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70308         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70309         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70311 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70313         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70314         fcntl.
70316 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70318         [BZ #11577]
70319         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70320         dl_signal_cerror.
70322 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70324         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70325         _PC_PIPE_BUF using F_GETPIPE_SZ.
70327 2010-07-05  Roland McGrath  <roland@redhat.com>
70329         * manual/arith.texi (Rounding Functions): Fix rint description
70330         implicit in round description.
70332 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70334         * elf/Makefile: Fix linking for a few tests to make recent linker
70335         happy.
70337 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70339         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70340         $(common-objpfx)libc_nonshared.a.
70342 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70344         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70345         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70346         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70347         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70348         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70349         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70350         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70351         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70366         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70367         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70368         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70369         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70370         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70371         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70372         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70373         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70374         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70375         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70376         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70377         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70393 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70395         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70396         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70397         * string/memmove.c (memmove): Renamed to ...
70398         (MEMMOVE): ...this.  Default to memmove.
70399         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70400         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70401         (END_CHK): Define.
70402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70403         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70404         mempcpy-ssse3-back memmove-ssse3-back.
70405         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70406         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70407         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70408         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70409         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70410         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70411         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70412         * sysdeps/x86_64/multiarch/memmove.c: New file.
70413         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70414         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70415         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70416         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70417         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70419         Define.
70420         (index_Fast_Copy_Backward): Define.
70421         (HAS_ARCH_FEATURE): Define.
70422         (HAS_FAST_REP_STRING): Define.
70423         (HAS_FAST_COPY_BACKWARD): Define.
70425 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70427         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70428         Restore proper fallback handling.
70430 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70432         [BZ #11701]
70433         * posix/group_member.c (__group_member): Correct checking loop.
70435         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70436         OOM in getpwuid_r correctly.  Return error number when the caller
70437         should return, otherwise -1.
70438         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70439         call returning > 0 value.
70440         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70442 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70444         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70445         libc_nonshared.a from targets in modules-names.
70447 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70449         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70450         requires it.
70452 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70454         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70455         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70456         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70457         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70459 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70461         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70463 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70465         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70466         and F_GETPIPE_SZ.
70467         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70468         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70469         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70471         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70472         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70474 2010-06-14  Roland McGrath  <roland@redhat.com>
70476         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70478 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70480         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70481         __REDIRECT followed by __THROW.
70482         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70483         * posix/getopt.h (getopt): Likewise.
70485 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70487         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70488         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70489         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70490         in AT_FLAGS.
70491         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70492         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70494 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70496         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70498 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70500         [BZ #11640]
70501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70502         Properly check family and model.
70504 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70506         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70508 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70510         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70512 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70514         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70515         symbol reference.
70517 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70519         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70520         symbol reference.
70522 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70524         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70525         and internal_recvmmsg.
70526         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70527         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70528         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70529         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70531         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70532         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70533         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70535 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70537         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70539 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70541         POWER7 optimizations.
70542         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70543         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70545 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70547         * version.h: Update for 2.13 development version.
70549 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70551         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70552         exceptions.  Return 0.
70554 2010-05-07  Roland McGrath  <roland@redhat.com>
70556         * elf/ldconfig.c (main): Add a const.
70558 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70560         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70561         (args_options): Add no-idn option.
70562         (ahosts_keys_int): Add idn_flags to ai_flags.
70563         (parse_option): Handle 'i' option to clear idn_flags.
70565         * malloc/malloc.c (_int_free): Possible race in the most recently
70566         added check.  Only act on the data if no current modification
70567         happened.
70569 See ChangeLog.17 for earlier changes.